# AI action Source: https://docs.tracecat.com/agents/ai-action Use `ai.action` to run a single LLM call in a workflow. Use `ai.action` when you only need a prompt and an output. It runs one model call and does not let the model call tools. ## Capabilities * Pass task instructions in `instructions` and task data in `user_prompt`. * Use `output_type` when you need a string, list, or JSON-shaped response for downstream actions. * Tune provider-specific behavior with `model_settings`. ## Structured outputs Use `output_type` when a downstream action needs a predictable shape. * Use a scalar such as `str` or `int` for simple classification or routing. * Use a JSON schema object when you need named fields. * Tracecat parses valid JSON before storing it in the action result. ## Timeouts `timeout` caps active runtime in seconds. Unset means 7200 seconds (2 hours), and Tracecat clamps explicit values between 1800 seconds and `TRACECAT__AGENT_SANDBOX_TIMEOUT`, which defaults to 10800 seconds. See [Actions](/automations/actions#timeout) for the clamp rule and the `retry_policy` shape. A lower ceiling caps both the default and the minimum. ## Reference ### `ai.action` Call an LLM with a given prompt and model (no tools). > [!WARNING] > > `ai.action` requires a model selection at runtime. Set `model` with both `model_name` and `model_provider`, or set the deprecated top-level `model_name` and `model_provider` inputs together. #### Inputs **user_prompt** `string` *required* User prompt to the agent. **enable_thinking** `boolean` Whether to enable high thinking for agent runs. Default: `true`. **instructions** `string | null` Instructions for the agent. Default: `null`. **max_requests** `integer` Maximum number of requests for the agent. Default: `45`. **model** `object | null` Model to use. Pick from the list of models enabled for this workspace. Default: `null`. **model_name** `string | null` Deprecated model name. Use `model` instead. Default: `null`. **model_provider** `string | null` Deprecated model provider. Use `model` instead. Default: `null`. **model_settings** `object | null` Model settings for the agent. Default: `null`. **output_type** `string | object | null` Output type for agent responses. Select from a list of supported types or provide a JSONSchema. Default: `null`. **retries** `integer` Number of retries for the agent. Default: `3`. #### Examples **Extract structured fields from an alert** ```yaml theme={null} - ref: extract_alert action: ai.action args: model: model_name: gpt-4.1-mini model_provider: openai instructions: | Extract the alert into the requested schema. Use null for fields that are missing. user_prompt: | Parse this alert and normalize the key fields: ${{ TRIGGER.raw_alert }} output_type: type: object properties: severity: type: string user: type: - string - "null" src_ip: type: - string - "null" needs_escalation: type: boolean required: - severity - needs_escalation ``` **Classify an email triage decision** ```yaml theme={null} - ref: classify_email action: ai.action args: model: model_name: claude-3-5-sonnet-latest model_provider: anthropic instructions: | Return one of: phishing, benign, spam, unknown. user_prompt: | Subject: ${{ TRIGGER.subject }} Sender: ${{ TRIGGER.sender }} Body: ${{ TRIGGER.body }} output_type: type: string enum: - phishing - benign - spam - unknown ``` # AI agent Source: https://docs.tracecat.com/agents/ai-agent Run tool-calling agents with Tracecat actions, MCP servers, structured outputs, approvals, and reusable presets. Use `ai.agent` when the model needs tool calls. You give the agent a prompt, instructions, and an allowlist of actions it can call during the run. ## Capabilities * `ai.agent`: Prompt plus tool calls. Use `actions` for Tracecat actions and `mcp_integrations` for saved MCP servers. * `ai.preset_agent`: Prompt plus a saved agent configuration. Use this when you want reusable instructions, tools, skills, and MCP integrations across workflows. * `tool_approvals`: Require approval before selected tools run. * `max_tool_calls` and `max_requests`: Bound how much work the agent can do in a single run. ## Structured outputs `ai.agent` also supports `output_type`. * Use it when the agent should return a final object or typed value after tool use. * Keep the schema focused on the final answer, not the intermediate tool steps. ## MCP servers Open source `ai.agent` can call tools from saved MCP integrations. Bring your own remote or `stdio` MCP server, or connect one from the catalog of 50+ preconfigured MCP servers with guided connection setup, including Splunk, SentinelOne Purple AI, CrowdStrike Falcon, Microsoft Sentinel, Elastic, Wiz, GreyNoise, and PagerDuty. Select the saved integration in the action's `mcp_integrations` input, or save it on an agent preset with reusable instructions and tools and run it with `ai.preset_agent`. Tool approvals and the agent inbox are open source. Require approval for specific tools with `tool_approvals`, or mark MCP tools as requiring approval on the integration, then review pending approvals in the agent inbox. See [Human-in-the-loop](/agents/human-in-the-loop). Enterprise Edition Chatting with agents and approving tool calls from Slack through [agent channels](/agents/channels) is Enterprise-only. Internet access is controlled by the root preset for the shared sandbox process. Subagent presets can define their own tools and MCP integrations, but their internet setting does not grant network access unless the root preset also enables it. See [MCP integrations](/automations/integrations/mcp-integrations) to learn more. ## Timeouts The action's `timeout` caps the agent's active runtime in seconds. Unset means 7200 seconds (2 hours), and Tracecat clamps explicit values between 1800 seconds and `TRACECAT__AGENT_SANDBOX_TIMEOUT`, which defaults to 10800 seconds. A lower ceiling caps both the default and the minimum. A pause for a tool approval does not count toward the timeout, and the resumed run gets the full timeout again. With the default timeout, a run that reaches it fails with `Agent execution timed out after 7200s`. See [Actions](/automations/actions#timeout) for the clamp rule and the `retry_policy` shape, and [Environment variables](/self-hosting/environment-variables) for the ceiling. ## Reference ### `ai.agent` AI agent with tool calling capabilities. Returns the output and full message history. > [!WARNING] > > `ai.agent` requires a model selection at runtime. Set `model` with both `model_name` and `model_provider`, or set the deprecated top-level `model_name` and `model_provider` inputs together. #### Inputs **user_prompt** `string` *required* User prompt to the agent. **actions** `array[string] | null` Actions (e.g. 'tools.slack.post_message') to include in the agent. Default: `null`. **enable_thinking** `boolean` Whether to enable high thinking for agent runs. Default: `true`. **instructions** `string | null` Instructions for the agent. Default: `null`. **max_requests** `integer` Maximum number of requests for the agent. Default: `45`. **max_tool_calls** `integer` Maximum number of tool calls for the agent. Default: `15`. **mcp_integrations** `array[string] | null` Saved MCP integrations to include in the agent. Default: `null`. **model** `object | null` Model to use. Pick from the list of models enabled for this workspace. Default: `null`. **model_name** `string | null` Deprecated model name. Use `model` instead. Default: `null`. **model_provider** `string | null` Deprecated model provider. Use `model` instead. Default: `null`. **model_settings** `object | null` Model settings for the agent. Default: `null`. **output_type** `string | object | null` Output type for agent responses. Select from a list of supported types or provide a JSONSchema. Default: `null`. **retries** `integer` Number of retries for the agent. Default: `3`. **session_id** `string | null` Optional existing agent session ID to continue from. If provided, the session must already exist. Default: `null`. **tool_approvals** `map[string, boolean] | null` Per-tool approval overrides keyed by action name (e.g. 'core.cases.create_case'). Use true to require approval, false to allow auto-execution. Default: `null`. #### Examples **Investigate an alert with tools** ```yaml theme={null} - ref: investigate_alert action: ai.agent args: model: model_name: gpt-4.1 model_provider: openai instructions: | You are a security triage agent. Review the alert, gather missing context, and write a concise analyst summary. user_prompt: | Investigate this alert and explain whether it needs escalation: ${{ TRIGGER.alert }} actions: - tools.slack.lookup_users_by_email - tools.github.search_code - core.cases.create_comment max_tool_calls: 6 output_type: type: object properties: verdict: type: string summary: type: string required: - verdict - summary ``` **Require approval for sensitive tools** ```yaml theme={null} - ref: draft_case_update action: ai.agent args: model: model_name: claude-3-5-sonnet-latest model_provider: anthropic instructions: | Investigate the incident, then propose the next action. Create or update records only if the required approval is granted. user_prompt: | Review the latest evidence for case ${{ TRIGGER.case_id }} and decide what to do next. actions: - core.cases.get_case - core.cases.create_comment - core.cases.update_case tool_approvals: core.cases.update_case: true max_tool_calls: 4 ``` ### `ai.preset_agent` Run an AI agent using a saved agent preset. Tools come from the preset and its skills. > [!NOTE] > > The `actions` input replaces the preset's registry actions for a single run rather than adding to them. See [AI preset agent](/agents/ai-preset-agent#where-tools-come-from). #### Inputs **preset** `string` *required* Preset of the agent to run (e.g. 'security-analyst'). **user_prompt** `string` *required* User prompt to the agent. **actions** `array[string] | null` Optional. Swaps the preset's registry actions for this run (MCP tools stay; an empty list is ignored). Handy for tests and evals; tools the agent normally needs fit better on the preset or a skill. Default: `null`. **instructions** `string | null` Appended to the preset instructions for this run; durable instructions fit better on the preset. Default: `null`. **max_requests** `integer` Maximum number of requests for the agent. Default: `45`. **max_tool_calls** `integer` Maximum number of tool calls for the agent. Default: `15`. **output_type** `string | object | null` Optional. Replaces the preset's output type for this run. Select from a list of supported types or provide a JSONSchema. Default: `null`. **preset_version** `integer | null` Deprecated compatibility input. Preset agents always resolve the current head. Default: `null`. **session_id** `string | null` Optional existing agent session ID to continue from. If provided, the session must already exist. Default: `null`. #### Examples **Run a saved agent preset** ```yaml theme={null} - ref: run_security_analyst action: ai.preset_agent args: preset: security-analyst user_prompt: | Review the incident below and decide whether to escalate it: ${{ TRIGGER.incident }} max_tool_calls: 8 ``` ## FAQ > [accordion] When should I use ai.action, ai.agent, or ai.preset_agent? > > * Use `ai.action` when you only need one model response and no tools. > * Use `ai.agent` when the model must call Tracecat actions or saved MCP integrations during the run. > * Use `ai.preset_agent` when you want a reusable configuration with shared instructions, skills, tools, or MCP integrations. > > ```yaml Use ai.agent for tool calls theme={null} > - ref: analyze_input > action: ai.agent > args: > model: > model_name: gpt-4.1-mini > model_provider: openai > instructions: | > Investigate the alert and summarize the next step. > user_prompt: | > Review this alert: > > ${{ TRIGGER.alert }} > actions: > - tools.github.search_code > - core.cases.create_comment > max_tool_calls: 4 > ``` > > ```yaml Use ai.preset_agent for saved configuration theme={null} > - ref: analyze_with_preset > action: ai.preset_agent > args: > preset: security-analyst > user_prompt: | > Review this alert and write a short analyst summary: > > ${{ TRIGGER.alert }} > ``` > [accordion] How do I use MCP servers with ai.agent? > > Connect a server from the MCP catalog or add a custom remote or `stdio` MCP server, then select the saved integration in the `mcp_integrations` input. Both paths are available in open source. # AI preset agent Source: https://docs.tracecat.com/agents/ai-preset-agent Save reusable agent configurations with instructions, tools, skills, and MCP integrations, then run them from workflows and workspace chat. Open source Agent presets save a model, instructions, tools, skills, and MCP integrations under a slug. Open `Agents` from the workspace navigation to create one, then run it from a workflow with `ai.preset_agent`. ![Agents page](https://mintcdn.com/tracecat/JtdHAqY9PPVxN7f0/img/agents/agents-list.png?fit=max\&auto=format\&n=JtdHAqY9PPVxN7f0\&q=85\&s=9bc51ce8988327427034a5a9b71780d8) Each row shows the preset's tool sources as icons, its MCP integrations after a divider, the number of tools, the model, and the last update. The count includes the tools of remote MCP integrations. Hover an icon to see its namespace or MCP server. ## Configure a preset Click `Create new`, name the preset, and write instructions in the editor. Use the tabs in the side panel for the rest of the configuration: * `Tools`: Set `Model`, `Thinking`, `Internet access`, and `Retries`, then choose the tools the agent can call. * `Subagents`: Attach other presets the agent can delegate to. * `Skills`: Attach published [skills](/agents/skills#attach-skills-to-a-preset-agent). * `Output`: Choose the format of the agent's final answer. ![Agent preset tools](https://mintcdn.com/tracecat/JtdHAqY9PPVxN7f0/img/agents/agent-preset-tools.png?fit=max\&auto=format\&n=JtdHAqY9PPVxN7f0\&q=85\&s=aec041a2b788ef7e30473f52f9612504) The `Tools` list groups tools by namespace. Each group shows how many of its tools the preset uses, such as `5 of 35`, and expands to list them. MCP integrations appear in the same list with an `MCP` badge, and tools from attached skills appear under `From skills`. Click `Publish version` in the top right to save a change in any tab. ## Add tools In the `Tools` tab, click `Add tools` and check the tools the agent needs. An MCP server is one checkbox for the whole server. The dialog counts the selected tools against the limit, such as `16 of 128 tools`. Registry actions from the preset and its skills count toward the limit. MCP tools do not. Tracecat rejects a save over the limit with a message such as `This agent has 160 tools; the limit is 128.` Each tool has an `Auto` or `Ask` toggle. See [Human-in-the-loop](/agents/human-in-the-loop#set-approvals-on-a-preset) to require approval before a tool runs. ## Add subagents A preset can delegate work to other presets in the workspace. 1. In the `Subagents` tab, click `Add subagent` and choose a preset. 2. Expand the row and set: * `Alias`: The name the parent agent uses for the subagent. It defaults to the preset slug and must be unique on the parent. * `Delegate when`: When the parent should hand work to this subagent. * `Max turns`: The most turns the subagent can take. Leave it empty for no limit. 3. Click `Publish version`. Each row shows the subagent's name, model, and alias. Click the name to open that preset. A preset with its own subagents cannot be attached. A preset with tools set to `Ask` can be attached only when an enabled agent backend supports subagent approvals. The picker flags a preset that cannot be attached. Hover the row to see the reason. ## Set the output format In the `Output` tab, choose a `Format`: * `Text`: The agent returns plain text. This is the default. * `Structured`: The agent returns one typed value. Choose a `Type` of `String`, `Integer`, `Float`, or `Boolean`, and turn on `List of values` to return a list. * `JSON schema`: The agent returns JSON that matches the schema you enter. Keep `Text` unless a downstream step needs structured output. To get structured output from a single workflow step without changing the preset, set `output_type` on the `ai.preset_agent` action. It replaces the preset's output type for that run. ## Where tools come from Three sources on the preset side make up what the agent can call: * Registry actions on the preset, added in the `Tools` tab. The usual home for actions only this agent needs. * MCP integrations attached to the preset, also in the `Tools` tab. An MCP integration reaches a preset directly and does not need to go through a skill. * A skill's [`metadata.tools`](/agents/skills#declare-tools-in-frontmatter), which takes registry actions and MCP references alike. Tools declared here travel with the skill's instructions, so a group several agents reuse stays in one place. The effective tool set is the union of the three. A `namespaces` filter set on the preset through the API narrows the registry actions in that set; MCP tools are not filtered by it. The `Tools` tab shows how many listed tools the filter blocks, with `Clear` to remove it. A workflow run can swap one piece out. The `actions` input on the `ai.preset_agent` action replaces the preset's registry actions for that run instead of adding to them, so registry actions a skill contributed are dropped for the run. MCP tools stay either way, and an empty list is ignored. It is handy for running a preset with a different tool set in a test or an eval. ## Availability Open source includes presets, [`tool_approvals` and the agent inbox](/agents/human-in-the-loop) for reviewing tool calls before they run, [skills](/agents/skills), [secrets and variables](/agents/secrets-variables) in preset instructions, and the MCP catalog connectors. Enterprise Edition Enterprise adds: * Agent folders and tags to organize the `Agents` page. * Chatting with agents and approving tool calls from Slack through [agent channels](/agents/channels). * `@` agent mentions in [workspace chat](/agents/workspace-chat#mention-an-agent) and [case comments](/automations/cases/agent-mentions). ## Related pages * See [AI agent](/agents/ai-agent#ai-preset-agent) for the `ai.preset_agent` inputs and examples. * See [Human-in-the-loop](/agents/human-in-the-loop) to require approval before a tool runs. * See [Skills](/agents/skills) to attach reusable instructions and files to a preset. * See [MCP servers](/automations/integrations/mcp-integrations) to connect servers a preset can call. # Channels Source: https://docs.tracecat.com/agents/channels Chat with a preset agent and approve its tool calls from Slack. Enterprise Edition Connect a preset agent to a Slack app so your team can mention it in Slack. The agent replies in the thread, and approval-gated tool calls show `Approve` and `Deny` buttons in the same thread. ## Before you start Slack must be able to reach your Tracecat API at `TRACECAT__PUBLIC_API_URL`. ## Connect a Slack app 1. Open the preset from `Agents`, then select the `Channels` tab. 2. Under `Custom Slack App`, click `Connect`. 3. Choose `New App` to create an app from a pre-filled manifest, or `Existing App` to connect a Slack app you already have. For `New App`: 1. Click `Copy` next to `Export app manifest`. The manifest includes the endpoint URL, OAuth redirect URL, bot scopes, and `app_mention` event subscription for this preset. 2. Open [Slack Apps](https://api.slack.com/apps), click `Create New App`, then select `From an app manifest` and paste the manifest. 3. Install the app to your Slack workspace. 4. Back in Tracecat, click `Next`. For `Existing App`, copy the `Endpoint URL` and `OAuth redirect URL` from the connect dialog. In Slack, use the endpoint URL as the `Event Subscriptions` request URL with the `app_mention` bot event and as the `Interactivity` request URL, then add the OAuth redirect URL. To finish: 1. Enter the app's `Client ID`, `Client secret`, and `Signing secret` from Slack's `Basic Information` page. 2. Click `Connect to Slack` and approve the install. Tracecat shows `Slack integration connected.` when the channel is active. ## Chat with the agent Invite the app to a Slack channel, then mention it with your request. The agent replies in the thread, and replies that mention it in the same thread continue the same agent session. Reactions on your message show whether the agent is working, finished, or failed. ## Approve tool calls in Slack Tools that require approval on the preset pause the agent in Slack too. See [Human-in-the-loop](/agents/human-in-the-loop#set-approvals-on-a-preset) to set a tool to `Ask`. For each pending call, the agent posts an `Approval required` message with the tool name, arguments, and `Approve` and `Deny` buttons. After a reviewer clicks a button, Tracecat updates the message with the decision and the reviewer, and the agent continues once every pending call in the batch has a decision. To edit tool arguments before approving, review the call in the agent inbox instead. ## Manage the connection Open the connect dialog again from the `Channels` tab to update credentials. Click `Rotate endpoint` to issue a new endpoint URL, then update the Slack app's `Event Subscriptions` and `Interactivity` request URLs. Click `Disconnect` to remove the Slack connection from the preset. Changing `TRACECAT__SIGNING_SECRET` invalidates existing endpoint URLs. ## Related pages * See [AI preset agent](/agents/ai-preset-agent) to create the preset that Slack users talk to. * See [Human-in-the-loop](/agents/human-in-the-loop) to choose which tool calls need approval. # Custom LLM providers Source: https://docs.tracecat.com/agents/custom-llm-providers Configure custom OpenAI-compatible model providers for Tracecat agents: add a custom source, discover models, and enable them for presets and defaults. Use a custom LLM provider when an agent should call your own OpenAI-compatible gateway instead of Tracecat's managed LiteLLM gateway. Custom providers are managed as custom sources in organization agent settings. ## Routing model Each agent uses its own model configuration to decide where its LLM requests go. | Agent model configuration | Request route | | - | - | | `passthrough: true` | Direct to that agent's configured `base_url` | | `passthrough: false` or unset | Tracecat's managed LiteLLM gateway | Root agents and subagents follow the same rule. A root agent can use a custom passthrough gateway while a subagent uses managed LiteLLM, or a subagent can use its own passthrough gateway while the root agent uses managed LiteLLM. Tracecat strips the trailing version segment from the base URL before forwarding sandbox requests because SDK clients append paths such as `/v1/messages`. This prevents doubled paths such as `/v1/v1/messages`. ## Root agents For a root agent, Tracecat keys direct passthrough routing by the model string the root agent sends. ```yaml theme={null} model_name: customer-alias model_provider: custom-model-provider base_url: https://customer-litellm.example/v1 passthrough: true ``` Requests with `model: customer-alias` go directly to `https://customer-litellm.example`. ## Subagents For a subagent, Tracecat keys direct passthrough routing by the subagent's scoped model route. This lets Tracecat route each preset agent independently, even when several agents share the same sandbox process. ```yaml theme={null} model_name: child-alias model_provider: custom-model-provider base_url: https://child-litellm.example/v1 passthrough: true ``` Requests for that subagent go directly to `https://child-litellm.example`. Requests for other subagents fall back to managed LiteLLM unless those subagents also enable passthrough. ## Credentials Tracecat resolves passthrough credentials from the custom provider selected by the agent's model configuration. If a root agent and subagent use different passthrough providers, each route uses its own provider credentials. Managed LiteLLM requests keep the sandbox's managed gateway token. ## Add a custom source Go to Organization settings, open Agent, then go to Custom sources and click Add custom source. ![Add custom source dialog](https://mintcdn.com/tracecat/VEYlKwkZkScvOCEp/img/agents/custom-source-dialog.png?fit=max\&auto=format\&n=VEYlKwkZkScvOCEp\&q=85\&s=2c986b8298f91c191871a3a707fb5d35) Set the source fields: * **Name**: A readable label, such as `Local gateway`. * **Base URL**: The OpenAI-compatible API base URL, e.g. `https://gateway.example/v1`. * **Auth header**: Leave blank to use `Authorization`. * **Auth value**: The provider credential. If Auth header is blank, Tracecat sends `Authorization: Bearer `. * **Passthrough mode**: Enable this to route agent requests directly to this gateway instead of Tracecat's managed LiteLLM. Required for bring-your-own gateways such as LiteLLM, vLLM, and Ollama-compatible endpoints. Use Advanced > Additional headers only for static non-auth headers. The value must be a JSON object with string keys and string values. ```json theme={null} { "X-Custom-Header": "value" } ``` Click Test connection to verify the source before saving it, then click Add source. ## Discover and enable models After you save the source, click Refresh. Tracecat calls the source's `/models` endpoint and adds the returned models to the organization catalog. Discovery confirms that the gateway exposes a model ID. It does not confirm that the gateway has local weights or can serve the model without internet access. For an air-gapped deployment, stage every model artifact and send a representative inference request after you remove egress. Ollama models tagged `:cloud` require the Ollama cloud service and cannot run air-gapped. ![Custom source model list](https://mintcdn.com/tracecat/VEYlKwkZkScvOCEp/img/agents/custom-source-models.png?fit=max\&auto=format\&n=VEYlKwkZkScvOCEp\&q=85\&s=26ae06b3bce1ef65cdabde828fc06441) Enable the models you want available to agent presets and organization defaults. On open source, Tracecat enables discovered custom source models automatically after refresh. ## Use the provider Choose the enabled custom source model anywhere Tracecat lets you select an agent model, such as the default model selector or a preset agent configuration. Refresh the source again after you add or remove models from the upstream gateway. Edit the source when you rotate credentials, change the base URL, or update static headers. ## Troubleshooting Test connection or Refresh that fails with `Host is not allowed` means the base URL resolves to a private, loopback, or link-local address. Tracecat blocks these by default. Add the gateway's IP or CIDR to `TRACECAT__OUTBOUND_ALLOWED_PRIVATE_CIDRS` on the Tracecat services and restart them. See [Private endpoints](/agents/llm-providers#private-endpoints) for the Docker Compose, Kubernetes, and Fargate settings. A run that fails with `Model response timed out after without receiving data` (or `Gateway timeout` on a non-streaming request) hit `TRACECAT__LLM_PROXY_READ_TIMEOUT`, the read timeout between the sandbox LLM proxy and the gateway. The variable takes seconds, defaults to `600`, and applies to both passthrough and managed routes. A run that fails with `Agent execution timed out after 7200s` hit the action's `timeout`, which caps active runtime at 7200 seconds (2 hours) when unset. Tracecat clamps explicit values between 1800 seconds and `TRACECAT__AGENT_SANDBOX_TIMEOUT` (default `10800`). A lower ceiling caps both the default and the minimum. See [Actions](/automations/actions#timeout). ## Related pages * See [AI agent](/agents/ai-agent) for the `ai.agent` and `ai.preset_agent` action reference. * See [AI action](/agents/ai-action) for single-call LLM workflow actions. * See [Secrets and variables](/agents/secrets-variables) for agent secret handling. * See [MCP servers](/automations/integrations/mcp-integrations) for connecting MCP tools to agents. * See [Environment variables](/self-hosting/environment-variables) for the agent and proxy timeout settings and the private endpoint allowlist. * See [Air-gapped deployment](/self-hosting/air-gapped) for disconnected Kubernetes and self-hosted inference architecture. # Human-in-the-loop Source: https://docs.tracecat.com/agents/human-in-the-loop `tool_approvals` and the agent inbox to review tool calls before they run. Open source Require approval for tools that change data, contact users, or reach external systems. The agent pauses before it calls an approval-gated tool, and a reviewer approves, edits, or denies the call from the agent inbox. ## Require approval for tools Choose where to set approvals based on how you run the agent: * Agent presets (recommended): Open the preset, select the `Tools` tab, expand the tool's group, and set the tool to `Ask`. Every `ai.preset_agent` run and chat with the preset uses that setting. * MCP integrations: Turn on `Approval` for a tool on a remote MCP integration. Approvals are not supported for `stdio` MCP servers. * `ai.agent`: Set `tool_approvals` on the action. Keys are action names, and `true` requires approval. For example, set `core.cases.update_case` to `Ask` on a `case-triage` preset, then run it from a workflow: ```yaml theme={null} - ref: triage_case action: ai.preset_agent args: preset: case-triage user_prompt: | Summarize the latest evidence for case ${{ TRIGGER.case_id }} and update the case. ``` The agent pauses before it calls `core.cases.update_case` and waits for a decision in the inbox. A pause for a tool approval does not count toward the agent timeout. The workflow-level `timeout` still bounds the whole run, including approval waits. ## Set approvals on a preset Each tool in a preset's `Tools` tab has a toggle: * `Auto`: The agent calls the tool without asking. * `Ask`: The agent pauses before the call and waits for a decision in the inbox. Click the toggle to switch a tool, then click `Publish version` in the top right. To change a whole group, right-click it and choose `Require approval for all` or `Run all automatically`. ![Set a tool to Ask on a preset](https://mintcdn.com/tracecat/JtdHAqY9PPVxN7f0/img/agents/tool-approval-toggle.gif?s=0f15462a45d02fff28935cfc96980e49) A group with tools on `Ask` shows a badge such as `1 need approval`. Tools from attached skills appear under `From skills` with the same toggle. An MCP integration row shows the same badge for tools that require approval on the integration. ## Review tool calls in the inbox Open `Inbox` from the workspace navigation. Runs waiting on a decision appear under `Review required`, and the sidebar badge shows how many are pending. Your workspace role needs `inbox:read` to open the inbox, and `agent:execute` to submit a decision or reply to a run. 1. Select a run to open its session and the pending tool call. 2. Choose `Approve`, `Edit + approve` to change the tool arguments, or `Deny` with an optional reason. 3. Click `Submit`. An approved call runs and the agent continues. A denied call does not run, and the agent stops instead of retrying the tool. ## Availability Tool approvals and the agent inbox are open source. Enterprise Edition Enterprise adds: * Chatting with agents and approving tool calls from Slack through [agent channels](/agents/channels). * `View agent runs` on a case, which opens the inbox filtered to agent runs for that case. ## Related pages * See [AI preset agent](/agents/ai-preset-agent#add-tools) to add the tools you set to `Ask`. * See [AI agent](/agents/ai-agent) for the `tool_approvals` input on inline agents. * See [MCP servers](/automations/integrations/mcp-integrations) to require approval for MCP tools. # LLM providers Source: https://docs.tracecat.com/agents/llm-providers Connect built-in LLM providers to Tracecat, enable their models for your organization, and choose the default model that agents use. Tracecat ships with built-in connections for the major model providers. Connect a provider once at the organization level, allow the models you want to expose, and pick an organization-wide default. ![Agent configuration page showing the default model selector and provider connections](https://mintcdn.com/tracecat/WQPHdN7Nlcha-fgr/img/agents/llm-providers.png?fit=max\&auto=format\&n=WQPHdN7Nlcha-fgr\&q=85\&s=8ab0ab823d40c86501026afaa830f084) ## Supported providers Tracecat lists providers in this order in Organization settings > Agent > Configuration. | Provider | Credentials | Base URL | Passthrough default | | - | - | - | - | | OpenAI | API key | Optional override | — | | Anthropic | API key | Optional override | — | | AWS Bedrock | Role ARN or access key pair, region | — | — | | Azure OpenAI | API base URL, API version, API key or Entra credentials | Required | — | | Azure AI | API base URL, API key or Entra credentials | Required | — | | Gemini API | API key | — | — | | Google Vertex AI | Service account JSON, project, location | — | — | | Mistral AI | API key | Optional override | — | | Ollama | Optional API key | Defaults to `http://localhost:11434/v1` | Off | | vLLM | Optional API key | Required, e.g. `http://vllm:8000/v1` | Off | | LiteLLM | Optional API key | Required, e.g. `http://litellm:4000/v1` | On | | OpenRouter | API key | Defaults to `https://openrouter.ai/api/v1`, optional override | Off | Ollama, vLLM, and LiteLLM base URLs must include the `/v1` segment and be reachable from the Tracecat services. Inside a container, `localhost` points at the container itself, not your host. Base URLs that resolve to a private address also require `TRACECAT__OUTBOUND_ALLOWED_PRIVATE_CIDRS`; see [Private endpoints](#private-endpoints). > [!NOTE] > > Can't find the provider you're using? Add it as a custom source instead. See [Custom LLM providers](/agents/custom-llm-providers) to connect any OpenAI-compatible gateway. ## Connect a provider **1. Open agent configuration** Go to Organization settings, open Agent, then click Configuration. **2. Enter credentials** Click Connect next to the provider. Fill in the fields the dialog asks for, then click Save credentials. ![Configure Ollama credentials dialog with base URL, API key, and passthrough fields](https://mintcdn.com/tracecat/WQPHdN7Nlcha-fgr/img/agents/llm-provider-connect-dialog.png?fit=max\&auto=format\&n=WQPHdN7Nlcha-fgr\&q=85\&s=5dbfc6eac27f432b7ba143f7dbf7f035) **3. Allow models** Expand the provider row and click Allow next to each model you want to expose. The pill on the row shows how many models are enabled. Ollama, vLLM, LiteLLM, and OpenRouter discover models from the provider's `/models` endpoint when you save credentials. Click Refresh models on the row after you add or remove models upstream. **4. Set the default model** Under Default model, pick one of the enabled models. Agents and AI actions use it whenever a preset or action does not set its own model. Click Configure on a connected provider to rotate credentials, or expand the row and click Disconnect to remove them. ## Private endpoints Tracecat resolves every provider base URL before it connects and rejects addresses that are private (`10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`), loopback, link-local, or otherwise non-public. Saving credentials, Test connection, Refresh models, and agent runs against such an endpoint fail with `Failed to discover models: Host is not allowed` or `Host is not allowed`. On-prem and in-cluster gateways such as `http://litellm:4000/v1`, `http://vllm:8000/v1`, or `http://ollama.example.internal:11434/v1` are private endpoints. Allow them by setting `TRACECAT__OUTBOUND_ALLOWED_PRIVATE_CIDRS` on the `api`, `agent-worker`, `litellm`, `agent-executor`, and `background-worker` services (the background worker calls self-hosted embedding providers for semantic search) to a comma-separated list of the exact IPs or narrow CIDRs the gateway resolves to, then restart those services. | Deployment | Where to set it | | - | - | | Docker Compose | `TRACECAT__OUTBOUND_ALLOWED_PRIVATE_CIDRS=10.0.12.34/32` in `.env`; the Compose file passes it to every service that needs it | | Kubernetes | `tracecat.outboundAllowedPrivateCidrs: "10.0.12.34/32"` in your Helm values | | AWS Fargate | `outbound_allowed_private_cidrs = "10.0.12.34/32"` in your Terraform variables | The allowlist applies to every workspace and also covers remote MCP servers, so list only endpoints you operate. Container hostnames such as `litellm` or `vllm` resolve to addresses on the Docker Compose `core` network; run `docker compose exec api getent hosts ` to find the address to allow, or allow that network's subnet from `docker network inspect`. ## Passthrough Ollama, vLLM, LiteLLM, and OpenRouter expose a Passthrough toggle that controls how agent requests reach the provider. | Passthrough | Request route | | - | - | | Off | Tracecat's managed LiteLLM gateway forwards requests to the provider | | On | The agent sandbox sends requests directly to the configured base URL | Leave passthrough off unless the endpoint serves the Anthropic Messages API itself. LiteLLM defaults to on because a LiteLLM proxy already handles routing; a second gateway in front of it adds a hop without adding capability. ## Related pages * See [Custom LLM providers](/agents/custom-llm-providers) for connecting an OpenAI-compatible gateway that is not listed above. * See [AI agent](/agents/ai-agent) for the `ai.agent` and `ai.preset_agent` action reference, including per-agent model overrides. * See [AI action](/agents/ai-action) for single-call LLM workflow actions. * See [Air-gapped deployment](/self-hosting/air-gapped) for running Ollama or vLLM without internet access. # Secrets and variables Source: https://docs.tracecat.com/agents/secrets-variables Pass Tracecat secrets and workspace variables to preset agent tool calls securely: scope credentials per agent run and inject values without exposing them to the model. Open source ## Overview Preset agents can reference secrets and variables using Tracecat expression syntax. Include `${{ SECRETS.. }}` or `${{ VARS.. }}` in a preset agent's saved instructions so the agent passes them as tool arguments at runtime. ## Security Preset agent tool calls go through a secure server-side proxy. The LLM only sees the raw expression placeholder (e.g. `${{ SECRETS.threatintel.API_KEY }}`). The actual secret values are injected server-side at the tool execution layer after the model responds, so the LLM never has access to your credentials. > [!WARNING] > > Do not use `SECRETS` expressions — or any expression that resolves to a value you would not send to your LLM provider — in `ai.action` or `ai.agent` inputs. Use `ai.preset_agent` for secure secrets injection. ## Secrets Use `${{ SECRETS.. }}` to reference a secret stored in your workspace credentials. In a workflow action this looks like: ```yaml theme={null} - ref: triage_alert action: ai.preset_agent args: preset: security-triage user_prompt: | Look up the reputation of this IP address: ${{ TRIGGER.source_ip }} ``` Where the `security-triage` preset instructions contain: ```text theme={null} You are a security triage agent. When you make HTTP requests to the threat intel API, pass `${{ SECRETS.threatintel.API_KEY }}` in the Authorization header as a Bearer token. Do not print or return secret values in your final answer. ``` ## Variables Use `${{ VARS.. }}` for non-sensitive configuration such as base URLs, project IDs, or channel names. In a workflow action: ```yaml theme={null} - ref: triage_alert action: ai.preset_agent args: preset: security-triage user_prompt: | Investigate this alert and file a ticket with your findings: ${{ TRIGGER.alert }} ``` Where the `security-triage` preset instructions contain: ```text theme={null} You are a security triage agent. When you call the threat intel API, use `${{ VARS.threatintel.base_url }}` as the base URL. When you file tickets, use `${{ VARS.ticketing.project_id }}` as the project ID and `${{ VARS.ticketing.base_url }}` as the base URL. ``` ## Secrets and variables Use secrets for credentials and variables for everything else. Full workflow example: ```yaml theme={null} - ref: investigate_and_respond action: ai.preset_agent args: preset: security-triage user_prompt: | Investigate this alert: ${{ TRIGGER.alert }} max_tool_calls: 10 ``` Where the `security-triage` preset instructions contain: ```text theme={null} You are a security triage agent. Investigate the alert, enrich it, and file a ticket. Credentials: - Threat intel API key: `${{ SECRETS.threatintel.API_KEY }}` - Ticketing API key: `${{ SECRETS.ticketing.API_KEY }}` Configuration: - Threat intel base URL: `${{ VARS.threatintel.base_url }}` - Ticketing base URL: `${{ VARS.ticketing.base_url }}` - Ticketing project ID: `${{ VARS.ticketing.project_id }}` Steps: 1. Look up the source IP using the threat intel API. 2. File a ticket with your findings in the ticketing system. Do not print or return secret values in your final answer. ``` ## OAuth secrets OAuth tokens follow a different naming convention. The secret name is `_oauth` and the key is the provider ID in uppercase plus `_USER_TOKEN` or `_SERVICE_TOKEN`. ```yaml theme={null} # authorization_code grant (delegated user access) ${{ SECRETS._oauth._USER_TOKEN }} # client_credentials grant (service-to-service) ${{ SECRETS._oauth._SERVICE_TOKEN }} ``` In a workflow action: ```yaml theme={null} - ref: query_sentinel action: ai.preset_agent args: preset: sentinel-analyst user_prompt: | Query Microsoft Sentinel for recent incidents related to this IP: ${{ TRIGGER.source_ip }} ``` Where the `sentinel-analyst` preset instructions contain: ```text theme={null} You are a security triage agent. When you make HTTP requests to the Microsoft Sentinel API, pass `${{ SECRETS.microsoft_sentinel_oauth.MICROSOFT_SENTINEL_USER_TOKEN }}` in the Authorization header as a Bearer token. Do not print or return secret values in your final answer. ``` See [OAuth integrations](/automations/integrations/oauth-integrations) for setup and the full list of built-in providers. ## Related pages * [Secrets](/automations/core-concepts/secrets) — create and manage workspace secrets * [Variables](/automations/core-concepts/variables) — create and manage workspace variables * [Expressions](/automations/core-concepts/expressions) — full expression syntax reference * [AI agent](/agents/ai-agent) — `ai.agent` and `ai.preset_agent` reference * [OAuth integrations](/automations/integrations/oauth-integrations) — OAuth setup and providers # Skills Source: https://docs.tracecat.com/agents/skills Create, publish, and attach Tracecat skills to preset agents so reusable instructions and files are available during agent runs. Open source Skills let you package reusable agent instructions and supporting files. Attach published skill versions to a preset agent when the agent needs the same playbook, reference material, or helper files across runs. ## Create a skill Open `Skills` from the workspace navigation. Click `Create new`, then choose `Skill` to start with an empty working copy or `Upload` to import an existing skill directory. ![Skills list](https://mintcdn.com/tracecat/RiZ8Ne8qHSPLz-XF/img/agents/skills-list.png?fit=max\&auto=format\&n=RiZ8Ne8qHSPLz-XF\&q=85\&s=35e55e1549877c83f90366521f8529c3) Skill names use lowercase letters, numbers, and single hyphens. Tracecat seeds new skills with a root `SKILL.md` file. ## Write SKILL.md Use `SKILL.md` for the skill metadata and instructions. The root file must include frontmatter with `name` and `description`. ```md theme={null} --- name: threat-intel description: Enrich indicators and summarize threat intelligence findings. --- # threat-intel Use this skill when you need to enrich IP addresses, domains, URLs, or file hashes during alert triage. ``` Tracecat uses the frontmatter `name` as the published skill name. Keep published skill names unique among skills attached to the same preset agent. Write the body as instructions the agent can follow during a run. ![Skill editor](https://mintcdn.com/tracecat/J-fghndz68bbOLVS/img/agents/skill-editor.png?fit=max\&auto=format\&n=J-fghndz68bbOLVS\&q=85\&s=95847140fc270906987637f0301e44d6) ## Declare tools in frontmatter A skill can carry its own tools under `metadata.tools` in the `SKILL.md` frontmatter. ```md theme={null} --- name: threat-intel description: Enrich indicators and summarize threat intelligence findings. metadata: tools: - core.http_request - tools.virustotal.lookup_ip_address - mcp.greynoise --- # threat-intel Use this skill when you need to enrich IP addresses, domains, URLs, or file hashes during alert triage. ``` Each entry is a registry action name (`core.http_request`) or an MCP reference (`mcp.` for the whole server, `mcp..` for one tool). Per-tool references work for HTTP integrations; a stdio integration is granted whole with `mcp.`. A skill can declare at most 64 tools. When the skill is attached to a preset agent, its tools are added to the preset's own tools. Registry actions the skill adds appear under `From skills` in the preset's `Tools` tab. The agent's effective tool set is the union of the preset's registry actions, the MCP integrations attached to the preset, and the tools declared by every attached skill. > [!NOTE] > > If the preset restricts `namespaces`, that filter also applies to the registry > actions a skill declares. A skill's registry action outside the allowed namespaces > is dropped from the run and reported under `tool_policy.blocked_tools`. MCP tools are > not filtered by `namespaces`, whether a skill declares them or the preset attaches the > integration directly. Skill tools are granted when the preset configuration is resolved, whether or not the agent ever opens the skill. Only the skill instructions and files load on demand. ## Add files Add supporting files when the agent needs more than instructions. Use files for examples, checklists, schemas, helper scripts, or reference data. Editable text files open inline in the skill editor. Other file types can be replaced, deleted, or downloaded. ## Publish a version Save the working copy, then click `Publish version`. Publishing creates an immutable version from the current files and makes the skill available to preset agents. ![Published skill version](https://mintcdn.com/tracecat/j2KjRIKqmJ3xuqJ5/img/agents/skill-version.png?fit=max\&auto=format\&n=j2KjRIKqmJ3xuqJ5\&q=85\&s=6a7f0f812a5c674ab5e7b3e45a4428b1) Publishing requires: * A root `SKILL.md` file. * Valid YAML frontmatter in `SKILL.md`. * A frontmatter `name` that follows the skill name rules. * No duplicate paths or path conflicts. ## Attach skills to a preset agent Open the preset agent, select the `Skills` tab, click `Add skill`, and choose a published skill. Click `Publish version` in the top right to save. An attachment records the skill version that was current when you attached it. Each row shows the skill name and its version. Hover the name to read the description, or click it to open the skill. Only published skills can be attached. When a preset agent runs, Tracecat resolves each attached skill to that skill's current published version, so publishing a new version takes effect on the next run without editing the preset. ## How agents load skills When a preset agent runs, Tracecat stages the resolved skill versions into the agent runtime. The agent can discover the skill by its `SKILL.md` metadata and use the bundled files during the run. Use skills for reusable agent behavior. Use preset instructions for behavior that belongs only to one preset agent. A skill's `metadata.tools` fits a group of tools that several agents share, so the instructions and the tools travel together. Tools only one agent needs fit on the preset. See [Where tools come from](/agents/ai-preset-agent#where-tools-come-from) for the full picture, including what the `ai.preset_agent` `actions` input does to a skill's tools. ## Related pages * See [AI agent](/agents/ai-agent) for the `ai.agent` and `ai.preset_agent` workflow actions. * See [Secrets and variables](/agents/secrets-variables) to pass credentials and configuration to preset agent tool calls. * See [MCP integrations](/automations/integrations/mcp-integrations) to attach MCP servers to preset agents. # Timeouts Source: https://docs.tracecat.com/agents/timeouts Default timeouts for agents, chat turns, tool calls, model responses, and workflows, and every setting that raises them. Open source Agents run under several independent timeouts. Find the error your run failed with in [Timeout errors](#timeout-errors), then raise the matching setting. ## Defaults | Limit | Default | Where to change it | | - | - | - | | Agent action runtime (`ai.agent`, `ai.action`, `ai.preset_agent`) | `7200` seconds (2 hours) | The action's `Timeout` | | Chat turn | `7200` seconds (2 hours) | Fixed. Only a lower deployment ceiling changes it | | Shortest explicit agent timeout | `1800` seconds (30 minutes) | Fixed. A ceiling below `1800` lowers it | | Agent timeout ceiling | `10800` seconds (3 hours) | `TRACECAT__AGENT_SANDBOX_TIMEOUT` | | Model response read timeout | `600` seconds (`300` in the Helm chart) | `TRACECAT__LLM_PROXY_READ_TIMEOUT` | | Registry tool call | `300` seconds | Fixed. `TRACECAT__EXECUTOR_CLIENT_TIMEOUT` can lower it | | MCP integration response | `30` seconds, up to `300` | The MCP integration's `Timeout (seconds)` | | MCP tool discovery | `20` seconds per server, `60` seconds total | Fixed | | Workflow run | Unlimited | The workflow's `Timeout`, or the workspace's `Default workflow timeout` | Subagents run inside their parent agent's run and share its timeout. Time spent waiting for a [tool approval](/agents/human-in-the-loop) doesn't count toward the agent timeout, and the resumed run gets the full timeout again. ## Raise an agent action's timeout **1. Open the action** Open the workflow in the builder and select the `ai.agent`, `ai.action`, or `ai.preset_agent` action. **2. Set the timeout** Select the `Control flow` tab and enter the runtime in seconds under `Timeout`. New agent actions start with the `7200` second default. ![Agent action timeout](https://mintcdn.com/tracecat/LxlUUU8iD1STqmNN/img/agents/timeouts-action-control-flow.png?fit=max\&auto=format\&n=LxlUUU8iD1STqmNN\&q=85\&s=6bc0913549fa10315cff835cfe4f7585) **3. Save the action** At run time, Tracecat clamps the value between `1800` seconds and the deployment ceiling. It never rejects a value. In a workflow definition, set `retry_policy.timeout`: ```yaml theme={null} - ref: investigate_alert action: ai.preset_agent retry_policy: timeout: 10800 args: preset: alert-triage user_prompt: | Investigate this alert: ${{ TRIGGER.alert }} ``` Values above the ceiling run at the ceiling. To let agents run longer than `10800` seconds, raise the ceiling first. ## Raise the agent timeout ceiling `TRACECAT__AGENT_SANDBOX_TIMEOUT` caps every agent action and chat turn. A ceiling below `1800` seconds also lowers the default and the shortest explicit timeout to the ceiling. > [tab] Docker Compose > > Set the variable in `.env`, then recreate the services: > > ```bash theme={null} > TRACECAT__AGENT_SANDBOX_TIMEOUT=14400 > ``` > > ```bash theme={null} > docker compose up -d > ``` > [tab] Helm > > Set `tracecat.agentSandboxTimeout` in your values file: > > ```yaml theme={null} > tracecat: > agentSandboxTimeout: 14400 > ``` > > The agent executor's `agentExecutor.gracefulShutdownTimeout` (ceiling plus `60`) and `agentExecutor.terminationGracePeriodSeconds` (drain timeout plus `60`) follow the ceiling when left empty. > If you set either explicitly, keep `gracefulShutdownTimeout` at least the ceiling plus `60`, or the chart fails to render. > See [Kubernetes](/self-hosting/kubernetes). > [tab] Terraform (EKS) > > Set `agent_sandbox_timeout` on the EKS module. It maps to `tracecat.agentSandboxTimeout` and must be at least `1800`: > > ```hcl theme={null} > agent_sandbox_timeout = 14400 > ``` > [tab] AWS Fargate > > Set `agent_sandbox_timeout` on the Fargate module: > > ```hcl theme={null} > agent_sandbox_timeout = "14400" > ``` > > See [AWS Fargate](/self-hosting/aws-fargate). On Docker Compose and Fargate, the agent executor's drain timeout `TRACECAT__AGENT_EXECUTOR_GRACEFUL_SHUTDOWN_TIMEOUT` also defaults to the ceiling plus `60` seconds. ## Chat turns Each turn in [workspace chat](/agents/workspace-chat), preset chat, or a [channel](/agents/channels) runs for up to `7200` seconds. You can't set a per-chat timeout. A ceiling below `7200` shortens chat turns to the ceiling. ## Model response timeout `TRACECAT__LLM_PROXY_READ_TIMEOUT` sets how long the agent's LLM proxy waits for the next byte from the model provider or gateway. It applies to each model request, not to the whole run, so raise it for slow reasoning models or self-hosted gateways that stream slowly. | Deployment | Setting | Default | | - | - | - | | Docker Compose | `TRACECAT__LLM_PROXY_READ_TIMEOUT` in `.env` | `600` | | Helm | `agentExecutor.llmProxyReadTimeout` | `300` | | AWS Fargate | `llm_proxy_read_timeout` | `600` | See [Custom LLM providers](/agents/custom-llm-providers#troubleshooting) for gateway errors. ## Tool call timeouts Each registry action an agent calls as a tool runs with the default action timeout of `300` seconds. `TRACECAT__EXECUTOR_CLIENT_TIMEOUT` caps each call and can only shorten it. To run longer work from an agent, call a [workflow](/automations/triggers/workflows-as-apis) or a custom action that starts the work and returns. MCP integrations have their own `Timeout (seconds)`, between `1` and `300`, default `30`. Open `MCP servers` from the sidebar, click `Add MCP server` or edit an existing server, and set it under `Advanced`. ![MCP integration timeout](https://mintcdn.com/tracecat/LxlUUU8iD1STqmNN/img/agents/timeouts-mcp-integration.png?fit=max\&auto=format\&n=LxlUUU8iD1STqmNN\&q=85\&s=b27bcf21637590819515d1962c68ab0d) Tool discovery gives each MCP server at most `20` seconds, or the integration's timeout if shorter, and `60` seconds for all servers in one run. ## Workflow timeouts The workflow timeout bounds the whole workflow run, including agent actions and the time spent waiting for approvals. A long-running agent fails when the workflow times out, even if the agent's own timeout hasn't elapsed. Open the workflow and set `Timeout (seconds)` on the `Workflow` tab of the side panel. Click an empty spot on the canvas if an action is selected. `0` means unlimited. ![Workflow timeout](https://mintcdn.com/tracecat/LxlUUU8iD1STqmNN/img/agents/timeouts-workflow-settings.png?fit=max\&auto=format\&n=LxlUUU8iD1STqmNN\&q=85\&s=7b49b3c06b0f47271d438ee9d44e63ca) Workspace settings take precedence over each workflow's timeout: * `Unlimited workflow timeout` on: Workflows run with no timeout, and each workflow's `Timeout (seconds)` is ignored. New workspaces start with this on. * `Default workflow timeout` set: Every workflow in the workspace uses this value. * Neither set: Each workflow uses its own `Timeout (seconds)`. Open `Settings` from the sidebar, then select `Workflows` under `Workspace`. ![Workspace runtime settings](https://mintcdn.com/tracecat/LxlUUU8iD1STqmNN/img/agents/timeouts-workspace-runtime.png?fit=max\&auto=format\&n=LxlUUU8iD1STqmNN\&q=85\&s=7bb9031a85e8309fe5f44004c3ec6292) ## Timeout errors | Error | Limit | Fix | | - | - | - | | `Agent execution timed out after s` | Agent action runtime or chat turn | Raise the action's `Timeout`, then the ceiling if needed | | `Model response timed out after without receiving data` | Model response read timeout | Raise `TRACECAT__LLM_PROXY_READ_TIMEOUT` | | `Gateway timeout` | Model response read timeout on a non-streaming request | Raise `TRACECAT__LLM_PROXY_READ_TIMEOUT` | | `Action execution timed out after 300s` | Registry tool call | Move the long-running work into a workflow | | Workflow run status is timed out | Workflow timeout | Raise the workflow or workspace timeout | ## Related pages * See [Actions](/automations/actions#timeout) for how `timeout` and `max_attempts` apply to every action. * See [Human-in-the-loop](/agents/human-in-the-loop) for how approval waits interact with timeouts. * See [Environment variables](/self-hosting/environment-variables) for every deployment setting on this page. # Workspace chat Source: https://docs.tracecat.com/agents/workspace-chat Chat with Tracecat across your workspace, select tools and MCP integrations, and mention preset agents. Open source Workspace chat is a workspace-level assistant that is separate from the copilot inside each case. Open it from `Chat` in the workspace sidebar or as a side panel over the Tables pages. ![Workspace chat composer](https://mintcdn.com/tracecat/jVRtsbDId0CXIsCf/img/agents/workspace-chat-composer.png?fit=max\&auto=format\&n=jVRtsbDId0CXIsCf\&q=85\&s=03d197fff7077d352a22de6010a4f063) ## Set the default model Go to `Organization > Settings > Agent`, connect a [provider](/agents/custom-llm-providers), and choose an organization default model. If the workspace uses a subset of the organization's models, the default must be in it. A chat that uses the organization default stays disabled until both hold; a chat with a preset agent uses the preset's model instead. Your workspace role needs `agent:read` and `agent:execute` to open workspace chat, so `workspace-editor` and `workspace-admin` can use it and `workspace-viewer` cannot. ## Choose tools and MCP integrations Select `Tools` to open the picker. Tracecat defaults are always included. * In `Active capabilities`, `Cases`, `Tables`, and `Workflows` are on by default. Tracecat drops any tool your workspace role could not run itself, so a restricted role sees fewer. * In `Add tools`, toggle individual tool groups on or off. `Agent presets` in `Active capabilities` lets the chat run your saved presets as tools. `MCP integrations` lists the servers your workspace connected, including catalog connectors, and `Connect an MCP server` adds one; see [MCP servers](/automations/integrations/mcp-integrations) to connect a catalog, remote, or local server. Your workspace role needs `integration:read` to see the section. ![Workspace chat tools](https://mintcdn.com/tracecat/jVRtsbDId0CXIsCf/img/agents/workspace-chat-tools.png?fit=max\&auto=format\&n=jVRtsbDId0CXIsCf\&q=85\&s=2ca2e83b6b8ab83bc36f7de2e56bdc33) ## Mention an agent Enterprise Focus the empty composer to show the `@ Mention agent` hint, then type `@` and select a preset agent from the list. Selecting the result sets that preset for the entire conversation, and the `@Agent name` text remains in the message you send. The list keeps filtering as you type, including across the spaces in a name. It matches the agent name or its slug, which each row shows on the right. Selecting a result is what binds the agent; typing a name as plain text does not. A badge with the agent name replaces the hint until you clear it with `×`. A preset supplies its own tools, so `Tools` is unavailable while an agent is set. Your workspace role needs `agent:read` and `agent:execute`. Without Enterprise, `@` opens the list with an Enterprise notice instead of agent names. ![Mention an agent in workspace chat](https://mintcdn.com/tracecat/jVRtsbDId0CXIsCf/img/agents/workspace-chat-agent-mention.png?fit=max\&auto=format\&n=jVRtsbDId0CXIsCf\&q=85\&s=3ef2915bcb442810f094c5772ebd5575) ## Related pages * See [Mention agents in case comments](/automations/cases/agent-mentions) to invoke a preset agent from a case thread. * See [AI preset agent](/agents/ai-preset-agent) to configure a reusable agent preset. # Batch Update Positions Source: https://docs.tracecat.com/api-reference/actions/batch-update-positions https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/actions/batch-positions Batch update action and trigger positions. This endpoint updates all positions in a single transaction for atomicity, preventing race conditions from concurrent position updates. # Create Action Source: https://docs.tracecat.com/api-reference/actions/create-action https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/actions Create a new action for a workflow. # Delete Action Source: https://docs.tracecat.com/api-reference/actions/delete-action https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/actions/{action_id} Delete an action. # Get Action Source: https://docs.tracecat.com/api-reference/actions/get-action https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/actions/{action_id} Get an action. # List Action Lock Statuses Source: https://docs.tracecat.com/api-reference/actions/list-action-lock-statuses https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/actions/lock-status Whether each locked action's source run still exists. # List Actions Source: https://docs.tracecat.com/api-reference/actions/list-actions https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/actions List all actions for a workflow. # Update Action Source: https://docs.tracecat.com/api-reference/actions/update-action https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/actions/{action_id} Update an action. # Apply Rollouts Source: https://docs.tracecat.com/api-reference/admin/apply-rollouts https://platform.tracecat.com/api/openapi.json post /admin/managed-resources/rollouts/apply Apply the ready rollouts among those given; the rest are left as they are. # Assign Target Source: https://docs.tracecat.com/api-reference/admin/assign-target https://platform.tracecat.com/api/openapi.json post /admin/managed-resources/targets Assign a workspace as a target pinned to a tag; a rollout applies it. # Check Ip Allowlist Source: https://docs.tracecat.com/api-reference/admin/check-ip-allowlist https://platform.tracecat.com/api/openapi.json post /admin/settings/security/ip-allowlist/check Report whether an IP address is admitted by the saved platform admin allowlist. # Clear Source Source: https://docs.tracecat.com/api-reference/admin/clear-source https://platform.tracecat.com/api/openapi.json delete /admin/managed-resources/source Remove the managed resources source setting. # Create Organization Source: https://docs.tracecat.com/api-reference/admin/create-organization https://platform.tracecat.com/api/openapi.json post /admin/organizations Create a new organization. # Create Organization Domain Source: https://docs.tracecat.com/api-reference/admin/create-organization-domain https://platform.tracecat.com/api/openapi.json post /admin/organizations/{org_id}/domains Create a new assigned domain for an organization. # Create Organization Invitation Source: https://docs.tracecat.com/api-reference/admin/create-organization-invitation https://platform.tracecat.com/api/openapi.json post /admin/organizations/{org_id}/invitations Create a platform-scoped invitation for an organization. # Create Tier Source: https://docs.tracecat.com/api-reference/admin/create-tier https://platform.tracecat.com/api/openapi.json post /admin/tiers Create a new tier. # Create User Source: https://docs.tracecat.com/api-reference/admin/create-user https://platform.tracecat.com/api/openapi.json post /admin/users Create a platform-level user without org membership. # Cut Release Source: https://docs.tracecat.com/api-reference/admin/cut-release https://platform.tracecat.com/api/openapi.json post /admin/managed-resources/source/releases Tag the source repository's base branch HEAD as a new release. # Delete Organization Source: https://docs.tracecat.com/api-reference/admin/delete-organization https://platform.tracecat.com/api/openapi.json delete /admin/organizations/{org_id} Delete organization. # Delete Organization Domain Source: https://docs.tracecat.com/api-reference/admin/delete-organization-domain https://platform.tracecat.com/api/openapi.json delete /admin/organizations/{org_id}/domains/{domain_id} Delete an assigned organization domain. # Delete Tier Source: https://docs.tracecat.com/api-reference/admin/delete-tier https://platform.tracecat.com/api/openapi.json delete /admin/tiers/{tier_id} Delete a tier (only if no orgs are assigned to it). # Delete User Source: https://docs.tracecat.com/api-reference/admin/delete-user https://platform.tracecat.com/api/openapi.json delete /admin/users/{user_id} Delete a platform user globally, clearing sessions and dependencies first. # Demote From Superuser Source: https://docs.tracecat.com/api-reference/admin/demote-from-superuser https://platform.tracecat.com/api/openapi.json post /admin/users/{user_id}/demote Remove superuser status from a user. # Get Audit Settings Source: https://docs.tracecat.com/api-reference/admin/get-audit-settings https://platform.tracecat.com/api/openapi.json get /admin/settings/audit Get platform audit settings. # Get Mfa Settings Source: https://docs.tracecat.com/api-reference/admin/get-mfa-settings https://platform.tracecat.com/api/openapi.json get /admin/settings/security/mfa Whether platform admins must sign in with a security key. # Get Org Tier Source: https://docs.tracecat.com/api-reference/admin/get-org-tier https://platform.tracecat.com/api/openapi.json get /admin/tiers/organizations/{org_id} Get tier assignment for an organization. # Get Organization Source: https://docs.tracecat.com/api-reference/admin/get-organization https://platform.tracecat.com/api/openapi.json get /admin/organizations/{org_id} Get organization by ID. # Get Organization Invitation Token Source: https://docs.tracecat.com/api-reference/admin/get-organization-invitation-token https://platform.tracecat.com/api/openapi.json get /admin/organizations/{org_id}/invitations/{invitation_id}/token Get the raw token for a platform-created organization invitation. # Get Registry Settings Source: https://docs.tracecat.com/api-reference/admin/get-registry-settings https://platform.tracecat.com/api/openapi.json get /admin/settings/registry Get platform registry settings. # Get Release Candidate Source: https://docs.tracecat.com/api-reference/admin/get-release-candidate https://platform.tracecat.com/api/openapi.json get /admin/managed-resources/source/release-candidate Describe the commit a new release would tag and the package in it. # Get Rollout Source: https://docs.tracecat.com/api-reference/admin/get-rollout https://platform.tracecat.com/api/openapi.json get /admin/managed-resources/rollouts/{rollout_id} Get one rollout record with its preview. # Get Security Settings Source: https://docs.tracecat.com/api-reference/admin/get-security-settings https://platform.tracecat.com/api/openapi.json get /admin/settings/security Get the platform admin IP allowlist. # Get Source Source: https://docs.tracecat.com/api-reference/admin/get-source https://platform.tracecat.com/api/openapi.json get /admin/managed-resources/source Get the workspace managed resources are published from. # Get Tier Source: https://docs.tracecat.com/api-reference/admin/get-tier https://platform.tracecat.com/api/openapi.json get /admin/tiers/{tier_id} Get tier by ID. # Get User Source: https://docs.tracecat.com/api-reference/admin/get-user https://platform.tracecat.com/api/openapi.json get /admin/users/{user_id} Get user by ID. # List Org Repositories Source: https://docs.tracecat.com/api-reference/admin/list-org-repositories https://platform.tracecat.com/api/openapi.json get /admin/organizations/{org_id}/registry/repositories List registry repositories for an organization. # List Org Repository Versions Source: https://docs.tracecat.com/api-reference/admin/list-org-repository-versions https://platform.tracecat.com/api/openapi.json get /admin/organizations/{org_id}/registry/repositories/{repository_id}/versions List versions for a specific repository in an organization. # List Org Tiers Source: https://docs.tracecat.com/api-reference/admin/list-org-tiers https://platform.tracecat.com/api/openapi.json get /admin/tiers/organizations List tier assignments for organizations. # List Organization Domains Source: https://docs.tracecat.com/api-reference/admin/list-organization-domains https://platform.tracecat.com/api/openapi.json get /admin/organizations/{org_id}/domains List all assigned domains for an organization. # List Organization Invitations Source: https://docs.tracecat.com/api-reference/admin/list-organization-invitations https://platform.tracecat.com/api/openapi.json get /admin/organizations/{org_id}/invitations List platform-created invitations for an organization. # List Organizations Source: https://docs.tracecat.com/api-reference/admin/list-organizations https://platform.tracecat.com/api/openapi.json get /admin/organizations List all organizations. # List Reference Matches Source: https://docs.tracecat.com/api-reference/admin/list-reference-matches https://platform.tracecat.com/api/openapi.json get /admin/managed-resources/targets/{target_id}/references List a target's saved model, MCP integration and secret store matches. # List Rollouts Source: https://docs.tracecat.com/api-reference/admin/list-rollouts https://platform.tracecat.com/api/openapi.json get /admin/managed-resources/rollouts List rollout records, newest first. # List Source Tags Source: https://docs.tracecat.com/api-reference/admin/list-source-tags https://platform.tracecat.com/api/openapi.json get /admin/managed-resources/source/tags List tags in the managed resources source repository, newest first. # List Target Candidates Source: https://docs.tracecat.com/api-reference/admin/list-target-candidates https://platform.tracecat.com/api/openapi.json get /admin/managed-resources/workspaces List workspaces in every organization, marking targets and the source. # List Targets Source: https://docs.tracecat.com/api-reference/admin/list-targets https://platform.tracecat.com/api/openapi.json get /admin/managed-resources/targets List target workspaces with their pinned tag and last rollout. # List Tiers Source: https://docs.tracecat.com/api-reference/admin/list-tiers https://platform.tracecat.com/api/openapi.json get /admin/tiers List all tiers. # List Users Source: https://docs.tracecat.com/api-reference/admin/list-users https://platform.tracecat.com/api/openapi.json get /admin/users List all users. # Preview Rollouts Source: https://docs.tracecat.com/api-reference/admin/preview-rollouts https://platform.tracecat.com/api/openapi.json post /admin/managed-resources/rollouts/preview Start a preview of a tag for each target; poll the rollouts for results. # Promote Org Repository Version Source: https://docs.tracecat.com/api-reference/admin/promote-org-repository-version https://platform.tracecat.com/api/openapi.json post /admin/organizations/{org_id}/registry/repositories/{repository_id}/versions/{version_id}/promote Promote a registry version to be the current version for an org repository. # Promote To Superuser Source: https://docs.tracecat.com/api-reference/admin/promote-to-superuser https://platform.tracecat.com/api/openapi.json post /admin/users/{user_id}/promote Promote a user to superuser status. # Resend Organization Invitation Source: https://docs.tracecat.com/api-reference/admin/resend-organization-invitation https://platform.tracecat.com/api/openapi.json post /admin/organizations/{org_id}/invitations/{invitation_id}/resend Queue another delivery of a pending invitation email. # Reset User Mfa Source: https://docs.tracecat.com/api-reference/admin/reset-user-mfa https://platform.tracecat.com/api/openapi.json post /admin/users/{user_id}/mfa/reset Remove a user's security keys and recovery codes after they lose access. If a policy still requires MFA, the user must register a new key at their next sign-in. # Revoke Organization Invitation Source: https://docs.tracecat.com/api-reference/admin/revoke-organization-invitation https://platform.tracecat.com/api/openapi.json delete /admin/organizations/{org_id}/invitations/{invitation_id} Revoke a pending platform-created organization invitation. # Save Reference Matches Source: https://docs.tracecat.com/api-reference/admin/save-reference-matches https://platform.tracecat.com/api/openapi.json put /admin/managed-resources/targets/{target_id}/references Save reference matches; later version bumps reuse them. # Set Source Source: https://docs.tracecat.com/api-reference/admin/set-source https://platform.tracecat.com/api/openapi.json put /admin/managed-resources/source Set the managed resources source and pin its Git binding. # Sync Org Repository Source: https://docs.tracecat.com/api-reference/admin/sync-org-repository https://platform.tracecat.com/api/openapi.json post /admin/organizations/{org_id}/registry/repositories/{repository_id}/sync Sync a registry repository for an organization. # Test Audit Webhook Source: https://docs.tracecat.com/api-reference/admin/test-audit-webhook https://platform.tracecat.com/api/openapi.json post /admin/settings/audit/test Probe the submitted platform audit webhook configuration. # Unassign Target Source: https://docs.tracecat.com/api-reference/admin/unassign-target https://platform.tracecat.com/api/openapi.json post /admin/managed-resources/targets/{target_id}/unassign Preview unassigning a target; applying it deletes its managed resources. # Update Audit Settings Source: https://docs.tracecat.com/api-reference/admin/update-audit-settings https://platform.tracecat.com/api/openapi.json patch /admin/settings/audit Update platform audit settings. # Update Mfa Settings Source: https://docs.tracecat.com/api-reference/admin/update-mfa-settings https://platform.tracecat.com/api/openapi.json patch /admin/settings/security/mfa Require a security key at sign-in for platform admins. ``TRACECAT__PLATFORM_ADMIN_MFA_BYPASS`` is the break-glass override. # Update Org Tier Source: https://docs.tracecat.com/api-reference/admin/update-org-tier https://platform.tracecat.com/api/openapi.json patch /admin/tiers/organizations/{org_id} Update organization's tier assignment and overrides. # Update Organization Source: https://docs.tracecat.com/api-reference/admin/update-organization https://platform.tracecat.com/api/openapi.json patch /admin/organizations/{org_id} Update organization. # Update Organization Domain Source: https://docs.tracecat.com/api-reference/admin/update-organization-domain https://platform.tracecat.com/api/openapi.json patch /admin/organizations/{org_id}/domains/{domain_id} Update active/primary state for an assigned organization domain. # Update Registry Settings Source: https://docs.tracecat.com/api-reference/admin/update-registry-settings https://platform.tracecat.com/api/openapi.json patch /admin/settings/registry Update platform registry settings. # Update Security Settings Source: https://docs.tracecat.com/api-reference/admin/update-security-settings https://platform.tracecat.com/api/openapi.json patch /admin/settings/security Update the platform admin IP allowlist. Enabling a non-empty allowlist that excludes the caller's own IP is rejected so a platform admin cannot lock themselves out. # Update Target Source: https://docs.tracecat.com/api-reference/admin/update-target https://platform.tracecat.com/api/openapi.json patch /admin/managed-resources/targets/{target_id} Move a target's pinned tag. # Update Tier Source: https://docs.tracecat.com/api-reference/admin/update-tier https://platform.tracecat.com/api/openapi.json patch /admin/tiers/{tier_id} Update a tier. # List Platform Catalog Source: https://docs.tracecat.com/api-reference/admin:agent/list-platform-catalog https://platform.tracecat.com/api/openapi.json get /admin/agent/catalog List platform-owned agent catalog entries. # Get Build Info Source: https://docs.tracecat.com/api-reference/admin:build/get-build-info https://platform.tracecat.com/api/openapi.json get /admin/build-info Return the version and build details of the running deployment. # Get Case Agent Session Interaction Backfill Source: https://docs.tracecat.com/api-reference/admin:maintenance/get-case-agent-session-interaction-backfill https://platform.tracecat.com/api/openapi.json get /admin/maintenance/case-agent-session-interactions/backfill/{operation_id} Poll a durable historical case-mutation backfill. # Start Case Agent Session Interaction Backfill Source: https://docs.tracecat.com/api-reference/admin:maintenance/start-case-agent-session-interaction-backfill https://platform.tracecat.com/api/openapi.json post /admin/maintenance/case-agent-session-interactions/backfill Start or join the durable historical case-mutation backfill. # Delete Registry Version Source: https://docs.tracecat.com/api-reference/admin:registry/delete-registry-version https://platform.tracecat.com/api/openapi.json delete /admin/registry/{repository_id}/versions/{version_id} Delete an unused, non-current platform registry version. # Get Platform Repository Source: https://docs.tracecat.com/api-reference/admin:registry/get-platform-repository https://platform.tracecat.com/api/openapi.json get /admin/registry/repos/{repository_id} Get a specific platform registry repository. # Get Registry Status Source: https://docs.tracecat.com/api-reference/admin:registry/get-registry-status https://platform.tracecat.com/api/openapi.json get /admin/registry/status Get registry sync status and health. # List Platform Repositories Source: https://docs.tracecat.com/api-reference/admin:registry/list-platform-repositories https://platform.tracecat.com/api/openapi.json get /admin/registry/repos List all platform registry repositories. # List Registry Versions Source: https://docs.tracecat.com/api-reference/admin:registry/list-registry-versions https://platform.tracecat.com/api/openapi.json get /admin/registry/versions List registry versions with optional filtering. # Promote Registry Version Source: https://docs.tracecat.com/api-reference/admin:registry/promote-registry-version https://platform.tracecat.com/api/openapi.json post /admin/registry/{repository_id}/versions/{version_id}/promote Promote a registry version to be the current version for a repository. # Start Registry Artifacts Backfill Source: https://docs.tracecat.com/api-reference/admin:registry/start-registry-artifacts-backfill https://platform.tracecat.com/api/openapi.json post /admin/registry/versions/artifacts/backfill Start a workflow to backfill artifacts for selected versions. # Sync All Repositories Source: https://docs.tracecat.com/api-reference/admin:registry/sync-all-repositories https://platform.tracecat.com/api/openapi.json post /admin/registry/sync Trigger sync for all platform registry repositories. # Sync Repository Source: https://docs.tracecat.com/api-reference/admin:registry/sync-repository https://platform.tracecat.com/api/openapi.json post /admin/registry/sync/{repository_id} Trigger sync for a specific platform registry repository. # Create Channel Token Source: https://docs.tracecat.com/api-reference/agent-channels/create-channel-token https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/agent/channels/tokens # Delete Channel Token Source: https://docs.tracecat.com/api-reference/agent-channels/delete-channel-token https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/agent/channels/tokens/{token_id} # List Channel Tokens Source: https://docs.tracecat.com/api-reference/agent-channels/list-channel-tokens https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/agent/channels/tokens # Rotate Channel Token Source: https://docs.tracecat.com/api-reference/agent-channels/rotate-channel-token https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/agent/channels/tokens/{token_id}/rotate # Start Slack Oauth Source: https://docs.tracecat.com/api-reference/agent-channels/start-slack-oauth https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/agent/channels/tokens/slack/oauth/start # Update Channel Token Source: https://docs.tracecat.com/api-reference/agent-channels/update-channel-token https://platform.tracecat.com/api/openapi.json patch /workspaces/{workspace_id}/agent/channels/tokens/{token_id} # Create Folder Source: https://docs.tracecat.com/api-reference/agent-folders/create-folder https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/agent-folders Create a new agent folder. # Delete Folder Source: https://docs.tracecat.com/api-reference/agent-folders/delete-folder https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/agent-folders/{folder_id} Delete an agent folder. # Get Directory Source: https://docs.tracecat.com/api-reference/agent-folders/get-directory https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/agent-folders/directory Get directory items (presets and folders) in the given path. # Get Folder Source: https://docs.tracecat.com/api-reference/agent-folders/get-folder https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/agent-folders/{folder_id} Get folder details by ID. # List Folders Source: https://docs.tracecat.com/api-reference/agent-folders/list-folders https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/agent-folders List folders under the specified parent path. # Move Folder Source: https://docs.tracecat.com/api-reference/agent-folders/move-folder https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/agent-folders/{folder_id}/move Move a folder to a new parent folder. # Update Folder Source: https://docs.tracecat.com/api-reference/agent-folders/update-folder https://platform.tracecat.com/api/openapi.json patch /workspaces/{workspace_id}/agent-folders/{folder_id} Update a folder (rename). # Add Preset Tag Source: https://docs.tracecat.com/api-reference/agent-presets/add-preset-tag https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/agent/presets/{preset_id}/tags Add a tag to an agent preset. # Compare Agent Preset Versions Source: https://docs.tracecat.com/api-reference/agent-presets/compare-agent-preset-versions https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/agent/presets/{preset_id}/versions/{version_id}/compare Compare two preset versions belonging to the same preset. # Create Agent Preset Source: https://docs.tracecat.com/api-reference/agent-presets/create-agent-preset https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/agent/presets Create a new agent preset. # Delete Agent Preset Source: https://docs.tracecat.com/api-reference/agent-presets/delete-agent-preset https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/agent/presets/{preset_id} Delete an agent preset. # Get Agent Preset Source: https://docs.tracecat.com/api-reference/agent-presets/get-agent-preset https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/agent/presets/{preset_id} Retrieve an agent preset by ID. # Get Agent Preset By Slug Source: https://docs.tracecat.com/api-reference/agent-presets/get-agent-preset-by-slug https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/agent/presets/by-slug/{slug} Retrieve an agent preset by slug. # Get Agent Preset Version Source: https://docs.tracecat.com/api-reference/agent-presets/get-agent-preset-version https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/agent/presets/{preset_id}/versions/{version_id} Retrieve an immutable agent preset version. # List Agent Preset Versions Source: https://docs.tracecat.com/api-reference/agent-presets/list-agent-preset-versions https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/agent/presets/{preset_id}/versions List immutable versions for an agent preset. # List Agent Preset Workflow References Source: https://docs.tracecat.com/api-reference/agent-presets/list-agent-preset-workflow-references https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/agent/presets/workflow-references Page through the workflows that run each agent preset. # List Agent Presets Source: https://docs.tracecat.com/api-reference/agent-presets/list-agent-presets https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/agent/presets List all agent presets for the current workspace. # List Preset Tags Source: https://docs.tracecat.com/api-reference/agent-presets/list-preset-tags https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/agent/presets/{preset_id}/tags List all tags for an agent preset. # Move Agent Preset To Folder Source: https://docs.tracecat.com/api-reference/agent-presets/move-agent-preset-to-folder https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/agent/presets/{preset_id}/move Move an agent preset to a folder. # Preview Tool Policy Source: https://docs.tracecat.com/api-reference/agent-presets/preview-tool-policy https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/agent/presets/tool-policy Evaluate unsaved tool selections without changing a preset. # Remove Preset Tag Source: https://docs.tracecat.com/api-reference/agent-presets/remove-preset-tag https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/agent/presets/{preset_id}/tags/{tag_id} Remove a tag from an agent preset. # Restore Agent Preset Version Source: https://docs.tracecat.com/api-reference/agent-presets/restore-agent-preset-version https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/agent/presets/{preset_id}/versions/{version_id}/restore Restore a historical preset version as current. # Update Agent Preset Source: https://docs.tracecat.com/api-reference/agent-presets/update-agent-preset https://platform.tracecat.com/api/openapi.json patch /workspaces/{workspace_id}/agent/presets/{preset_id} Update an existing agent preset. # Cancel Session Source: https://docs.tracecat.com/api-reference/agent-sessions/cancel-session https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/agent/sessions/{session_id}/cancel Request graceful cancellation for the active agent session turn. Deprecated: send a `cancel` control to `/control` instead. # Control Session Source: https://docs.tracecat.com/api-reference/agent-sessions/control-session https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/agent/sessions/{session_id}/control Steer, withdraw from, or cancel the active turn without waiting for it. # Create Session Source: https://docs.tracecat.com/api-reference/agent-sessions/create-session https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/agent/sessions Create a new agent session associated with an entity. # Delete Session Source: https://docs.tracecat.com/api-reference/agent-sessions/delete-session https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/agent/sessions/{session_id} Delete an agent session. # Fork Session Source: https://docs.tracecat.com/api-reference/agent-sessions/fork-session https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/agent/sessions/{session_id}/fork Fork an existing session to continue conversation post-decision. Creates a new session linked to a history source, allowing users to ask the agent for context after making approval decisions. Set entity_type to 'approval' for inbox forks to hide from main chat list. # Get Session Source: https://docs.tracecat.com/api-reference/agent-sessions/get-session https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/agent/sessions/{session_id} Get an agent session or legacy chat with its message history. Legacy chats have is_readonly=True. # Get Session Vercel Source: https://docs.tracecat.com/api-reference/agent-sessions/get-session-vercel https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/agent/sessions/{session_id}/vercel Get an agent session or legacy chat with message history in Vercel format. Legacy chats have is_readonly=True. # List Agent Backends Source: https://docs.tracecat.com/api-reference/agent-sessions/list-agent-backends https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/agent/sessions/backends List enabled installed backends this organization may start sessions on. # List Pending Messages Source: https://docs.tracecat.com/api-reference/agent-sessions/list-pending-messages https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/agent/sessions/{session_id}/pending List the user messages the model has not read yet, in send order. Covers steers waiting to join the running turn and messages queued for a later turn. The list is short-lived and small, so it is not paginated. Only the session's owner sees it: the messages are theirs until the model reads them. # List Sessions Source: https://docs.tracecat.com/api-reference/agent-sessions/list-sessions https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/agent/sessions List agent sessions for the current workspace with optional filtering. Returns root sessions by default, including standalone history forks and legacy chats. Filter by spawned_by_session_id to find spawned children. Legacy chats have is_readonly=True. # Remove Session Artifact Source: https://docs.tracecat.com/api-reference/agent-sessions/remove-session-artifact https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/agent/sessions/{session_id}/artifacts/{artifact_type}/{artifact_id} Remove one artifact from a session's persisted artifact projection. # Send Message Source: https://docs.tracecat.com/api-reference/agent-sessions/send-message https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/agent/sessions/{session_id}/messages Send a message to the agent session with streaming response. This endpoint combines message sending with streaming response, compatible with Vercel's AI SDK useChat hook. It: 1. Accepts Vercel UI message format or continuation requests 2. Starts the agent execution 3. Streams the response back in Vercel's data protocol format # Stream Session Events Source: https://docs.tracecat.com/api-reference/agent-sessions/stream-session-events https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/agent/sessions/{session_id}/stream Stream session events via Server-Sent Events (SSE). This endpoint provides real-time streaming of AI agent execution steps using Server-Sent Events. It supports automatic reconnection via the Last-Event-ID header. # Stream Session Feed Source: https://docs.tracecat.com/api-reference/agent-sessions/stream-session-feed https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/agent/sessions/{session_id}/feed Stream the session's run state changes via Server-Sent Events (SSE). Sends a snapshot of the current run first, then ``run.started``, ``run.paused``, ``run.resumed`` and ``run.finished``. Clients attach to a run's output through ``/stream``. A reconnect gets a fresh snapshot, so there is no resume cursor. # Update Session Source: https://docs.tracecat.com/api-reference/agent-sessions/update-session https://platform.tracecat.com/api/openapi.json patch /workspaces/{workspace_id}/agent/sessions/{session_id} Update session properties. # Add Skill Tag Source: https://docs.tracecat.com/api-reference/agent-skills/add-skill-tag https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/agent/skills/{skill_id}/tags Add a tag to a skill. # Archive Skill Source: https://docs.tracecat.com/api-reference/agent-skills/archive-skill https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/agent/skills/{skill_id} Archive a logical skill. # Create Skill Source: https://docs.tracecat.com/api-reference/agent-skills/create-skill https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/agent/skills Create a new logical skill and seed its draft. # Create Skill Draft Upload Source: https://docs.tracecat.com/api-reference/agent-skills/create-skill-draft-upload https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/agent/skills/{skill_id}/draft/uploads Create a staged upload session for a draft file blob. # Get Skill Source: https://docs.tracecat.com/api-reference/agent-skills/get-skill https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/agent/skills/{skill_id} Return a skill summary including draft and current version status. # Get Skill Draft Source: https://docs.tracecat.com/api-reference/agent-skills/get-skill-draft https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/agent/skills/{skill_id}/draft Return the mutable draft manifest for a skill. # Get Skill Draft File Source: https://docs.tracecat.com/api-reference/agent-skills/get-skill-draft-file https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/agent/skills/{skill_id}/draft/file Return one draft file inline or as a presigned download. # Get Skill Version Source: https://docs.tracecat.com/api-reference/agent-skills/get-skill-version https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/agent/skills/{skill_id}/versions/{version_id} Return one immutable skill version manifest. # Get Skill Version File Source: https://docs.tracecat.com/api-reference/agent-skills/get-skill-version-file https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/agent/skills/{skill_id}/versions/{version_id}/file Return one published version file inline or as a presigned download. # List Skill Tags Source: https://docs.tracecat.com/api-reference/agent-skills/list-skill-tags https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/agent/skills/{skill_id}/tags List all tags for a skill. # List Skill Versions Source: https://docs.tracecat.com/api-reference/agent-skills/list-skill-versions https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/agent/skills/{skill_id}/versions List immutable versions for a skill. # List Skills Source: https://docs.tracecat.com/api-reference/agent-skills/list-skills https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/agent/skills List workspace skills for the current workspace. # Move Skill Source: https://docs.tracecat.com/api-reference/agent-skills/move-skill https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/agent/skills/{skill_id}/move Move a skill to a folder or the workspace root. # Patch Skill Draft Source: https://docs.tracecat.com/api-reference/agent-skills/patch-skill-draft https://platform.tracecat.com/api/openapi.json patch /workspaces/{workspace_id}/agent/skills/{skill_id}/draft Apply optimistic-concurrency mutations to a draft. # Publish Skill Source: https://docs.tracecat.com/api-reference/agent-skills/publish-skill https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/agent/skills/{skill_id}/publish Publish the current draft into a new immutable version. # Remove Skill Tag Source: https://docs.tracecat.com/api-reference/agent-skills/remove-skill-tag https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/agent/skills/{skill_id}/tags/{tag_id} Remove a tag from a skill. # Restore Skill Version Source: https://docs.tracecat.com/api-reference/agent-skills/restore-skill-version https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/agent/skills/{skill_id}/versions/{version_id}/restore Restore a historical version as the current selected skill version. # Upload Skill Source: https://docs.tracecat.com/api-reference/agent-skills/upload-skill https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/agent/skills:upload Create a new skill by importing a full draft file tree. # Create Agent Tag Source: https://docs.tracecat.com/api-reference/agent-tags/create-agent-tag https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/agent-tags Create a new agent tag definition. # Delete Agent Tag Source: https://docs.tracecat.com/api-reference/agent-tags/delete-agent-tag https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/agent-tags/{tag_id} Delete an agent tag definition. # Get Agent Tag Source: https://docs.tracecat.com/api-reference/agent-tags/get-agent-tag https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/agent-tags/{tag_id} Get an agent tag by ID. # List Agent Tags Source: https://docs.tracecat.com/api-reference/agent-tags/list-agent-tags https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/agent-tags List all agent tags in the workspace. # Update Agent Tag Source: https://docs.tracecat.com/api-reference/agent-tags/update-agent-tag https://platform.tracecat.com/api/openapi.json patch /workspaces/{workspace_id}/agent-tags/{tag_id} Update an agent tag definition. # Create Provider Credentials Source: https://docs.tracecat.com/api-reference/agent/create-provider-credentials https://platform.tracecat.com/api/openapi.json post /agent/credentials Create or update credentials for an AI provider. # Delete Provider Credentials Source: https://docs.tracecat.com/api-reference/agent/delete-provider-credentials https://platform.tracecat.com/api/openapi.json delete /agent/credentials/{provider} Delete credentials for an AI provider. # Get Default Model Source: https://docs.tracecat.com/api-reference/agent/get-default-model https://platform.tracecat.com/api/openapi.json get /agent/default-model Get the organization's default AI model. # Get Default Model Selection Source: https://docs.tracecat.com/api-reference/agent/get-default-model-selection https://platform.tracecat.com/api/openapi.json get /agent/default-model-selection Get the organization's canonical default model selection. # Get Provider Credential Config Source: https://docs.tracecat.com/api-reference/agent/get-provider-credential-config https://platform.tracecat.com/api/openapi.json get /agent/providers/{provider}/config Get credential field configuration for a specific provider. # Get Providers Status Source: https://docs.tracecat.com/api-reference/agent/get-providers-status https://platform.tracecat.com/api/openapi.json get /agent/providers/status Get credential status for all providers. # Get Workspace Providers Status Source: https://docs.tracecat.com/api-reference/agent/get-workspace-providers-status https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/agent/workspace/providers/status Get workspace credential status for all providers. # List Models Source: https://docs.tracecat.com/api-reference/agent/list-models https://platform.tracecat.com/api/openapi.json get /agent/models List all available AI models. # List Provider Credential Configs Source: https://docs.tracecat.com/api-reference/agent/list-provider-credential-configs https://platform.tracecat.com/api/openapi.json get /agent/providers/configs List credential field configurations for all providers. # List Providers Source: https://docs.tracecat.com/api-reference/agent/list-providers https://platform.tracecat.com/api/openapi.json get /agent/providers List all available AI model providers. # Refresh Provider Models Source: https://docs.tracecat.com/api-reference/agent/refresh-provider-models https://platform.tracecat.com/api/openapi.json post /agent/providers/{provider}/refresh Re-discover models for Bedrock or a built-in gateway provider. # Set Default Model Source: https://docs.tracecat.com/api-reference/agent/set-default-model https://platform.tracecat.com/api/openapi.json put /agent/default-model Set the organization's default AI model by catalog id. Names aren't unique once an org enables the same ``model_name`` under multiple providers (e.g. ``openai/gpt-4o`` + ``azure_openai/gpt-4o``), so the selection is keyed by catalog row. Rejects catalog ids that aren't enabled for this org with a 404. # Set Default Model Selection Source: https://docs.tracecat.com/api-reference/agent/set-default-model-selection https://platform.tracecat.com/api/openapi.json put /agent/default-model-selection Set the organization's canonical default model selection. # Subscribe Bedrock Model Source: https://docs.tracecat.com/api-reference/agent/subscribe-bedrock-model https://platform.tracecat.com/api/openapi.json post /agent/providers/bedrock/models/{catalog_id}/subscribe Accept the AWS Marketplace offer for a Bedrock catalog model. # Update Provider Credentials Source: https://docs.tracecat.com/api-reference/agent/update-provider-credentials https://platform.tracecat.com/api/openapi.json put /agent/credentials/{provider} Update existing credentials for an AI provider. # Delete Approval Source: https://docs.tracecat.com/api-reference/approvals/delete-approval https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/approvals/{session_id} Dismiss all pending approvals for a session. If the Temporal workflow is alive, deny the approvals so it fails at the agent step. If the workflow is already gone, delete the approval records directly. The session itself is left intact in both cases. # Submit Approvals Source: https://docs.tracecat.com/api-reference/approvals/submit-approvals https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/approvals/{session_id} Submit approval decisions to a running agent workflow. This endpoint sends approval decisions back to an agent workflow that is waiting for human-in-the-loop approval on tool calls. Args: role: The authenticated user role. session_id: The agent session ID (used to lookup the workflow). payload: The approval decisions mapping tool_call_id to decision. session: Database session for workspace-scoped lookups. Raises: HTTPException 400: If the approval submission fails validation. HTTPException 404: If the agent session/workflow is not found. HTTPException 500: For unexpected errors. # Auth:Database.Logout Source: https://docs.tracecat.com/api-reference/auth/auth:databaselogout https://platform.tracecat.com/api/openapi.json post /auth/logout # Begin Authentication Source: https://docs.tracecat.com/api-reference/auth/begin-authentication https://platform.tracecat.com/api/openapi.json post /auth/mfa/webauthn/authenticate/options # Begin Registration Source: https://docs.tracecat.com/api-reference/auth/begin-registration https://platform.tracecat.com/api/openapi.json post /auth/mfa/webauthn/register/options # Complete Authentication Source: https://docs.tracecat.com/api-reference/auth/complete-authentication https://platform.tracecat.com/api/openapi.json post /auth/mfa/webauthn/authenticate/verify Verify a security key. Satisfies both the sign-in challenge and step-up. # Complete Registration Source: https://docs.tracecat.com/api-reference/auth/complete-registration https://platform.tracecat.com/api/openapi.json post /auth/mfa/webauthn/register/verify # Delete Credential Source: https://docs.tracecat.com/api-reference/auth/delete-credential https://platform.tracecat.com/api/openapi.json delete /auth/mfa/credentials/{credential_id} # Discover Auth Method Source: https://docs.tracecat.com/api-reference/auth/discover-auth-method https://platform.tracecat.com/api/openapi.json post /auth/discover Return the next-step auth method for a given email. # Get Mfa Status Source: https://docs.tracecat.com/api-reference/auth/get-mfa-status https://platform.tracecat.com/api/openapi.json get /auth/mfa/status # List Credentials Source: https://docs.tracecat.com/api-reference/auth/list-credentials https://platform.tracecat.com/api/openapi.json get /auth/mfa/credentials # Oauth:Oidc.Database.Authorize Source: https://docs.tracecat.com/api-reference/auth/oauth:oidcdatabaseauthorize https://platform.tracecat.com/api/openapi.json get /auth/oauth/authorize # Oauth:Oidc.Database.Callback Source: https://docs.tracecat.com/api-reference/auth/oauth:oidcdatabasecallback https://platform.tracecat.com/api/openapi.json get /auth/oauth/callback The response varies based on the authentication backend used. # Regenerate Recovery Codes Source: https://docs.tracecat.com/api-reference/auth/regenerate-recovery-codes https://platform.tracecat.com/api/openapi.json post /auth/mfa/recovery-codes Replace all recovery codes. Previous codes stop working. # Rename Credential Source: https://docs.tracecat.com/api-reference/auth/rename-credential https://platform.tracecat.com/api/openapi.json patch /auth/mfa/credentials/{credential_id} # Saml:Database.Login Source: https://docs.tracecat.com/api-reference/auth/saml:databaselogin https://platform.tracecat.com/api/openapi.json get /auth/saml/login Initiate SAML login flow # Sign Out Pending Session Source: https://docs.tracecat.com/api-reference/auth/sign-out-pending-session https://platform.tracecat.com/api/openapi.json post /auth/mfa/sign-out End the current session, including one that is waiting on MFA. # Sso Acs Source: https://docs.tracecat.com/api-reference/auth/sso-acs https://platform.tracecat.com/api/openapi.json post /auth/saml/acs Handle the SAML SSO response from the IdP post-authentication. # Verify Recovery Code Source: https://docs.tracecat.com/api-reference/auth/verify-recovery-code https://platform.tracecat.com/api/openapi.json post /auth/mfa/recovery-codes/verify Sign in with a one-time recovery code instead of a security key. # Authentication Source: https://docs.tracecat.com/api-reference/authentication Authenticate Tracecat REST API requests with a service account API key. Enterprise Edition The Tracecat REST API uses service account API keys for machine-to-machine access. Personal access tokens (PATs) are not supported for REST API access. ## Create an API key Create a workspace service account for access to one workspace, or an organization service account for organization-wide access: 1. Open Service accounts from the workspace sidebar or Organization settings. 2. Select Create service account. 3. Name the service account and assign only the permissions it needs. 4. Create the service account, then copy its API key. The key is shown only once. ## Authenticate a request Pass the API key as a bearer token in the `Authorization` header: ```bash theme={null} curl https://platform.tracecat.com/api/workspaces \ --header "Authorization: Bearer " \ --header "Accept: application/json" ``` For a self-hosted deployment, replace `https://platform.tracecat.com/api` with your Tracecat API URL. Keep API keys in a secret manager or environment variable. Do not expose them in client-side code or commit them to source control. ## Related pages * See [Service accounts](/manage-platform/service-accounts) for creating, scoping, rotating, and disabling the service account behind a key. # Create Attachment Source: https://docs.tracecat.com/api-reference/case-attachments/create-attachment https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/cases/{case_id}/attachments Upload a new attachment to a case. # Delete Attachment Source: https://docs.tracecat.com/api-reference/case-attachments/delete-attachment https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/cases/{case_id}/attachments/{attachment_id} Delete an attachment (soft delete). # Download Attachment Source: https://docs.tracecat.com/api-reference/case-attachments/download-attachment https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/cases/{case_id}/attachments/{attachment_id} Download an attachment. # List Attachments Source: https://docs.tracecat.com/api-reference/case-attachments/list-attachments https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/cases/{case_id}/attachments List all attachments for a case. # Add Dropdown Option Source: https://docs.tracecat.com/api-reference/case-dropdowns/add-dropdown-option https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/case-dropdowns/{definition_id}/options Add a new option to a dropdown definition. # Create Dropdown Definition Source: https://docs.tracecat.com/api-reference/case-dropdowns/create-dropdown-definition https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/case-dropdowns Create a new dropdown definition with initial options. # Delete Dropdown Definition Source: https://docs.tracecat.com/api-reference/case-dropdowns/delete-dropdown-definition https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/case-dropdowns/{definition_id} Delete a dropdown definition and all its options/values. # Delete Dropdown Option Source: https://docs.tracecat.com/api-reference/case-dropdowns/delete-dropdown-option https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/case-dropdowns/{definition_id}/options/{option_id} Delete an option from a dropdown definition. # Get Dropdown Definition Source: https://docs.tracecat.com/api-reference/case-dropdowns/get-dropdown-definition https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/case-dropdowns/{definition_id} Get a single dropdown definition. # List Dropdown Definitions Source: https://docs.tracecat.com/api-reference/case-dropdowns/list-dropdown-definitions https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/case-dropdowns List all dropdown definitions for the workspace. # Reorder Dropdown Options Source: https://docs.tracecat.com/api-reference/case-dropdowns/reorder-dropdown-options https://platform.tracecat.com/api/openapi.json put /workspaces/{workspace_id}/case-dropdowns/{definition_id}/options/reorder Reorder options within a dropdown definition. # Update Dropdown Definition Source: https://docs.tracecat.com/api-reference/case-dropdowns/update-dropdown-definition https://platform.tracecat.com/api/openapi.json patch /workspaces/{workspace_id}/case-dropdowns/{definition_id} Update a dropdown definition. # Update Dropdown Option Source: https://docs.tracecat.com/api-reference/case-dropdowns/update-dropdown-option https://platform.tracecat.com/api/openapi.json patch /workspaces/{workspace_id}/case-dropdowns/{definition_id}/options/{option_id} Update an option within a dropdown definition. # Create Case Duration Source: https://docs.tracecat.com/api-reference/case-durations/create-case-duration https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/cases/{case_id}/durations Create a persisted case duration. # Create Case Duration Definition Source: https://docs.tracecat.com/api-reference/case-durations/create-case-duration-definition https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/case-durations Create a new case duration definition. # Delete Case Duration Source: https://docs.tracecat.com/api-reference/case-durations/delete-case-duration https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/cases/{case_id}/durations/{duration_id} Delete a persisted case duration. # Delete Case Duration Definition Source: https://docs.tracecat.com/api-reference/case-durations/delete-case-duration-definition https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/case-durations/{duration_id} Delete a case duration definition. # Get Case Duration Source: https://docs.tracecat.com/api-reference/case-durations/get-case-duration https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/cases/{case_id}/durations/{duration_id} Retrieve a persisted case duration. # Get Case Duration Definition Source: https://docs.tracecat.com/api-reference/case-durations/get-case-duration-definition https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/case-durations/{duration_id} Retrieve a single case duration definition. # List Case Duration Definitions Source: https://docs.tracecat.com/api-reference/case-durations/list-case-duration-definitions https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/case-durations List all case duration definitions for the active workspace. # List Case Durations Source: https://docs.tracecat.com/api-reference/case-durations/list-case-durations https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/cases/{case_id}/durations List materialized case durations for the provided case. # Update Case Duration Source: https://docs.tracecat.com/api-reference/case-durations/update-case-duration https://platform.tracecat.com/api/openapi.json patch /workspaces/{workspace_id}/cases/{case_id}/durations/{duration_id} Update a persisted case duration. # Update Case Duration Definition Source: https://docs.tracecat.com/api-reference/case-durations/update-case-duration-definition https://platform.tracecat.com/api/openapi.json patch /workspaces/{workspace_id}/case-durations/{duration_id} Update an existing case duration definition. # Create Case Tag Source: https://docs.tracecat.com/api-reference/case-tags/create-case-tag https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/case-tags Create a new case tag definition. # Delete Case Tag Source: https://docs.tracecat.com/api-reference/case-tags/delete-case-tag https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/case-tags/{tag_id} Delete a case tag definition. # Get Case Tag Source: https://docs.tracecat.com/api-reference/case-tags/get-case-tag https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/case-tags/{tag_id} Retrieve a single case tag by ID. # List Case Tags Source: https://docs.tracecat.com/api-reference/case-tags/list-case-tags https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/case-tags List all case tags available in the current workspace. # Update Case Tag Source: https://docs.tracecat.com/api-reference/case-tags/update-case-tag https://platform.tracecat.com/api/openapi.json patch /workspaces/{workspace_id}/case-tags/{tag_id} Update an existing case tag definition. # Add Tag Source: https://docs.tracecat.com/api-reference/cases/add-tag https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/cases/{case_id}/tags Add a tag to a case using tag ID or slug. # Batch Clear Parent Source: https://docs.tracecat.com/api-reference/cases/batch-clear-parent https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/cases/batch-clear-parent Remove cases from their parent case with per-case results. # Batch Delete Cases Source: https://docs.tracecat.com/api-reference/cases/batch-delete-cases https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/cases/batch-delete Delete multiple cases with per-case results. # Batch Link Case Rows Source: https://docs.tracecat.com/api-reference/cases/batch-link-case-rows https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/cases/{case_id}/rows/batch-link Link rows in bulk; conflict handling makes an integrity error unreachable. # Batch Set Parent Source: https://docs.tracecat.com/api-reference/cases/batch-set-parent https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/cases/batch-set-parent Group cases as sub-cases of a parent case with per-case results. # Batch Unlink Case Rows Source: https://docs.tracecat.com/api-reference/cases/batch-unlink-case-rows https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/cases/{case_id}/rows/batch-unlink Unlink rows in bulk, returning zero for a fully no-op batch. # Batch Update Cases Source: https://docs.tracecat.com/api-reference/cases/batch-update-cases https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/cases/batch-update Update multiple cases with per-case results. # Compare Case Version Source: https://docs.tracecat.com/api-reference/cases/compare-case-version https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/cases/{case_id}/versions/{version_id}/compare Return a case field version and its immediate predecessor. # Create Case Source: https://docs.tracecat.com/api-reference/cases/create-case https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/cases Create a new case. # Create Comment Source: https://docs.tracecat.com/api-reference/cases/create-comment https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/cases/{case_id}/comments Create a new comment on a case. # Create Field Source: https://docs.tracecat.com/api-reference/cases/create-field https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/case-fields Create a new case field. # Create Task Source: https://docs.tracecat.com/api-reference/cases/create-task https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/cases/{case_id}/tasks Create a new task for a case. # Delete Case Source: https://docs.tracecat.com/api-reference/cases/delete-case https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/cases/{case_id} Delete a case. # Delete Comment Source: https://docs.tracecat.com/api-reference/cases/delete-comment https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/cases/{case_id}/comments/{comment_id} Delete a comment. # Delete Field Source: https://docs.tracecat.com/api-reference/cases/delete-field https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/case-fields/{field_id} Delete a case field. # Delete Task Source: https://docs.tracecat.com/api-reference/cases/delete-task https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/cases/{case_id}/tasks/{task_id} Delete a task. # Get Case Source: https://docs.tracecat.com/api-reference/cases/get-case https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/cases/{case_id} Get a specific case. # Insert Case Row Source: https://docs.tracecat.com/api-reference/cases/insert-case-row https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/cases/{case_id}/rows/insert # Link Case Row Source: https://docs.tracecat.com/api-reference/cases/link-case-row https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/cases/{case_id}/rows # List Case Dropdown Values Source: https://docs.tracecat.com/api-reference/cases/list-case-dropdown-values https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/cases/{case_id}/dropdowns List all dropdown values for a case. # List Case Filter Fields Source: https://docs.tracecat.com/api-reference/cases/list-case-filter-fields https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/cases/search/fields List filterable workspace fields with authoritative operators and limits. # List Case Linked Tables Source: https://docs.tracecat.com/api-reference/cases/list-case-linked-tables https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/cases/{case_id}/rows/tables List the tables that have rows linked to a case, with their columns. Only ``case:read`` is required: the links, and the column definitions needed to render them, are case data. # List Case Rows Source: https://docs.tracecat.com/api-reference/cases/list-case-rows https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/cases/{case_id}/rows List linked rows. ``total_estimate`` is an exact count of the table's linked rows when ``table_id`` is set, null otherwise. It does not reflect ``search_term``. # List Case Versions Source: https://docs.tracecat.com/api-reference/cases/list-case-versions https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/cases/{case_id}/versions List immutable case field versions newest-first. # List Cases Source: https://docs.tracecat.com/api-reference/cases/list-cases https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/cases List cases with default filtering and sorting options. # List Comment Threads Source: https://docs.tracecat.com/api-reference/cases/list-comment-threads https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/cases/{case_id}/comments/threads List case comment threads. # List Comments Source: https://docs.tracecat.com/api-reference/cases/list-comments https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/cases/{case_id}/comments List all comments for a case. # List Events With Users Source: https://docs.tracecat.com/api-reference/cases/list-events-with-users https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/cases/{case_id}/events List all users for a case. # List Fields Source: https://docs.tracecat.com/api-reference/cases/list-fields https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/case-fields List all case fields. # List Linked Cases Source: https://docs.tracecat.com/api-reference/cases/list-linked-cases https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/tables/{table_id}/rows/{row_id}/cases List the cases that link a table row. # List Tags Source: https://docs.tracecat.com/api-reference/cases/list-tags https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/cases/{case_id}/tags List all tags for a case. # List Tasks Source: https://docs.tracecat.com/api-reference/cases/list-tasks https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/cases/{case_id}/tasks List all tasks for a case. # Query Case Aggregates Source: https://docs.tracecat.com/api-reference/cases/query-case-aggregates https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/cases/search/aggregate Count the same typed matching conditions as search. # Query Cases Source: https://docs.tracecat.com/api-reference/cases/query-cases https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/cases/search Search with typed AND/OR/NOT filters and independent result details. # Remove Tag Source: https://docs.tracecat.com/api-reference/cases/remove-tag https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/cases/{case_id}/tags/{tag_identifier} Remove a tag from a case using tag ID or ref. # Restore Case Version Source: https://docs.tracecat.com/api-reference/cases/restore-case-version https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/cases/{case_id}/versions/{version_id}/restore Restore one historical case field version atomically. # Search Case Aggregates Source: https://docs.tracecat.com/api-reference/cases/search-case-aggregates https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/cases/search/aggregate Return global case totals and per-stage counts for the current filters. # Search Cases Source: https://docs.tracecat.com/api-reference/cases/search-cases https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/cases/search Search cases with cursor-based pagination, filtering, and sorting. # Set Case Dropdown Value Source: https://docs.tracecat.com/api-reference/cases/set-case-dropdown-value https://platform.tracecat.com/api/openapi.json put /workspaces/{workspace_id}/cases/{case_id}/dropdowns/{definition_id} Set or clear a dropdown value for a case. # Unlink Case Row Source: https://docs.tracecat.com/api-reference/cases/unlink-case-row https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/cases/{case_id}/rows/{table_id}/{row_id} # Update Case Source: https://docs.tracecat.com/api-reference/cases/update-case https://platform.tracecat.com/api/openapi.json patch /workspaces/{workspace_id}/cases/{case_id} Update a case. # Update Comment Source: https://docs.tracecat.com/api-reference/cases/update-comment https://platform.tracecat.com/api/openapi.json patch /workspaces/{workspace_id}/cases/{case_id}/comments/{comment_id} Update an existing comment. # Update Field Source: https://docs.tracecat.com/api-reference/cases/update-field https://platform.tracecat.com/api/openapi.json patch /workspaces/{workspace_id}/case-fields/{field_id} Update a case field. # Update Task Source: https://docs.tracecat.com/api-reference/cases/update-task https://platform.tracecat.com/api/openapi.json patch /workspaces/{workspace_id}/cases/{case_id}/tasks/{task_id} Update a task. # Create Catalog Entry Source: https://docs.tracecat.com/api-reference/create-catalog-entry https://platform.tracecat.com/api/openapi.json post /organization/agent-catalog Create an org-scoped catalog entry and auto-enable it at the org level. # Create Custom Provider Source: https://docs.tracecat.com/api-reference/create-custom-provider https://platform.tracecat.com/api/openapi.json post /organization/agent-custom-providers Create a new custom LLM provider. # Delete Catalog Entry Source: https://docs.tracecat.com/api-reference/delete-catalog-entry https://platform.tracecat.com/api/openapi.json delete /organization/agent-catalog/{catalog_id} Delete an org-scoped catalog entry. # Delete Custom Provider Source: https://docs.tracecat.com/api-reference/delete-custom-provider https://platform.tracecat.com/api/openapi.json delete /organization/agent-custom-providers/{provider_id} Delete a custom provider. # Disable Model Source: https://docs.tracecat.com/api-reference/disable-model https://platform.tracecat.com/api/openapi.json delete /organization/agent-model-access/{access_id} Disable a model. # Field Schema Source: https://docs.tracecat.com/api-reference/editor/field-schema https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/editor/field-schema # List Actions Source: https://docs.tracecat.com/api-reference/editor/list-actions https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/editor/actions # List Functions Source: https://docs.tracecat.com/api-reference/editor/list-functions https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/editor/functions # Validate Expression Source: https://docs.tracecat.com/api-reference/editor/validate-expression https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/editor/expressions/validate LSP endpoint for validating template expressions using the Lark grammar. This endpoint provides syntax validation and token information for syntax highlighting of template expressions like: ACTIONS.step1.result, SECRETS.api_key, etc. # Enable Model Source: https://docs.tracecat.com/api-reference/enable-model https://platform.tracecat.com/api/openapi.json post /organization/agent-model-access Enable a model for org or workspace. # Get Feature Flags Source: https://docs.tracecat.com/api-reference/feature-flags/get-feature-flags https://platform.tracecat.com/api/openapi.json get /feature-flags Get the list of enabled feature flags. This endpoint is public and doesn't require authentication, as feature flags are not sensitive information. # Create Folder Source: https://docs.tracecat.com/api-reference/folders/create-folder https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/folders Create a new folder. # Delete Folder Source: https://docs.tracecat.com/api-reference/folders/delete-folder https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/folders/{folder_id} Delete a folder. If recursive=true, deletes all subfolders and moves the contained workflows to root. If recursive=true and delete_workflows=true, deletes the contained workflows too. If recursive=false (default), fails if the folder contains any subfolders or workflows. # Get Directory Source: https://docs.tracecat.com/api-reference/folders/get-directory https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/folders/directory Get directory items (workflows and folders) in the given path. # Get Folder Source: https://docs.tracecat.com/api-reference/folders/get-folder https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/folders/{folder_id} Get folder details by ID. # List Folders Source: https://docs.tracecat.com/api-reference/folders/list-folders https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/folders List folders under the specified parent path. If parent_path is not provided, returns root-level folders. # Move Folder Source: https://docs.tracecat.com/api-reference/folders/move-folder https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/folders/{folder_id}/move Move a folder to a new parent folder. # Update Folder Source: https://docs.tracecat.com/api-reference/folders/update-folder https://platform.tracecat.com/api/openapi.json patch /workspaces/{workspace_id}/folders/{folder_id} Update a folder (rename). # Create Form Source: https://docs.tracecat.com/api-reference/forms/create-form https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/forms Create the form of a workflow. # Delete Form Source: https://docs.tracecat.com/api-reference/forms/delete-form https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/forms/{form_id} Delete a form with its submissions, views and files. # Delete Form Submission Source: https://docs.tracecat.com/api-reference/forms/delete-form-submission https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/forms/{form_id}/submissions/{submission_id} Delete a submission. The workflow run it started is not affected. # Download Form File Source: https://docs.tracecat.com/api-reference/forms/download-form-file https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/forms/{form_id}/files/{file_id}/download Get a short-lived download URL for a file: one the caller uploaded, or any with form:submission:read. # Get Form Source: https://docs.tracecat.com/api-reference/forms/get-form https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/forms/{form_id} Get a form's config, its issues, its URL and its counts. Needs form:update or form:submission:read on top of form:read; other callers get 404. # Get Form Submission Source: https://docs.tracecat.com/api-reference/forms/get-form-submission https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/forms/{form_id}/submissions/{submission_id} Get a submission: the caller's own, or any with form:submission:read. # List Form Submissions Source: https://docs.tracecat.com/api-reference/forms/list-form-submissions https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/forms/{form_id}/submissions List a form's submissions with answers, submitter and run status. # List Forms Source: https://docs.tracecat.com/api-reference/forms/list-forms https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/forms List forms. Callers without form:update only see online forms. # List Intake Forms Source: https://docs.tracecat.com/api-reference/forms/list-intake-forms https://platform.tracecat.com/api/openapi.json get /intake/forms List online forms across the caller's workspaces. # List Intake Submissions Source: https://docs.tracecat.com/api-reference/forms/list-intake-submissions https://platform.tracecat.com/api/openapi.json get /intake/submissions List the caller's own submissions. # Locate Intake Form Source: https://docs.tracecat.com/api-reference/forms/locate-intake-form https://platform.tracecat.com/api/openapi.json get /intake/forms/{form_id} Find which workspace a form belongs to. Returns 404 for an unknown form, a form in another organization, and a form in a workspace where the caller cannot read forms. # Render Form Source: https://docs.tracecat.com/api-reference/forms/render-form https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/forms/{form_id}/render Get an online form as the blocks a client renders, and record the view. # Search Form Users Source: https://docs.tracecat.com/api-reference/forms/search-form-users https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/forms/{form_id}/users Search organization members for a form's user field. # Submit Form Source: https://docs.tracecat.com/api-reference/forms/submit-form https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/forms/{form_id}/submissions Submit a form. Starts the form's workflow with the answers as inputs. # Update Form Source: https://docs.tracecat.com/api-reference/forms/update-form https://platform.tracecat.com/api/openapi.json patch /workspaces/{workspace_id}/forms/{form_id} Update a form's status, config or both. The config is replaced whole. # Upload Form File Source: https://docs.tracecat.com/api-reference/forms/upload-form-file https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/forms/{form_id}/files Upload a file for one of an online form's file fields. Submit the returned ID as the field's value. A file that is not submitted within 24 hours is deleted. # Validate Form Source: https://docs.tracecat.com/api-reference/forms/validate-form https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/forms/{form_id}/validate Resolve a config, saved or not, against the inputs of a form's workflow. Needs form:update or form:submission:read on top of form:read; other callers get 404. # Get Catalog Entry Source: https://docs.tracecat.com/api-reference/get-catalog-entry https://platform.tracecat.com/api/openapi.json get /organization/agent-catalog/{catalog_id} Get a specific catalog entry. # Get Custom Provider Source: https://docs.tracecat.com/api-reference/get-custom-provider https://platform.tracecat.com/api/openapi.json get /organization/agent-custom-providers/{provider_id} Get a specific custom provider. # Get Workspace Model Access Source: https://docs.tracecat.com/api-reference/get-workspace-model-access https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/agent-model-access Get a workspace's model subset and the organization models it can use. # Get Workspace Models Source: https://docs.tracecat.com/api-reference/get-workspace-models https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/agent-models Get models accessible to a workspace, and its default model. Returns the full effective set; the list is bounded by org enablement and is expected to be small, so pagination is not used here. The default is the organization's default model, if it is enabled for this workspace. # Apply Graph Operations Source: https://docs.tracecat.com/api-reference/graph/apply-graph-operations https://platform.tracecat.com/api/openapi.json patch /workspaces/{workspace_id}/workflows/{workflow_id}/graph Apply graph operations with optimistic concurrency. Validates base_version matches current graph_version. Returns 409 Conflict with latest graph if versions mismatch. # Get Graph Source: https://docs.tracecat.com/api-reference/graph/get-graph https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/workflows/{workflow_id}/graph Get the canonical graph projection for a workflow. Returns the graph built from Actions (single source of truth), not from Workflow.object. # Get Pending Count Source: https://docs.tracecat.com/api-reference/inbox/get-pending-count https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/inbox/items/pending-count Get the number of pending inbox items that require attention. # List Items Source: https://docs.tracecat.com/api-reference/inbox/list-items https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/inbox/items List inbox items with cursor-based pagination. Supports sorting by created_at or updated_at. Default sort is by created_at descending. Filtering by case requires the case add-ons entitlement. # Connect Provider Source: https://docs.tracecat.com/api-reference/integrations/connect-provider https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/integrations/{provider_id}/connect Initiate OAuth integration for the specified provider. Creates a secure state parameter stored in the database to prevent CSRF attacks. The state is validated on the callback to ensure it was issued by our server. # Delete Integration Source: https://docs.tracecat.com/api-reference/integrations/delete-integration https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/integrations/{provider_id} Delete integration for the specified provider (removes the integration record completely). # Disconnect Integration Source: https://docs.tracecat.com/api-reference/integrations/disconnect-integration https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/integrations/{provider_id}/disconnect Disconnect integration for the specified provider (revokes tokens but keeps configuration). # Get Integration Source: https://docs.tracecat.com/api-reference/integrations/get-integration https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/integrations/{provider_id} Get integration for the specified provider. # List Integrations Source: https://docs.tracecat.com/api-reference/integrations/list-integrations https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/integrations List all integrations for the current user. # Oauth Callback Source: https://docs.tracecat.com/api-reference/integrations/oauth-callback https://platform.tracecat.com/api/openapi.json get /integrations/callback Handle OAuth callback for the specified provider. Validates the state parameter against the database to ensure it was issued by our server and hasn't expired. This prevents CSRF attacks. # Test Connection Source: https://docs.tracecat.com/api-reference/integrations/test-connection https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/integrations/{provider_id}/test Test client credentials connection for the specified provider. # Update Integration Source: https://docs.tracecat.com/api-reference/integrations/update-integration https://platform.tracecat.com/api/openapi.json put /workspaces/{workspace_id}/integrations/{provider_id} Update OAuth client credentials for the specified provider integration. # Accept Invitation Source: https://docs.tracecat.com/api-reference/invitations/accept-invitation https://platform.tracecat.com/api/openapi.json post /invitations/accept Accept an invitation and join the organization. This endpoint doesn't require organization context since the user may not belong to any organization yet. Uses AuthenticatedUserOnly which only requires an authenticated user (role.organization_id is None). # Create Invitation Source: https://docs.tracecat.com/api-reference/invitations/create-invitation https://platform.tracecat.com/api/openapi.json post /invitations Create an invitation carrying one or more role grants. # Get Invitation By Token Source: https://docs.tracecat.com/api-reference/invitations/get-invitation-by-token https://platform.tracecat.com/api/openapi.json get /invitations/token/{token} Get minimal invitation details by token (public endpoint for UI). Returns organization name and inviter info for the acceptance page. If user is authenticated, also returns whether their email matches the invitation. # Get Invitation Token Source: https://docs.tracecat.com/api-reference/invitations/get-invitation-token https://platform.tracecat.com/api/openapi.json get /invitations/{invitation_id}/token Get the token for a specific invitation (admin only). This endpoint is used to generate shareable invitation links. # List My Pending Invitations Source: https://docs.tracecat.com/api-reference/invitations/list-my-pending-invitations https://platform.tracecat.com/api/openapi.json get /invitations/pending/me List pending, unexpired invitations for the authenticated user. # Resend Invitation Source: https://docs.tracecat.com/api-reference/invitations/resend-invitation https://platform.tracecat.com/api/openapi.json post /invitations/{invitation_id}/resend Queue another delivery of a pending invitation email. # Revoke Invitation Source: https://docs.tracecat.com/api-reference/invitations/revoke-invitation https://platform.tracecat.com/api/openapi.json delete /invitations/{invitation_id} Revoke a pending invitation. # List Catalog Source: https://docs.tracecat.com/api-reference/list-catalog https://platform.tracecat.com/api/openapi.json get /organization/agent-catalog List catalog entries with optional filtering and pagination. # List Custom Providers Source: https://docs.tracecat.com/api-reference/list-custom-providers https://platform.tracecat.com/api/openapi.json get /organization/agent-custom-providers List organization custom providers with pagination. # List Enabled Models Source: https://docs.tracecat.com/api-reference/list-enabled-models https://platform.tracecat.com/api/openapi.json get /organization/agent-model-access List enabled models with pagination. # Detach Managed Resource Source: https://docs.tracecat.com/api-reference/managed-resources/detach-managed-resource https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/managed-resources/detach Copy a managed resource into an editable, customer-owned resource. # List Detached Copies Source: https://docs.tracecat.com/api-reference/managed-resources/list-detached-copies https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/managed-resources/detached List copies made by detaching managed resources, for "detached from X". Only copies of types the caller can read are listed. # List Managed Resources Source: https://docs.tracecat.com/api-reference/managed-resources/list-managed-resources https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/managed-resources List the workspace's managed resources, optionally of one type. Only resources of types the caller can read are listed, so a workflow reader sees managed workflows without needing ``workspace:read``. # Connect Mcp Integration Source: https://docs.tracecat.com/api-reference/mcp-integrations/connect-mcp-integration https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/mcp-integrations/connect Create an MCP integration or start generic MCP OAuth discovery. # Connect Platform Mcp Catalog Source: https://docs.tracecat.com/api-reference/mcp-integrations/connect-platform-mcp-catalog https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/mcp-integrations/catalog/{catalog_slug}/connect Create or return a workspace MCP integration from catalog defaults. # Create Mcp Integration Source: https://docs.tracecat.com/api-reference/mcp-integrations/create-mcp-integration https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/mcp-integrations Create a new MCP integration. # Delete Mcp Integration Source: https://docs.tracecat.com/api-reference/mcp-integrations/delete-mcp-integration https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/mcp-integrations/{mcp_integration_id} Delete an MCP integration. # Disconnect Mcp Integration Source: https://docs.tracecat.com/api-reference/mcp-integrations/disconnect-mcp-integration https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/mcp-integrations/{mcp_integration_id}/disconnect Disconnect an MCP integration by deleting the workspace MCP row. # Get Mcp Integration Source: https://docs.tracecat.com/api-reference/mcp-integrations/get-mcp-integration https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/mcp-integrations/{mcp_integration_id} Get an MCP integration by ID. # Get Mcp Integration Verification Status Source: https://docs.tracecat.com/api-reference/mcp-integrations/get-mcp-integration-verification-status https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/mcp-integrations/{mcp_integration_id}/verification-status Get saved MCP integration verification status. # List Mcp Integrations Source: https://docs.tracecat.com/api-reference/mcp-integrations/list-mcp-integrations https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/mcp-integrations List MCP integrations for the workspace, optionally filtered by source. # List Platform Mcp Catalog Source: https://docs.tracecat.com/api-reference/mcp-integrations/list-platform-mcp-catalog https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/mcp-integrations/catalog List platform MCP catalog rows with workspace connection state. # Test Mcp Connection Config Source: https://docs.tracecat.com/api-reference/mcp-integrations/test-mcp-connection-config https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/mcp-integrations/test Test connectivity against an MCP configuration. HTTP tests are ephemeral and never touch stored verification state. Stdio tests require a saved integration ID and use saved-row verification. # Test Mcp Integration Connection Source: https://docs.tracecat.com/api-reference/mcp-integrations/test-mcp-integration-connection https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/mcp-integrations/{mcp_integration_id}/test Test connectivity to an MCP server and refresh its tool listing. # Update Mcp Integration Source: https://docs.tracecat.com/api-reference/mcp-integrations/update-mcp-integration https://platform.tracecat.com/api/openapi.json put /workspaces/{workspace_id}/mcp-integrations/{mcp_integration_id} Update an MCP integration. # Update Mcp Integration Tool Policies Source: https://docs.tracecat.com/api-reference/mcp-integrations/update-mcp-integration-tool-policies https://platform.tracecat.com/api/openapi.json patch /workspaces/{workspace_id}/mcp-integrations/{mcp_integration_id}/tools Update MCP integration tool availability and approval policy. # Create Mcp Personal Access Token Source: https://docs.tracecat.com/api-reference/mcp_personal_access_tokens/create-mcp-personal-access-token https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/mcp-personal-access-tokens # List Mcp Personal Access Tokens Source: https://docs.tracecat.com/api-reference/mcp_personal_access_tokens/list-mcp-personal-access-tokens https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/mcp-personal-access-tokens # Revoke Mcp Personal Access Token Source: https://docs.tracecat.com/api-reference/mcp_personal_access_tokens/revoke-mcp-personal-access-token https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/mcp-personal-access-tokens/{token_id}/revoke # Authorize Secret Store Workspace Source: https://docs.tracecat.com/api-reference/organization-secret-stores/authorize-secret-store-workspace https://platform.tracecat.com/api/openapi.json post /organization/secret-stores/{store_id}/authorizations Authorize a workspace to reference this store. # Create Secret Store Source: https://docs.tracecat.com/api-reference/organization-secret-stores/create-secret-store https://platform.tracecat.com/api/openapi.json post /organization/secret-stores Create a store. The AssumeRole external ID is generated server-side. # Delete Secret Store Source: https://docs.tracecat.com/api-reference/organization-secret-stores/delete-secret-store https://platform.tracecat.com/api/openapi.json delete /organization/secret-stores/{store_id} Delete a store. Rejected while workspace secrets still reference it. # Get Secret Store Source: https://docs.tracecat.com/api-reference/organization-secret-stores/get-secret-store https://platform.tracecat.com/api/openapi.json get /organization/secret-stores/{store_id} Get a store, including its persisted trust-policy inputs. # List Secret Stores Source: https://docs.tracecat.com/api-reference/organization-secret-stores/list-secret-stores https://platform.tracecat.com/api/openapi.json get /organization/secret-stores List external secret stores owned by the organization. # Revoke Secret Store Workspace Source: https://docs.tracecat.com/api-reference/organization-secret-stores/revoke-secret-store-workspace https://platform.tracecat.com/api/openapi.json delete /organization/secret-stores/{store_id}/authorizations/{workspace_id} Revoke a workspace authorization. Rejected while references remain. # Update Secret Store Source: https://docs.tracecat.com/api-reference/organization-secret-stores/update-secret-store https://platform.tracecat.com/api/openapi.json patch /organization/secret-stores/{store_id} Update store metadata. The external ID never changes. # Create Org Secret Source: https://docs.tracecat.com/api-reference/organization-secrets/create-org-secret https://platform.tracecat.com/api/openapi.json post /organization/secrets Create an organization secret. # Delete Org Secret By Id Source: https://docs.tracecat.com/api-reference/organization-secrets/delete-org-secret-by-id https://platform.tracecat.com/api/openapi.json delete /organization/secrets/{secret_id} Delete an organization secret by ID. # Get Org Secret By Name Source: https://docs.tracecat.com/api-reference/organization-secrets/get-org-secret-by-name https://platform.tracecat.com/api/openapi.json get /organization/secrets/{secret_name} Get an organization secret by name. # List Org Secrets Source: https://docs.tracecat.com/api-reference/organization-secrets/list-org-secrets https://platform.tracecat.com/api/openapi.json get /organization/secrets List organization secrets. # Update Org Secret By Id Source: https://docs.tracecat.com/api-reference/organization-secrets/update-org-secret-by-id https://platform.tracecat.com/api/openapi.json post /organization/secrets/{secret_id} Update an organization secret by ID. # Delete Org Member Source: https://docs.tracecat.com/api-reference/organization/delete-org-member https://platform.tracecat.com/api/openapi.json delete /organization/members/{user_id} # Delete Organization Source: https://docs.tracecat.com/api-reference/organization/delete-organization https://platform.tracecat.com/api/openapi.json delete /organization Delete the current organization. Restricted to organization owners/admins through tenant RBAC. # Delete Session Source: https://docs.tracecat.com/api-reference/organization/delete-session https://platform.tracecat.com/api/openapi.json delete /organization/sessions/{session_id} # Get Current Org Member Source: https://docs.tracecat.com/api-reference/organization/get-current-org-member https://platform.tracecat.com/api/openapi.json get /organization/members/me Get the current user's organization membership. Returns the organization membership details for the authenticated user, including their org role (member, admin, or owner). This endpoint doesn't require admin access - any authenticated org member can view their own membership details. # Get Organization Source: https://docs.tracecat.com/api-reference/organization/get-organization https://platform.tracecat.com/api/openapi.json get /organization Get the current organization. Returns basic information about the organization the authenticated user belongs to. # Get Organization Entitlements Source: https://docs.tracecat.com/api-reference/organization/get-organization-entitlements https://platform.tracecat.com/api/openapi.json get /organization/entitlements Get the effective entitlements for the current organization. # List Current User Organization Memberships Source: https://docs.tracecat.com/api-reference/organization/list-current-user-organization-memberships https://platform.tracecat.com/api/openapi.json get /organization/memberships List active organizations the current user belongs to. # List Org Members Source: https://docs.tracecat.com/api-reference/organization/list-org-members https://platform.tracecat.com/api/openapi.json get /organization/members # List Organization Domains Source: https://docs.tracecat.com/api-reference/organization/list-organization-domains https://platform.tracecat.com/api/openapi.json get /organization/domains List domains assigned to the current organization. # List Sessions Source: https://docs.tracecat.com/api-reference/organization/list-sessions https://platform.tracecat.com/api/openapi.json get /organization/sessions # Trace Org Member Access Source: https://docs.tracecat.com/api-reference/organization/trace-org-member-access https://platform.tracecat.com/api/openapi.json get /organization/members/{user_id}/access Trace a member's roles to their direct and group sources. # Update Org Member Source: https://docs.tracecat.com/api-reference/organization/update-org-member https://platform.tracecat.com/api/openapi.json patch /organization/members/{user_id} # Create Custom Provider Source: https://docs.tracecat.com/api-reference/providers/create-custom-provider https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/providers # Get Provider Source: https://docs.tracecat.com/api-reference/providers/get-provider https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/providers/{provider_id} Get provider metadata, scopes, and schema. # List Providers Source: https://docs.tracecat.com/api-reference/providers/list-providers https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/providers # Check Health Source: https://docs.tracecat.com/api-reference/public/check-health https://platform.tracecat.com/api/openapi.json get /health # Handle Channel Event Source: https://docs.tracecat.com/api-reference/public/handle-channel-event https://platform.tracecat.com/api/openapi.json post /agent/channels/{channel_type}/{token} Receive public external channel events. # Handle Slack Oauth Callback Source: https://docs.tracecat.com/api-reference/public/handle-slack-oauth-callback https://platform.tracecat.com/api/openapi.json get /agent/channels/slack/oauth/callback # Incoming Webhook Draft Source: https://docs.tracecat.com/api-reference/public/incoming-webhook-draft https://platform.tracecat.com/api/openapi.json post /webhooks/{workflow_id}/{secret}/draft Draft webhook endpoint to trigger a workflow execution using the draft workflow graph. This endpoint runs the current (uncommitted) workflow graph rather than the committed definition. Child workflows using aliases will resolve to the latest draft aliases, not committed aliases. # Incoming Webhook Get Source: https://docs.tracecat.com/api-reference/public/incoming-webhook-get https://platform.tracecat.com/api/openapi.json get /webhooks/{workflow_id}/{secret} Webhook endpoint to trigger a workflow. This is an external facing endpoint is used to trigger a workflow by sending a webhook request. The workflow is identified by the `path` parameter, which is equivalent to the workflow id. # Incoming Webhook Post Source: https://docs.tracecat.com/api-reference/public/incoming-webhook-post https://platform.tracecat.com/api/openapi.json post /webhooks/{workflow_id}/{secret} Webhook endpoint to trigger a workflow. This is an external facing endpoint is used to trigger a workflow by sending a webhook request. The workflow is identified by the `path` parameter, which is equivalent to the workflow id. # Incoming Webhook Wait Source: https://docs.tracecat.com/api-reference/public/incoming-webhook-wait https://platform.tracecat.com/api/openapi.json post /webhooks/{workflow_id}/{secret}/wait Webhook endpoint to trigger a workflow. This is an external facing endpoint is used to trigger a workflow by sending a webhook request. The workflow is identified by the `path` parameter, which is equivalent to the workflow id. # Add Group Member Source: https://docs.tracecat.com/api-reference/rbac/add-group-member https://platform.tracecat.com/api/openapi.json post /rbac/groups/{group_id}/members Add a member to a group. Requires: org:rbac:update scope # Create Assignment Source: https://docs.tracecat.com/api-reference/rbac/create-assignment https://platform.tracecat.com/api/openapi.json post /rbac/assignments Create a group assignment. Assigns a role to a group. If workspace_id is None, creates an org-wide assignment that applies to all workspaces. Each group can have at most one assignment per workspace (or one org-wide assignment). Requires: org:rbac:create scope # Create Group Source: https://docs.tracecat.com/api-reference/rbac/create-group https://platform.tracecat.com/api/openapi.json post /rbac/groups Create a group. Requires: org:rbac:create scope # Create Role Source: https://docs.tracecat.com/api-reference/rbac/create-role https://platform.tracecat.com/api/openapi.json post /rbac/roles Create a custom role. Requires: org:rbac:create scope # Create Scope Source: https://docs.tracecat.com/api-reference/rbac/create-scope https://platform.tracecat.com/api/openapi.json post /rbac/scopes Create a custom scope. Requires: org:rbac:create scope # Create User Assignment Source: https://docs.tracecat.com/api-reference/rbac/create-user-assignment https://platform.tracecat.com/api/openapi.json post /rbac/user-assignments Create a user role assignment. Assigns a role directly to a user. If workspace_id is None, creates an org-wide assignment that applies to all workspaces. Each user can have at most one assignment per workspace (or one org-wide assignment). Requires: org:rbac:create scope # Delete Assignment Source: https://docs.tracecat.com/api-reference/rbac/delete-assignment https://platform.tracecat.com/api/openapi.json delete /rbac/assignments/{assignment_id} Delete a group assignment. Requires: org:rbac:delete scope # Delete Group Source: https://docs.tracecat.com/api-reference/rbac/delete-group https://platform.tracecat.com/api/openapi.json delete /rbac/groups/{group_id} Delete a group. This will also delete all group assignments and memberships. Requires: org:rbac:delete scope # Delete Role Source: https://docs.tracecat.com/api-reference/rbac/delete-role https://platform.tracecat.com/api/openapi.json delete /rbac/roles/{role_id} Delete a role. Roles with active assignments must have all assignments removed first. Requires: org:rbac:delete scope # Delete Scope Source: https://docs.tracecat.com/api-reference/rbac/delete-scope https://platform.tracecat.com/api/openapi.json delete /rbac/scopes/{scope_id} Delete a custom scope. Only custom scopes can be deleted. System and registry scopes are protected. Requires: org:rbac:delete scope # Delete User Assignment Source: https://docs.tracecat.com/api-reference/rbac/delete-user-assignment https://platform.tracecat.com/api/openapi.json delete /rbac/user-assignments/{assignment_id} Delete a user role assignment. Requires: org:rbac:delete scope # Get Assignment Source: https://docs.tracecat.com/api-reference/rbac/get-assignment https://platform.tracecat.com/api/openapi.json get /rbac/assignments/{assignment_id} Get a group assignment by ID. Requires: org:rbac:read scope # Get Group Source: https://docs.tracecat.com/api-reference/rbac/get-group https://platform.tracecat.com/api/openapi.json get /rbac/groups/{group_id} Get a group by ID with its members. Requires: org:rbac:read scope # Get Role Source: https://docs.tracecat.com/api-reference/rbac/get-role https://platform.tracecat.com/api/openapi.json get /rbac/roles/{role_id} Get a role by ID with its scopes. Requires: org:rbac:read scope # Get Scope Source: https://docs.tracecat.com/api-reference/rbac/get-scope https://platform.tracecat.com/api/openapi.json get /rbac/scopes/{scope_id} Get a scope by ID. Requires: org:rbac:read scope # Get User Assignment Source: https://docs.tracecat.com/api-reference/rbac/get-user-assignment https://platform.tracecat.com/api/openapi.json get /rbac/user-assignments/{assignment_id} Get a user role assignment by ID. # List Assignments Source: https://docs.tracecat.com/api-reference/rbac/list-assignments https://platform.tracecat.com/api/openapi.json get /rbac/assignments List group assignments for the organization. Requires: org:rbac:read scope # List Groups Source: https://docs.tracecat.com/api-reference/rbac/list-groups https://platform.tracecat.com/api/openapi.json get /rbac/groups List groups for the organization. Requires: org:rbac:read or org:scim:manage to select mapping targets. # List Roles Source: https://docs.tracecat.com/api-reference/rbac/list-roles https://platform.tracecat.com/api/openapi.json get /rbac/roles List roles for the organization. Requires: authenticated organization member. # List Scopes Source: https://docs.tracecat.com/api-reference/rbac/list-scopes https://platform.tracecat.com/api/openapi.json get /rbac/scopes List scopes available to the organization. Requires: org:rbac:read scope # List User Assignments Source: https://docs.tracecat.com/api-reference/rbac/list-user-assignments https://platform.tracecat.com/api/openapi.json get /rbac/user-assignments List user role assignments for the organization. # Remove Group Member Source: https://docs.tracecat.com/api-reference/rbac/remove-group-member https://platform.tracecat.com/api/openapi.json delete /rbac/groups/{group_id}/members/{user_id} Remove a member from a group. Requires: org:rbac:update scope # Replace User Assignments Source: https://docs.tracecat.com/api-reference/rbac/replace-user-assignments https://platform.tracecat.com/api/openapi.json put /rbac/user-assignments Save a member's staged direct role changes in one transaction. # Update Assignment Source: https://docs.tracecat.com/api-reference/rbac/update-assignment https://platform.tracecat.com/api/openapi.json patch /rbac/assignments/{assignment_id} Update a group assignment (change role). Requires: org:rbac:update scope # Update Group Source: https://docs.tracecat.com/api-reference/rbac/update-group https://platform.tracecat.com/api/openapi.json patch /rbac/groups/{group_id} Update a group. Requires: org:rbac:update scope # Update Role Source: https://docs.tracecat.com/api-reference/rbac/update-role https://platform.tracecat.com/api/openapi.json patch /rbac/roles/{role_id} Update a role. Requires: org:rbac:update scope # Update User Assignment Source: https://docs.tracecat.com/api-reference/rbac/update-user-assignment https://platform.tracecat.com/api/openapi.json patch /rbac/user-assignments/{assignment_id} Update a user role assignment (change role). Requires: org:rbac:update scope # Refresh Custom Provider Catalog Source: https://docs.tracecat.com/api-reference/refresh-custom-provider-catalog https://platform.tracecat.com/api/openapi.json post /organization/agent-custom-providers/{provider_id}/refresh Trigger model discovery for a custom provider. # Get Registry Action Source: https://docs.tracecat.com/api-reference/registry-actions/get-registry-action https://platform.tracecat.com/api/openapi.json get /registry/actions/{action_name} Get a specific registry action. # List Registry Actions Source: https://docs.tracecat.com/api-reference/registry-actions/list-registry-actions https://platform.tracecat.com/api/openapi.json get /registry/actions List all actions from registry index. # Compare Registry Versions Source: https://docs.tracecat.com/api-reference/registry-repositories/compare-registry-versions https://platform.tracecat.com/api/openapi.json get /registry/repos/{repository_id}/versions/{version_id}/diff Compare two registry versions and return the diff. Args: repository_id: The repository ID version_id: The base version ID (typically older) compare_to: The version ID to compare against (typically newer) Returns: VersionDiff with added, removed, and modified actions # Create Registry Repository Source: https://docs.tracecat.com/api-reference/registry-repositories/create-registry-repository https://platform.tracecat.com/api/openapi.json post /registry/repos Create a new registry repository. # Delete Registry Repository Source: https://docs.tracecat.com/api-reference/registry-repositories/delete-registry-repository https://platform.tracecat.com/api/openapi.json delete /registry/repos/{repository_id} Delete a registry repository. # Delete Registry Version Source: https://docs.tracecat.com/api-reference/registry-repositories/delete-registry-version https://platform.tracecat.com/api/openapi.json delete /registry/repos/{repository_id}/versions/{version_id} Delete a specific registry version. Safety checks: - Cannot delete the currently promoted version - Cannot delete versions referenced by published workflow definitions For platform registries, use the admin API. # Get Previous Registry Version Source: https://docs.tracecat.com/api-reference/registry-repositories/get-previous-registry-version https://platform.tracecat.com/api/openapi.json get /registry/repos/{repository_id}/versions/{version_id}/previous Get the previous version before the specified version. Useful for quick rollback UX - returns the version to rollback to. Returns null if there is no previous version. # Get Registry Repository Source: https://docs.tracecat.com/api-reference/registry-repositories/get-registry-repository https://platform.tracecat.com/api/openapi.json get /registry/repos/{repository_id} Get a specific org-scoped registry repository by ID. For platform registries, use the admin API at /admin/registry/repos/{repository_id}. # List Registry Repositories Source: https://docs.tracecat.com/api-reference/registry-repositories/list-registry-repositories https://platform.tracecat.com/api/openapi.json get /registry/repos List org-scoped registry repositories. This endpoint ensures org-scoped repositories (local, custom git) exist before returning the list. Platform registry is handled separately at startup. For platform registries (base registry), use the admin API at /admin/registry/repos. # List Repository Commits Source: https://docs.tracecat.com/api-reference/registry-repositories/list-repository-commits https://platform.tracecat.com/api/openapi.json get /registry/repos/{repository_id}/commits List commits from a specific registry repository. # List Repository Versions Source: https://docs.tracecat.com/api-reference/registry-repositories/list-repository-versions https://platform.tracecat.com/api/openapi.json get /registry/repos/{repository_id}/versions List all versions for an org-scoped registry repository. For platform registry versions, use the admin API at /admin/registry/versions. # Promote Registry Version Source: https://docs.tracecat.com/api-reference/registry-repositories/promote-registry-version https://platform.tracecat.com/api/openapi.json post /registry/repos/{repository_id}/versions/{version_id}/promote Promote a specific version to be the current version of an org-scoped repository. This endpoint allows administrators to manually promote or rollback to a specific registry version, overriding the auto-promotion that happens during sync. For platform registries, use the admin API at /admin/registry/{repository_id}/versions/{version_id}/promote. Args: repository_id: The ID of the repository version_id: The ID of the version to promote Returns: RegistryVersionPromoteResponse with previous and current version info Raises: 404: If repository or version not found 400: If version doesn't belong to repository or has no tarball # Sync Registry Repository Source: https://docs.tracecat.com/api-reference/registry-repositories/sync-registry-repository https://platform.tracecat.com/api/openapi.json post /registry/repos/{repository_id}/sync Sync an org-scoped registry repository. For platform registries (base registry), use the admin API at /admin/registry/sync. Args: repository_id: The ID of the repository to sync sync_params: Optional sync parameters, including target commit SHA and force flag Raises: 422: If there is an error syncing the repository (validation error) 404: If the repository is not found 400: If there is an error syncing the repository # Update Registry Repository Source: https://docs.tracecat.com/api-reference/registry-repositories/update-registry-repository https://platform.tracecat.com/api/openapi.json patch /registry/repos/{repository_id} Update an existing registry repository. # Create Schedule Source: https://docs.tracecat.com/api-reference/schedules/create-schedule https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/schedules Create a schedule for a workflow. # Delete Schedule Source: https://docs.tracecat.com/api-reference/schedules/delete-schedule https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/schedules/{schedule_id} Delete a schedule from a workflow. # Get Schedule Source: https://docs.tracecat.com/api-reference/schedules/get-schedule https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/schedules/{schedule_id} Get a schedule from a workflow. # List Schedules Source: https://docs.tracecat.com/api-reference/schedules/list-schedules https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/schedules # Search Schedules Source: https://docs.tracecat.com/api-reference/schedules/search-schedules https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/schedules/search **[WORK IN PROGRESS]** Search for schedules. # Update Schedule Source: https://docs.tracecat.com/api-reference/schedules/update-schedule https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/schedules/{schedule_id} Update a schedule from a workflow. You cannot update the Workflow Definition, but you can update other fields. # Activate Scim Connection Source: https://docs.tracecat.com/api-reference/scim/activate-scim-connection https://platform.tracecat.com/api/openapi.json post /scim/activation Admit the pushed directory and install the reviewed mappings. # Apply Scim Mapping Changes Source: https://docs.tracecat.com/api-reference/scim/apply-scim-mapping-changes https://platform.tracecat.com/api/openapi.json post /scim/mappings/batch Remove and add mappings together; any failure applies none of them. # Create Group Source: https://docs.tracecat.com/api-reference/scim/create-group https://platform.tracecat.com/api/openapi.json post /scim/v2/Groups Create or rename a synced external group and set its members. # Create Scim Mapping Source: https://docs.tracecat.com/api-reference/scim/create-scim-mapping https://platform.tracecat.com/api/openapi.json post /scim/mappings Map an external group into a Tracecat group and reconcile immediately. # Create User Source: https://docs.tracecat.com/api-reference/scim/create-user https://platform.tracecat.com/api/openapi.json post /scim/v2/Users Provision a user, linking an existing account rather than conflicting. # Delete Group Source: https://docs.tracecat.com/api-reference/scim/delete-group https://platform.tracecat.com/api/openapi.json delete /scim/v2/Groups/{group_id} Delete a synced group and drop the membership it supplied. # Delete Scim Mapping Source: https://docs.tracecat.com/api-reference/scim/delete-scim-mapping https://platform.tracecat.com/api/openapi.json delete /scim/mappings/{mapping_id} Remove a mapping and revoke the membership only it supplied. # Delete User Source: https://docs.tracecat.com/api-reference/scim/delete-user https://platform.tracecat.com/api/openapi.json delete /scim/v2/Users/{resource_id} Deprovision a user. Already-removed is success, not an error. Known identities remain addressable and inactive. Unknown resource IDs return the same idempotent success without changing another tenant. # Disconnect Scim Source: https://docs.tracecat.com/api-reference/scim/disconnect-scim https://platform.tracecat.com/api/openapi.json post /scim/disconnect Remove all mappings, revoke the token, and disable the connection. # Get Group Source: https://docs.tracecat.com/api-reference/scim/get-group https://platform.tracecat.com/api/openapi.json get /scim/v2/Groups/{group_id} Read one synced external group. # Get Scim Connection Source: https://docs.tracecat.com/api-reference/scim/get-scim-connection https://platform.tracecat.com/api/openapi.json get /scim/connection Read the SCIM connection status. Never returns the token. # Get Scim Directory Summary Source: https://docs.tracecat.com/api-reference/scim/get-scim-directory-summary https://platform.tracecat.com/api/openapi.json get /scim/directory/summary Count the users and groups the provider has pushed. # Get User Source: https://docs.tracecat.com/api-reference/scim/get-user https://platform.tracecat.com/api/openapi.json get /scim/v2/Users/{resource_id} Read one provisioned user. # Issue Scim Token Source: https://docs.tracecat.com/api-reference/scim/issue-scim-token https://platform.tracecat.com/api/openapi.json post /scim/connection Create or rotate the SCIM connection token. Owners only. The raw token is returned only in this response. # List External Groups Source: https://docs.tracecat.com/api-reference/scim/list-external-groups https://platform.tracecat.com/api/openapi.json get /scim/external-groups List synced IdP groups available as mapping sources. # List Groups Source: https://docs.tracecat.com/api-reference/scim/list-groups https://platform.tracecat.com/api/openapi.json get /scim/v2/Groups List synced external groups. # List Scim Mappings Source: https://docs.tracecat.com/api-reference/scim/list-scim-mappings https://platform.tracecat.com/api/openapi.json get /scim/mappings List group mappings with both sides joined in. # List Users Source: https://docs.tracecat.com/api-reference/scim/list-users https://platform.tracecat.com/api/openapi.json get /scim/v2/Users List provisioned users, optionally filtered by ``userName``. The filter matches case-insensitively: Okta queries with whatever casing the directory holds, and a case-sensitive match would make it create a duplicate. # Patch Group Source: https://docs.tracecat.com/api-reference/scim/patch-group https://platform.tracecat.com/api/openapi.json patch /scim/v2/Groups/{group_id} Add or remove members, or rename the group. The projection reconciles against a complete member list, so each operation is folded into the current set and the result replaces it wholesale. # Patch User Source: https://docs.tracecat.com/api-reference/scim/patch-user https://platform.tracecat.com/api/openapi.json patch /scim/v2/Users/{resource_id} Apply a PatchOp to the login, the provider identifier, or ``active``. # Replace Group Source: https://docs.tracecat.com/api-reference/scim/replace-group https://platform.tracecat.com/api/openapi.json put /scim/v2/Groups/{group_id} Replace a group's name and its complete member list. # Replace User Source: https://docs.tracecat.com/api-reference/scim/replace-user https://platform.tracecat.com/api/openapi.json put /scim/v2/Users/{resource_id} Replace the login, provider identifier, and active state of a user. # Resource Types Source: https://docs.tracecat.com/api-reference/scim/resource-types https://platform.tracecat.com/api/openapi.json get /scim/v2/ResourceTypes List the resource types this surface serves. # Review Scim Activation Source: https://docs.tracecat.com/api-reference/scim/review-scim-activation https://platform.tracecat.com/api/openapi.json post /scim/activation/review Report what the provider pushed and what activating would change. A read: the returned plan is not stored, so activation recomputes it. # Schemas Document Source: https://docs.tracecat.com/api-reference/scim/schemas-document https://platform.tracecat.com/api/openapi.json get /scim/v2/Schemas List the resource schemas this surface understands. # Service Provider Config Source: https://docs.tracecat.com/api-reference/scim/service-provider-config https://platform.tracecat.com/api/openapi.json get /scim/v2/ServiceProviderConfig Advertise the subset of the specification this surface implements. # Get Embedding Configuration Source: https://docs.tracecat.com/api-reference/search/get-embedding-configuration https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/search/configuration Read automatic embedding availability without credential metadata. # Check Aws Secret Reference Source: https://docs.tracecat.com/api-reference/secrets/check-aws-secret-reference https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/secrets/aws/{secret_id}/check Verify a saved AWS-backed reference resolves. Values are never returned. # Create Aws Secret Reference Source: https://docs.tracecat.com/api-reference/secrets/create-aws-secret-reference https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/secrets/aws Create a custom secret whose values live in AWS Secrets Manager. # Create Secret Source: https://docs.tracecat.com/api-reference/secrets/create-secret https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/secrets Create a secret. # Delete Secret By Id Source: https://docs.tracecat.com/api-reference/secrets/delete-secret-by-id https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/secrets/{secret_id} Delete a secret by ID. # Get Aws Assume Role Access Source: https://docs.tracecat.com/api-reference/secrets/get-aws-assume-role-access https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/secrets/aws-assume-role Get workspace-scoped AWS AssumeRole details for credential setup. # Get Secret By Name Source: https://docs.tracecat.com/api-reference/secrets/get-secret-by-name https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/secrets/{secret_name} Get a secret. # List Authorized Secret Stores Source: https://docs.tracecat.com/api-reference/secrets/list-authorized-secret-stores https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/secret-stores List external secret stores this workspace is authorized to reference. # List Secret Definitions Source: https://docs.tracecat.com/api-reference/secrets/list-secret-definitions https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/secrets/definitions List aggregated secret definitions from the registry. # List Secrets Source: https://docs.tracecat.com/api-reference/secrets/list-secrets https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/secrets List user secrets. # Search Secrets Source: https://docs.tracecat.com/api-reference/secrets/search-secrets https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/secrets/search Search secrets. # Update Aws Secret Reference Source: https://docs.tracecat.com/api-reference/secrets/update-aws-secret-reference https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/secrets/aws/{secret_id} Update the reference or key mapping of an AWS-backed secret. # Update Secret By Id Source: https://docs.tracecat.com/api-reference/secrets/update-secret-by-id https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/secrets/{secret_id} Update a secret by ID. # Create Organization Service Account Source: https://docs.tracecat.com/api-reference/service_accounts/create-organization-service-account https://platform.tracecat.com/api/openapi.json post /organization/service-accounts # Create Organization Service Account Api Key Source: https://docs.tracecat.com/api-reference/service_accounts/create-organization-service-account-api-key https://platform.tracecat.com/api/openapi.json post /organization/service-accounts/{service_account_id}/api-keys # Create Workspace Service Account Source: https://docs.tracecat.com/api-reference/service_accounts/create-workspace-service-account https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/service-accounts # Create Workspace Service Account Api Key Source: https://docs.tracecat.com/api-reference/service_accounts/create-workspace-service-account-api-key https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/service-accounts/{service_account_id}/api-keys # Disable Organization Service Account Source: https://docs.tracecat.com/api-reference/service_accounts/disable-organization-service-account https://platform.tracecat.com/api/openapi.json post /organization/service-accounts/{service_account_id}/disable # Disable Workspace Service Account Source: https://docs.tracecat.com/api-reference/service_accounts/disable-workspace-service-account https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/service-accounts/{service_account_id}/disable # Enable Organization Service Account Source: https://docs.tracecat.com/api-reference/service_accounts/enable-organization-service-account https://platform.tracecat.com/api/openapi.json post /organization/service-accounts/{service_account_id}/enable # Enable Workspace Service Account Source: https://docs.tracecat.com/api-reference/service_accounts/enable-workspace-service-account https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/service-accounts/{service_account_id}/enable # Get Organization Service Account Source: https://docs.tracecat.com/api-reference/service_accounts/get-organization-service-account https://platform.tracecat.com/api/openapi.json get /organization/service-accounts/{service_account_id} # Get Workspace Service Account Source: https://docs.tracecat.com/api-reference/service_accounts/get-workspace-service-account https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/service-accounts/{service_account_id} # List Organization Service Account Api Keys Source: https://docs.tracecat.com/api-reference/service_accounts/list-organization-service-account-api-keys https://platform.tracecat.com/api/openapi.json get /organization/service-accounts/{service_account_id}/api-keys # List Organization Service Account Scopes Source: https://docs.tracecat.com/api-reference/service_accounts/list-organization-service-account-scopes https://platform.tracecat.com/api/openapi.json get /organization/service-accounts/scopes # List Organization Service Accounts Source: https://docs.tracecat.com/api-reference/service_accounts/list-organization-service-accounts https://platform.tracecat.com/api/openapi.json get /organization/service-accounts # List Workspace Service Account Api Keys Source: https://docs.tracecat.com/api-reference/service_accounts/list-workspace-service-account-api-keys https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/service-accounts/{service_account_id}/api-keys # List Workspace Service Account Scopes Source: https://docs.tracecat.com/api-reference/service_accounts/list-workspace-service-account-scopes https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/service-accounts/scopes # List Workspace Service Accounts Source: https://docs.tracecat.com/api-reference/service_accounts/list-workspace-service-accounts https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/service-accounts # Revoke Organization Service Account Api Key Source: https://docs.tracecat.com/api-reference/service_accounts/revoke-organization-service-account-api-key https://platform.tracecat.com/api/openapi.json post /organization/service-accounts/{service_account_id}/api-keys/{api_key_id}/revoke # Revoke Workspace Service Account Api Key Source: https://docs.tracecat.com/api-reference/service_accounts/revoke-workspace-service-account-api-key https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/service-accounts/{service_account_id}/api-keys/{api_key_id}/revoke # Update Organization Service Account Source: https://docs.tracecat.com/api-reference/service_accounts/update-organization-service-account https://platform.tracecat.com/api/openapi.json patch /organization/service-accounts/{service_account_id} # Update Workspace Service Account Source: https://docs.tracecat.com/api-reference/service_accounts/update-workspace-service-account https://platform.tracecat.com/api/openapi.json patch /workspaces/{workspace_id}/service-accounts/{service_account_id} # Check Ip Allowlist Source: https://docs.tracecat.com/api-reference/settings/check-ip-allowlist https://platform.tracecat.com/api/openapi.json post /settings/security/ip-allowlist/check Report whether an IP address is admitted by the saved allowlist. # Get Agent Otel Settings Source: https://docs.tracecat.com/api-reference/settings/get-agent-otel-settings https://platform.tracecat.com/api/openapi.json get /settings/agent-otel # Get Agent Settings Source: https://docs.tracecat.com/api-reference/settings/get-agent-settings https://platform.tracecat.com/api/openapi.json get /settings/agent # Get App Settings Source: https://docs.tracecat.com/api-reference/settings/get-app-settings https://platform.tracecat.com/api/openapi.json get /settings/app # Get Audit Settings Source: https://docs.tracecat.com/api-reference/settings/get-audit-settings https://platform.tracecat.com/api/openapi.json get /settings/audit # Get Git Settings Source: https://docs.tracecat.com/api-reference/settings/get-git-settings https://platform.tracecat.com/api/openapi.json get /settings/git # Get Mfa Policy Source: https://docs.tracecat.com/api-reference/settings/get-mfa-policy https://platform.tracecat.com/api/openapi.json get /settings/security/mfa Whether members must sign in with a security key. # Get Saml Settings Source: https://docs.tracecat.com/api-reference/settings/get-saml-settings https://platform.tracecat.com/api/openapi.json get /settings/saml # Get Security Settings Source: https://docs.tracecat.com/api-reference/settings/get-security-settings https://platform.tracecat.com/api/openapi.json get /settings/security # Test Audit Webhook Source: https://docs.tracecat.com/api-reference/settings/test-audit-webhook https://platform.tracecat.com/api/openapi.json post /settings/audit/test Probe the submitted audit webhook configuration with a marked test event. # Update Agent Otel Settings Source: https://docs.tracecat.com/api-reference/settings/update-agent-otel-settings https://platform.tracecat.com/api/openapi.json patch /settings/agent-otel # Update Agent Settings Source: https://docs.tracecat.com/api-reference/settings/update-agent-settings https://platform.tracecat.com/api/openapi.json patch /settings/agent # Update App Settings Source: https://docs.tracecat.com/api-reference/settings/update-app-settings https://platform.tracecat.com/api/openapi.json patch /settings/app # Update Audit Settings Source: https://docs.tracecat.com/api-reference/settings/update-audit-settings https://platform.tracecat.com/api/openapi.json patch /settings/audit # Update Git Settings Source: https://docs.tracecat.com/api-reference/settings/update-git-settings https://platform.tracecat.com/api/openapi.json patch /settings/git # Update Mfa Policy Source: https://docs.tracecat.com/api-reference/settings/update-mfa-policy https://platform.tracecat.com/api/openapi.json patch /settings/security/mfa Require (or stop requiring) a security key at sign-in for all members. Applies to password, OIDC, and SAML sign-in. Members without a key must register one before they can continue. The caller must already have one. # Update Saml Settings Source: https://docs.tracecat.com/api-reference/settings/update-saml-settings https://platform.tracecat.com/api/openapi.json patch /settings/saml # Update Security Settings Source: https://docs.tracecat.com/api-reference/settings/update-security-settings https://platform.tracecat.com/api/openapi.json patch /settings/security Update the organization IP allowlist. Enabling a non-empty allowlist that excludes the caller's own IP is rejected so an admin cannot lock themselves out of the organization. # Create Folder Source: https://docs.tracecat.com/api-reference/skill-folders/create-folder https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/skill-folders Create a new skill folder. # Delete Folder Source: https://docs.tracecat.com/api-reference/skill-folders/delete-folder https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/skill-folders/{folder_id} Delete a skill folder. # Get Directory Source: https://docs.tracecat.com/api-reference/skill-folders/get-directory https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/skill-folders/directory Get directory items (skills and folders) in the given path. # Get Folder Source: https://docs.tracecat.com/api-reference/skill-folders/get-folder https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/skill-folders/{folder_id} Get folder details by ID. # List Folders Source: https://docs.tracecat.com/api-reference/skill-folders/list-folders https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/skill-folders List folders under the specified parent path. # Move Folder Source: https://docs.tracecat.com/api-reference/skill-folders/move-folder https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/skill-folders/{folder_id}/move Move a folder to a new parent folder. # Update Folder Source: https://docs.tracecat.com/api-reference/skill-folders/update-folder https://platform.tracecat.com/api/openapi.json patch /workspaces/{workspace_id}/skill-folders/{folder_id} Update a folder (rename). # Batch Install Library Skills Source: https://docs.tracecat.com/api-reference/skill-library/batch-install-library-skills https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/skill-library/batch-install Install every selected library skill in one transaction. # Batch Uninstall Library Skills Source: https://docs.tracecat.com/api-reference/skill-library/batch-uninstall-library-skills https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/skill-library/batch-uninstall Uninstall every selected library skill in one transaction. # Fork Library Skill Source: https://docs.tracecat.com/api-reference/skill-library/fork-library-skill https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/skill-library/{slug}/fork Copy a library skill into an editable workspace skill. # Get Library Skill Source: https://docs.tracecat.com/api-reference/skill-library/get-library-skill https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/skill-library/{slug} Return a library skill's files for the read-only preview. # Install Library Skill Source: https://docs.tracecat.com/api-reference/skill-library/install-library-skill https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/skill-library/{slug}/install Install a library skill into this workspace. # List Library Skills Source: https://docs.tracecat.com/api-reference/skill-library/list-library-skills https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/skill-library List library skills with this workspace's install state. # Uninstall Library Skill Source: https://docs.tracecat.com/api-reference/skill-library/uninstall-library-skill https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/skill-library/{slug}/install Uninstall a library skill that no preset binds. # Create Skill Tag Source: https://docs.tracecat.com/api-reference/skill-tags/create-skill-tag https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/skill-tags Create a new skill tag definition. # Delete Skill Tag Source: https://docs.tracecat.com/api-reference/skill-tags/delete-skill-tag https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/skill-tags/{tag_id} Delete a skill tag definition. # Get Skill Tag Source: https://docs.tracecat.com/api-reference/skill-tags/get-skill-tag https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/skill-tags/{tag_id} Get a skill tag by ID. # List Skill Tags Source: https://docs.tracecat.com/api-reference/skill-tags/list-skill-tags https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/skill-tags List all skill tags in the workspace. # Update Skill Tag Source: https://docs.tracecat.com/api-reference/skill-tags/update-skill-tag https://platform.tracecat.com/api/openapi.json patch /workspaces/{workspace_id}/skill-tags/{tag_id} Update a skill tag definition. # Batch Delete Rows Source: https://docs.tracecat.com/api-reference/tables/batch-delete-rows https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/tables/{table_id}/rows/batch-delete Delete multiple rows from a table. # Batch Insert Rows Source: https://docs.tracecat.com/api-reference/tables/batch-insert-rows https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/tables/{table_id}/rows/batch Insert multiple rows into a table atomically. All rows will be inserted in a single transaction. If any row fails, the entire batch will be rolled back. # Batch Update Rows Source: https://docs.tracecat.com/api-reference/tables/batch-update-rows https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/tables/{table_id}/rows/batch-update Update multiple rows in a table with the same data. # Create Column Source: https://docs.tracecat.com/api-reference/tables/create-column https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/tables/{table_id}/columns Add a column to a table. # Create Table Source: https://docs.tracecat.com/api-reference/tables/create-table https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/tables Create a new table. # Delete Column Source: https://docs.tracecat.com/api-reference/tables/delete-column https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/tables/{table_id}/columns/{column_id} Delete a column from a table. # Delete Row Source: https://docs.tracecat.com/api-reference/tables/delete-row https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/tables/{table_id}/rows/{row_id} Delete a row from a table. # Delete Table Source: https://docs.tracecat.com/api-reference/tables/delete-table https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/tables/{table_id} Delete a table. # Get Row Source: https://docs.tracecat.com/api-reference/tables/get-row https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/tables/{table_id}/rows/{row_id} Get a row by ID. # Get Table Source: https://docs.tracecat.com/api-reference/tables/get-table https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/tables/{table_id} Get a table by ID. # Get Table Search Source: https://docs.tracecat.com/api-reference/tables/get-table-search https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/tables/{table_id}/search Read settings and provider availability; requires table:read and workspace:read. # Get Table Search Progress Source: https://docs.tracecat.com/api-reference/tables/get-table-search-progress https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/tables/{table_id}/search/documents Read bounded per-document progress and safe retry references. # Import Csv Source: https://docs.tracecat.com/api-reference/tables/import-csv https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/tables/{table_id}/import Import data from a CSV file into a table. # Import Table From Csv Source: https://docs.tracecat.com/api-reference/tables/import-table-from-csv https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/tables/import Create a new table by importing a CSV file. # Insert Row Source: https://docs.tracecat.com/api-reference/tables/insert-row https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/tables/{table_id}/rows Create a new row in a table. # List Rows Source: https://docs.tracecat.com/api-reference/tables/list-rows https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/tables/{table_id}/rows List table rows with cursor-based pagination, sorting and text search. # List Tables Source: https://docs.tracecat.com/api-reference/tables/list-tables https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/tables List all tables. # Retry Table Search Source: https://docs.tracecat.com/api-reference/tables/retry-table-search https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/tables/{table_id}/search/retry Record retry intent for a bounded explicit list of failed documents. # Select Table Search Column Source: https://docs.tracecat.com/api-reference/tables/select-table-search-column https://platform.tracecat.com/api/openapi.json patch /workspaces/{workspace_id}/tables/{table_id}/search/selection Persist selection and backfill marker together, even without a provider. # Update Column Source: https://docs.tracecat.com/api-reference/tables/update-column https://platform.tracecat.com/api/openapi.json patch /workspaces/{workspace_id}/tables/{table_id}/columns/{column_id} Update a column. # Update Row Source: https://docs.tracecat.com/api-reference/tables/update-row https://platform.tracecat.com/api/openapi.json patch /workspaces/{workspace_id}/tables/{table_id}/rows/{row_id} Update a row in a table. # Update Table Source: https://docs.tracecat.com/api-reference/tables/update-table https://platform.tracecat.com/api/openapi.json patch /workspaces/{workspace_id}/tables/{table_id} Update table metadata. # Create Tag Source: https://docs.tracecat.com/api-reference/tags/create-tag https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/tags Create a new tag. # Delete Tag Source: https://docs.tracecat.com/api-reference/tags/delete-tag https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/tags/{tag_id} Delete a tag. # Get Tag Source: https://docs.tracecat.com/api-reference/tags/get-tag https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/tags/{tag_id} Get a specific tag by ID. # List Tags Source: https://docs.tracecat.com/api-reference/tags/list-tags https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/tags List all tags for the current workspace. # Update Tag Source: https://docs.tracecat.com/api-reference/tags/update-tag https://platform.tracecat.com/api/openapi.json patch /workspaces/{workspace_id}/tags/{tag_id} Update an existing tag. # Create Case Trigger Source: https://docs.tracecat.com/api-reference/triggers/create-case-trigger https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/workflows/{workflow_id}/case-trigger Create or replace the case trigger configuration for a workflow. # Create Webhook Source: https://docs.tracecat.com/api-reference/triggers/create-webhook https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/workflows/{workflow_id}/webhook Create a webhook for a workflow. # Delete Webhook Api Key Source: https://docs.tracecat.com/api-reference/triggers/delete-webhook-api-key https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/workflows/{workflow_id}/webhook/api-key Delete the current API key for a webhook. # Generate Webhook Api Key Source: https://docs.tracecat.com/api-reference/triggers/generate-webhook-api-key https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/workflows/{workflow_id}/webhook/api-key Create or rotate the API key for a webhook. # Get Case Trigger Source: https://docs.tracecat.com/api-reference/triggers/get-case-trigger https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/workflows/{workflow_id}/case-trigger Get the case trigger configuration for a workflow. # Get Webhook Source: https://docs.tracecat.com/api-reference/triggers/get-webhook https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/workflows/{workflow_id}/webhook Get the webhook from a workflow. # Revoke Webhook Api Key Source: https://docs.tracecat.com/api-reference/triggers/revoke-webhook-api-key https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/workflows/{workflow_id}/webhook/api-key/revoke Revoke the current API key for a webhook. # Update Case Trigger Source: https://docs.tracecat.com/api-reference/triggers/update-case-trigger https://platform.tracecat.com/api/openapi.json patch /workspaces/{workspace_id}/workflows/{workflow_id}/case-trigger Update the case trigger configuration for a workflow. # Update Webhook Source: https://docs.tracecat.com/api-reference/triggers/update-webhook https://platform.tracecat.com/api/openapi.json patch /workspaces/{workspace_id}/workflows/{workflow_id}/webhook Update the webhook for a workflow. We currently supprt only one webhook per workflow. # Create Managed Tunnel Source: https://docs.tracecat.com/api-reference/tunnels/create-managed-tunnel https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/tunnels/managed Create a tunnel whose Pangolin site, machine client, and resources Tracecat provisions. The site credentials and install command are returned only in this response. # Create Tunnel Source: https://docs.tracecat.com/api-reference/tunnels/create-tunnel https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/tunnels Create a tunnel in the workspace. # Delete Tunnel Source: https://docs.tracecat.com/api-reference/tunnels/delete-tunnel https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/tunnels/{tunnel_id} Delete a tunnel from the workspace. # Get Tunnel Source: https://docs.tracecat.com/api-reference/tunnels/get-tunnel https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/tunnels/{tunnel_id} Get a tunnel in the workspace and the resources that reference it. # Get Tunnel Availability Source: https://docs.tracecat.com/api-reference/tunnels/get-tunnel-availability https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/tunnels/availability Report whether this deployment can run tunnel gateways. # Get Tunnel Status Source: https://docs.tracecat.com/api-reference/tunnels/get-tunnel-status https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/tunnels/{tunnel_id}/status Get whether a managed tunnel's on-prem site is connected. # Issue Tunnel Gateway Key Source: https://docs.tracecat.com/api-reference/tunnels/issue-tunnel-gateway-key https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/tunnels/{tunnel_id}/gateway-key Issue a gateway key for the tunnel, revoking the previous key. The key is returned only in this response. # List Tunnels Source: https://docs.tracecat.com/api-reference/tunnels/list-tunnels https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/tunnels List tunnels in the workspace. # Update Tunnel Source: https://docs.tracecat.com/api-reference/tunnels/update-tunnel https://platform.tracecat.com/api/openapi.json patch /workspaces/{workspace_id}/tunnels/{tunnel_id} Update a tunnel. Sending `client_secret` rotates the stored secret. # Update Catalog Entry Source: https://docs.tracecat.com/api-reference/update-catalog-entry https://platform.tracecat.com/api/openapi.json patch /organization/agent-catalog/{catalog_id} Update metadata on an org-scoped catalog entry. # Update Custom Provider Source: https://docs.tracecat.com/api-reference/update-custom-provider https://platform.tracecat.com/api/openapi.json patch /organization/agent-custom-providers/{provider_id} Update custom provider configuration. # Update Workspace Model Access Source: https://docs.tracecat.com/api-reference/update-workspace-model-access https://platform.tracecat.com/api/openapi.json put /workspaces/{workspace_id}/agent-model-access Replace a workspace's model subset, or clear it to inherit the org's models. Every catalog ID must be enabled for the organization. # Get My Scopes Source: https://docs.tracecat.com/api-reference/users/get-my-scopes https://platform.tracecat.com/api/openapi.json get /users/me/scopes Get the current user's effective scopes. Scopes are computed from DB-driven role assignments during auth (UserRoleAssignment + GroupRoleAssignment → Role → RoleScope → Scope). # Search User Source: https://docs.tracecat.com/api-reference/users/search-user https://platform.tracecat.com/api/openapi.json get /users/search Find a member of the caller's organization by email. Users outside the caller's organization return 404, the same as an unknown email, so the route cannot be used to enumerate accounts. Platform admins are scoped the same way; platform-wide lookups go through ``/admin/users``. # Users:Current User Source: https://docs.tracecat.com/api-reference/users/users:current-user https://platform.tracecat.com/api/openapi.json get /users/me # Users:Delete User Source: https://docs.tracecat.com/api-reference/users/users:delete-user https://platform.tracecat.com/api/openapi.json delete /users/{id} # Users:Patch Current User Source: https://docs.tracecat.com/api-reference/users/users:patch-current-user https://platform.tracecat.com/api/openapi.json patch /users/me # Users:Patch User Source: https://docs.tracecat.com/api-reference/users/users:patch-user https://platform.tracecat.com/api/openapi.json patch /users/{id} # Users:User Source: https://docs.tracecat.com/api-reference/users/users:user https://platform.tracecat.com/api/openapi.json get /users/{id} # Validate Custom Provider Connection Source: https://docs.tracecat.com/api-reference/validate-custom-provider-connection https://platform.tracecat.com/api/openapi.json post /organization/agent-custom-providers/validate Test provider connectivity without saving. # Create Variable Source: https://docs.tracecat.com/api-reference/variables/create-variable https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/variables # Delete Variable By Id Source: https://docs.tracecat.com/api-reference/variables/delete-variable-by-id https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/variables/{variable_id} # Get Variable By Name Source: https://docs.tracecat.com/api-reference/variables/get-variable-by-name https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/variables/{variable_name} # List Variables Source: https://docs.tracecat.com/api-reference/variables/list-variables https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/variables # Search Variables Source: https://docs.tracecat.com/api-reference/variables/search-variables https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/variables/search # Update Variable By Id Source: https://docs.tracecat.com/api-reference/variables/update-variable-by-id https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/variables/{variable_id} # Delete Bitbucket Data Center Token Credentials Source: https://docs.tracecat.com/api-reference/vcs/delete-bitbucket-data-center-token-credentials https://platform.tracecat.com/api/openapi.json delete /organization/vcs/bitbucket-data-center/credentials Delete Bitbucket Data Center token credentials. # Delete Bitbucket Token Credentials Source: https://docs.tracecat.com/api-reference/vcs/delete-bitbucket-token-credentials https://platform.tracecat.com/api/openapi.json delete /organization/vcs/bitbucket/credentials Delete Bitbucket token credentials. # Delete Github App Credentials Source: https://docs.tracecat.com/api-reference/vcs/delete-github-app-credentials https://platform.tracecat.com/api/openapi.json delete /organization/vcs/github/credentials Delete GitHub App credentials. # Delete Gitlab Token Credentials Source: https://docs.tracecat.com/api-reference/vcs/delete-gitlab-token-credentials https://platform.tracecat.com/api/openapi.json delete /organization/vcs/gitlab/credentials Delete GitLab token credentials. # Get Bitbucket Data Center Token Credentials Status Source: https://docs.tracecat.com/api-reference/vcs/get-bitbucket-data-center-token-credentials-status https://platform.tracecat.com/api/openapi.json get /organization/vcs/bitbucket-data-center/credentials/status Get the status of Bitbucket Data Center token credentials. # Get Bitbucket Token Credentials Status Source: https://docs.tracecat.com/api-reference/vcs/get-bitbucket-token-credentials-status https://platform.tracecat.com/api/openapi.json get /organization/vcs/bitbucket/credentials/status Get the status of Bitbucket token credentials. # Get Github App Credentials Status Source: https://docs.tracecat.com/api-reference/vcs/get-github-app-credentials-status https://platform.tracecat.com/api/openapi.json get /organization/vcs/github/credentials/status Get the status of GitHub App credentials. # Get Github App Manifest Source: https://docs.tracecat.com/api-reference/vcs/get-github-app-manifest https://platform.tracecat.com/api/openapi.json get /organization/vcs/github/manifest Generate GitHub App manifest for enterprise installation. # Get Gitlab Token Credentials Status Source: https://docs.tracecat.com/api-reference/vcs/get-gitlab-token-credentials-status https://platform.tracecat.com/api/openapi.json get /organization/vcs/gitlab/credentials/status Get the status of GitLab token credentials. # Github App Install Callback Source: https://docs.tracecat.com/api-reference/vcs/github-app-install-callback https://platform.tracecat.com/api/openapi.json get /organization/vcs/github/install Handle GitHub App installation flow. This endpoint handles two different flows: 1. Code exchange: When GitHub redirects with a temporary code after manifest submission 2. Installation callback: When GitHub redirects after app installation # Github Webhook Source: https://docs.tracecat.com/api-reference/vcs/github-webhook https://platform.tracecat.com/api/openapi.json post /organization/vcs/github/webhook Handle GitHub webhook events. # Save Bitbucket Data Center Token Credentials Source: https://docs.tracecat.com/api-reference/vcs/save-bitbucket-data-center-token-credentials https://platform.tracecat.com/api/openapi.json post /organization/vcs/bitbucket-data-center/credentials Save Bitbucket Data Center token credentials (create if new or update existing). # Save Bitbucket Token Credentials Source: https://docs.tracecat.com/api-reference/vcs/save-bitbucket-token-credentials https://platform.tracecat.com/api/openapi.json post /organization/vcs/bitbucket/credentials Save Bitbucket token credentials (create if new or update existing). # Save Github App Credentials Source: https://docs.tracecat.com/api-reference/vcs/save-github-app-credentials https://platform.tracecat.com/api/openapi.json post /organization/vcs/github/credentials Save GitHub App credentials (register new or update existing). # Save Gitlab Token Credentials Source: https://docs.tracecat.com/api-reference/vcs/save-gitlab-token-credentials https://platform.tracecat.com/api/openapi.json post /organization/vcs/gitlab/credentials Save GitLab token credentials (create if new or update existing). # Disable Watchtower Agent Source: https://docs.tracecat.com/api-reference/watchtower/disable-watchtower-agent https://platform.tracecat.com/api/openapi.json post /watchtower/monitor/agents/{agent_id}/disable # Enable Watchtower Agent Source: https://docs.tracecat.com/api-reference/watchtower/enable-watchtower-agent https://platform.tracecat.com/api/openapi.json post /watchtower/monitor/agents/{agent_id}/enable # List Watchtower Agent Sessions Source: https://docs.tracecat.com/api-reference/watchtower/list-watchtower-agent-sessions https://platform.tracecat.com/api/openapi.json get /watchtower/monitor/agents/{agent_id}/sessions # List Watchtower Agents Source: https://docs.tracecat.com/api-reference/watchtower/list-watchtower-agents https://platform.tracecat.com/api/openapi.json get /watchtower/monitor/agents # List Watchtower Session Tool Calls Source: https://docs.tracecat.com/api-reference/watchtower/list-watchtower-session-tool-calls https://platform.tracecat.com/api/openapi.json get /watchtower/monitor/sessions/{session_id}/tool-calls # Revoke Watchtower Session Source: https://docs.tracecat.com/api-reference/watchtower/revoke-watchtower-session https://platform.tracecat.com/api/openapi.json post /watchtower/monitor/sessions/{session_id}/revoke # Bulk Reset Workflow Executions Source: https://docs.tracecat.com/api-reference/workflow-executions/bulk-reset-workflow-executions https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/workflow-executions/reset/bulk # Cancel Workflow Execution Source: https://docs.tracecat.com/api-reference/workflow-executions/cancel-workflow-execution https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/workflow-executions/{execution_id}/cancel Get a workflow execution. # Create Draft Workflow Execution Source: https://docs.tracecat.com/api-reference/workflow-executions/create-draft-workflow-execution https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/workflow-executions/draft Create and schedule a draft workflow execution. Draft executions run the current draft workflow graph (not the committed definition). Child workflows using aliases will resolve to the latest draft aliases, not committed aliases. # Create Workflow Execution Source: https://docs.tracecat.com/api-reference/workflow-executions/create-workflow-execution https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/workflow-executions Create and schedule a workflow execution. # Get Workflow Execution Source: https://docs.tracecat.com/api-reference/workflow-executions/get-workflow-execution https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/workflow-executions/{execution_id} Get a workflow execution. # Get Workflow Execution By Workflow Id Source: https://docs.tracecat.com/api-reference/workflow-executions/get-workflow-execution-by-workflow-id https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/workflows/{workflow_id}/executions/{execution_id} Get a workflow execution by workflow ID and execution suffix. # Get Workflow Execution Collection Page Source: https://docs.tracecat.com/api-reference/workflow-executions/get-workflow-execution-collection-page https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/workflow-executions/{execution_id}/objects/collection/page Fetch a bounded page of collection item descriptors. # Get Workflow Execution Compact Source: https://docs.tracecat.com/api-reference/workflow-executions/get-workflow-execution-compact https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/workflow-executions/{execution_id}/compact Get a workflow execution. # Get Workflow Execution Object Download Source: https://docs.tracecat.com/api-reference/workflow-executions/get-workflow-execution-object-download https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/workflow-executions/{execution_id}/objects/download Generate a presigned download URL for a workflow execution result object. # Get Workflow Execution Object Preview Source: https://docs.tracecat.com/api-reference/workflow-executions/get-workflow-execution-object-preview https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/workflow-executions/{execution_id}/objects/preview Fetch a bounded text preview for a workflow execution result object. # List Workflow Execution Reset Points Source: https://docs.tracecat.com/api-reference/workflow-executions/list-workflow-execution-reset-points https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/workflow-executions/{execution_id}/reset-points # List Workflow Executions Source: https://docs.tracecat.com/api-reference/workflow-executions/list-workflow-executions https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/workflow-executions List all workflow executions. # Preview Workflow Execution Rerun Source: https://docs.tracecat.com/api-reference/workflow-executions/preview-workflow-execution-rerun https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/workflow-executions/{execution_id}/rerun/preview Match a past run's successful action results against a rerun target. # Rerun Workflow Execution Source: https://docs.tracecat.com/api-reference/workflow-executions/rerun-workflow-execution https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/workflow-executions/{execution_id}/rerun Rerun a past run, reusing results of its successful actions. # Reset Workflow Execution Source: https://docs.tracecat.com/api-reference/workflow-executions/reset-workflow-execution https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/workflow-executions/{execution_id}/reset # Search Workflow Executions Source: https://docs.tracecat.com/api-reference/workflow-executions/search-workflow-executions https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/workflow-executions/search # Terminate Workflow Execution Source: https://docs.tracecat.com/api-reference/workflow-executions/terminate-workflow-execution https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/workflow-executions/{execution_id}/terminate Get a workflow execution. # Add Tag Source: https://docs.tracecat.com/api-reference/workflows/add-tag https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/workflows/{workflow_id}/tags Add a tag to a workflow. # Apply Sync Operation Source: https://docs.tracecat.com/api-reference/workflows/apply-sync-operation https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/workflows/sync/operations/{operation_id}/apply Send a stable apply command to the existing lifecycle workflow. # Commit Workflow Source: https://docs.tracecat.com/api-reference/workflows/commit-workflow https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/workflows/{workflow_id}/commit Commit a workflow. This deploys the workflow and updates its version, delegating to the shared ``WorkflowsManagementService.publish_workflow`` so the build/validate/lock/ commit orchestration lives in one place (also used by the MCP publish tool and the internal publish route). # Create Sync Operation Source: https://docs.tracecat.com/api-reference/workflows/create-sync-operation https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/workflows/sync/operations Accept a preview and return before any Git or resource work begins. # Create Workflow Source: https://docs.tracecat.com/api-reference/workflows/create-workflow https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/workflows Create a new Workflow. Optionally, you can provide a YAML file to create a workflow. You can also provide a title and description to create a blank workflow. # Delete Workflow Source: https://docs.tracecat.com/api-reference/workflows/delete-workflow https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/workflows/{workflow_id} Delete a workflow. # Export Workflow Source: https://docs.tracecat.com/api-reference/workflows/export-workflow https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/workflows/{workflow_id}/export Export a workflow's current state and optionally its definitions and logs. Supported formats are JSON and YAML. When `draft=True`, exports the current draft state from the workflow canvas without requiring a saved definition. When `draft=False` (default), exports from a saved workflow definition version. # Export Workspace Sync Source: https://docs.tracecat.com/api-reference/workflows/export-workspace-sync https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/workflows/sync/export Export workspace workflow specs to a Git branch and optional PR. # Get Sync Diff Source: https://docs.tracecat.com/api-reference/workflows/get-sync-diff https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/workflows/sync/operations/{operation_id}/diffs/{index} Load one selected file diff on demand. # Get Sync Operation Source: https://docs.tracecat.com/api-reference/workflows/get-sync-operation https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/workflows/sync/operations/{operation_id} Poll durable progress without starting or mutating the operation. # Get Workflow Source: https://docs.tracecat.com/api-reference/workflows/get-workflow https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/workflows/{workflow_id} Return Workflow as title, description, list of Action JSONs, adjacency list of Action IDs. # Get Workflow Definition Source: https://docs.tracecat.com/api-reference/workflows/get-workflow-definition https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/workflows/{workflow_id}/definition Get the latest version of a workflow definition. # Get Workflow Draft Source: https://docs.tracecat.com/api-reference/workflows/get-workflow-draft https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/workflows/{workflow_id}/draft Return the workflow's current draft as a canonical editable document. The document has the same shape accepted by ``PUT /workflows/{id}/draft`` (metadata, definition, layout, schedules, case trigger), and ``draft_revision`` is a content hash suitable for optimistic concurrency. # Get Workspace Sync Package Source: https://docs.tracecat.com/api-reference/workflows/get-workspace-sync-package https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/workflows/sync/package Read the managed resources package selection of the source workspace. # List Sync Diffs Source: https://docs.tracecat.com/api-reference/workflows/list-sync-diffs https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/workflows/sync/operations/{operation_id}/diffs Read one bounded page of diff metadata, without loading file contents. # List Sync Operations Source: https://docs.tracecat.com/api-reference/workflows/list-sync-operations https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/workflows/sync/operations Recover the initiating actor's operations after a reload or reconnect. # List Tags Source: https://docs.tracecat.com/api-reference/workflows/list-tags https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/workflows/{workflow_id}/tags List all tags for a workflow. # List Workflow Branches Source: https://docs.tracecat.com/api-reference/workflows/list-workflow-branches https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/workflows/sync/branches Get branch list for the configured workspace repository. # List Workflow Commits Source: https://docs.tracecat.com/api-reference/workflows/list-workflow-commits https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/workflows/sync/commits Get commit list for the configured workspace repository. Returns a list of commits from the repository configured in workspace settings, suitable for use in workflow pull operations. # List Workflow Definitions Source: https://docs.tracecat.com/api-reference/workflows/list-workflow-definitions https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/workflows/{workflow_id}/definitions List all workflow definitions for a Workflow. # List Workflow Repositories Source: https://docs.tracecat.com/api-reference/workflows/list-workflow-repositories https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/workflows/sync/repositories List repositories granted to the configured GitHub App installation. # List Workflows Source: https://docs.tracecat.com/api-reference/workflows/list-workflows https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/workflows List workflows. # Move Workflow To Folder Source: https://docs.tracecat.com/api-reference/workflows/move-workflow-to-folder https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/workflows/{workflow_id}/move Move a workflow to a different folder. If folder_id is null, the workflow will be moved to the root (no folder). # Preview Export Workspace Sync Source: https://docs.tracecat.com/api-reference/workflows/preview-export-workspace-sync https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/workflows/sync/export/preview Project which resources an export would commit, without writing to Git. # Publish Workflow Source: https://docs.tracecat.com/api-reference/workflows/publish-workflow https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/workflows/{workflow_id}/publish # Pull Workflows Source: https://docs.tracecat.com/api-reference/workflows/pull-workflows https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/workflows/sync/pull Pull workflows from Git repository at specific commit. Imports workflow definitions from the specified repository and commit, with configurable conflict resolution strategy. Repository URL is retrieved from workspace settings. # Remove Tag Source: https://docs.tracecat.com/api-reference/workflows/remove-tag https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/workflows/{workflow_id}/tags/{tag_id} # Replace Workflow Draft Source: https://docs.tracecat.com/api-reference/workflows/replace-workflow-draft https://platform.tracecat.com/api/openapi.json put /workspaces/{workspace_id}/workflows/{workflow_id}/draft Replace the workflow's draft with the supplied document. Validates the definition, then rewrites the action graph, layout, schedules, and case trigger in one transaction. Omit ``schedules`` from the document to leave the workflow's schedules untouched (they can be managed independently via ``/schedules``). Publishing is separate: call ``POST /workflows/{id}/commit`` afterwards to create a new version. # Restore Workflow Definition Source: https://docs.tracecat.com/api-reference/workflows/restore-workflow-definition https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/workflows/{workflow_id}/definitions/{version}/restore Restore a saved workflow definition as the current published version. # Retry Sync Operation Source: https://docs.tracecat.com/api-reference/workflows/retry-sync-operation https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/workflows/sync/operations/{operation_id}/retry Send a stable retry command to the existing lifecycle workflow. # Update Workflow Source: https://docs.tracecat.com/api-reference/workflows/update-workflow https://platform.tracecat.com/api/openapi.json patch /workspaces/{workspace_id}/workflows/{workflow_id} Update a workflow. # Validate Workflow Entrypoint Source: https://docs.tracecat.com/api-reference/workflows/validate-workflow-entrypoint https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/workflows/validate-entrypoint Validate a workflow entrypoint expects definition. # Create Workspace Source: https://docs.tracecat.com/api-reference/workspaces/create-workspace https://platform.tracecat.com/api/openapi.json post /workspaces Create a new workspace. Authorization ------------- - Admin: Can create a workspace for any user. # Create Workspace Membership Source: https://docs.tracecat.com/api-reference/workspaces/create-workspace-membership https://platform.tracecat.com/api/openapi.json post /workspaces/{workspace_id}/memberships Create a workspace membership for a user. # Delete Workspace Source: https://docs.tracecat.com/api-reference/workspaces/delete-workspace https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id} Delete a workspace. # Delete Workspace Membership Source: https://docs.tracecat.com/api-reference/workspaces/delete-workspace-membership https://platform.tracecat.com/api/openapi.json delete /workspaces/{workspace_id}/memberships/{user_id} Delete a workspace membership. # Get Workspace Source: https://docs.tracecat.com/api-reference/workspaces/get-workspace https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id} Return Workflow as title, description, list of Action JSONs, adjacency list of Action IDs. # Get Workspace Membership Source: https://docs.tracecat.com/api-reference/workspaces/get-workspace-membership https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/memberships/{user_id} Get a workspace membership for a user. # List Workspace Members Source: https://docs.tracecat.com/api-reference/workspaces/list-workspace-members https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/members List members of a workspace. # List Workspace Memberships Source: https://docs.tracecat.com/api-reference/workspaces/list-workspace-memberships https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/memberships List memberships of a workspace. # List Workspaces Source: https://docs.tracecat.com/api-reference/workspaces/list-workspaces https://platform.tracecat.com/api/openapi.json get /workspaces List workspaces the user has access to. Access ------ - Org owners/admins (have `org:workspace:read` scope): See all workspaces in the org. - Org members (have `org:read` scope): See only workspaces where they are a member. - Workspace-bound service accounts: See only their bound workspace. Membership limits workspace-scoped access to the actor's workspaces. # Search Workspaces Source: https://docs.tracecat.com/api-reference/workspaces/search-workspaces https://platform.tracecat.com/api/openapi.json get /workspaces/search Return Workflow as title, description, list of Action JSONs, adjacency list of Action IDs. # Update Workspace Source: https://docs.tracecat.com/api-reference/workspaces/update-workspace https://platform.tracecat.com/api/openapi.json patch /workspaces/{workspace_id} Update a workspace. # Organization agent logs Source: https://docs.tracecat.com/audit-logs/agents Export OpenTelemetry metrics, log events, and traces for agent runs to your observability backend. Agent runs emit Claude Code OpenTelemetry signals. Point them at your own OTLP collector to track token usage, cost, tool activity, and session outcomes alongside the rest of your observability data. Tracecat exports metrics, log events, and traces over OTLP/HTTP with protobuf. Traces are off by default while Claude Code tracing is in beta; when you turn them on, Tracecat sets the beta tracing flag for the agent run. Telemetry is off until an organization administrator enables it, and each organization configures its own exporter. See [Claude Code monitoring](https://code.claude.com/docs/en/monitoring-usage) for the metrics and events each signal carries. ## Configure the exporter Read the current configuration with `GET /settings/agent-otel` and update it with `PATCH /settings/agent-otel`: ```json theme={null} { "agent_otel_config": { "enabled": true, "endpoint": "https://otel.example.com", "metrics_enabled": true, "logs_enabled": true, "traces_enabled": false }, "agent_otel_headers": { "Authorization": "Bearer " } } ``` Tracecat rejects a configuration that enables telemetry with a signal turned on and no endpoint. The endpoint must not embed credentials or a query string; authenticate the exporter through `agent_otel_headers` instead. ### Exporter headers Supply `agent_otel_headers` as a name-to-value map, such as an `Authorization` header for your collector. Tracecat encrypts headers at rest and attaches them to outbound telemetry in the OTLP gateway, outside the agent sandbox, so sandboxed agent code never reads a collector credential. Omitting `agent_otel_headers` from an update leaves the stored headers unchanged; send an empty object to clear them. ## Privacy controls Telemetry can carry prompt and tool content, so decide what leaves your deployment before you enable it. Each control below follows Claude Code's own default when you leave it unset: * `log_user_prompts` includes user prompt content in log events. * `log_tool_details` includes tool parameters and input arguments. * `log_tool_content` includes tool input and output content. * `metrics_include_session_id` attaches the Claude Code session identifier to metrics. * `metrics_include_version` attaches the Claude Code version to metrics. * `metrics_include_account_uuid` attaches the authenticated account identifier to metrics. Turn on the content controls only when your collector is a trusted destination, because a credential pasted into a prompt reaches any telemetry that captures prompts. ## Resource attributes and tuning Set `resource_attributes` to a string map that Tracecat attaches to every exported signal. Use it to separate Tracecat telemetry from the rest of your collector's traffic: ```json theme={null} { "deployment.environment": "production", "service.namespace": "tracecat" } ``` Attribute names and values must both be non-empty. The remaining fields tune transport and export cadence: | Field | Values | Description | | :- | :- | :- | | `metrics_temporality` | `delta`, `cumulative` | Metrics aggregation temporality. | | `metric_export_interval_ms` | Positive integer | Metrics export interval in milliseconds. | | `logs_export_interval_ms` | Positive integer | Logs export interval in milliseconds. | Leave a field unset to keep the Claude Code default. ## Related pages * See [Organization audit logs](/audit-logs/organization) to stream user and service-account activity to your SIEM. * See [Platform audit logs](/audit-logs/platform) to capture administration above the organization boundary. * See [Architecture](/security/architecture) for the sandbox and gateway boundaries that agent telemetry crosses. # MCP access logs Source: https://docs.tracecat.com/audit-logs/mcp-access Review OAuth connections, personal access tokens, and external MCP client activity in a workspace. This page is a work in progress. External MCP clients connect to Tracecat and call tools as a real user. Review their connections, tokens, and activity from the workspace sidebar under **MCP access**. ## Related pages * See [Organization audit logs](/audit-logs/organization) to stream token issuance and revocation to your SIEM. * See [Platform audit logs](/audit-logs/platform) to capture administration above the organization boundary. * See [Architecture](/security/architecture) for the permission model behind MCP connections. # Organization audit logs Source: https://docs.tracecat.com/audit-logs/organization Stream organization audit events to an HTTPS webhook and shape each request for your log collector. Send organization audit events to an external log collector over HTTPS. You must be an organization administrator to configure the endpoint. Each event answers one question: which identity changed which resource, from where, and did it work. The stream covers privilege changes, credential changes, agent configuration changes, and automation changes. ## Configure audit logs **1. Open organization settings** Open the workspace menu, select **Organization**, then open **Audit Logs** under **Settings**. **2. Connect the endpoint** Click **Connect** and enter the HTTPS URL that accepts your audit events. ![Connect an organization audit webhook](https://mintcdn.com/tracecat/A1RFR-HqIGQvwmFV/img/audit-logs/organization-audit-webhook.jpg?fit=max\&auto=format\&n=A1RFR-HqIGQvwmFV\&q=85\&s=0d157e5df0e25aa66861c657dc7d4dd3) **3. Configure the request** Set the request options your collector needs, then click **Save changes**. Changing the endpoint is itself an audited `organization_setting` update, so your existing collector records the change before the stream moves. Events can continue to reach the old endpoint for up to 30 seconds after the change while cached settings expire. ## Request options | Option | Behavior | | - | - | | Audit webhook URL | Receives each event as a JSON `POST` request. | | Custom headers | Adds static headers to every request. Header names are case-insensitive. | | Custom payload | Merges a JSON object into every event. Custom keys replace matching default keys. | | Payload attribute | Wraps the complete payload under the configured key. | | Verify SSL certificate | Verifies the endpoint certificate. Disable this only for a trusted endpoint that uses a private or self-signed certificate. | Tracecat encrypts the webhook URL, custom headers, and custom payload at rest. Use the payload attribute when your collector expects the event under a specific key. Splunk HTTP Event Collector is the common case: it requires each event wrapped in an `event` field. Set the payload attribute to `event`, and Tracecat wraps the whole payload: ```json theme={null} { "event": { "actor_label": "avery@example.com", "resource_type": "workflow", "action": "update", "status": "SUCCESS", "created_at": "2026-01-15T14:03:12.123456Z" } } ``` ## Logged events | Resource type | Action | Description | | - | - | - | | `agent_catalog` | `create` | A model was added to the organization's agent catalog. | | `agent_catalog` | `delete` | A model was removed from the organization's agent catalog. | | `agent_catalog` | `update` | An agent catalog entry was updated. | | `agent_custom_provider` | `create` | A custom model provider was configured. | | `agent_custom_provider` | `delete` | A custom model provider was removed. | | `agent_custom_provider` | `update` | A custom model provider was reconfigured. | | `agent_model_access` | `create` | A catalog model was enabled for an organization or workspace. | | `agent_model_access` | `delete` | A catalog model was disabled for an organization or workspace. | | `agent_preset` | `create` | An agent preset was created. | | `agent_preset` | `delete` | An agent preset was deleted. | | `agent_preset` | `update` | An agent preset was updated or restored to an earlier version. | | `agent_session` | `delete` | An agent session and its history were deleted. | | `agent_session` | `update` | An agent session's title, preset, or MCP integrations changed. | | `auth` | `sign_in` | A user signed in. | | `case` | `create` | A case was created. | | `case` | `delete` | A case was deleted. | | `case` | `update` | A case was updated. | | `case_comment` | `create` | A comment was added to a case. | | `case_comment` | `delete` | A case comment was deleted. | | `case_comment` | `update` | A case comment was edited. | | `case_trigger` | `update` | Part of a workflow's case trigger configuration changed. | | `case_trigger` | `upsert` | A workflow's case trigger configuration was created or replaced. | | `mcp_personal_access_token` | `create` | An MCP personal access token was issued. | | `mcp_personal_access_token` | `revoke` | An MCP personal access token was revoked. | | `organization` | `delete` | An organization was deleted. | | `organization_invitation` | `accept` | An organization invitation was accepted. | | `organization_invitation` | `create` | An organization invitation was sent. | | `organization_invitation` | `revoke` | An organization invitation was revoked. | | `organization_member` | `create` | A user was added to the organization. | | `organization_member` | `delete` | A user was removed from the organization. | | `organization_member` | `update` | An organization member's details changed. | | `organization_secret` | `create` | An organization secret was created. | | `organization_secret` | `delete` | An organization secret was deleted. | | `organization_secret` | `update` | An organization secret was updated. | | `organization_session` | `delete` | A member's active login session was revoked. | | `organization_setting` | `create` | An organization setting was created. | | `organization_setting` | `delete` | An organization setting was deleted. | | `organization_setting` | `update` | An organization setting changed, including this audit sink. | | `rbac_assignment` | `create` | A role was assigned to a group. | | `rbac_assignment` | `delete` | A group's role assignment was removed. | | `rbac_assignment` | `update` | A group's role assignment changed. | | `rbac_group` | `create` | A group was created. | | `rbac_group` | `delete` | A group was deleted. | | `rbac_group` | `update` | A group was updated. | | `rbac_group_member` | `create` | A user was added to a group. | | `rbac_group_member` | `delete` | A user was removed from a group. | | `rbac_role` | `create` | A custom role was created. | | `rbac_role` | `delete` | A custom role was deleted. | | `rbac_role` | `update` | A role's scopes changed. | | `rbac_scope` | `create` | A custom permission scope was created. | | `rbac_scope` | `delete` | A custom permission scope was deleted. | | `rbac_user_assignment` | `create` | A role was assigned directly to a user. | | `rbac_user_assignment` | `delete` | A user's role assignment was removed. | | `rbac_user_assignment` | `update` | A user's role assignment changed. | | `schedule` | `create` | A workflow schedule was created. | | `schedule` | `delete` | A workflow schedule was deleted. | | `schedule` | `update` | A workflow schedule was updated. | | `secret` | `create` | A workspace secret was created. | | `secret` | `delete` | A workspace secret was deleted. | | `secret` | `update` | A workspace secret was updated. | | `service_account` | `create` | A service account was created. | | `service_account` | `update` | A service account was renamed, re-scoped, disabled, or enabled. | | `service_account_api_key` | `create` | An API key was issued for a service account. | | `service_account_api_key` | `revoke` | A service account API key was revoked. | | `table` | `create` | A lookup table was created. | | `table` | `delete` | A lookup table was deleted. | | `table` | `update` | A lookup table was updated. | | `table_column` | `create` | A column was added to a lookup table. | | `table_column` | `delete` | A column was removed from a lookup table. | | `table_column` | `update` | A lookup table column was updated. | | `tag` | `create` | A workflow tag was created. | | `tag` | `delete` | A workflow tag was deleted. | | `tag` | `update` | A workflow tag was updated. | | `webhook` | `create` | A workflow webhook trigger was created. | | `webhook` | `update` | A workflow webhook trigger was updated. | | `webhook_api_key` | `create` | The first API key was issued for a webhook. | | `webhook_api_key` | `delete` | A webhook API key was deleted. | | `webhook_api_key` | `revoke` | A webhook API key was revoked and kept on record. | | `webhook_api_key` | `rotate` | An existing webhook API key was replaced. | | `workflow` | `create` | A workflow was created. | | `workflow` | `delete` | A workflow was deleted. | | `workflow` | `publish` | A workflow definition was published. | | `workflow` | `update` | A workflow was updated. | | `workflow_execution` | `cancel` | A workflow execution was cancelled and allowed to clean up. | | `workflow_execution` | `create` | A workflow execution was started. | | `workflow_execution` | `reset` | A workflow execution was replayed from an earlier event. | | `workflow_execution` | `terminate` | A workflow execution was stopped immediately. | | `workspace` | `create` | A workspace was created. | | `workspace` | `delete` | A workspace was deleted. | | `workspace` | `update` | A workspace was updated. | | `workspace_invitation` | `accept` | A workspace invitation was accepted. | | `workspace_invitation` | `create` | A workspace invitation was sent. | | `workspace_invitation` | `revoke` | A workspace invitation was revoked. | | `workspace_variable` | `create` | A workspace variable was created. | | `workspace_variable` | `delete` | A workspace variable was deleted. | | `workspace_variable` | `update` | A workspace variable was updated. | An organization-scoped sign-in emits `auth` `sign_in` to this sink and to the platform sink. A superuser login that carries no organization context reaches the platform sink only. ## Event payload An audit event contains the actor, affected resource, action, result, and scope. ```json theme={null} { "organization_id": "00000000-0000-4000-8000-000000000001", "workspace_id": "00000000-0000-4000-8000-000000000002", "actor_type": "USER", "actor_id": "00000000-0000-4000-8000-000000000003", "actor_label": "avery@example.com", "ip_address": "192.0.2.10", "user_agent": "Mozilla/5.0", "resource_type": "workflow", "resource_id": "00000000-0000-4000-8000-000000000004", "action": "update", "status": "SUCCESS", "data": { "changed_fields": ["title"] }, "created_at": "2026-01-15T14:03:12.123456Z" } ``` | Field | Description | | - | - | | `organization_id` | Organization scope. `null` on platform events, except the platform copy of an organization-scoped `auth` `sign_in`, which carries the organization's ID. | | `workspace_id` | Workspace that owns the affected resource, when applicable. | | `actor_type` | `USER` or `SERVICE_ACCOUNT`. | | `actor_id` | Stable ID of the user or service account that performed the action. | | `actor_label` | User email or service-account name, when available. | | `ip_address` | Source IP address, when available. | | `user_agent` | Bounded client user-agent string, when available. | | `resource_type` | Type of resource affected by the action. | | `resource_id` | Stable ID of the affected resource, when available. | | `action` | Operation performed on the resource. | | `status` | `ATTEMPT`, `SUCCESS`, or `FAILURE`. | | `data` | Privacy-bounded operational metadata, when available. | | `created_at` | UTC event timestamp. | ### Attribution `actor_type` distinguishes a human from automation. `USER` events carry the account's email in `actor_label`, and `SERVICE_ACCOUNT` events carry the service account's name. Treat `actor_id` as the stable join key; `actor_label` is a display value that changes when a user's email changes. ### Scope `organization_id` identifies the tenant and `workspace_id` identifies the workspace that owns the affected resource. Organization-level resources such as `organization_member` and `rbac_role` have no workspace, so `workspace_id` is `null`. If you index platform and organization events together, filter on `organization_id` being non-null to isolate tenant activity. ### Status lifecycle Most audited changes emit an `ATTEMPT` event followed by `SUCCESS` or `FAILURE`. An `ATTEMPT` with no matching terminal event does not always mean the request failed — the terminal event may have been shed or lost in delivery. ## Delivery behavior Tracecat posts each event as a JSON `POST` request and does not block the audited action on the result. * Delivery runs in the background, so a failing or slow collector does not prevent the audited change from completing. * Each request times out after 10 seconds. * Tracecat makes up to three delivery attempts per event — the initial request plus two retries with exponential backoff — on `429`, `500`, `502`, `503`, `504`, and transport errors. Other `4xx` responses are terminal. * A retry after a lost response can deliver a duplicate. Events carry no event ID and a retried event is byte-identical, so deduplicate on the full event body if you need exact counts. * Under sustained backpressure Tracecat sheds events rather than buffering without bound. Delivery is best-effort, so do not treat the stream as a guaranteed-complete ledger. ## Related pages * See [Platform audit logs](/audit-logs/platform) to capture administration above the organization boundary. * See [Organization agent logs](/audit-logs/agents) to export telemetry for agent runs. * See [MCP access logs](/audit-logs/mcp-access) to review external MCP clients acting as your users. * See [Architecture](/security/architecture) for the platform, agent, approval, and telemetry boundaries around audit events. * See [Security](/self-hosting/security) for deployment hardening guidance. # Platform audit logs Source: https://docs.tracecat.com/audit-logs/platform Stream platform administrator actions to an HTTPS webhook and separate them from organization audit events. Enterprise Edition Platform audit logs record what platform administrators do above the organization boundary. They cover changes that no organization audit stream can see, such as a new organization, a promoted superuser, or a rewritten platform setting. You must be a platform superuser to configure the endpoint. These events go to their own sink, separate from every organization webhook, and organization administrators cannot read, change, or receive them. ## Configure audit logs **1. Open platform administration** Open **Admin**, then select **Audit Logs** under **Platform**. **2. Connect the endpoint** Click **Connect** and enter the HTTPS URL that accepts your audit events. **3. Configure the request** Set the request options your collector needs, then click **Save changes**. Events can continue to reach the old endpoint for up to 30 seconds after an endpoint change while cached settings expire. ## Request options | Option | Behavior | | - | - | | Audit webhook URL | Receives each event as a JSON `POST` request. | | Custom headers | Adds static headers to every request. Header names are case-insensitive. | | Custom payload | Merges a JSON object into every event. Custom keys replace matching default keys. | | Payload attribute | Wraps the complete payload under the configured key. | | Verify SSL certificate | Verifies the endpoint certificate. Disable this only for a trusted endpoint that uses a private or self-signed certificate. | Tracecat encrypts the webhook URL, custom headers, and custom payload at rest. Use the payload attribute when your collector expects the event under a specific key. Splunk HTTP Event Collector is the common case: it requires each event wrapped in an `event` field. Set the payload attribute to `event`, and Tracecat wraps the whole payload: ```json theme={null} { "event": { "actor_label": "avery@example.com", "resource_type": "workflow", "action": "update", "status": "SUCCESS", "created_at": "2026-01-15T14:03:12.123456Z" } } ``` ## Logged events | Resource type | Action | Description | | - | - | - | | `auth` | `sign_in` | A user signed in. | | `organization` | `create` | An organization was provisioned. | | `organization` | `delete` | An organization was deleted. | | `organization` | `update` | An organization was reconfigured. | | `organization_domain` | `create` | A domain was assigned to an organization. | | `organization_domain` | `delete` | A domain was removed from an organization. | | `organization_domain` | `update` | An organization domain was updated. | | `organization_invitation` | `create` | An organization invitation was sent from platform administration. | | `organization_invitation` | `revoke` | An organization invitation was revoked from platform administration. | | `organization_tier` | `update` | An organization's tier assignment or per-organization overrides changed. | | `platform_registry` | `sync` | Every platform registry repository was synchronized. | | `platform_registry_repository` | `sync` | One platform registry repository was synchronized. | | `platform_registry_version` | `delete` | A non-current platform registry version was deleted. | | `platform_registry_version` | `promote` | A platform registry version became the current version for its repository. | | `platform_setting` | `update` | A platform-wide setting changed, including this audit sink. | | `tier` | `create` | A tier definition was created. | | `tier` | `delete` | A tier definition was deleted. | | `tier` | `update` | A tier definition changed, altering limits for every organization on it. | | `user` | `create` | A platform user account was created. | | `user` | `delete` | A platform user account was deleted. | | `user` | `demote` | Superuser access was withdrawn from a user. | | `user` | `promote` | A user was granted superuser access. | An organization-scoped sign-in emits `auth` `sign_in` to this sink and to that organization's sink. A superuser login that carries no organization context reaches this sink only. ## Event payload A platform event uses the same schema as an organization event, with platform-scope identifiers left null. ```json theme={null} { "organization_id": null, "workspace_id": null, "actor_type": "USER", "actor_id": "00000000-0000-4000-8000-000000000003", "actor_label": "admin@example.com", "ip_address": "192.0.2.10", "user_agent": "Mozilla/5.0", "resource_type": "platform_setting", "resource_id": null, "action": "update", "status": "SUCCESS", "data": null, "created_at": "2026-01-15T14:03:12.123456Z" } ``` For platform settings updates, `data` is `null`, so the event tells you who made the change and whether it succeeded, but not which setting changed. | Field | Description | | - | - | | `organization_id` | Organization scope. `null` on platform events, except the platform copy of an organization-scoped `auth` `sign_in`, which carries the organization's ID. | | `workspace_id` | Workspace that owns the affected resource, when applicable. | | `actor_type` | `USER` or `SERVICE_ACCOUNT`. | | `actor_id` | Stable ID of the user or service account that performed the action. | | `actor_label` | User email or service-account name, when available. | | `ip_address` | Source IP address, when available. | | `user_agent` | Bounded client user-agent string, when available. | | `resource_type` | Type of resource affected by the action. | | `resource_id` | Stable ID of the affected resource, when available. | | `action` | Operation performed on the resource. | | `status` | `ATTEMPT`, `SUCCESS`, or `FAILURE`. | | `data` | Privacy-bounded operational metadata, when available. | | `created_at` | UTC event timestamp. | Platform events normally carry `null` `organization_id` and `workspace_id` because Tracecat emits them with a platform role. Organization-scoped sign-in is the exception: its `auth` `sign_in` event reaches both sinks, and the platform copy carries the organization's ID. Do not filter strictly on null scope to separate platform administration from tenant activity — that drops those sign-in events. Tag each stream with a custom payload instead when both reach the same index. ## Delivery behavior Tracecat posts each event as a JSON `POST` request and does not block the audited action on the result. * Delivery runs in the background, so a failing or slow collector does not prevent the audited change from completing. * Each request times out after 10 seconds. * Tracecat makes up to three delivery attempts per event — the initial request plus two retries with exponential backoff — on `429`, `500`, `502`, `503`, `504`, and transport errors. Other `4xx` responses are terminal. * A retry after a lost response can deliver a duplicate. Events carry no event ID and a retried event is byte-identical, so deduplicate on the full event body if you need exact counts. * Under sustained backpressure Tracecat sheds events rather than buffering without bound. Delivery is best-effort, so do not treat the stream as a guaranteed-complete ledger. ## Related pages * See [Organization audit logs](/audit-logs/organization) to stream user and service-account activity inside an organization. * See [Architecture](/security/architecture) for the boundaries that platform audit events record. * See [Self-hosted security](/self-hosting/security) for deployment hardening guidance. # Basic Source: https://docs.tracecat.com/authentication/basic Authenticate into self-hosted Tracecat with basic email-and-password sign-in: configure user accounts, password policies, and admin bootstrap for small deployments. > [!WARNING] > > In production, use OIDC or SAML SSO. Basic auth is meant for local development only. ## Overview Basic auth lets you sign in to Tracecat with an email and password. ![Tracecat sign-in](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/self-hosting/sign-in.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=2516cde2176447c7856893cd24cc7f2d) ## Configuration In your `.env` file, enable the basic auth type: ```bash theme={null} TRACECAT__AUTH_TYPES=basic ``` You can also combine auth types if you need to: ```bash theme={null} TRACECAT__AUTH_TYPES=basic,oidc ``` ## First login Set the first superadmin's email before anyone signs in. Until it is set, nobody can register, and the first account must match it. It takes one case-sensitive email address, so use the exact casing your identity provider sends. | Deployment | Setting | | :- | :- | | Docker Compose | `TRACECAT__AUTH_SUPERADMIN_EMAIL` in `.env` | | AWS ECS Fargate | `TF_VAR_auth_superadmin_email`, or `auth_superadmin_email` in your `.tfvars` | | Kubernetes | `tracecat.auth.superadminEmail` in `values.yaml` | * Basic auth: sign up with that email, then log in. * SSO: log in through your identity provider. Tracecat creates the account on first login. The account becomes superadmin and owner of the default organization. ## Minimum password length When you use basic auth, your password must be at least `TRACECAT__AUTH_MIN_PASSWORD_LENGTH` characters long. The default minimum is `12`. ## Change password Password changes go through the API with the session cookie. Sign in with `POST /auth/login`, then send the new password to `PATCH /users/me`: ```bash theme={null} curl https:///api/auth/login \ --request POST \ --cookie-jar cookies.txt \ --data-urlencode "username=user@example.com" \ --data-urlencode "password=" curl https:///api/users/me \ --request PATCH \ --cookie cookies.txt \ --header "Content-Type: application/json" \ --data '{"password": ""}' ``` Wrong credentials fail at login with `400` and `LOGIN_BAD_CREDENTIALS`. A password shorter than `TRACECAT__AUTH_MIN_PASSWORD_LENGTH` fails with `400` and the code `UPDATE_USER_INVALID_PASSWORD`. A superadmin resets another account's password with the same body at `PATCH /users/{user_id}`, and a non-superadmin session gets `403`. Accounts created by OIDC or SAML sign-in hold a generated password and authenticate at the identity provider, so reset those there. ## Related pages * See [User management](/manage-platform/users) for registration, invitations, and organization membership. # Multi-factor authentication Source: https://docs.tracecat.com/authentication/mfa Register hardware security keys or passkeys for sign-in, and require them for every member of an organization. ## Overview Tracecat supports FIDO2 security keys and passkeys as a second factor at sign-in. Any WebAuthn authenticator that verifies the user with a PIN or biometric works, including: * Hardware keys such as the YubiKey 5 and Security Key series. * Passkeys saved in Chrome and Google Password Manager, 1Password, iCloud Keychain, or Windows Hello. Tracecat rejects older U2F-only keys that cannot verify a PIN or biometric. Once you register a key, Tracecat asks for it at every sign-in. This applies to password, OIDC, and SAML sign-in alike. Service account API keys are not affected. Until you register your first key, your password or SSO sign-in is the only factor on your account, and anyone who signs in as you can register that first key. Register yours as soon as your organization requires one. ## Requirements Browsers only offer security keys on HTTPS or `localhost`. Tracecat takes the relying party ID and origin from `TRACECAT__PUBLIC_APP_URL`, and keys stay bound to that host. If you change the domain, every user has to register their keys again. On a deployment served over plain HTTP or from an IP address, the MFA settings stay disabled and show the reason. ## Register a security key Open Settings, select Security, enter a name for the key, and select `Add security key`. Then follow your browser's prompt to tap your key or confirm a passkey. ![Security keys and passkeys in Settings](https://mintcdn.com/tracecat/ChGmSQwb0MqnQWMK/img/authentication/mfa-settings-security.png?fit=max\&auto=format\&n=ChGmSQwb0MqnQWMK\&q=85\&s=fc13a0e0f28146dd20ea43c2bf35fffa) When you register your first key, Tracecat shows 10 recovery codes once. Store them somewhere safe: each code signs you in once if you lose your key. Select `Generate new recovery codes` to replace the whole set. ![Recovery codes shown after registering a key](https://mintcdn.com/tracecat/ChGmSQwb0MqnQWMK/img/authentication/mfa-recovery-codes.png?fit=max\&auto=format\&n=ChGmSQwb0MqnQWMK\&q=85\&s=c9771fd2b8be14768803480cc1ece76b) You can register several keys and remove any of them from the list. Tracecat blocks removing your last key while your organization requires one. ## Sign in with a security key After your password or SSO sign-in, Tracecat opens `/mfa` and asks for your key. Until you verify, the session can only reach the MFA screen and sign-out. ![Security key prompt at sign-in](https://mintcdn.com/tracecat/ChGmSQwb0MqnQWMK/img/authentication/mfa-challenge.png?fit=max\&auto=format\&n=ChGmSQwb0MqnQWMK\&q=85\&s=f6da3a4f88645631e9ba7fa110c592e4) If you've lost your key, select `Use a recovery code` and enter one of your saved codes. ## Require MFA for an organization An organization administrator with `org:settings:update` can turn on `Require security key` under Multi-factor authentication at `/organization/settings/security`. You must have registered a key yourself before you can turn it on. ![Require security key for an organization](https://mintcdn.com/tracecat/ChGmSQwb0MqnQWMK/img/authentication/mfa-org-policy.png?fit=max\&auto=format\&n=ChGmSQwb0MqnQWMK\&q=85\&s=7673170aaca5053b8c24de33d91eb227) Members without a key must register one at their next sign-in before they can continue. Members who already have a key get the security key prompt instead. Existing sessions that haven't verified with a key are stopped at the MFA screen on their next request. Policy changes reach every API replica within 30 seconds. ![Required key registration at sign-in](https://mintcdn.com/tracecat/ChGmSQwb0MqnQWMK/img/authentication/mfa-enroll.png?fit=max\&auto=format\&n=ChGmSQwb0MqnQWMK\&q=85\&s=8721afc8a2ef344f08f6abfc6fed2f1e) The check runs at sign-in. If any of your organizations requires MFA, you verify with your key when you sign in, whichever organization you open afterwards. ## Related pages * See [IP allowlist](/manage-platform/ip-allowlist) to restrict sign-in and admin access to approved addresses. * See [SAML](/authentication/saml) and [OIDC](/authentication/oidc) to configure single sign-on alongside security keys. # OIDC Source: https://docs.tracecat.com/authentication/oidc Authenticate into Tracecat using OpenID Connect: register an OIDC client with your IdP, map claims, and enable SSO sign-in across the platform. ## Configuration In your `.env` file, enable the OIDC auth type. ```bash theme={null} TRACECAT__AUTH_TYPES=oidc ``` ## Required environment variables Set the following variables for your provider: * `TRACECAT__PUBLIC_APP_URL` * `OIDC_ISSUER` * `OIDC_CLIENT_ID` and `OIDC_CLIENT_SECRET`, or `OIDC_CREDENTIALS__ARN` to read both from one AWS Secrets Manager JSON secret (`{"clientId": "...", "clientSecret": "..."}`) * `OIDC_SCOPES` (optional, defaults to `openid profile email`) ## Instructions **1. Create an OIDC application with your identity provider** Register Tracecat as an application with your provider and allow the standard OpenID Connect scopes needed for sign-in. **2. Configure the redirect URI** Set the provider redirect URI to `/auth/oauth/callback`. For the local Docker Compose deployment, use `http://localhost/auth/oauth/callback`. **3. Configure environment variables in Tracecat** Add the public Tracecat URL, issuer URL, and client credentials to your `.env` file. Tracecat generates OAuth callback URLs from `TRACECAT__PUBLIC_APP_URL`, so this must match the external URL users visit. Example: ```bash theme={null} TRACECAT__PUBLIC_APP_URL=https://tracecat.example.com OIDC_ISSUER=https://issuer.example.com OIDC_CLIENT_ID=tracecat OIDC_CLIENT_SECRET=replace-me OIDC_SCOPES="openid profile email" ``` **4. Restart Tracecat** Restart the application so the new auth configuration is loaded. # SAML SSO Source: https://docs.tracecat.com/authentication/saml Authenticate into Tracecat with SAML SSO: configure your identity provider, map attributes, and enable single sign-on for organization-wide access. ## Supported identity providers * [Okta](#okta) * [Microsoft Entra ID](#microsoft-entra-id) * [Authentik](#authentik) * [Keycloak](#keycloak) ## Configuration In your `.env` file, make sure you have the following values set. ```bash theme={null} TRACECAT__AUTH_TYPES=saml SAML_IDP_METADATA_URL=https:// ``` ## Access policy After SAML authentication succeeds, Tracecat allows organization access when at least one of the following is true: * The user already has membership in the organization. * The user has a pending invitation for the organization. * The user is the first-user superadmin bootstrap account in the default organization. * The user is a platform superadmin (owner). Tracecat only auto-provisions SAML user accounts for: * Pending organization invitations. * First-user superadmin bootstrap (default organization only). If this is a new deployment, make sure `TRACECAT__AUTH_SUPERADMIN_EMAIL` exactly matches the email claim sent by your IdP for the owner account. ## Instructions Tracecat always requires signed assertions and signed responses. > [!NOTE] > > If you are using a self-signed certificate for your metadata URL, configure > a base64-encoded CA certificates `.pem` bundle with `SAML_CA_CERTS` in your > deployment environment. ### Okta **1. Create an SAML app** Go to **Applications** and select **Add Application**. Select **SAML 2.0** and click on **Create**. **2. Configure SAML settings** * Set the **Single sign-on URL**, **Recipient URL**, and **Destination URL** to `https:///auth/saml/acs`. * Set the **Audience Restriction** (SP Entity ID) to `https:///api`. ![Okta SAML](https://mintcdn.com/tracecat/vTdddiMgoOrN3Sue/img/self-hosting/okta-saml.png?fit=max\&auto=format\&n=vTdddiMgoOrN3Sue\&q=85\&s=9667ef6ad6abb244aa336c611d9b5e65) **3. Configure attribute statements** Map `email` to `user.email` ![Okta attribute statements](https://mintcdn.com/tracecat/vTdddiMgoOrN3Sue/img/self-hosting/okta-saml-attributes.png?fit=max\&auto=format\&n=vTdddiMgoOrN3Sue\&q=85\&s=35c88d86352d1ccd7ccc40526bdca31a) **4. Configure SAML settings in environment variables** Set the following environment variables in your `.env` file: * `SAML_IDP_METADATA_URL`: Okta metadata URL **5. Restart Tracecat instance** Restart Tracecat to apply the changes. **6. Test SSO configuration** Navigate to your Tracecat instance and click on the **Login** button. You should be redirected to Okta for authentication. ### Microsoft Entra ID > [!NOTE] > > You must enable **Sign SAML response and assertion** in your Microsoft SAML app settings. > Microsoft SAML apps only sign assertions by default. **1. Create an SAML app** Go to **Enterprise applications** and select the **New application** button. Find and select the **Microsoft Entra SAML toolkit** app. **2. Configure SAML settings** * Set the **Reply URL** and **Sign on URL** to `https:///auth/saml/acs`. * Set **Identifier** to `https:///api`. * Set **Relay State** to `https://`. * Make sure that **Sign SAML response and assertion** is enabled. ![Microsoft Entra SAML](https://mintcdn.com/tracecat/vTdddiMgoOrN3Sue/img/self-hosting/entra-saml.png?fit=max\&auto=format\&n=vTdddiMgoOrN3Sue\&q=85\&s=d5c4213ba0a4c91ec11ce428cc98535b) **3. Configure attribute and claims** Map `email` to `user.mail` ### Authentik **1. Create a provider** Go to **Providers** and select the **Create** button. Choose **SAML Provider** and select the **Next** button. **2. Configure the provider** * Enter a name and choose an authorization flow * Set the **ACS URL** to `https:///auth/saml/acs`. * Set the **Audience** to `https:///api`. ![Authentik Provider](https://mintcdn.com/tracecat/vTdddiMgoOrN3Sue/img/self-hosting/authentik-provider.png?fit=max\&auto=format\&n=vTdddiMgoOrN3Sue\&q=85\&s=1d01bac9cf650c99d67be2d0f793065b) **3. Configure assertion signing** * Expand the **Advanced protocol settings** section. * Select a **Signing Certificate** and ensure **Sign assertions** is enabled. ![Authentik Provider](https://mintcdn.com/tracecat/9gCSDwoRbHfkqlkK/img/self-hosting/authentik-assertion-signing.png?fit=max\&auto=format\&n=9gCSDwoRbHfkqlkK\&q=85\&s=1d86ab96569cc412689f86409206588d) **4. Configure property mapping** * Select **authentik default SAML Mapping: Name** in **Selected User Property Mappings**. * Click the **\<** button to deselect it. * Select the **Finish** button. ![Authentik Provider](https://mintcdn.com/tracecat/vTdddiMgoOrN3Sue/img/self-hosting/authentik-property-mapping.png?fit=max\&auto=format\&n=vTdddiMgoOrN3Sue\&q=85\&s=4762256b866529006e891aba033e1918) **5. Create an application** Go to **Applications** and select the **Create** button. Fill in the details as desired. **6. Find metadata URL** * Select the provider you created previously. * Select the **Metadata** tab. * Select the **Copy download URL** button. **7. Configure SAML settings in environment variables** Set the following environment variables in your `.env` file: * `SAML_IDP_METADATA_URL`: Metadata download URL **8. Restart Tracecat instance** Restart Tracecat to apply the changes. **9. Test SSO configuration** Navigate to your Tracecat instance and click on the **Login** button. You should be redirected to Authentik for authentication. ### Keycloak **1. Create a client** * Go to **Clients** and select the **Create client** button. * Set the **Client type** to **SAML**. * Set the **Client ID** to `https:///api` and select the **Next** button. ![Keycloak Client General Settings](https://mintcdn.com/tracecat/vHU_t4NrvCQ5KMzw/img/self-hosting/keycloak-client-general.png?fit=max\&auto=format\&n=vHU_t4NrvCQ5KMzw\&q=85\&s=657276440a8fd8749cfe2a7e743d73e5) **2. Configure a client** * Set the **Valid redirect URIs** to `https:///auth/saml/acs`. * Set the **Master SAML Processing URL** to `https:///auth/saml/acs` and select the **Save** button. ![Keycloak Client Login Settings](https://mintcdn.com/tracecat/vHU_t4NrvCQ5KMzw/img/self-hosting/keycloak-client-login.png?fit=max\&auto=format\&n=vHU_t4NrvCQ5KMzw\&q=85\&s=c88ce9f3cfb152ca120ed18ff97c8177) **3. Configure document signing** * In **Settings** tab scroll down to **Signature and Encryption** section. * Ensure **Sign documents** is enabled. ![Keycloak Document Signing](https://mintcdn.com/tracecat/vHU_t4NrvCQ5KMzw/img/self-hosting/keycloak-document-signing.png?fit=max\&auto=format\&n=vHU_t4NrvCQ5KMzw\&q=85\&s=ecca3514de6fe3097767f5d6f43e19a5) **4. Disable client signing** * Open **Keys** tab and look into **Signing keys config** section. * Ensure **Client signature required** is disabled. ![Keycloak Client Signing](https://mintcdn.com/tracecat/vHU_t4NrvCQ5KMzw/img/self-hosting/keycloak-client-signing.png?fit=max\&auto=format\&n=vHU_t4NrvCQ5KMzw\&q=85\&s=77ee47dcc09b0f9e9c0130753a816d8d) **5. Configure property mapping** * Open **Client scopes** tab and click on client scope `https:///api-dedicated`. * Create new **User Property** mapper for **email** attribute and click **Save**. ![Keycloak Property Mapping](https://mintcdn.com/tracecat/vHU_t4NrvCQ5KMzw/img/self-hosting/keycloak-email-mapper.png?fit=max\&auto=format\&n=vHU_t4NrvCQ5KMzw\&q=85\&s=9cf3d6bbdc91b67227211a1cb3b032e1) **6. Find metadata URL** * Go to **Realm Settings** ➤ **General** ➤ **Endpoints**. * Copy the **SAML 2.0 Identity Provider Metadata** link. ![Keycloak Property Mapping](https://mintcdn.com/tracecat/vHU_t4NrvCQ5KMzw/img/self-hosting/keycloak-metadata-url.png?fit=max\&auto=format\&n=vHU_t4NrvCQ5KMzw\&q=85\&s=91854f7adc11824c6660ea0f3b96cd7d) **7. Configure SAML settings in environment variables** Set the following environment variables in your `.env` file: * `SAML_IDP_METADATA_URL`: Metadata download URL **8. Restart Tracecat instance** Restart Tracecat to apply the changes. **9. Test SSO configuration** Navigate to your Tracecat instance and click on the **Login** button. You should be redirected to Keycloak for authentication. ## Environment variables For standard self-hosted SAML setup, provide your IdP metadata URL in the deployment environment. ### Protocol configuration * `SAML_ALLOW_UNSOLICITED`: Whether to allow unsolicited SAML responses (default: `false`) * `SAML_ACCEPTED_TIME_DIFF`: Time difference in seconds for SAML authentication (default: `3`) Tracecat always requires signed assertions and signed responses. These checks are not configurable. ### SSL transport configuration * `SAML_VERIFY_SSL_ENTITY`: Whether to verify SSL certificates for general SAML entity operations (default: `true`) * `SAML_VERIFY_SSL_METADATA`: Whether to verify SSL certificates when fetching metadata (default: `true`) * `SAML_CA_CERTS`: Base64 encoded CA certificates for SSL/TLS transport layer validation # SCIM provisioning Source: https://docs.tracecat.com/authentication/scim Provision users and groups from Okta, Microsoft Entra ID, or any SCIM 2.0 identity provider, and map synced groups onto Tracecat groups. Enterprise Edition ## Overview SCIM lets your identity provider (IdP) create, update, and remove Tracecat users and sync group membership. You manage it in Organization settings > SCIM. SCIM provisioning requires the access control add-on and the `org:scim:manage` scope. Organization owners and admins hold this scope by default. Only organization owners can generate or rotate the SCIM token, which requires the owner-only `org:scim:token` scope. ## How provisioning works 1. You generate a SCIM token in Tracecat and paste it, with the SCIM base URL, into your IdP. 2. Your IdP pushes users and groups. The connection stays pending; these pushes grant no new access until activation. 3. You map IdP groups onto Tracecat groups. While the connection is pending, mappings are drafts. 4. You review and activate. Tracecat admits active pushed users, revokes their pending invitations, removes inactive pushed users from the organization, and applies the draft mappings. After activation, Tracecat applies IdP changes as they arrive. Mapping changes stay drafts until you review and apply them together. ## Connect your identity provider In Organization settings > SCIM, select `Generate token`. The `Copy SCIM credentials` dialog shows two values: * `SCIM base URL`: `https:///api/scim/v2` * `Bearer token`: shown once. Copy it before you close the dialog. Your IdP sends the token as `Authorization: Bearer ` on every request. If your organization enforces an [IP allowlist](/manage-platform/ip-allowlist), add your IdP's egress addresses to it; Tracecat rejects SCIM requests from other addresses with `403`. ![Copy SCIM credentials dialog with the bearer token hidden](https://mintcdn.com/tracecat/DSYguDWOjFQ_o3PG/img/authentication/scim/credentials.png?fit=max\&auto=format\&n=DSYguDWOjFQ_o3PG\&q=85\&s=8b505e387b2e9f97cdfb25cc74eae893) ### Okta Okta adds SCIM provisioning to an existing app integration. Create a SAML app for Tracecat first, as described in [SAML SSO](/authentication/saml#okta). **1. Enable SCIM on the app** Open the Tracecat app, go to the **General** tab, and select **Edit** under **App Settings**. Set **Provisioning** to **SCIM** and select **Save**. **2. Configure the connector** Go to the **Provisioning** tab and select **Edit** under **Settings > Integration**. * Set **SCIM connector base URL** to your SCIM base URL. * Set **Unique identifier field for users** to `userName`. * Select **Push New Users**, **Push Profile Updates**, and **Push Groups**. * Set **Authentication Mode** to **HTTP Header** and paste the bearer token into **Authorization**. **3. Test and save** Select **Test Connector Configuration**, then **Save**. **4. Enable provisioning to Tracecat** Under **Settings > To App**, select **Edit** and enable **Create Users**, **Update User Attributes**, and **Deactivate Users**. **5. Assign users and push groups** Assign users or groups on the **Assignments** tab. On the **Push Groups** tab, push the groups you want to map in Tracecat. ### Microsoft Entra ID **1. Create an enterprise application** In the Microsoft Entra admin center, go to **Entra ID > Enterprise apps**. Select **New application > Create your own application**, choose **Integrate any other application you don't find in the gallery**, and select **Add**. **2. Configure provisioning** Select **Provisioning** and create a new configuration. * Set **Tenant URL** to your SCIM base URL. * Paste the bearer token into **Secret Token**. **3. Test the connection** Select **Test Connection**, then save the configuration. **4. Check the user attribute mapping** Under **Attribute mapping**, open the user mapping. Tracecat uses `userName` as the login email. If your user principal names differ from email addresses, map `userName` to `mail`. **5. Assign users and groups** On the **Users and groups** tab, assign the users and groups to provision. **6. Start provisioning** Go to **Overview** and select **Start provisioning**. Entra ID syncs on a fixed cycle, so pushed users and groups can take up to 40 minutes to appear. ### Other providers Any IdP that speaks SCIM 2.0 with bearer token authentication works. Configure it with: * Base URL: your SCIM base URL. * Authentication: HTTP header, `Authorization: Bearer `. * User identifier: `userName`, set to the user's email address. * Resources: `Users` and `Groups`. Tracecat supports `GET`, `POST`, `PUT`, `PATCH`, and `DELETE` on both resources, `userName eq` filters on users, and `displayName eq` filters on groups. ## Map groups Create your target groups and assign their roles in [Custom roles and groups](/manage-platform/custom-roles) first. The `Group mappings` table lists pushed IdP groups, with an arrow pointing to each group's Tracecat targets. The Connection card shows the directory's user, inactive-user, and group counts. 1. Find your IdP group in the table. Use `Load more groups` when available; `Search groups` filters the groups already loaded. 2. Open the dropdown in the `Tracecat groups` column and select one or more target groups. Each selected target appears by name, in alphabetical order. Select a checked group again to remove that mapping. 3. Check the draft count below the table. Select `Discard drafts` to undo your changes. You can map several IdP groups to the same Tracecat group. Their memberships combine. An unmapped IdP group grants no group access. ![Pending SCIM connection with three draft mappings and one unmapped IdP group](https://mintcdn.com/tracecat/DSYguDWOjFQ_o3PG/img/authentication/scim/draft-mappings.png?fit=max\&auto=format\&n=DSYguDWOjFQ_o3PG\&q=85\&s=cc90a6da4fa6af10263cff4344fa020a) Drafts remain on the current page until you apply or discard them. Reloading or leaving the page discards unapplied changes. When a mapping applies, your IdP takes over membership of the Tracecat group: * Manual members who are also in the IdP group keep access through the IdP group. * Manual members who are not in the IdP group lose access through that Tracecat group. * Access from other roles and groups is unchanged. The review dialog groups changes by outcome. Everyone who loses access is listed first, then people joining the organization, then each Tracecat group with its added and removed member counts. Lists show the first 10 people; select `Show all` to load everyone. Removing the last mapping for a Tracecat group keeps its current members as manual members. Removing one of several mappings removes only the members that mapping supplied. ## Review and activate While the status is `Pending`, select `Review and activate` at the bottom of the page. 1. Check `Lose access` for inactive users who will leave the organization and members who will lose a Tracecat group. 2. Expand `Join the organization` to see the active users activation admits. 3. Review `Group access` for each Tracecat group's added and removed member counts. 4. Select `Activate for N users` to apply the directory and mappings together. > [!WARNING] > > Activation removes existing organization members that your IdP pushed as inactive, including their direct roles and manual group memberships in this organization. ![SCIM activation review showing organization removals and combined group membership changes](https://mintcdn.com/tracecat/DSYguDWOjFQ_o3PG/img/authentication/scim/activation-review.png?fit=max\&auto=format\&n=DSYguDWOjFQ_o3PG\&q=85\&s=164e2f782279cdfd77760f34fd6e909d) The status changes to `Active`. Subsequent IdP pushes apply as they arrive. ![Active SCIM connection with applied group mappings](https://mintcdn.com/tracecat/DSYguDWOjFQ_o3PG/img/authentication/scim/active.png?fit=max\&auto=format\&n=DSYguDWOjFQ_o3PG\&q=85\&s=bba5ea6aa2f1b8474c338e2221931794) ## Change active mappings Use the same group dropdowns to add or remove mappings. Changes stay as drafts until you select `Review changes` below the table. Check who loses access and each Tracecat group's added and removed member counts, then select `Apply N changes`. Select `Cancel` to return to your drafts. ![Review of active mapping changes showing access removal and conversion to manual membership](https://mintcdn.com/tracecat/DSYguDWOjFQ_o3PG/img/authentication/scim/mapping-review.png?fit=max\&auto=format\&n=DSYguDWOjFQ_o3PG\&q=85\&s=a2a853e0f51d508a5fcdf59be4337120) ## Deprovisioning When your IdP deactivates a user, sets `active` to `false`, or deletes the user, Tracecat removes that user from this organization. The user keeps any membership in other organizations. ## Manage the connection Open the three-dot `Connection actions` menu in the Connection card. * Rotate token: issues a new token. Only organization owners can rotate it. The current token stops working immediately, so provisioning fails until you paste the new token into your IdP. * Disconnect: revokes the token, removes every group mapping, deletes the SCIM records for the users and groups your IdP pushed, and marks the connection disconnected. Members of mapped groups stay as manual members, and pushed users stay in the organization. To reconnect, generate a new token, push users and groups from your IdP again, then review and activate. ## Limitations * Changing `userName` renames the user's Tracecat sign-in email in every organization. The new address must be at a domain this organization owns and unused by another account, and any primary `emails` value must equal `userName`. * Tracecat rejects provisioning or renaming a platform superuser with `403`. Leave superusers out of your IdP's SCIM assignment; they keep signing in without SCIM. * Bulk operations, sorting, ETags, and password changes are not supported. * Each organization has one SCIM connection. ## Related pages * See [SAML SSO](/authentication/saml) to set up sign-in for the users you provision. * See [Custom roles and groups](/manage-platform/custom-roles) to create the Tracecat groups you map IdP groups onto. # Actions Source: https://docs.tracecat.com/automations/actions Learn how Tracecat actions work and how to configure them: action names and types, the action toolbar, success and error paths, and control flow. You can view all available actions in the `/actions` page. ![Actions page](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/automations/actions/actions-table.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=6596fd1862c9f9f3c137ae0a9074790d) ## Core actions Core actions are Tracecat's built-in primitives for requests, transforms, workflow control, cases, and tables. Each third-party integration under `tools.*` is a YAML template built from these core action steps, or a Python UDF. See [Core actions](/automations/core-actions/request-actions/http) for every core action and its inputs, and the [integrations overview](/integrations/overview) for the full catalog. * Requests: [HTTP](/automations/core-actions/request-actions/http), [SQL](/automations/core-actions/request-actions/sql), [SSH](/automations/core-actions/request-actions/ssh), [gRPC](/automations/core-actions/request-actions/grpc), [Email](/automations/core-actions/request-actions/email) * Transforms: [Reshape](/automations/core-actions/transform-actions/reshape), [Python script](/automations/core-actions/transform-actions/python-script), [Data transforms](/automations/core-actions/transform-actions/data-transforms), [Require](/automations/core-actions/transform-actions/require) * Workflow: [Run subflow](/automations/core-actions/workflow-actions/run-subflow), [Scatter-gather loops](/automations/core-actions/workflow-actions/scatter-gather-loops), [While loops](/automations/core-actions/workflow-actions/while-loops) * Agent: [AI agent](/agents/ai-agent), [AI action](/agents/ai-action) * Cases: [Cases](/automations/core-actions/case-actions/cases), [Comments](/automations/core-actions/case-actions/comments), [Attachments](/automations/core-actions/case-actions/attachments), [Tasks](/automations/core-actions/case-actions/tasks), [Linked rows](/automations/core-actions/case-actions/linked-rows) * Tables: [Tables](/automations/core-actions/memory-actions/tables), [Columns](/automations/core-actions/memory-actions/columns), [Lookups](/automations/core-actions/memory-actions/lookups), [Rows](/automations/core-actions/memory-actions/rows), [Export](/automations/core-actions/memory-actions/export) * Forms: [Forms](/automations/core-actions/form-actions/forms) ## Action names Every Tracecat action has a title, namespace, and name. Actions IDs are defined as `.`. For example, `tools.slack.post_message` uses the `tools.slack` namespace and the `post_message` name. ## Action types Tracecat actions are defined in either Python UDFs (user-defined functions) or YAML templates (domain-specific language for actions). See [Custom actions](/custom-actions/custom-registry) for more details. ## Action toolbar If you're building workflows in the UI, you can quickly find actions by namespace using the actions toolbar: ![Actions toolbar](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/automations/actions/actions-toolbar.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=6f82f78854596fa075932a97fe238742) * `core` for built-in utilities such as HTTP requests, Python scripts, email, and gRPC actions * `ai` for non-agent AI actions * `ai` also powers the separate `Agent` group for actions such as `ai.agent` and `ai.preset_agent` * `core.workflow` for workflow actions, plus scatter and gather helpers * `core.transform` for transform actions * `core.cases` for case actions * `core.table` for table actions * `core.sql` and `core.duckdb` for SQL actions * `tools.*` for installed integrations; this menu also supports search ## Expressions Expressions use `${{ ... }}`. Use these references inside expressions: * `TRIGGER.` * `ACTIONS..result` * `SECRETS..` * `VARS..` * `ENV.` * `var.` * `FN.(...)` See [Expressions](/automations/core-concepts/expressions) for syntax, operators, and literals. See [JSONPath](/automations/core-concepts/jsonpath) for field access and array access. See [Functions](/automations/core-concepts/functions) for the full function list. ## Success and error paths Every action has a success and error path. The success path, which is represented by the green dot, runs when the action succeeds. The error path, which is represented by the red dot, runs when the action fails. ![Success error paths](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/automations/actions/success-error-paths.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=07342910e519e77fc87de43a94eeb9da) ## Control flow You can configure how an action runs from the "Control flow" tab in the action panel. ![Action control flow](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/automations/actions/control-flow.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=258eb177ad400fc6d2ff9463a1b10667) ### Mask output Use `mask_output` to hide an action's result in workflow execution views and execution API responses. Tracecat keeps the object and array shape, but replaces each individual value with `[REDACTED]`. You can still copy JSONPath references from the displayed structure. `mask_output` only affects display; downstream actions can still use the original result with expressions such as `${{ ACTIONS.lookup_user.result.id }}`. ```yaml theme={null} - ref: lookup_user action: core.http_request mask_output: true args: url: "https://api.example.com/users/${{ TRIGGER.user_id }}" method: GET ``` ### Run if Use `run_if` to execute an action only when a condition evaluates to a truthy value. If the condition is falsy, Tracecat skips the action. ```yaml High severity only theme={null} - ref: notify_team action: tools.slack.post_message run_if: ${{ TRIGGER.severity == "high" }} args: channel: ${{ SECRETS.slack.SECURITY_CHANNEL }} text: "High severity alert: ${{ TRIGGER.alert_id }}" ``` ```yaml Status and owner check theme={null} - ref: escalate_case action: core.cases.update_case run_if: ${{ TRIGGER.status == "open" && TRIGGER.owner != None }} args: case_id: ${{ TRIGGER.case_id }} status: in_progress ``` ```yaml Retry on empty result theme={null} - ref: fetch_user action: core.http_request run_if: ${{ ACTIONS.lookup_user.result == None }} args: url: "https://api.example.com/users/${{ TRIGGER.user_id }}" method: GET ``` ### For each Use `for_each` to run the same action once per item in a collection. If `items` contains `N` values, Tracecat runs the action `N` times. Inside the action inputs, reference the current item with `var.`. For example, `for_each: ${{ for var.user in TRIGGER.users }}` runs the action `len(TRIGGER.users)` times, and each run reads the current item from `var.user`. ```yaml Send one email per user theme={null} - ref: email_user action: core.send_email_smtp for_each: ${{ for var.user in TRIGGER.users }} args: sender: no-reply@example.com recipients: - ${{ var.user.email }} subject: "Tracecat notification" body: "Hello ${{ var.user.name }}" ``` ```yaml Fetch one record per alert theme={null} - ref: fetch_alert action: core.http_request for_each: ${{ for var.alert in TRIGGER.alerts }} args: url: "https://api.example.com/alerts/${{ var.alert.id }}" method: GET headers: Authorization: "Bearer ${{ SECRETS.alerts.API_TOKEN }}" ``` ```yaml Create one case comment per finding theme={null} - ref: comment_on_case action: core.cases.create_comment for_each: ${{ for var.finding in ACTIONS.parse_findings.result }} args: case_id: ${{ TRIGGER.case_id }} comment: "Finding: ${{ var.finding.title }}" ``` ### Join strategy `join_strategy` controls how a downstream action waits on multiple upstream branches. Use `all` to wait for every branch, or `any` to continue after the first branch completes. ### Environment Use `environment` to override which secrets or variables environment an action reads from. This is useful to target different secrets or variables for the same pre-built action (e.g. different Slack apps for `tools.slack.post_message`). ### Start delay Use `start_delay` to wait a fixed number of seconds before an action starts. ### Timeout Use `timeout` to cap how long the action's function call may run in each attempt. Defaults to 300 seconds. Tracecat also caps each function call at `TRACECAT__EXECUTOR_CLIENT_TIMEOUT`, which defaults to 300 seconds (see [Environment variables](/self-hosting/environment-variables)). The timeout covers only the function call. Platform work such as resolving secrets, loading the action's registry code, and starting the sandbox doesn't count toward it. An attempt that hits the timeout fails with `Action execution timed out after s` and is retried if `max_attempts` allows it. A template action counts as one action: all its steps, including nested templates, share one timeout, which starts when the template starts running. Time between steps, such as starting each step's sandbox, counts toward it. When the timeout runs out, Tracecat stops the running step, skips the remaining steps, and fails the attempt. The `TRACECAT__EXECUTOR_CLIENT_TIMEOUT` cap applies to each step's function call, not to the template as a whole. For `core.script.run_python`, the shorter of `timeout` and the script's `timeout_seconds` applies. The `TRACECAT__EXECUTOR_CLIENT_TIMEOUT` cap doesn't apply. Each `for_each` iteration gets the full timeout, but all iterations share one attempt that Tracecat caps at the timeout plus 600 seconds. A loop whose iterations run longer than that fails the attempt, and a retry runs every iteration again. For `ai.agent`, `ai.action`, and `ai.preset_agent`, `timeout` caps the agent's active runtime in seconds. Unset means 7200 seconds (2 hours). Chat turns use this default. Tracecat clamps an explicit value between 1800 seconds and `TRACECAT__AGENT_SANDBOX_TIMEOUT`, which defaults to 10800 seconds (see [Environment variables](/self-hosting/environment-variables)). Tracecat stores the clamped value instead of rejecting the action. A lower ceiling caps both the default and the minimum. A pause for a tool approval does not count toward the timeout, and the resumed run gets the full timeout again. ```yaml theme={null} - ref: investigate_alert action: ai.agent retry_policy: timeout: 2700 args: model: model_name: gpt-4.1 model_provider: openai user_prompt: | Investigate this alert: ${{ TRIGGER.alert }} ``` A run that reaches the timeout fails with `Agent execution timed out after 2700s`. The workflow-level `timeout` still bounds the whole run, including approval waits. ### Max attempts Use `max_attempts` to control how many times Tracecat retries the action if it fails. Defaults to 1 attempt. ## FAQ > [accordion] Why does my run_if or for_each expression fail validation? > > Most validation errors come from expression shape rather than action behavior: > > * Wrap the whole expression once as `${{ ... }}`. Do not split one condition across multiple expression blocks. > * `run_if` must evaluate to a boolean value such as `${{ TRIGGER.severity == "high" }}`. > * Use comparison operators such as `==` and `!=`. A single `=` is not a valid comparison. > * `for_each` must use the iteration form `${{ for var.item in ... }}` and the value on the right side must be a list. > > ```yaml Valid run_if theme={null} > - ref: notify_team > action: tools.slack.post_message > run_if: ${{ TRIGGER.severity == "high" && TRIGGER.status != "closed" }} > args: > channel: ${{ SECRETS.slack.SECURITY_CHANNEL }} > text: "High-severity alert: ${{ TRIGGER.alert_id }}" > ``` > > ```yaml Valid for_each theme={null} > - ref: create_comment > action: core.cases.create_comment > for_each: ${{ for var.item in TRIGGER.findings }} > args: > case_id: ${{ TRIGGER.case_id }} > comment: "Finding: ${{ var.item.title }}" > ``` # Overview Source: https://docs.tracecat.com/automations/cases Track and resolve Tracecat cases: triage alerts, run agents and workflows on case events, manage tasks and comments, and report on outcomes. Cases give you a shared place to triage, investigate, and resolve work. You can use them to keep status, evidence, comments, and follow-up work together in one record. ## Build cases Shape the case record so every case captures the data your team needs. > [card] [Custom fields](/automations/cases/custom-fields) > > Store ticket IDs, affected hosts, verdicts, and notes on every case. > [card] [Dropdowns](/automations/cases/dropdowns) > > EE > Add colored classifications that become case list filters. > [card] [Closure requirements](/automations/cases/closure-requirements) > > EE > Require fields and dropdowns before a case is closed or resolved. > [card] [Durations](/automations/cases/durations) > > EE > Measure time to triage, time to resolve, and other intervals. ## Resolve cases Work a case to closure with analysts, agents, and workflows. > [card] [Linked rows](/automations/cases/linked-rows) > > Link indicators, assets, and detections from tables. > [card] [Sub-cases](/automations/cases/sub-cases) > > EE > Group related cases under a parent case. > [card] [Case tasks](/automations/cases/tasks) > > EE > Assign follow-up work and start workflows from tasks. > [card] [Agent mentions](/automations/cases/agent-mentions) > > EE > Mention a preset agent in a comment to investigate the case. > [card] [Correlations](/automations/cases/correlations) > > EE > Find other cases that link the same indicator, asset, or detection. > [card] [Workflow triggers](/automations/cases/workflow-triggers) > > EE > Run workflows on case events, from tasks, or with `/` commands. ## Working with cases Use a case when you need a durable investigation record instead of a single workflow run. Your workflows can create or update a case, attach evidence, add comments, and move the case forward as new context arrives. * Track the current owner, severity, priority, and status in one place * Add comments and replies so analysts and workflows share the same timeline * Store evidence as attachments instead of passing large blobs between actions * Link structured rows, tasks, and durations to keep investigation context organized ## Tags Tags help you group and find related cases. You can use them to label incidents by team, detection source, campaign, environment, or any other shared dimension. ![Case tags](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/cases/case-tags.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=c0760fe1cb613446ebf93dc29221bbfa) Tags work well when you want lightweight organization across many cases. You can also set tags from workflows with `core.cases.create_case` and `core.cases.update_case`. ## Case actions Use `core.cases.*` actions when you want your workflows to create or update cases. Case descriptions and comments support Markdown whether you write them in the case UI or pass them to an action. Use the `description` input for case descriptions and the `content` input for comments and replies. You can include standard Markdown formatting, Markdown tables, and Mermaid diagrams. To add a diagram, wrap valid Mermaid syntax in a fenced code block labeled `mermaid`. Each group of case actions has its own reference page: * [Cases](/automations/core-actions/case-actions/cases) to create, fetch, update, search, and delete cases, assign users, apply tags, and read metrics * [Comments](/automations/core-actions/case-actions/comments) to add, reply to, update, and list comments and comment threads * [Attachments](/automations/core-actions/case-actions/attachments) to upload, list, download, and delete case attachments * [Tasks](/automations/core-actions/case-actions/tasks) to create, update, and list case tasks * [Linked rows](/automations/core-actions/case-actions/linked-rows) to link table rows to a case and read them back For example: ````yaml theme={null} - ref: create_case action: core.cases.create_case args: summary: "Investigate alert ${{ TRIGGER.alert_id }}" description: | ## Initial findings | Check | Result | | --- | --- | | Endpoint | Isolated | | Credentials | Reset required | priority: high severity: high tags: - triage - ref: add_triage_note action: core.cases.create_comment args: case_id: ${{ ACTIONS.create_case.result.id }} content: | ```mermaid flowchart LR Alert --> Triage Triage --> Containment ``` ```` ## Trigger agents ### Mention a preset agent Enterprise Type `@` in a comment to have a preset agent investigate the case and reply in the thread. See [Agent mentions](/automations/cases/agent-mentions) to configure access and follow the run. An agent can also call a workflow as a tool. When you need fixed order, deterministic branching, or guaranteed steps, run the workflow from a [workflow trigger](/automations/cases/workflow-triggers) instead. ### Use the in-case copilot Open source Use the copilot inside a case to summarize activity and draft next steps. It draws from the case timeline, linked evidence, and workflow output. ![Case copilot](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/cases/case-copilot.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=a8099c31cdd12b5ed2113b4030a5af25) ### Correlate across cases Enterprise Enterprise extends the copilot beyond a single case. Use it to correlate related cases, compare investigation history, and surface patterns across incidents. * Correlate repeated alerts across multiple cases * Spot shared indicators, assets, or actors * Find similar investigations before you start a new one * Build broader investigation context across your case queue # Mention agents in case comments Source: https://docs.tracecat.com/automations/cases/agent-mentions Invoke a preset agent from a case comment, follow its reply, and inspect the full agent session. Enterprise Edition Mention a preset agent when you want it to investigate a case or respond in a comment thread. Tracecat posts the agent's final answer as a reply and keeps its full run in case chat history. ## Before you start Your workspace role needs: * `agent:read` to find preset agents in autocomplete. * `agent:execute` to invoke the selected agent. * `case:update` to create the comment. Without `agent:read` and `agent:execute`, `@` behaves as regular comment text and never starts an agent run. Without Enterprise, `@` still opens the list, showing an Enterprise notice in place of agent names. ## Mention an agent 1. Open a case and start a new comment or reply. 2. Type `@`, then enter part of the preset agent's name. 3. Select the agent from the autocomplete list. 4. Add your request and submit the comment. ![Select an agent in a case comment](https://mintcdn.com/tracecat/VONATvpiLqt0Nk54/img/cases/agent-mention-composer.png?fit=max\&auto=format\&n=VONATvpiLqt0Nk54\&q=85\&s=cd5f8cc54f397e2d48363f8e41504683) Selecting the autocomplete result creates the mention. Typing an agent name as plain text does not invoke it. Tracecat invokes agents only when you create a comment. Editing an existing comment to add a mention never starts a run; create a new comment instead. ## Follow the response The comment thread shows when each mentioned agent is preparing, running, or unable to finish. Multiple mentions run independently and can finish in any order. ![Agent activity and reply in a comment thread](https://mintcdn.com/tracecat/VONATvpiLqt0Nk54/img/cases/agent-mention-reply.png?fit=max\&auto=format\&n=VONATvpiLqt0Nk54\&q=85\&s=d0f2b8e8947060214b9f3c5412dfe27b) When the run succeeds, Tracecat posts the final answer as an attributed reply in the same thread. If a run fails, mention the agent in a new comment to try again. Agent replies have the same 25,000-character limit as other comments. Tracecat adds `[Agent output truncated]` when a longer response reaches that limit. ## Agent context The agent receives the current case context and the comment thread that contains the mention. The context identifies the mentioning user and asks the agent to write a self-contained reply. Each mention starts a new agent session. Later mentions receive the updated comment thread, but they do not receive another session's private working transcript. ## View the full session Select `View session` from the agent activity or attributed reply to open the exact case chat session. The session contains the full transcript, including tool calls, errors, and approval pauses that do not appear in the comment reply. ![Comment agent session in case chat history](https://mintcdn.com/tracecat/VONATvpiLqt0Nk54/img/cases/agent-mention-session.png?fit=max\&auto=format\&n=VONATvpiLqt0Nk54\&q=85\&s=e8e955639ae71a3ddf51d0047e38b41c) Comment-created sessions have a `From comment` badge in the case chat history. Use the history search to find these sessions after the comment thread is no longer visible. ## Run workflows from an agent A mentioned agent can run workflows configured as tools on its preset. When you need fixed order, deterministic branching, or guaranteed steps, use a `/` command to [run the workflow directly](/automations/triggers/comment-triggers). ## Related pages * See [Case management](/automations/cases) to configure and manage case records. * See [AI agent](/agents/ai-agent) to configure agent tools, outputs, and approvals. * See [Comment triggers](/automations/triggers/comment-triggers) to run a workflow from a case comment instead of invoking a preset agent. # Closure requirements Source: https://docs.tracecat.com/automations/cases/closure-requirements Require custom fields and dropdowns to have values before a case can be closed or resolved. Enterprise Edition Closure requirements make specific custom fields and dropdowns mandatory before a case moves to `Closed` or `Resolved`. Use them to make sure every finished case records outcomes such as a verdict, determination, or root cause. ## Choose required fields 1. Go to `Cases` and open the closure requirements view from the header toolbar. 2. Turn on `Required` for each custom field or dropdown that must have a value. The view lists every custom field and dropdown in the workspace. Changes apply to every case, including open cases. ![Closure requirements](https://mintcdn.com/tracecat/O3EeW3V5Iek0f9qX/img/cases/closure-requirements.png?fit=max\&auto=format\&n=O3EeW3V5Iek0f9qX\&q=85\&s=819f655080b182172d48e2b9c90c71ca) ## Close a case in the UI When you change a case to `Closed` or `Resolved` and a required value is missing, Tracecat opens a `Close case` or `Resolve case` dialog with every required field and dropdown. Values that are already set are prefilled. Fill in the missing values to finish the status change. ![Close case dialog](https://mintcdn.com/tracecat/O3EeW3V5Iek0f9qX/img/cases/case-closure-dialog.png?fit=max\&auto=format\&n=O3EeW3V5Iek0f9qX\&q=85\&s=f9cdbc90d421739b523c962fb0ab7bc1) ## Close a case from a workflow Tracecat checks the same requirements when `core.cases.update_case` sets `status` to `closed` or `resolved`. Pass the required values in the same call: ```yaml theme={null} - ref: close_case action: core.cases.update_case args: case_id: ${{ TRIGGER.case_id }} status: closed fields: verdict: True positive dropdown_values: - definition_ref: determination option_ref: malicious ``` If a value is still missing, the action fails with a `closure_requirements_not_met` error that lists `missing_fields` and `missing_dropdowns` by name. The case keeps its previous status. ## What counts as a value Tracecat treats `null`, whitespace-only text, empty lists, and empty objects as missing. `false` and `0` count as values, so a required `Boolean` or `Integer` field accepts them. Changes to other statuses, such as `On hold`, skip the check. ## Related pages * See [Custom fields](/automations/cases/custom-fields) to create the fields you require. * See [Dropdowns](/automations/cases/dropdowns) to create the dropdowns you require. * See [Cases](/automations/core-actions/case-actions/cases) for the `update_case` inputs. # Correlations Source: https://docs.tracecat.com/automations/cases/correlations Find other cases that link the same indicator, asset, or detection row. Enterprise Edition ## Correlations Correlations show every other case that links the same table row. Use them to spot campaigns, repeat offenders, and shared infrastructure: if two cases link the same IP address row, the cases are related. ![View related cases](https://mintcdn.com/tracecat/O3EeW3V5Iek0f9qX/img/cases/related-cases.gif?s=b94270aa5d68afff35d6f72c5fc45eb0) Correlations build on [linked rows](/automations/cases/linked-rows). Tracecat matches rows by row ID, so link the existing row instead of inserting a duplicate when the same indicator appears in a new case. ## View related cases **1. Open the Tables tab** Open the case and select the Tables tab. **2. Right-click a row** Right-click a linked row and select `View related cases`. **3. Review the cases** The `Related cases` drawer shows the row's data and every other case that links it. The current case is left out. ![Row menu](https://mintcdn.com/tracecat/O3EeW3V5Iek0f9qX/img/cases/related-cases-menu.png?fit=max\&auto=format\&n=O3EeW3V5Iek0f9qX\&q=85\&s=26982cda6a1bf8c0fbe7da9225f92b87) Each related case shows its short ID, summary, priority, severity, tags, and when it was created and updated. Hover a case to preview its status, assignee, tasks, dropdowns, and custom fields. Click a case to keep its preview open. Click `Open case`, or Ctrl-click or Cmd-click the case, to open it in a new tab. If more cases link the row, click `Load more` at the bottom of the list. ![Related cases drawer](https://mintcdn.com/tracecat/O3EeW3V5Iek0f9qX/img/cases/related-cases-drawer.png?fit=max\&auto=format\&n=O3EeW3V5Iek0f9qX\&q=85\&s=28ffaba157f332478532b7a8e281449e) ## Correlate cases in workflows Use `core.cases.list_cases_by_row` to find cases that link a row. Pass `exclude_case_id` to leave out the current case. ```yaml theme={null} - ref: linked_rows action: core.cases.get_linked_case_rows args: case_id: ${{ TRIGGER.case_id }} - ref: related_cases action: core.cases.list_cases_by_row args: table_id: ${{ ACTIONS.linked_rows.result[0].table_id }} row_id: ${{ ACTIONS.linked_rows.result[0].row_id }} exclude_case_id: ${{ TRIGGER.case_id }} ``` Combine it with a [case trigger](/automations/cases/workflow-triggers) on `table_row_linked` to comment on or escalate a case as soon as an analyst or workflow links a row that already appears in other cases. ## Related pages * See [Linked rows](/automations/cases/linked-rows) to link indicators, assets, and detections to a case. * See [Linked row actions](/automations/core-actions/case-actions/linked-rows) for every input of `core.cases.list_cases_by_row`. * See [Workflow triggers](/automations/cases/workflow-triggers) to run workflows when rows are linked or unlinked. # Custom fields Source: https://docs.tracecat.com/automations/cases/custom-fields Store workspace-specific data on every case, such as ticket IDs, affected hosts, verdicts, and analyst notes. Custom fields store case data that does not fit the built-in properties. Every case in the workspace shows the same set of fields under `Fields` in the case side panel, and your workflows read and write them by reference. ![Custom fields on a case](https://mintcdn.com/tracecat/O3EeW3V5Iek0f9qX/img/cases/case-fields-panel.png?fit=max\&auto=format\&n=O3EeW3V5Iek0f9qX\&q=85\&s=687979d0b4790f01b2e50671b3882147) ## Create a field 1. Go to `Cases` and open the custom fields view from the header toolbar. 2. Select `Add field`. 3. Enter a `Name`. Tracecat derives the field reference from the name and shows it under the input, such as `Analyst verdict` → `analyst_verdict`. 4. Choose a `Data type`. 5. For `Select` and `Multi-select`, add the allowed `Options`. 6. Optionally set a default value. ![Custom fields list](https://mintcdn.com/tracecat/O3EeW3V5Iek0f9qX/img/cases/custom-fields-list.png?fit=max\&auto=format\&n=O3EeW3V5Iek0f9qX\&q=85\&s=b7a55718fe1b5a04a99748714da2b265) ![Add a custom field](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/cases/case-custom-field.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=c2a6704580ce6dc9edc87c653a47a085) ## Data types | Data type | Stores | Example | | - | - | - | | `Text` | Single-line text | `SEC-1042` | | `Long text` | Multi-line text, expandable in the side panel | Analyst notes | | `Integer` | Whole numbers | `3` | | `Number` | Decimal numbers | `7.5` | | `Boolean` | `true` or `false` | `true` | | `Date` | Calendar date | `2026-10-09` | | `Date and time` | Date and time with time zone | `2026-10-09T01:48:00Z` | | `JSON` | Any JSON value | `{"host": "build-02"}` | | `URL` | A link with an optional label | `{"url": "https://mail.example.com/msg/1042", "label": "Original email"}` | | `Select` | One value from a fixed list | `True positive` | | `Multi-select` | Several values from a fixed list | `["Execution", "Persistence"]` | `Long text` is stored as `TEXT` and `URL` is stored as `JSONB`; the data type only changes how the case UI renders the value. Use a [dropdown](/automations/cases/dropdowns) instead of a `Select` field when you want the values to appear as a case list filter with colors and icons. ## Edit values on a case Open a case and edit values under `Fields` in the side panel. Select `View all fields` to see every field, including empty ones. Field values persist when the case changes status. ## Read and write fields from workflows Pass a `fields` object keyed by field reference to `core.cases.create_case` or `core.cases.update_case`. `update_case` only changes the keys you pass. ```yaml theme={null} - ref: update_case action: core.cases.update_case args: case_id: ${{ TRIGGER.case_id }} fields: ticket_id: SEC-1042 affected_host: ${{ ACTIONS.lookup_host.result.hostname }} blocked_iocs: 3 mitre_tactics: - Initial access ``` Tracecat rejects keys that do not match an existing field reference. To start a workflow when a field changes, select `fields_changed` in a [case trigger](/automations/cases/workflow-triggers). ## Related pages * See [Dropdowns](/automations/cases/dropdowns) to add colored, filterable classifications to cases. * See [Closure requirements](/automations/cases/closure-requirements) to require a field before a case is closed or resolved. * See [Cases](/automations/core-actions/case-actions/cases) for the case action inputs that read and update fields. # Dropdowns Source: https://docs.tracecat.com/automations/cases/dropdowns Add custom case classifications such as determination, escalation tier, or detection source, and filter the case list by them. Enterprise Edition Dropdowns add workspace-specific properties to every case, next to status, priority, and severity. Each dropdown has a fixed set of colored options, appears in the case side panel, and becomes a filter in the case list. ![Dropdowns on a case list](https://mintcdn.com/tracecat/O3EeW3V5Iek0f9qX/img/cases/case-dropdown-filters.png?fit=max\&auto=format\&n=O3EeW3V5Iek0f9qX\&q=85\&s=0a6b3af70dde3d51b6ab156bcbffeb73) Use dropdowns for classifications you route or report on, such as determination, escalation tier, queue, business unit, or detection source. Use a [custom field](/automations/cases/custom-fields) for free-form or numeric data. ## Create a dropdown 1. Go to `Cases` and open the dropdowns view from the header toolbar. 2. Select `Create dropdown`. 3. Enter a name and choose an icon. Tracecat derives the reference from the name, such as `Escalation tier` → `escalation_tier`. 4. Add options. Each option needs a label and can have a color. 5. Turn on `Ordered` when the options form a ranking, such as `Tier 1`, `Tier 2`, and `Tier 3`. Tracecat ranks ordered options by their position from top to bottom. ![Create a dropdown](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/cases/case-dropdown.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=bbd6378414fc0fb23cea9f159d3c473e) The dropdowns view lists every dropdown with its options, reference, and whether it is ordered. Use the row menu to `Copy reference`, `Edit dropdown`, or `Delete dropdown`. ![Dropdowns list](https://mintcdn.com/tracecat/O3EeW3V5Iek0f9qX/img/cases/dropdowns-list.png?fit=max\&auto=format\&n=O3EeW3V5Iek0f9qX\&q=85\&s=8e4732f838dd446e51b0c91897b46cdc) ## Set and filter values Open a case and pick a value for each dropdown under `Properties` in the side panel. A case holds at most one option per dropdown. In the case list, each dropdown appears as a filter next to `Status`, `Priority`, `Severity`, `Assignee`, and `Tags`. Select one or more options to show matching cases. ## Set values from workflows Pass `dropdown_values` to `core.cases.create_case` or `core.cases.update_case`. Each item needs either `definition_ref` or `definition_id`, and either `option_ref` or `option_id`. Set `option_ref` to `null` to clear a value. ```yaml theme={null} - ref: classify_case action: core.cases.update_case args: case_id: ${{ TRIGGER.case_id }} dropdown_values: - definition_ref: determination option_ref: malicious - definition_ref: escalation_tier option_ref: tier_2 ``` Option refs are derived from option labels, such as `Email gateway` → `email_gateway`. To start a workflow when a dropdown value changes, select `dropdown_value_changed` in a [case trigger](/automations/cases/workflow-triggers). ## Related pages * See [Closure requirements](/automations/cases/closure-requirements) to require a dropdown value before a case is closed or resolved. * See [Durations](/automations/cases/durations) to measure time until a dropdown changes to a specific option. * See [Cases](/automations/core-actions/case-actions/cases) for the full `dropdown_values` input reference. # Case durations Source: https://docs.tracecat.com/automations/cases/durations Measure elapsed time between case events, such as time to triage or time to resolution, and read the results from workflows. Enterprise Edition Durations measure the time between two case events, such as `Time to triage` from case creation until the status changes to `In progress`. Tracecat calculates every duration on every case and shows it in the case header. ![Durations on a case](https://mintcdn.com/tracecat/O3EeW3V5Iek0f9qX/img/cases/case-fields-panel.png?fit=max\&auto=format\&n=O3EeW3V5Iek0f9qX\&q=85\&s=687979d0b4790f01b2e50671b3882147) ## Create a duration 1. Go to `Cases` and open the durations view from the header toolbar. 2. Select `Add duration`. 3. Enter a name and an optional description. 4. Configure the `From event` that starts the clock and the `To event` that stops it. ![Create a duration](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/cases/case-duration.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=704a521ba7a0d05812ac53df88bda576) The durations view lists each duration with its start and end events. ![Durations list](https://mintcdn.com/tracecat/O3EeW3V5Iek0f9qX/img/cases/durations-list.png?fit=max\&auto=format\&n=O3EeW3V5Iek0f9qX\&q=85\&s=79e765ec5f1dff4c1d066556aa3a1021) ## Configure events Each event has an event type, optional filters, and an occurrence. | Event type | Filter | | - | - | | `Case created`, `Case updated`, `Case closed`, `Case reopened`, `Case viewed` | None | | `Priority changed`, `Severity changed`, `Status changed` | New value, such as status `In progress` | | `Assignee changed` | None | | `Tag added`, `Tag removed` | Tag | | `Custom field changed` | Custom field | | `Dropdown value changed` | Dropdown and option, such as `Escalation tier` → `Tier 2` | | `Comment added`, `Comment deleted`, `Comment reply added`, `Comment reply deleted` | None | Occurrence picks which matching event anchors the duration: * `First seen` uses the earliest matching event. Use it for first-response metrics such as time to triage. * `Last seen` uses the most recent matching event. Use it when an event can repeat, such as time from the last reopen to close. A duration starts once its `From event` happens and finishes once its `To event` happens. Until then, the case header shows the time elapsed so far. ## Example durations | Duration | From | To | | - | - | - | | Time to triage | `Case created`, first seen | `Status changed` to `In progress`, first seen | | Time to assign | `Case created`, first seen | `Assignee changed`, first seen | | Time to escalate | `Case created`, first seen | `Dropdown value changed` to `Tier 2`, first seen | | Time to resolve | `Case created`, first seen | `Case closed`, last seen | ## Read durations from workflows Use `core.cases.get_case_metrics` to read durations for one or more cases as time-series data for reporting. ```yaml theme={null} - ref: case_metrics action: core.cases.get_case_metrics args: case_ids: - ${{ TRIGGER.case_id }} ``` ## Related pages * See [Dropdowns](/automations/cases/dropdowns) to create the classifications you measure with `Dropdown value changed`. * See [Cases](/automations/core-actions/case-actions/cases) for the `get_case_metrics` output format. # Linked rows Source: https://docs.tracecat.com/automations/cases/linked-rows Link table rows to a case to keep structured evidence such as indicators, assets, and detections with the investigation. Link table rows to a case to connect it to structured data. Use them when a case needs more than free-form notes, such as indicators, assets, or external detections. ![Linked rows](https://mintcdn.com/tracecat/O3EeW3V5Iek0f9qX/img/cases/linked-rows.png?fit=max\&auto=format\&n=O3EeW3V5Iek0f9qX\&q=85\&s=30716d42c7a43765e8841d545e8a4a27) Each linked table renders as its own grid in the case's Tables tab, 20 rows at a time; page with the arrows in the table header. To link rows from the case page: **1. Open the Tables tab** Open the case and select the Tables tab. **2. Pick a table and rows** Click `Link table`, choose a table, and tick the rows to link. Your selection is kept while you page through the table or switch to another table, so you can pick rows from several tables at once. **3. Add the rows** Click `Add rows`. Tracecat skips rows that are already linked to the case. ![Link rows dialog](https://mintcdn.com/tracecat/vdJgDv881hJyN9D4/img/cases/link-rows-dialog.png?fit=max\&auto=format\&n=vdJgDv881hJyN9D4\&q=85\&s=d6a6cd5d7bea82bf2fcf1e87c579e39f) To link more rows from a table that is already linked, click `Link rows` in that table's header. Click `Add row` to create a new row in the table and link it to the case. Right-click a row to edit it, unlink it, or [view related cases](/automations/cases/correlations). To unlink several rows at once, tick them in the grid and click `Unlink`. A case can link up to 250 rows from each table and rows from up to 10 tables. Each link or unlink request takes at most 100 row IDs. For example, you can link: * Related SIEM alerts * Indicators of compromise (IoCs) * Affected assets such as hosts, users, or devices * Threat intelligence matches * Evidence artifacts such as domains, IPs, or hashes Linked rows are especially useful when workflows enrich a case over time. You can insert new rows as evidence arrives or link existing rows that are already part of another workflow or lookup table. Linked rows use regular tables. When you create a table for case-linked evidence, use the same `columns` JSON schema documented in [Tables](/automations/tables) and [Table actions](/automations/core-actions/memory-actions/tables). ## Related pages * See [Correlations](/automations/cases/correlations) to find other cases that link the same row. * See [Case management](/automations/cases) for an overview of case features. * See [Linked rows](/automations/core-actions/case-actions/linked-rows) to link table rows to a case from a workflow. # Sub-cases Source: https://docs.tracecat.com/automations/cases/sub-cases Group related cases under a parent case to track a campaign or incident as one investigation while keeping each alert's own status. Enterprise Edition Sub-cases group related cases under a single parent case. Use them when several alerts belong to one investigation, such as phishing reports from the same campaign, while each alert keeps its own status, priority, and assignee. ![Cases list including sub-cases](https://mintcdn.com/tracecat/SjHEFkqfn0iGEUO2/img/cases/sub-cases-list.png?fit=max\&auto=format\&n=SjHEFkqfn0iGEUO2\&q=85\&s=18444681cbf4baa297f66b2c31d87f9c) Sub-cases are one level deep: * A parent must be a top-level case. * A sub-case can't have its own sub-cases. * A case that already has sub-cases can't become a sub-case. ## Group cases under a parent **1. Select the cases** On the Cases page, tick the cases you want to group. **2. Choose Group case** Click `Actions` and select `Group case`. ![Group case action](https://mintcdn.com/tracecat/SjHEFkqfn0iGEUO2/img/cases/sub-cases-group-menu.png?fit=max\&auto=format\&n=SjHEFkqfn0iGEUO2\&q=85\&s=f58f0c1d5877c699ad8cc89826dc1bc7) **3. Pick the parent** Search for the parent case by ID or summary, select it, and click `Group under CASE-XXXX`. Only top-level cases are listed. Cases that are already sub-cases of another parent move to the new parent. ![Group under parent case dialog](https://mintcdn.com/tracecat/SjHEFkqfn0iGEUO2/img/cases/sub-cases-group-dialog.png?fit=max\&auto=format\&n=SjHEFkqfn0iGEUO2\&q=85\&s=887df81ef2256e9d2eba7edcb0d06059) You can also add sub-cases from the parent: open the parent case, select the sub-cases tab, and click `Add sub-cases`. ## View sub-cases Open a parent case and select the sub-cases tab in the case toolbar. The tab lists every sub-case with its status and priority. Use `Search sub-cases...` to filter by summary or ID, and click a row to open the sub-case. ![Sub-cases on a parent case](https://mintcdn.com/tracecat/SjHEFkqfn0iGEUO2/img/cases/sub-cases-parent.png?fit=max\&auto=format\&n=SjHEFkqfn0iGEUO2\&q=85\&s=82916fca2fa2dc58cb691561908afc01) A sub-case shows a `Sub-case of` link to its parent above the summary. ![Sub-case parent link](https://mintcdn.com/tracecat/SjHEFkqfn0iGEUO2/img/cases/sub-cases-breadcrumb.png?fit=max\&auto=format\&n=SjHEFkqfn0iGEUO2\&q=85\&s=f85a862e3a20d08280c1a4dbebc74f90) ## Show sub-cases in the cases list Sub-cases are hidden from the Cases page by default, so the list shows one row per investigation. Click `Parents only` in the filter bar to switch to `All cases`. Sub-cases then appear with their parent's ID next to the summary, and parent cases show their sub-case count. While a search term is applied, results always include sub-cases and the toggle is disabled. ## Ungroup cases To return sub-cases to the top level, show sub-cases in the list, tick the sub-cases, click `Actions`, and select `Ungroup case`. You can also remove a single sub-case from the sub-cases tab of its parent. ## Closing a parent case Closing or resolving a parent case does not change its sub-cases. Sub-cases keep their own status, and open sub-cases don't block closing the parent. Close each sub-case separately, or select them in the cases list and set `Status` in bulk. ## Use sub-cases from MCP The [Tracecat MCP server](/automations/tracecat-mcp) supports sub-cases: | Tool | Use | | - | - | | `search_cases` | Pass `parent_id` to list a parent's sub-cases, or `hierarchy="top_level"` to list only parent and standalone cases. | | `create_case` | Pass `parent_id` to create the case as a sub-case. | | `set_case_parent` | Group up to 1000 cases under a top-level parent. | | `clear_case_parent` | Return up to 1000 sub-cases to the top level. | `get_case`, `list_cases`, and `search_cases` return `parent` and `num_sub_cases` for each case. ## Related pages * See [Case management](/automations/cases) for an overview of case features. * See [Correlations](/automations/cases/correlations) to find other cases that link the same row. # Case tasks Source: https://docs.tracecat.com/automations/cases/tasks Break a case into follow-up work, assign owners, track progress, and start workflows from tasks. Enterprise Edition Tasks break a case into follow-up steps, such as containment, notification, or evidence collection. Each task has its own status, priority, assignee, and optional workflow, so you can see what is left before you close the case. ![Case tasks](https://mintcdn.com/tracecat/211qK9Rnye5KSgYq/img/cases/case-tasks-list.png?fit=max\&auto=format\&n=211qK9Rnye5KSgYq\&q=85\&s=282628c75c54652f1c8aa93ab4e758e0) ## Add a task 1. Open a case and select the tasks control in the case toolbar. It shows completed and total task counts, such as `1/4`. 2. Select `Add task`. 3. Enter a `Task title` and an optional description. 4. Set the status, priority, and assignee, then pick a workflow with `Workflow`. 5. Select `Create task`. ![Add a case task](https://mintcdn.com/tracecat/211qK9Rnye5KSgYq/img/cases/case-tasks.png?fit=max\&auto=format\&n=211qK9Rnye5KSgYq\&q=85\&s=e7e5e9eaabea703bd379f9964887f646) Right-click a task to edit it, change its status, assignee, priority, or workflow, view its workflow runs, or delete it. ## Track progress | Status | Use it when | | - | - | | `To do` | Nobody has started the task | | `In progress` | Someone is working on the task | | `Completed` | The task is done and counts toward the completed total | | `Blocked` | The task is waiting on someone or something else | The tasks control lists every task with its status so you can jump to open work from anywhere in the case. ## Start workflows from tasks **1. Set a workflow** Pick a workflow with `Workflow` when you add the task, or right-click the task and select `Set workflow`. **2. Run the workflow** Select the workflow button on the task row, such as `Reset user credentials`. If the workflow has an Input schema, fill in `Configure workflow inputs` and select `Trigger`. Otherwise, Tracecat passes generated case inputs; see [Task triggers](/automations/triggers/task-triggers) for the payload. Use task workflows for repeatable response steps an analyst should approve, such as `Reset user credentials` or `Isolate host`. Use a [case trigger](/automations/cases/workflow-triggers) instead when the workflow should run automatically. ## View workflow runs for a task Every run started from a task is linked to that task, so you can review what already ran before you run it again. **1. Open the task menu** Right-click the task and select `View workflow runs`. ![View workflow runs menu item](https://mintcdn.com/tracecat/211qK9Rnye5KSgYq/img/cases/case-task-menu.png?fit=max\&auto=format\&n=211qK9Rnye5KSgYq\&q=85\&s=424f586ca5d60e5b3eeeb5df902ed965) **2. Review the runs** The `Workflow runs` drawer lists the task's runs, newest first, with each run's workflow, status, and start time. Select a run to open its execution in the workflow builder. Select `Load more` to see older runs. ![Workflow runs for a task](https://mintcdn.com/tracecat/211qK9Rnye5KSgYq/img/cases/case-task-workflow-runs.png?fit=max\&auto=format\&n=211qK9Rnye5KSgYq\&q=85\&s=566fb6cca1b921628f4979635442a774) The drawer lists runs started from the task row. Runs started by case triggers or `/` commands do not appear here. ## Manage tasks from workflows Use `core.cases.create_task`, `core.cases.update_task`, and `core.cases.list_tasks` to add a response checklist when a case opens or to complete tasks as automation finishes. ```yaml theme={null} - ref: add_containment_task action: core.cases.create_task args: case_id: ${{ TRIGGER.case_id }} title: Reset credentials for affected user priority: high status: todo ``` Case triggers can also react to task events such as `task_created`, `task_status_changed`, and `task_assignee_changed`. ## Related pages * See [Workflow triggers](/automations/cases/workflow-triggers) to compare task workflows with case triggers and `/` commands. * See [Tasks](/automations/core-actions/case-actions/tasks) for the task action inputs. * See [Task triggers](/automations/triggers/task-triggers) to reference the task trigger payload. # Workflow triggers Source: https://docs.tracecat.com/automations/cases/workflow-triggers Run workflows from cases automatically on case events, from case tasks, or with a / command in a comment. Enterprise Edition Cases can start workflows in three ways. Pick the one that matches who decides when the workflow runs. | Trigger | Who starts it | Use it for | | - | - | - | | Case trigger | Tracecat, when a selected case event happens | Enrichment, routing, and notifications that should always run | | Task workflow | An analyst, from a case task | Response steps that need a human decision, such as resetting credentials | | `/` command | An analyst, from a case comment or reply | Ad hoc lookups and actions during an investigation | ## Run workflows on case events Open a workflow, select the trigger, and open the `Case triggers` tab. Select one or more case events, optionally add a tag allowlist, and turn the trigger on. Publish the workflow before you turn on its case trigger. ![Case trigger](https://mintcdn.com/tracecat/211qK9Rnye5KSgYq/img/triggers/case-triggers.png?fit=max\&auto=format\&n=211qK9Rnye5KSgYq\&q=85\&s=549fa58bd2b6586fd20f22b293350b3e) | Event family | Events | | - | - | | Case | `case_created`, `case_updated`, `case_closed`, `case_reopened`, `case_viewed` | | Properties | `status_changed`, `priority_changed`, `severity_changed`, `assignee_changed`, `payload_changed` | | Fields and dropdowns | `fields_changed`, `dropdown_value_changed` | | Tags | `tag_added`, `tag_removed` | | Tasks | `task_created`, `task_deleted`, `task_status_changed`, `task_priority_changed`, `task_assignee_changed`, `task_workflow_changed` | | Comments | `comment_created`, `comment_updated`, `comment_deleted`, `comment_reply_created`, `comment_reply_updated`, `comment_reply_deleted` | | Attachments | `attachment_created`, `attachment_deleted` | | Linked rows | `table_row_linked`, `table_row_unlinked` | The tag allowlist limits runs to cases that currently have at least one matching tag, such as `phishing`. An empty allowlist runs the workflow for every case. Tracecat ignores case events caused by workflows, so a workflow that updates a case does not trigger itself or other case-triggered workflows. See [Case triggers](/automations/triggers/case-triggers) for the trigger payload. ## Run workflows from tasks Set a workflow on a case task, then select the workflow button on the task row. If the workflow has an Input schema, fill in `Configure workflow inputs` and select `Trigger`. Otherwise, Tracecat passes generated case inputs. ![Task trigger](https://mintcdn.com/tracecat/211qK9Rnye5KSgYq/img/triggers/task-trigger.png?fit=max\&auto=format\&n=211qK9Rnye5KSgYq\&q=85\&s=e1efb0793d016b9b20194a924cddb685) To review past runs, right-click the task and select `View workflow runs`. See [Case tasks](/automations/cases/tasks) to set up tasks and review task runs, and [Task triggers](/automations/triggers/task-triggers) for the trigger payload. ## Run workflows from comments Type `/` in a case comment or reply, select a published workflow, and submit the comment. Tracecat removes the `/` command from the saved comment and runs the workflow with the case and comment context. ![Comment trigger](https://mintcdn.com/tracecat/211qK9Rnye5KSgYq/img/triggers/comment-triggers.png?fit=max\&auto=format\&n=211qK9Rnye5KSgYq\&q=85\&s=91ce433788fda16fd79b9f42861adc4b) See [Comment triggers](/automations/triggers/comment-triggers) for required roles and the trigger payload. ## Related pages * See [Agent mentions](/automations/cases/agent-mentions) to have a preset agent investigate a case instead of running a fixed workflow. * See [Case triggers](/automations/triggers/case-triggers) for the full case trigger payload. * See [Cases](/automations/core-actions/case-actions/cases) for the case actions your triggered workflows can call. # Attachments Source: https://docs.tracecat.com/automations/core-actions/case-actions/attachments ## `core.cases.upload_attachment` Upload a file attachment to a case. ### Inputs **case_id** `string` *required* The ID or short ID (e.g. CASE-0042) of the case to attach the file to. **content_base64** `string` *required* The file content encoded in base64. **content_type** `string` *required* The MIME type of the file (e.g., 'application/pdf'). **file_name** `string` *required* The original filename. ### Examples **Upload an attachment** ```yaml theme={null} - ref: upload_attachment action: core.cases.upload_attachment args: case_id: ${{ TRIGGER.case_id }} file_name: note.txt content_base64: Zm9yZW5zaWMgbm90ZXM= content_type: text/plain ``` ## `core.cases.upload_attachment_from_url` Upload a file attachment to a case from a URL. ### Inputs **case_id** `string` *required* The ID or short ID (e.g. CASE-0042) of the case to attach the file to. **url** `string` *required* The URL of the file to upload. **file_name** `string | null` Filename of the file to upload. If not provided, the filename will be inferred from the URL. Default: `null`. **headers** `map[string, string] | null` The headers to use when downloading the file. Default: `null`. ### Examples **Upload an attachment from a URL** ```yaml theme={null} - ref: upload_attachment_from_url action: core.cases.upload_attachment_from_url args: case_id: ${{ TRIGGER.case_id }} url: https://artifacts.example.com/evidence/${{ TRIGGER.alert_id }} headers: Authorization: Bearer ${{ SECRETS.artifacts.API_TOKEN }} file_name: evidence.json ``` ## `core.cases.list_attachments` List all attachments for a case. ### Inputs **case_id** `string` *required* The ID or short ID (e.g. CASE-0042) of the case to list attachments for. ### Examples **List attachments** ```yaml theme={null} - ref: list_attachments action: core.cases.list_attachments args: case_id: ${{ TRIGGER.case_id }} ``` ## `core.cases.get_attachment` Get attachment metadata without downloading the content. ### Inputs **attachment_id** `string` *required* The ID of the attachment to get. **case_id** `string` *required* The ID or short ID (e.g. CASE-0042) of the case containing the attachment. ### Examples **Get attachment metadata** ```yaml theme={null} - ref: get_attachment action: core.cases.get_attachment args: case_id: ${{ TRIGGER.case_id }} attachment_id: ${{ TRIGGER.attachment_id }} ``` ## `core.cases.get_attachment_download_url` Get a presigned S3 URL for downloading an attachment. ### Inputs **attachment_id** `string` *required* The ID of the attachment. **case_id** `string` *required* The ID or short ID (e.g. CASE-0042) of the case containing the attachment. **expiry** `integer | null` URL expiry time in seconds. If not provided, uses the default from configuration. Default: `null`. ### Examples **Get an attachment download URL** ```yaml theme={null} - ref: get_attachment_download_url action: core.cases.get_attachment_download_url args: case_id: ${{ TRIGGER.case_id }} attachment_id: ${{ TRIGGER.attachment_id }} expiry: 900 ``` ## `core.cases.download_attachment` Download an attachment's content. ### Inputs **attachment_id** `string` *required* The ID of the attachment to download. **case_id** `string` *required* The ID or short ID (e.g. CASE-0042) of the case containing the attachment. ### Examples **Download an attachment** ```yaml theme={null} - ref: download_attachment action: core.cases.download_attachment args: case_id: ${{ TRIGGER.case_id }} attachment_id: ${{ TRIGGER.attachment_id }} ``` ## `core.cases.delete_attachment` Delete an attachment from a case. ### Inputs **attachment_id** `string` *required* The ID of the attachment to delete. **case_id** `string` *required* The ID or short ID (e.g. CASE-0042) of the case containing the attachment. ### Examples **Delete an attachment** ```yaml theme={null} - ref: delete_attachment action: core.cases.delete_attachment args: case_id: ${{ TRIGGER.case_id }} attachment_id: ${{ TRIGGER.attachment_id }} ``` # Cases Source: https://docs.tracecat.com/automations/core-actions/case-actions/cases ## `core.cases.create_case` Create a new case. ### Inputs **description** `string` *required* The description of the case. **summary** `string` *required* The summary of the case. **create_missing_tags** `boolean` If true, create any tags that do not already exist. Default: `false`. **dropdown_values** `array[CaseDropdownValueInput] | null` Dropdown selections to set on the case. Each item must include either definition_id or definition_ref, and either option_id or option_ref (or null to clear). Default: `null`. **fields** `object | null` Custom fields for the case. Default: `null`. **parent_case_id** `string | null` The ID or short ID (e.g. CASE-0042) of a top-level case to create this case under as a sub-case. Requires the case add-ons entitlement. Default: `null`. **payload** `object | null` Payload for the case. Default: `null`. **priority** `string` The priority of the case. Default: `"unknown"`. Allowed values: `unknown`, `low`, `medium`, `high`, `critical`, `other`. **severity** `string` The severity of the case. Default: `"unknown"`. Allowed values: `unknown`, `informational`, `low`, `medium`, `high`, `critical`, `fatal`, `other`. **status** `string` The status of the case. Default: `"unknown"`. Allowed values: `unknown`, `new`, `in_progress`, `on_hold`, `resolved`, `closed`, `other`. **tags** `array[string] | null` List of tag identifiers (IDs or refs) to add to the case. Default: `null`. ### Examples **Create a case** ```yaml theme={null} - ref: create_case action: core.cases.create_case args: summary: "Investigate alert ${{ TRIGGER.alert_id }}" description: "Created from workflow trigger." priority: high severity: high tags: - phishing ``` ## `core.cases.get_case` Get details of a specific case by ID. ### Inputs **case_id** `string` *required* The ID or short ID (e.g. CASE-0042) of the case to retrieve. ### Examples **Get a case** ```yaml theme={null} - ref: get_case action: core.cases.get_case args: case_id: ${{ TRIGGER.case_id }} ``` ## `core.cases.update_case` Update an existing case. ### Inputs **case_id** `string` *required* The ID or short ID (e.g. CASE-0042) of the case to update. **append** `boolean` If true, append the provided description to the existing description when it is not empty. Default: `false`. **create_missing_tags** `boolean` If true, create any tags that do not already exist. Default: `false`. **description** `string | null` The updated description of the case. Default: `null`. **dropdown_values** `array[CaseDropdownValueInput] | null` Dropdown selections to set or clear. Each item must include either definition_id or definition_ref, and either option_id or option_ref (or null to clear). Default: `null`. **fields** `object | null` Updated custom fields for the case. Default: `null`. **payload** `object | null` Updated payload for the case. Default: `null`. **priority** `string | null` The updated priority of the case. Default: `null`. **severity** `string | null` The updated severity of the case. Default: `null`. **status** `string | null` The updated status of the case. Default: `null`. **summary** `string | null` The updated summary of the case. Default: `null`. **tags** `array[string] | null` List of tag identifiers (IDs or refs) to set on the case. This will replace all existing tags. Default: `null`. ### Examples **Update case fields** ```yaml theme={null} - ref: update_case action: core.cases.update_case args: case_id: ${{ TRIGGER.case_id }} status: in_progress priority: critical append: true description: | Analyst note: - Escalated after credential theft indicators were confirmed. ``` ## `core.cases.list_cases` List all cases. ### Inputs **cursor** `string | null` Pagination cursor used to fetch a specific page when paginate=true. Default: `null`. **limit** `integer` Maximum number of cases to return. Default: `100`. **order_by** `string | null` The field to order the cases by. Default: `null`. **paginate** `boolean` If true, return cursor pagination metadata along with items. Default: `false`. **reverse** `boolean` Reverse pagination direction when paginate=true. Default: `false`. **sort** `string | null` The direction to order the cases by. Default: `null`. ### Examples **List cases** ```yaml theme={null} - ref: list_cases action: core.cases.list_cases args: limit: 25 order_by: updated_at sort: desc ``` ## `core.cases.search_cases` Search cases based on various criteria. ### Inputs **assignee_id** `string | array[string] | null` Filter by assignee ID or 'unassigned'. Default: `null`. **cursor** `string | null` Pagination cursor used to fetch a specific page when paginate=true. Default: `null`. **dropdown** `array[string] | null` Filter by dropdown values in definition_ref:option_ref format. Default: `null`. **end_time** `string | null` Filter cases created before this time. Default: `null`. **limit** `integer` Maximum number of cases to return. Default: `100`. **order_by** `string | null` The field to order the cases by. Default: `null`. **paginate** `boolean` If true, return cursor pagination metadata along with items. Default: `false`. **priority** `string | array[string] | null` Filter by case priority. Default: `null`. **reverse** `boolean` Reverse pagination direction when paginate=true. Default: `false`. **search_term** `string | null` Text to search for in case summary and description. Default: `null`. **severity** `string | array[string] | null` Filter by case severity. Default: `null`. **sort** `string | null` The direction to order the cases by. Default: `null`. **start_time** `string | null` Filter cases created after this time. Default: `null`. **status** `string | array[string] | null` Filter by case status. Default: `null`. **tags** `array[string] | null` Filter by tag IDs or refs. Matches cases with any of the given tags. Default: `null`. **updated_after** `string | null` Filter cases updated after this time. Default: `null`. **updated_before** `string | null` Filter cases updated before this time. Default: `null`. ### Examples **Search cases** ```yaml theme={null} - ref: search_cases action: core.cases.search_cases args: search_term: phishing status: - new - in_progress limit: 25 ``` ## `core.cases.aggregate_cases` Filter, group, and summarize workspace cases. Returns groups and a truncated flag indicating whether more groups exist than the requested limit. The example counts `new` and `in_progress` cases by priority and day. It includes cases created on or after August 1, 2026 whose priority is `high` or `critical`, or whose region is `emea`. Before running it, create a TEXT custom case field named `region`. Use `ACTIONS.cases_by_priority_per_day.result.groups` to read the results. Each item contains a priority, a date, and a case count. If `ACTIONS.cases_by_priority_per_day.result.truncated` is `true`, the result reached the group limit and omitted some groups. ### Inputs **group_by** `array[string | object]` *required* Choose how to split cases into groups. Use up to 3 fields, or `[]` for one total across all matching cases. Supply a field name such as `priority`, or an object with `field` and optional `bucket`, `timezone`, and `alias`. For example: \['priority', \{'field': 'created_at', 'bucket': 'day'}]. An alias names the field in the result; it defaults to the field name. Output names must be unique and at most 63 UTF-8 bytes. Fields you can group by: * Built-in fields: `status`, `priority`, `severity`, and `assignee_id` (a user UUID). * Custom fields: `fields.region`, replacing `region` with a defined field name. URL fields use the URL, not the display label. LONG_TEXT fields work as text. Other JSONB fields and MULTI_SELECT fields are unsupported. * Dates and times: `created_at`, `updated_at`, and custom date/time fields. These require a `bucket`: `hour`, `day`, `week`, or `month`. Weeks start on Monday. Date and time settings: * Timestamps accept an IANA timezone name, such as `America/New_York`. The default is `UTC`; results always contain UTC timestamps. * DATE fields return `YYYY-MM-DD`. They do not accept a timezone, and even an `hour` bucket retains only date precision. How group values appear in results: * Missing values share one `null` group, including cases with no saved custom fields. * TEXT and SELECT values use only the first 256 characters. Values with the same prefix merge into one group. * NUMERIC values appear as exact decimal strings. If your server supports tag and dropdown aggregation: * Use `dropdowns.category` to group by option reference; replace `category` with your dropdown reference. This requires case add-ons. Missing or deleted options share the `null` group. * Use `tags` to group by tag reference. A case belongs to every tag group that applies to it; untagged cases share the `null` group. Adding the group counts can therefore count a case more than once. **aggs** `array[object] | null` Choose what to calculate for each group. Omit this input to count cases. Supply up to 8 calculations; an empty list is invalid. Each calculation is an object with `function`, optional `field`, and optional `alias`. For example: \[\{'function': 'sum', 'field': 'fields.amount', 'alias': 'total'}]. Available calculations: * `count`: Count cases when you omit `field`, or count non-null values when you supply it. * `count_distinct`: Count different non-null values. * `sum`, `mean`, `median`: Calculate the total, average, or middle value. * `min`, `max`: Return the smallest or largest value. Every function except `count` requires a field. Numeric custom fields support all functions. Text and date/time fields support `count`, `count_distinct`, `min`, and `max`. BOOLEAN and SELECT fields support only `count` and `count_distinct`. Naming and number formats: * Use `alias` to name a result, such as `total`. Otherwise the name is `count` or `function_field`, using the final part of the field name. All output names must be unique and at most 63 UTF-8 bytes. * Counts are integers. INTEGER/NUMERIC sums, all means and medians, and NUMERIC min/max use floating-point numbers and can lose precision. NUMERIC grouping values remain exact decimal strings. When grouping by tags, counts and `min_count` count each case once within each group. You cannot use `sum`, `mean`, or `median` with tag grouping. Default: `null`. **filters** `object | null` Choose which cases to include before grouping. Omit this input to include all cases. Write one condition as \{field, op, value}. For example: \{'field': 'status', 'op': 'in', 'value': \['new', 'in_progress']}. Combine conditions with \{'and': \[...]}, \{'or': \[...]}, or \{'not': \{...}}. Choose an operator supported by the field type: * Equality: `eq` (equals), `ne` (does not equal). * Lists: `in` (matches any listed value), `not_in` (matches none). Supply a list as `value`. * Ranges: `gt`, `gte`, `lt`, `lte` (greater than, at least, less than, at most). * Text: `contains`, `starts_with`. Both ignore case and match literal text. * Missing values: `is_null`. Omit `value`; custom fields also match cases with no saved field row. You can filter on grouping fields, plus `summary`, `description`, and `case_number`. You cannot filter on `short_id` or `payload`. Use strings for exact decimals and ISO-formatted dates or timestamps. Built-in values must be lowercase: * Status: `unknown`, `new`, `in_progress`, `on_hold`, `resolved`, `closed`, `other`. Status does not support range comparisons. * Priority, from lowest to highest: `low`, `medium`, `high`, `critical`. * Severity, from lowest to highest: `informational`, `low`, `medium`, `high`, `critical`, `fatal`. * Priority and severity also accept `unknown` and `other` for equality or list matching. These values never match a range and cannot be range boundaries. Special cases and limits: * `ne` and `not_in` exclude missing values. An empty `not_in` list matches all cases; an empty `in` list matches none. * Where tag aggregation is supported, `tags` accepts `contains` (one tag reference), `in` (any listed reference), or `is_null` (untagged). * Filters allow up to 4 levels of nesting, 50 conditions, and 1000 total values. The server validates the request when the action runs. Default: `null`. **limit** `integer | null` Set the maximum number of groups to return. Use at least 1, up to your server's configured maximum (normally 1000). Omit this input to use the server default (normally 100). If more groups exist, the result sets `truncated` to `true`. There is no next-page cursor. Default: `null`. **min_count** `integer | null` Only return groups with at least this many cases (minimum 1). Default: `null`. **order_by** `string | null` Choose a group or calculation output name to sort by, including any alias you set. If omitted, results sort by the first date/time bucket, or by the first calculation when there is no date/time bucket. Default: `null`. **sort** `string | null` Use `asc` for ascending order or `desc` for descending order. If omitted, the direction is `asc` when the action automatically sorts by a date/time bucket. Otherwise it is `desc`, including when you set `order_by` yourself. Missing values sort last; group values break ties. Default: `null`. ### Examples **Count open cases by priority and day** ```yaml theme={null} - ref: cases_by_priority_per_day action: core.cases.aggregate_cases args: filters: and: - field: status op: in value: [new, in_progress] - field: created_at op: gte value: "2026-08-01T00:00:00Z" - or: - field: priority op: gte value: high - field: fields.region op: eq value: emea group_by: - priority - field: created_at bucket: day aggs: - function: count limit: 100 ``` ## `core.cases.list_case_events` List all events for a case in chronological order. ### Inputs **case_id** `string` *required* The ID or short ID (e.g. CASE-0042) of the case to get events for. ### Examples **List case events** ```yaml theme={null} - ref: list_case_events action: core.cases.list_case_events args: case_id: ${{ TRIGGER.case_id }} ``` ## `core.cases.assign_user` Assign a user to an existing case. ### Inputs **assignee_id** `string` *required* The ID of the user to assign to the case. **case_id** `string` *required* The ID or short ID (e.g. CASE-0042) of the case to assign a user to. ### Examples **Assign a user by ID** ```yaml theme={null} - ref: assign_user action: core.cases.assign_user args: case_id: ${{ TRIGGER.case_id }} assignee_id: ${{ TRIGGER.assignee_id }} ``` ## `core.cases.assign_user_by_email` Assign a user to an existing case by email. ### Inputs **assignee_email** `string` *required* The email of the user to assign to the case. **case_id** `string` *required* The ID or short ID (e.g. CASE-0042) of the case to assign a user to. ### Examples **Assign a user by email** ```yaml theme={null} - ref: assign_user_by_email action: core.cases.assign_user_by_email args: case_id: ${{ TRIGGER.case_id }} assignee_email: analyst@example.com ``` ## `core.cases.add_case_tag` Add a tag to a case by tag ID or ref. ### Inputs **case_id** `string` *required* The ID or short ID (e.g. CASE-0042) of the case to add a tag to. **tag** `string` *required* The tag identifier (ID or ref) to add to the case. **create_if_missing** `boolean` If true, create the tag if it does not exist. Default: `false`. ### Examples **Add a case tag** ```yaml theme={null} - ref: add_case_tag action: core.cases.add_case_tag args: case_id: ${{ TRIGGER.case_id }} tag: credential-theft create_if_missing: true ``` ## `core.cases.remove_case_tag` Remove a tag from a case by tag ID or ref. ### Inputs **case_id** `string` *required* The ID or short ID (e.g. CASE-0042) of the case to remove a tag from. **tag** `string` *required* The tag identifier (ID or ref) to remove from the case. ### Examples **Remove a case tag** ```yaml theme={null} - ref: remove_case_tag action: core.cases.remove_case_tag args: case_id: ${{ TRIGGER.case_id }} tag: needs-triage ``` ## `core.cases.delete_case_tag` Delete a case tag from the workspace by tag ID or ref. This also removes the tag from every case. ### Inputs **tag** `string` *required* The tag identifier (ID or ref) to delete. ### Examples **Delete a case tag** ```yaml theme={null} - ref: delete_case_tag action: core.cases.delete_case_tag args: tag: needs-triage ``` ## `core.cases.delete_case` Delete a case. ### Inputs **case_id** `string` *required* The ID or short ID (e.g. CASE-0042) of the case to delete. ### Examples **Delete a case** ```yaml theme={null} - ref: delete_case action: core.cases.delete_case args: case_id: ${{ TRIGGER.case_id }} ``` ## `core.cases.add_sub_cases` Group cases as sub-cases of a top-level parent case, e.g. to collect duplicates under one primary case. Returns a result for each case. Enterprise Edition The result has one item per case with `success` and `error`, plus `succeeded` and `failed` counts. A case that fails does not stop the others. An invalid ID, or a short ID that matches no case, fails the whole request before any case changes. If `case_ids` includes the parent case, that one item fails with "A case cannot be its own parent" and the other cases are still grouped. ### Inputs **case_ids** `array[string]` *required* IDs or short IDs of the cases to group under the parent (max 1000). An empty list does nothing. Cases under another parent are moved. Cases with their own sub-cases fail and are reported in the results. **parent_case_id** `string` *required* The ID or short ID (e.g. CASE-0042) of the parent case. It must not be a sub-case itself. ### Examples **Group duplicate cases under a primary case** ```yaml theme={null} - ref: group_duplicates action: core.cases.add_sub_cases args: parent_case_id: ${{ TRIGGER.case_id }} case_ids: ${{ ACTIONS.find_duplicates.result[*].id }} ``` ## `core.cases.remove_sub_cases` Remove cases from their parent case, returning them to the top level. Returns a result for each case. Enterprise Edition The result has one item per case with `success` and `error`, plus `succeeded` and `failed` counts. A case that fails does not stop the others. An invalid ID, or a short ID that matches no case, fails the whole request before any case changes. ### Inputs **case_ids** `array[string]` *required* IDs or short IDs of the sub-cases to remove from their parent (max 1000). An empty list does nothing. ### Examples **Remove cases from their parent case** ```yaml theme={null} - ref: ungroup_cases action: core.cases.remove_sub_cases args: case_ids: - CASE-0042 - CASE-0043 ``` ## `core.cases.get_case_metrics` Get case metrics as OTEL-aligned time-series for the provided case IDs. Enterprise Edition ### Inputs **case_ids** `array[string]` *required* List of case IDs or short IDs (e.g. CASE-0042) to get case metrics for. ### Examples **Read case metrics** ```yaml theme={null} - ref: case_metrics action: core.cases.get_case_metrics args: case_ids: - ${{ TRIGGER.case_id }} - ${{ TRIGGER.related_case_id }} ``` # Comments Source: https://docs.tracecat.com/automations/core-actions/case-actions/comments ## `core.cases.create_comment` Add a comment to an existing case. ### Inputs **case_id** `string` *required* The ID or short ID (e.g. CASE-0042) of the case to comment on. **content** `string` *required* The comment content. **parent_id** `string | null` The ID of the parent comment if this is a reply. Default: `null`. **workflow_id** `string | null` The ID of the workflow to run when the comment is created. Default: `null`. ### Examples **Create a comment** ```yaml theme={null} - ref: create_comment action: core.cases.create_comment args: case_id: ${{ TRIGGER.case_id }} content: "Initial triage started." ``` ## `core.cases.reply_to_comment` Reply to a top-level case comment. ### Inputs **case_id** `string` *required* The ID or short ID (e.g. CASE-0042) of the case containing the parent comment. **content** `string` *required* The reply content. **parent_comment_id** `string` *required* The ID of the top-level comment to reply to. ### Examples **Reply to a comment** ```yaml theme={null} - ref: reply_to_comment action: core.cases.reply_to_comment args: case_id: ${{ TRIGGER.case_id }} parent_comment_id: ${{ TRIGGER.comment_id }} content: "Added IOC context." ``` ## `core.cases.update_comment` Update an existing case comment. ### Inputs **comment_id** `string` *required* The ID of the comment to update. **content** `string` *required* The updated comment content. ### Examples **Update a comment** ```yaml theme={null} - ref: update_comment action: core.cases.update_comment args: comment_id: ${{ TRIGGER.comment_id }} content: "Initial triage started. Waiting on endpoint data." ``` ## `core.cases.delete_comment` Delete a case comment. ### Inputs **case_id** `string` *required* The ID or short ID (e.g. CASE-0042) of the case containing the comment. **comment_id** `string` *required* The ID of the comment to delete. ### Examples **Delete a comment** ```yaml theme={null} - ref: delete_comment action: core.cases.delete_comment args: case_id: ${{ TRIGGER.case_id }} comment_id: ${{ TRIGGER.comment_id }} ``` ## `core.cases.list_comments` List all comments for a case. ### Inputs **case_id** `string` *required* The ID or short ID (e.g. CASE-0042) of the case to get comments for. ### Examples **List comments** ```yaml theme={null} - ref: list_comments action: core.cases.list_comments args: case_id: ${{ TRIGGER.case_id }} ``` ## `core.cases.list_comment_threads` List comment threads for a case. ### Inputs **case_id** `string` *required* The ID or short ID (e.g. CASE-0042) of the case to get comment threads for. ### Examples **List comment threads** ```yaml theme={null} - ref: list_comment_threads action: core.cases.list_comment_threads args: case_id: ${{ TRIGGER.case_id }} ``` ## `core.cases.get_comment_thread` Get the full thread for a comment ID. ### Inputs **comment_id** `string` *required* The ID of a comment within the thread. ### Examples **Get a comment thread** ```yaml theme={null} - ref: get_comment_thread action: core.cases.get_comment_thread args: comment_id: ${{ TRIGGER.comment_id }} ``` # Linked rows Source: https://docs.tracecat.com/automations/core-actions/case-actions/linked-rows ## `core.cases.link_row` Link an existing table row to a case. Enterprise Edition ### Inputs **case_id** `string` *required* Case ID or short ID (e.g. CASE-0042) **row_id** `string` *required* Row ID **table_id** `string` *required* Table ID ### Examples **Link a table row** ```yaml theme={null} - ref: link_row action: core.cases.link_row args: case_id: ${{ TRIGGER.case_id }} table_id: indicators row_id: ${{ TRIGGER.row_id }} ``` ## `core.cases.unlink_row` Remove a linked table row from a case. Enterprise Edition ### Inputs **case_id** `string` *required* Case ID or short ID (e.g. CASE-0042) **row_id** `string` *required* Row ID **table_id** `string` *required* Table ID ### Examples **Unlink a table row** ```yaml theme={null} - ref: unlink_row action: core.cases.unlink_row args: case_id: ${{ TRIGGER.case_id }} table_id: indicators row_id: ${{ TRIGGER.row_id }} ``` ## `core.cases.insert_row` Insert a row into a table and link it to a case. Enterprise Edition > [!NOTE] > > Linked rows use regular tables. Create the destination table with > the same `columns` schema documented in > [Tables](/automations/tables). ### Inputs **case_id** `string` *required* Case ID or short ID (e.g. CASE-0042) **row** `object` *required* Row values **table_id** `string` *required* Table ID ### Examples **Insert and link a table row** ```yaml theme={null} - ref: insert_case_row action: core.cases.insert_row args: case_id: ${{ TRIGGER.case_id }} table_id: indicators row: value: ${{ TRIGGER.indicator }} indicator_type: domain ``` ## `core.cases.get_linked_case_rows` Get linked rows for a specific case by ID. Enterprise Edition ### Inputs **case_id** `string` *required* The ID or short ID (e.g. CASE-0042) of the case to retrieve. ### Examples **Get linked table rows** ```yaml theme={null} - ref: linked_rows action: core.cases.get_linked_case_rows args: case_id: ${{ TRIGGER.case_id }} ``` ## `core.cases.list_cases_by_row` List the cases that link a table row. Enterprise Edition ### Inputs **row_id** `string` *required* The ID of the linked row. **table_id** `string` *required* The ID of the table that contains the row. **cursor** `string | null` Pagination cursor used to fetch a specific page when paginate=true. Default: `null`. **exclude_case_id** `string | null` The ID or short ID (e.g. CASE-0042) of a case to leave out, usually the current case. Default: `null`. **limit** `integer` Maximum number of cases to return. Default: `100`. **order_by** `string | null` The field to order the cases by. Default: `null`. **paginate** `boolean` If true, return cursor pagination metadata along with items. Default: `false`. **sort** `string | null` The direction to order the cases by. Default: `null`. ### Examples **List other cases that link a row** ```yaml theme={null} - ref: related_cases action: core.cases.list_cases_by_row args: table_id: ${{ ACTIONS.linked_rows.result[0].table_id }} row_id: ${{ ACTIONS.linked_rows.result[0].row_id }} exclude_case_id: ${{ TRIGGER.case_id }} ``` # Tasks Source: https://docs.tracecat.com/automations/core-actions/case-actions/tasks ## `core.cases.create_task` Create a new task for a case. Enterprise Edition ### Inputs **case_id** `string` *required* The ID or short ID (e.g. CASE-0042) of the case to create a task for. **title** `string` *required* The title of the task. **assignee_id** `string | null` The ID of the user to assign the task to. Default: `null`. **default_trigger_values** `object | null` The default trigger values for the task. Default: `null`. **description** `string | null` The description of the task. Default: `null`. **priority** `string` The priority of the task (unknown, low, medium, high, critical). Default: `"unknown"`. **status** `string` The status of the task (todo, in_progress, blocked, completed). Default: `"todo"`. **workflow_id** `string | null` The ID of the workflow associated with this task. Default: `null`. ### Examples **Create a task** ```yaml theme={null} - ref: create_task action: core.cases.create_task args: case_id: ${{ TRIGGER.case_id }} title: Collect email headers description: Pull the original message from the mail gateway. priority: high status: todo ``` ## `core.cases.get_task` Get a specific case task by ID. Enterprise Edition ### Inputs **task_id** `string` *required* The ID of the task to retrieve. ### Examples **Get a task** ```yaml theme={null} - ref: get_task action: core.cases.get_task args: task_id: ${{ TRIGGER.task_id }} ``` ## `core.cases.list_tasks` List all tasks for a case. Enterprise Edition ### Inputs **case_id** `string` *required* The ID or short ID (e.g. CASE-0042) of the case to list tasks for. ### Examples **List tasks** ```yaml theme={null} - ref: list_tasks action: core.cases.list_tasks args: case_id: ${{ TRIGGER.case_id }} ``` ## `core.cases.update_task` Update an existing case task. Enterprise Edition ### Inputs **task_id** `string` *required* The ID of the task to update. **assignee_id** `string | null` The ID of the user to assign the task to. Default: `null`. **default_trigger_values** `object | null` The default trigger values for the task. Default: `null`. **description** `string | null` The updated description of the task. Default: `null`. **priority** `string | null` The updated priority of the task (unknown, low, medium, high, critical). Default: `null`. **status** `string | null` The updated status of the task (todo, in_progress, blocked, completed). Default: `null`. **title** `string | null` The updated title of the task. Default: `null`. **workflow_id** `string | null` The ID of the workflow associated with this task. Default: `null`. ### Examples **Update a task** ```yaml theme={null} - ref: update_task action: core.cases.update_task args: task_id: ${{ TRIGGER.task_id }} status: in_progress ``` ## `core.cases.run_task` Run the workflow linked to a case task. Enterprise Edition ### Inputs **case_id** `string` *required* The ID or short ID (e.g. CASE-0042) of the case the task belongs to. **task_id** `string` *required* The ID of the task to run. **inputs** `object | null` Trigger inputs that override the task's default trigger values. Default: `null`. ### Examples **Run a task's workflow** ```yaml theme={null} - ref: run_task action: core.cases.run_task args: case_id: ${{ TRIGGER.case_id }} task_id: ${{ TRIGGER.task_id }} inputs: reason: Requested by analyst ``` ## `core.cases.delete_task` Delete a case task. Enterprise Edition ### Inputs **task_id** `string` *required* The ID of the task to delete. ### Examples **Delete a task** ```yaml theme={null} - ref: delete_task action: core.cases.delete_task args: task_id: ${{ TRIGGER.task_id }} ``` # Forms Source: https://docs.tracecat.com/automations/core-actions/form-actions/forms Read and edit [forms](/automations/triggers/forms) and manage their submissions from a workflow. ## `core.forms.list_forms` List the workspace's forms, newest first. Enterprise Edition ### Inputs **cursor** `string | null` `next_cursor` from a previous page. Default: `null`. **limit** `integer` Maximum number of forms to return. Default: `20`. ### Examples **List forms** ```yaml theme={null} - ref: list_forms action: core.forms.list_forms args: limit: 50 ``` ## `core.forms.get_form` Get a form: its status, its config, the issues the config has against the workflow's inputs, and its URL. Enterprise Edition ### Inputs **form_id** `string` *required* The form ID, as returned by `list_forms`. ### Examples **Get a form** ```yaml theme={null} - ref: get_form action: core.forms.get_form args: form_id: 0b9f6c1e-5a47-4d1b-9c3e-2f7a8d6e4b10 ``` ## `core.forms.update_form` Update the form of a workflow, creating it if the workflow has none. A form turns the workflow's input schema into a page people fill in; submitting it runs the workflow. Returns the form, including any `issues` with the config. Enterprise Edition ### Inputs **workflow_id** `string` *required* The workflow the form belongs to (short `wf_...` or full ID). **config** `object | null` The whole form config; it replaces the stored one. Keys, all optional: `title`, `description` (markdown), `success_message`, and `layout`, an ordered list of entries. An entry is one of `{field: <input name>}`, `{heading: <text>}`, `{text: <markdown>}`, `{notice: <text>, tone: info|success|warning|danger}` or `{divider: true}`. A field entry may add `label`, `help`, `placeholder`, `widget` (text, long_text, number, toggle, select, multi_select, cards, tags, date, datetime, user, file), `options` (`[{value, label, description}]`), `visible_if` (`{field, equals}`), `autofill` (requester, requester.user_id, requester.email, requester.first_name, requester.last_name, submission.id) or `hidden`. A `file` field may add `accept` (extensions or MIME types, e.g. `[".pdf", "image/*"]`) and `max_files` (1 to 10; more than 1 needs a `list[dict]` input). Workflow inputs left out of `layout` are appended in schema order. Omit `config` to leave it unchanged. Default: `null`. **status** `string | null` `online` lets people submit the form (the workflow must be published); `offline` stops submissions. Omit to leave unchanged. Default: `null`. ### Examples **Put a form online with a card picker** ```yaml theme={null} - ref: update_form action: core.forms.update_form args: workflow_id: wf_3mYp8JkL2nQr7sTu9vWx0Z status: online config: title: Laptop request layout: - field: model widget: cards ``` ## `core.forms.list_submissions` List a form's submissions with their answers, newest first. Enterprise Edition ### Inputs **form_id** `string` *required* The form ID. **cursor** `string | null` `next_cursor` from a previous page. Default: `null`. **limit** `integer` Maximum number of submissions to return. Default: `20`. **submitted_after** `string | null` Only submissions at or after this time. Default: `null`. **submitted_before** `string | null` Only submissions before this time. Default: `null`. ### Examples **List submissions older than 90 days** ```yaml theme={null} - ref: list_expired action: core.forms.list_submissions args: form_id: 0b9f6c1e-5a47-4d1b-9c3e-2f7a8d6e4b10 submitted_before: ${{ FN.now() - FN.days(90) }} limit: 200 ``` ## `core.forms.get_submission` Get one form submission with its answers and who submitted it. Enterprise Edition ### Inputs **submission_id** `string` *required* The submission ID. A form-triggered workflow gets its own from an input with `autofill: submission.id`. ### Examples **Get the submission that started this run** ```yaml theme={null} - ref: get_submission action: core.forms.get_submission args: submission_id: ${{ TRIGGER.submission_id }} ``` ## `core.forms.delete_submission` Delete a form submission and its stored answers. The workflow run it started keeps its own copy of the inputs. Files uploaded with the submission are deleted too. Enterprise Edition ### Inputs **submission_id** `string` *required* The submission ID. ### Examples **Delete each listed submission** ```yaml theme={null} - ref: delete_expired action: core.forms.delete_submission depends_on: - list_expired for_each: ${{ for var.submission in ACTIONS.list_expired.result.items }} args: submission_id: ${{ var.submission.id }} ``` ## `core.forms.download_file` Download a file uploaded with a form submission. File integrity is verified via SHA256. Enterprise Edition ### Inputs **file_id** `string` *required* The file ID: the `id` of the file object a `file` field puts in the workflow's inputs. ### Examples **Download a file attached to the submission** ```yaml theme={null} - ref: download_quote action: core.forms.download_file args: file_id: ${{ TRIGGER.quote.id }} ``` # Columns Source: https://docs.tracecat.com/automations/core-actions/memory-actions/columns ## `core.table.create_column` Add a column to an existing table. ### Inputs **column** `object` *required* Column definition with required `name` and uppercase `type`, plus optional `nullable`, `default`, and `options` fields. Use `TEXT`, `INTEGER`, `NUMERIC`, `BOOLEAN`, `DATE`, `TIMESTAMPTZ`, `JSONB`, `SELECT`, or `MULTI_SELECT`. `options` is required for `SELECT` and `MULTI_SELECT`. **table** `string` *required* The table to add the column to. ### Examples **Manage table schema** ```yaml theme={null} - ref: rename_table action: core.table.update_table args: name: asset_inventory new_name: assets - ref: add_owner_team action: core.table.create_column depends_on: - rename_table args: table: assets column: name: owner_team type: SELECT options: - secops - platform - ref: drop_owner_team action: core.table.delete_column depends_on: - add_owner_team args: table: assets column: owner_team ``` ## `core.table.update_column` Update a table column's name, type, nullability, default, index, or options. Set `update: {is_index: true}` to create the table's unique index on the column. A table can have one single-column unique index: creation fails if the column already contains duplicate values, and a second `is_index: true` call raises `Table cannot have multiple unique indexes`. Guard the step when a workflow repeats it; see [Tables](/automations/tables#index-and-upsert). ### Inputs **column** `string` *required* The current column name. **table** `string` *required* The table containing the column. **update** `object` *required* Partial column update. Supported fields: `name`, `type`, `nullable`, `default`, `is_index`, and `options`. ### Examples **Create a unique index and upsert** ```yaml theme={null} - ref: ensure_alerts_table action: core.table.create_table args: name: alerts columns: - name: alert_id type: TEXT - name: status type: TEXT raise_on_duplicate: false - ref: alerts_metadata action: core.table.get_table_metadata depends_on: - ensure_alerts_table args: name: alerts - ref: index_alert_id action: core.table.update_column depends_on: - alerts_metadata run_if: ${{ FN.length(ACTIONS.alerts_metadata.result.columns[?(@.is_index == true)]) == 0 }} args: table: alerts column: alert_id update: is_index: true - ref: upsert_alert action: core.table.insert_row depends_on: - alerts_metadata - index_alert_id join_strategy: any args: table: alerts upsert: true row_data: alert_id: ${{ TRIGGER.alert_id }} status: ${{ TRIGGER.status }} ``` ## `core.table.delete_column` Delete a column from an existing table. ### Inputs **column** `string` *required* The column name to delete. **table** `string` *required* The table containing the column. ### Examples **Delete a column** ```yaml theme={null} - ref: drop_owner_team action: core.table.delete_column args: table: assets column: owner_team ``` # Export Source: https://docs.tracecat.com/automations/core-actions/memory-actions/export ## `core.table.download` Download a table's data by name as list of dicts, JSON string, NDJSON string, CSV or Markdown. ### Inputs **name** `string` *required* The name of the table to download. **format** `string | null` The format to download the table data in. Default: `null`. **limit** `integer` The maximum number of rows to download. Default: `1000`. ### Examples **Export table data** ```yaml theme={null} - ref: export_table action: core.table.download args: name: asset_inventory format: csv limit: 1000 ``` # Lookups Source: https://docs.tracecat.com/automations/core-actions/memory-actions/lookups ## `core.table.lookup` Get a single row from a table corresponding to the given column and value. ### Inputs **column** `string` *required* The column to lookup the value in. **table** `string` *required* The table to lookup the value in. **value** `any` *required* The value to lookup. ### Examples **Look up rows** ```yaml theme={null} - ref: lookup_row action: core.table.lookup args: table: asset_inventory column: hostname value: ${{ TRIGGER.hostname }} - ref: row_exists action: core.table.is_in args: table: asset_inventory column: hostname value: ${{ TRIGGER.hostname }} - ref: lookup_many_rows action: core.table.lookup_many args: table: asset_inventory column: owner value: secops limit: 25 ``` ## `core.table.is_in` Check if a value exists in a table column. ### Inputs **column** `string` *required* The column to check in. **table** `string` *required* The table to check. **value** `any` *required* The value to check for. ### Examples **Look up rows** ```yaml theme={null} - ref: lookup_row action: core.table.lookup args: table: asset_inventory column: hostname value: ${{ TRIGGER.hostname }} - ref: row_exists action: core.table.is_in args: table: asset_inventory column: hostname value: ${{ TRIGGER.hostname }} - ref: lookup_many_rows action: core.table.lookup_many args: table: asset_inventory column: owner value: secops limit: 25 ``` ## `core.table.lookup_many` Get multiple rows from a table corresponding to the given column and values. ### Inputs **column** `string` *required* The column to lookup the value in. **table** `string` *required* The table to lookup the value in. **value** `any` *required* The value to lookup. **limit** `integer` The maximum number of rows to return. Default: `100`. ### Examples **Look up rows** ```yaml theme={null} - ref: lookup_row action: core.table.lookup args: table: asset_inventory column: hostname value: ${{ TRIGGER.hostname }} - ref: row_exists action: core.table.is_in args: table: asset_inventory column: hostname value: ${{ TRIGGER.hostname }} - ref: lookup_many_rows action: core.table.lookup_many args: table: asset_inventory column: owner value: secops limit: 25 ``` ## `core.table.search_rows` Search for rows in a table with optional filtering. ### Inputs **table** `string` *required* The table to search in. **cursor** `string | null` Cursor for pagination. Default: `null`. **end_time** `string | null` Filter rows created before this time. Default: `null`. **limit** `integer` The maximum number of rows to return. Default: `100`. **paginate** `boolean` If true, return cursor pagination metadata along with items. Default: `false`. **reverse** `boolean` Reverse pagination direction. Default: `false`. **search_term** `string | null` Text to search for across all text and JSONB columns. Default: `null`. **start_time** `string | null` Filter rows created after this time. Default: `null`. **updated_after** `string | null` Filter rows updated after this time. Default: `null`. **updated_before** `string | null` Filter rows updated before this time. Default: `null`. ### Examples **Search table rows** ```yaml theme={null} - ref: search_rows action: core.table.search_rows args: table: asset_inventory search_term: database limit: 50 paginate: true ``` ## `core.table.aggregate_rows` Filter, group, and summarize table rows. Returns groups and a truncated flag indicating whether more groups exist than the requested limit. The example groups alerts by source and hour, then calculates the alert count, total bytes, and median duration for each group. Before running it, create an `alerts` table with these columns: * `source`: TEXT. * `disposition`: TEXT. * `bytes_out`: INTEGER. * `duration_ms`: NUMERIC. Use `ACTIONS.bytes_by_source_hourly.result.groups` to read the results. If `ACTIONS.bytes_by_source_hourly.result.truncated` is `true`, the result reached the group limit and omitted some groups. ### Inputs **group_by** `array[string | object]` *required* Choose how to split rows into groups. Use up to 3 fields, or `[]` for one total across all matching rows. Supply a field name such as `source`, or an object with `field` and optional `bucket`, `timezone`, and `alias`. For example: \['source', \{'field': 'created_at', 'bucket': 'hour'}]. An alias names the field in the result; it defaults to the field name. All output names must be unique and at most 63 UTF-8 bytes. Fields you can group by: * TEXT, SELECT, INTEGER, NUMERIC, and BOOLEAN columns. * DATE and TIMESTAMPTZ columns, including the system fields `created_at` and `updated_at`. These require a `bucket`: `hour`, `day`, `week`, or `month`. Weeks start on Monday. JSONB, MULTI_SELECT, `id`, and internal columns are unsupported. Date and time settings: * Timestamps accept an IANA timezone name, such as `America/New_York`. The default is `UTC`; results always contain UTC timestamps. * DATE fields return `YYYY-MM-DD`. They do not accept a timezone, and even an `hour` bucket retains only date precision. How group values appear in results: * Missing values share one `null` group. * TEXT and SELECT values use only the first 256 characters. Values with the same prefix merge into one group. * NUMERIC values appear as exact decimal strings. **table** `string` *required* The name of the workspace table to aggregate. **aggs** `array[object] | null` Choose what to calculate for each group. Omit this input to count rows. Supply up to 8 calculations; an empty list is invalid. Each calculation is an object with `function`, optional `field`, and optional `alias`. For example: \[\{'function': 'sum', 'field': 'bytes_out', 'alias': 'total_bytes'}]. Available calculations: * `count`: Count rows when you omit `field`, or count non-null values when you supply it. * `count_distinct`: Count different non-null values. * `sum`, `mean`, `median`: Calculate the total, average, or middle value. * `min`, `max`: Return the smallest or largest value. Every function except `count` requires a field. Numeric columns support all functions. Text and date/time columns support `count`, `count_distinct`, `min`, and `max`. BOOLEAN and SELECT columns support only `count` and `count_distinct`. Naming and number formats: * Use `alias` to name a result, such as `total_bytes`. Otherwise the name is `count` or `function_field`. All output names must be unique and at most 63 UTF-8 bytes. * Counts are integers. INTEGER/NUMERIC sums, all means and medians, and NUMERIC min/max use floating-point numbers and can lose precision. NUMERIC grouping values remain exact decimal strings. Default: `null`. **filters** `object | null` Choose which rows to include before grouping. Omit this input to include all rows. Write one condition as \{'field': 'amount', 'op': 'gte', 'value': 10}. Combine conditions with \{'and': \[...]}, \{'or': \[...]}, or \{'not': \{...}}. Choose an operator supported by the column type: * TEXT: `eq`, `ne`, `in`, `not_in`, `is_null`, `contains`, and `starts_with`. Only `contains` and `starts_with` ignore case and match literal text; `eq`, `ne`, `in`, and `not_in` are case-sensitive. * INTEGER and NUMERIC: `eq`, `ne`, `in`, `not_in`, `gt`, `gte`, `lt`, `lte`, and `is_null`. * DATE and TIMESTAMPTZ: `eq`, `ne`, `gt`, `gte`, `lt`, `lte`, and `is_null`. * SELECT: `eq`, `ne`, `in`, `not_in`, and `is_null`. * BOOLEAN: `eq`, `ne`, and `is_null`. Supply a list for `in` or `not_in`. Omit `value` for `is_null`. Use strings for exact decimals and ISO-formatted dates or timestamps. `ne` and `not_in` exclude missing values. An empty `not_in` list matches all rows; an empty `in` list matches none. Filters allow up to 4 levels of nesting, 50 conditions, and 1000 total values. The server validates the request when the action runs. Default: `null`. **limit** `integer | null` Set the maximum number of groups to return. Use at least 1, up to your server's configured maximum (normally 1000). Omit this input to use the server default (normally 100). If more groups exist, the result sets `truncated` to `true`. There is no next-page cursor. Default: `null`. **min_count** `integer | null` Only return groups with at least this many rows (minimum 1). Default: `null`. **order_by** `string | null` Choose a group or calculation output name to sort by, including any alias you set. If omitted, results sort by the first date/time bucket, or by the first calculation when there is no date/time bucket. Default: `null`. **sort** `string | null` Use `asc` for ascending order or `desc` for descending order. If omitted, the direction is `asc` when the action automatically sorts by a date/time bucket. Otherwise it is `desc`, including when you set `order_by` yourself. Missing values sort last; group values break ties. Default: `null`. ### Examples **Sum bytes by source and hour** ```yaml theme={null} - ref: bytes_by_source_hourly action: core.table.aggregate_rows args: table: alerts filters: and: - field: disposition op: ne value: benign - field: created_at op: gte value: "2026-08-31T00:00:00Z" group_by: - source - field: created_at bucket: hour aggs: - function: count - function: sum field: bytes_out alias: total_bytes - function: median field: duration_ms limit: 200 ``` # Rows Source: https://docs.tracecat.com/automations/core-actions/memory-actions/rows ## `core.table.insert_row` Insert a row into a table. ### Inputs **row_data** `object` *required* The data to insert into the row. **table** `string` *required* The table to insert the row into. **upsert** `boolean` If true, update the row if it already exists (based on primary key). Default: `false`. ### Examples **Insert, update, and delete rows** ```yaml theme={null} - ref: insert_row action: core.table.insert_row args: table: asset_inventory row_data: hostname: app-01 owner: secops - ref: insert_rows action: core.table.insert_rows args: table: asset_inventory rows_data: - hostname: app-02 owner: secops - hostname: app-03 owner: platform - ref: update_row action: core.table.update_row args: table: asset_inventory row_id: ${{ TRIGGER.row_id }} row_data: owner: incident-response - ref: delete_row action: core.table.delete_row args: table: asset_inventory row_id: ${{ TRIGGER.row_id }} ``` ## `core.table.insert_rows` Insert multiple rows into a table. ### Inputs **rows_data** `array[object]` *required* The list of data to insert into the table. **table** `string` *required* The table to insert the rows into. **upsert** `boolean` If true, update the rows if they already exist (based on primary key). Default: `false`. ### Examples **Insert, update, and delete rows** ```yaml theme={null} - ref: insert_row action: core.table.insert_row args: table: asset_inventory row_data: hostname: app-01 owner: secops - ref: insert_rows action: core.table.insert_rows args: table: asset_inventory rows_data: - hostname: app-02 owner: secops - hostname: app-03 owner: platform - ref: update_row action: core.table.update_row args: table: asset_inventory row_id: ${{ TRIGGER.row_id }} row_data: owner: incident-response - ref: delete_row action: core.table.delete_row args: table: asset_inventory row_id: ${{ TRIGGER.row_id }} ``` ## `core.table.update_row` Update a row in a table. ### Inputs **row_data** `object` *required* The new data for the row. **row_id** `string` *required* The ID of the row to update. **table** `string` *required* The table to update the row in. ### Examples **Insert, update, and delete rows** ```yaml theme={null} - ref: insert_row action: core.table.insert_row args: table: asset_inventory row_data: hostname: app-01 owner: secops - ref: insert_rows action: core.table.insert_rows args: table: asset_inventory rows_data: - hostname: app-02 owner: secops - hostname: app-03 owner: platform - ref: update_row action: core.table.update_row args: table: asset_inventory row_id: ${{ TRIGGER.row_id }} row_data: owner: incident-response - ref: delete_row action: core.table.delete_row args: table: asset_inventory row_id: ${{ TRIGGER.row_id }} ``` ## `core.table.delete_row` Delete a row from a table. ### Inputs **row_id** `string` *required* The ID of the row to delete. **table** `string` *required* The table to delete the row from. ### Examples **Insert, update, and delete rows** ```yaml theme={null} - ref: insert_row action: core.table.insert_row args: table: asset_inventory row_data: hostname: app-01 owner: secops - ref: insert_rows action: core.table.insert_rows args: table: asset_inventory rows_data: - hostname: app-02 owner: secops - hostname: app-03 owner: platform - ref: update_row action: core.table.update_row args: table: asset_inventory row_id: ${{ TRIGGER.row_id }} row_data: owner: incident-response - ref: delete_row action: core.table.delete_row args: table: asset_inventory row_id: ${{ TRIGGER.row_id }} ``` # Tables Source: https://docs.tracecat.com/automations/core-actions/memory-actions/tables Tables are the built-in structured data store behind `core.table.*`. Use them when your workflows need durable, queryable records such as asset inventories, user allowlists, enrichment results, or investigation evidence. ## Common workflow pattern 1. Create the table once with a schema that fits your data and a unique index on the upsert column. 2. Insert or upsert rows as new events arrive. 3. Look up, search, or export rows later from another workflow step. ```yaml theme={null} - ref: ensure_inventory_table action: core.table.create_table args: name: asset_inventory columns: - name: hostname type: TEXT - name: owner type: TEXT - name: last_seen type: TIMESTAMPTZ raise_on_duplicate: false - ref: inventory_metadata action: core.table.get_table_metadata depends_on: - ensure_inventory_table args: name: asset_inventory - ref: index_hostname action: core.table.update_column depends_on: - inventory_metadata run_if: ${{ FN.length(ACTIONS.inventory_metadata.result.columns[?(@.is_index == true)]) == 0 }} args: table: asset_inventory column: hostname update: is_index: true - ref: upsert_asset action: core.table.insert_row depends_on: - inventory_metadata - index_hostname join_strategy: any args: table: asset_inventory upsert: true row_data: hostname: ${{ TRIGGER.hostname }} owner: ${{ TRIGGER.owner }} last_seen: ${{ FN.now() }} - ref: find_asset action: core.table.lookup depends_on: - upsert_asset args: table: asset_inventory column: hostname value: ${{ TRIGGER.hostname }} ``` ## Column schema `core.table.create_table` takes `columns` as a JSON array of column objects. This is the same schema you use for tables that you later link to cases. * `name`: Required string. Use letters, numbers, and underscores, and start with a letter or underscore. * `type`: Required uppercase string. Use `TEXT`, `INTEGER`, `NUMERIC`, `BOOLEAN`, `DATE`, `TIMESTAMPTZ`, `JSONB`, `SELECT`, or `MULTI_SELECT`. * `nullable`: Optional boolean. Defaults to `true`. * `default`: Optional value. It must match the column type. * `options`: Optional array of strings. Required for `SELECT` and `MULTI_SELECT`, and invalid for other types. The documented `type` values match the custom tables picker, and case custom fields use the same storage types. The case field picker surfaces raw `JSONB` through the `URL` kind and layers `Long text` on top of `TEXT`. Create a table with a `SELECT` column: ```yaml theme={null} - ref: create_table action: core.table.create_table args: name: asset_inventory columns: - name: hostname type: TEXT - name: first_seen_at type: TIMESTAMPTZ - name: owner_team type: SELECT options: - secops - platform - it ``` ## FAQ > [accordion] How do I insert more than 1000 rows into a table? > > Split large imports into batches upstream, then run one `insert_rows` action per batch. > > ```yaml theme={null} > - ref: insert_batch > action: core.table.insert_rows > for_each: ${{ for var.batch in TRIGGER.row_batches }} > args: > table: asset_inventory > rows_data: ${{ var.batch }} > ``` ## `core.table.create_table` Create a new lookup table with optional columns. > [!NOTE] > > `columns` takes the column objects described in > [Column schema](#column-schema). ### Inputs **name** `string` *required* The name of the table to create. **columns** `array[object] | null` List of column definitions. Each item is an object with required `name` and uppercase `type`, plus optional `nullable`, `default`, and `options` fields. Use `TEXT`, `INTEGER`, `NUMERIC`, `BOOLEAN`, `DATE`, `TIMESTAMPTZ`, `JSONB`, `SELECT`, or `MULTI_SELECT`. `options` is required for `SELECT` and `MULTI_SELECT`, and invalid for other types. Default: `null`. **raise_on_duplicate** `boolean` If true, raise an error if the table already exists. Default: `true`. ### Examples **Create and inspect a table** ```yaml theme={null} - ref: create_table action: core.table.create_table args: name: asset_inventory columns: - name: hostname type: TEXT - name: owner type: TEXT raise_on_duplicate: false - ref: list_tables action: core.table.list_tables - ref: table_metadata action: core.table.get_table_metadata args: name: asset_inventory ``` ## `core.table.list_tables` Get a list of all available tables in the workspace. ### Inputs This action does not take input fields. ### Examples **Create and inspect a table** ```yaml theme={null} - ref: create_table action: core.table.create_table args: name: asset_inventory columns: - name: hostname type: TEXT - name: owner type: TEXT raise_on_duplicate: false - ref: list_tables action: core.table.list_tables - ref: table_metadata action: core.table.get_table_metadata args: name: asset_inventory ``` ## `core.table.get_table_metadata` Get a table's metadata by name. This includes the columns and whether they are indexed. ### Inputs **name** `string` *required* The name of the table to get. ### Examples **Create and inspect a table** ```yaml theme={null} - ref: create_table action: core.table.create_table args: name: asset_inventory columns: - name: hostname type: TEXT - name: owner type: TEXT raise_on_duplicate: false - ref: list_tables action: core.table.list_tables - ref: table_metadata action: core.table.get_table_metadata args: name: asset_inventory ``` ## `core.table.update_table` Rename a table by name. ### Inputs **name** `string` *required* The current name of the table to update. **new_name** `string` *required* The new table name. ### Examples **Rename a table** ```yaml theme={null} - ref: rename_table action: core.table.update_table args: name: asset_inventory new_name: assets ``` # Email Source: https://docs.tracecat.com/automations/core-actions/request-actions/email ## `core.send_email_smtp` Send email using SMTP. ### Secrets Required secrets: * `smtp`: required values `SMTP_HOST`, `SMTP_PORT`, `SMTP_USER`, `SMTP_PASS`. ### Inputs **body** `string` *required* Body content of the email **recipients** `array[string]` *required* List of recipient email addresses **sender** `string` *required* Email address of the sender **subject** `string` *required* Subject of the email **allowed_attributes** `map[string, array[string]] | null` Key-value pairs of allowed attributes to add to the email body. e.g. \{'\*': \['style']}. This allows all tags to have a style attribute Default: `null`. **bcc** `string | array[string] | null` Recipient(s) to be copied in the BCC field Default: `null`. **cc** `string | array[string] | null` Recipient(s) to be copied in the CC field Default: `null`. **content_type** `string` Email content type ('text/plain' or 'text/html'). Defaults to 'text/plain'. Default: `"text/plain"`. Allowed values: `text/plain`, `text/html`. **enable_auth** `boolean` Enable SMTP authentication Default: `false`. **enable_ssl** `boolean` Enable SSL for secure connection Default: `false`. **enable_starttls** `boolean` Enable STARTTLS for secure connection Default: `false`. **headers** `map[string, string] | null` Additional email headers Default: `null`. **ignore_cert_errors** `boolean` Ignore SSL certificate errors Default: `false`. **plaintext_alternative** `string | null` Plaintext alternative body for html emails. Defaults to 'This email requires an HTML viewer to display properly.' if not provided. Default: `null`. **reply_to** `string | array[string] | null` Email address(es) to be used in the Reply-To field Default: `null`. **sender_prefix** `string | null` Email address prefix of the sender Default: `null`. **timeout** `number | null` Timeout for SMTP operations in seconds Default: `null`. ### Examples **Send a notification** ```yaml theme={null} - ref: notify_team action: core.send_email_smtp args: sender: no-reply@example.com recipients: - secops@example.com subject: "Tracecat alert ${{ TRIGGER.alert_id }}" body: "Severity: ${{ TRIGGER.severity }}" content_type: text/plain enable_starttls: true enable_auth: true ``` # gRPC Source: https://docs.tracecat.com/automations/core-actions/request-actions/grpc ## `core.grpc.request` Call a gRPC method using a runtime-compiled protobuf definition. ### Secrets Optional secrets: * `grpc_mtls`: required values `TLS_CERTIFICATE`, `TLS_PRIVATE_KEY`. * `grpc_ca_cert`: required values `CA_CERTIFICATE`. ### Inputs **method_name** `string` *required* gRPC method name (e.g., 'Query'). **proto** `string` *required* Inline .proto definition. **service_name** `string` *required* gRPC service name (e.g., 'API'). **target** `string` *required* gRPC server address in host:port format. **insecure** `boolean` Use an insecure plaintext channel. Defaults to False (TLS channel). Default: `false`. **payload** `object | null` Request payload as a dict matching the protobuf schema. Default: `null`. **timeout_seconds** `number | null` Timeout in seconds for the RPC. Defaults to no timeout. Default: `null`. ### Examples **Call a gRPC service** ```yaml theme={null} - ref: grpc_query action: core.grpc.request args: target: grpc.example.com:443 service_name: Alerts method_name: GetAlert proto: | syntax = "proto3"; package alerts; service Alerts { rpc GetAlert (GetAlertRequest) returns (AlertResponse); } message GetAlertRequest { string id = 1; } message AlertResponse { string id = 1; string severity = 2; } payload: id: ${{ TRIGGER.alert_id }} ``` # HTTP Source: https://docs.tracecat.com/automations/core-actions/request-actions/http Connect to any REST API with the `core.http_request`, `core.http_poll`, and `core.http_paginate` actions. ## Authentication ### API keys Store API keys and static tokens as [Secrets](/automations/core-concepts/secrets), then add the secret to `headers`. Pass a secret as a bearer token: ```yaml theme={null} headers: Authorization: Bearer ${{ SECRETS.. }} ``` If the API expects a dedicated key header, use the same expression: ```yaml theme={null} headers: X-API-Key: ${{ SECRETS.. }} ``` ### OAuth Connect an [OAuth integration](/automations/integrations/oauth-integrations), then pass its managed access token as a bearer token. OAuth expressions use the provider's exact ID, not its display name. * Built-in providers use stable lowercase IDs assigned by Tracecat, with underscores between words, such as `slack`, `google_drive`, and `microsoft_sentinel`. * Custom providers use an ID derived from the provider name, or from the requested ID when you create one through the API. Tracecat slugifies it with underscores and prepends `custom_`. `My Security API` becomes `custom_my_security_api`. If that ID is already used for the same grant type, Tracecat appends `_1`, `_2`, and so on. Append `_oauth` to the exact provider ID for the secret name. For the key, uppercase the complete provider ID, preserve its underscores and any numeric suffix, then append `_USER_TOKEN` for `authorization_code` or `_SERVICE_TOKEN` for `client_credentials`. ```yaml theme={null} # authorization_code grant ${{ SECRETS._oauth._USER_TOKEN }} # client_credentials grant ${{ SECRETS._oauth._SERVICE_TOKEN }} ``` A built-in `google_drive` authorization-code provider and a custom `custom_my_security_api` client-credentials provider resolve as: ```yaml theme={null} ${{ SECRETS.google_drive_oauth.GOOGLE_DRIVE_USER_TOKEN }} ${{ SECRETS.custom_my_security_api_oauth.CUSTOM_MY_SECURITY_API_SERVICE_TOKEN }} ``` When the provider has **both** grant types configured, you can fall back across both keys: ```yaml theme={null} ${{ SECRETS.microsoft_sentinel_oauth.MICROSOFT_SENTINEL_USER_TOKEN || SECRETS.microsoft_sentinel_oauth.MICROSOFT_SENTINEL_SERVICE_TOKEN }} ``` > [!WARNING] > > Validation checks both sides of a `||` independently, so this fallback only > passes when the provider is configured for both `authorization_code` and > `client_credentials`. If only one grant is set up, reference that grant's key > directly — otherwise the workflow fails validation on the missing one. > [!NOTE] > > Tracecat refreshes expiring authorization-code tokens when the provider > issued a refresh token, and reacquires client-credentials tokens with the > stored client credentials. The expression resolves only to the current > access-token string, which may be a JWT or an opaque token, not the refresh > token. ## `core.http_request` Perform a HTTP request to a given URL. ### Private services To call a host on a private or on-premises network, such as `http://splunk.internal:8089`, route the action through a [tunnel](/manage-platform/tunnels). The request uses the same `url`, with `http://` or `https://`. The host and port must be in the tunnel's allowed targets, otherwise the request fails with `403`. HTTPS stays encrypted end to end; add an internal CA with the `ca_cert` secret. ### Secrets Optional secrets: * `mtls`: required values `TLS_CERTIFICATE`, `TLS_PRIVATE_KEY`. * `ca_cert`: required values `CA_CERTIFICATE`. ### Inputs **method** `string` *required* HTTP request method Allowed values: `GET`, `POST`, `PUT`, `PATCH`, `DELETE`, `HEAD`, `OPTIONS`. **url** `string` *required* The destination of the HTTP request **auth** `map[string, string] | null` Basic auth credentials with `username` and `password` keys Default: `null`. **base64_encode_data** `boolean` Base64 encode the raw response body before returning. Use this for binary downloads to prevent corruption from text decoding. Default: `false`. **content** `string | null` Raw string content to send as the request body (POST, PUT, and PATCH). Cannot be combined with payload, form_data, or files. Default: `null`. **files** `map[string, string | FileUploadData] | null` Files to upload using multipart/form-data. The dictionary key is the form field name. The value can be a simple base64 encoded string (filename defaults to form field name), or a dictionary with 'filename', 'content_base64', and optional 'content_type'. Default: `null`. **follow_redirects** `boolean` Follow HTTP redirects Default: `false`. **form_data** `object | null` Form encoded data in request body (POST, PUT, and PATCH) Default: `null`. **headers** `map[string, string | null] | null` HTTP request headers Default: `null`. **ignore_status_codes** `array[integer] | null` If specified, these status codes will not be treated as errors. Defaults to None. Default: `null`. **max_redirects** `integer` Maximum number of redirects Default: `20`. **params** `object | null` URL query parameters Default: `null`. **payload** `object | array[any] | null` JSON serializable data in request body (POST, PUT, and PATCH) Default: `null`. **timeout** `number` Timeout in seconds Default: `10.0`. **verify_ssl** `boolean` Verify SSL certificates. Defaults to True, disable at own risk. Default: `true`. ### Examples **Basic request** ```yaml theme={null} - ref: fetch_alert action: core.http_request args: url: https://api.example.com/alerts/${{ TRIGGER.alert_id }} method: GET headers: Authorization: Bearer ${{ SECRETS.alerts.API_TOKEN }} ``` ## `core.http_poll` Perform a HTTP request to a given URL with optional polling. ### Poll condition examples `poll_condition` receives a response with `data`, `status_code`, and `headers`. The action stops polling when the lambda returns `True`. When the API has exactly one nonterminal state, `!=` against it stops on every terminal state, and the `.get` default treats a missing `status` as that state: ```python theme={null} lambda response: response["data"].get("status", "processing") != "processing" ``` If the API also uses nonterminal states such as `queued` or `pending`, list its terminal states with `in`: ```python theme={null} lambda response: response["data"].get("status") in ["completed", "failed", "cancelled"] ``` With `poll_max_attempts: 0`, polling never stops if the condition never matches. Stop on an HTTP status code: ```python theme={null} lambda response: response["status_code"] == 200 ``` Stop when a response header has the expected value: ```python theme={null} lambda response: response["headers"].get("x-status") == "completed" ``` ### Secrets Optional secrets: * `mtls`: required values `TLS_CERTIFICATE`, `TLS_PRIVATE_KEY`. * `ca_cert`: required values `CA_CERTIFICATE`. ### Inputs **method** `string` *required* HTTP request method Allowed values: `GET`, `POST`, `PUT`, `PATCH`, `DELETE`, `HEAD`, `OPTIONS`. **url** `string` *required* The destination of the HTTP request **auth** `map[string, string] | null` Basic auth credentials with `username` and `password` keys Default: `null`. **follow_redirects** `boolean` Follow HTTP redirects Default: `false`. **form_data** `object | null` Form encoded data in request body (POST, PUT, and PATCH) Default: `null`. **headers** `map[string, string | null] | null` HTTP request headers Default: `null`. **max_redirects** `integer` Maximum number of redirects Default: `20`. **params** `object | null` URL query parameters Default: `null`. **payload** `object | array[any] | null` JSON serializable data in request body (POST, PUT, and PATCH) Default: `null`. **poll_condition** `string | null` Python lambda function when evaluated to True, stops polling. The function receives a dict with `headers`, `data`, and `status_code` fields. Default: `null`. **poll_interval** `number | null` Interval in seconds between polling attempts. If not specified, defaults to polling with exponential wait. Default: `null`. **poll_max_attempts** `integer` Maximum number of polling attempts. If set to 0, the action will poll indefinitely (until timeout). Default: `10`. **poll_retry_codes** `integer | array[integer] | null` Status codes on which the action will retry. Ignored if `poll_condition` is provided. If neither are specified, an error will be raised. Default: `null`. **timeout** `number` Timeout in seconds Default: `10.0`. **verify_ssl** `boolean` Verify SSL certificates. Defaults to True, disable at own risk. Default: `true`. ### Examples **Poll until terminal status** ```yaml theme={null} - ref: wait_for_export action: core.http_poll args: url: https://api.example.com/exports/${{ TRIGGER.export_id }} method: GET headers: Authorization: Bearer ${{ SECRETS.exports.API_TOKEN }} poll_interval: 5 poll_max_attempts: 24 poll_condition: "lambda response: response['data'].get('status') in ['completed', 'failed', 'cancelled']" ``` ## `core.http_paginate` Paginate through a HTTP response. > [!TIP] > > For large lists, request a bounded page and process each batch in a > [While loop](/automations/core-actions/workflow-actions/while-loops) > until the API returns no next cursor or no items. ### Inputs **method** `string` *required* HTTP request method Allowed values: `GET`, `POST`, `PUT`, `PATCH`, `DELETE`, `HEAD`, `OPTIONS`. **next_request** `string` *required* Python lambda function that returns the next request as a JSON of `url`, `method`, `headers`, `params`, `payload`, `form_data` to paginate to. The function receives a dict with `headers`, `data`, and `status_code` fields. **stop_condition** `string` *required* Python lambda function that determines when pagination should STOP. The function receives a dict with `headers`, `data`, and `status_code` fields. **url** `string` *required* The destination of the HTTP request **auth** `map[string, string] | null` Basic auth credentials with `username` and `password` keys Default: `null`. **follow_redirects** `boolean` Follow HTTP redirects Default: `false`. **form_data** `object | null` Form encoded data in request body (POST, PUT, and PATCH) Default: `null`. **headers** `map[string, string | null] | null` HTTP request headers Default: `null`. **items_jsonpath** `string | null` JSONPath expression that evaluates to the items to paginate through. Default: `null`. **limit** `integer` Maximum number of items to paginate through. Defaults to 1000. Default: `1000`. **max_redirects** `integer` Maximum number of redirects Default: `20`. **params** `object | null` URL query parameters Default: `null`. **payload** `object | array[any] | null` JSON serializable data in request body (POST, PUT, and PATCH) Default: `null`. **timeout** `number` Timeout in seconds Default: `10.0`. **verify_ssl** `boolean` Verify SSL certificates. Defaults to True, disable at own risk. Default: `true`. ### Examples **Follow next page links** ```yaml theme={null} - ref: list_findings action: core.http_paginate args: url: https://api.example.com/findings method: GET headers: Authorization: Bearer ${{ SECRETS.findings.API_TOKEN }} params: limit: 100 items_jsonpath: $.items[*] stop_condition: "lambda response: response['data'].get('next_cursor') is None" next_request: "lambda response: {'url': 'https://api.example.com/findings', 'method': 'GET', 'headers': {'Authorization': 'Bearer ${{ SECRETS.findings.API_TOKEN }}'}, 'params': {'limit': 100, 'cursor': response['data']['next_cursor']}}" ``` # SQL Source: https://docs.tracecat.com/automations/core-actions/request-actions/sql ## `core.sql.execute_query` Execute a parameterized SQL query on an external database. ### Secrets Required secrets: * `sql`: required values `CONNECTION_URL`. ### Inputs **query** `string` *required* SQL query to execute. Use :param_name syntax for bound parameters. Do NOT use Tracecat expressions in the query string. **bound_params** `object | null` Bound query parameters as a dictionary (injected with :param_name syntax). Supply dynamic values here, NOT within the query string. This is required for safe, parameterized SQL queries. Default: `null`. **fetch_one** `boolean` Return a single row instead of a list of rows. Defaults to False, which fetches all rows. Default: `false`. **max_rows** `integer` Maximum number of rows to return. Default 200. Prevents accidentally returning huge result sets. Default: `200`. ### Examples **Query an external database** ```yaml theme={null} - ref: recent_logins action: core.sql.execute_query args: query: | SELECT user_email, last_login_at FROM user_logins WHERE last_login_at >= :cutoff ORDER BY last_login_at DESC bound_params: cutoff: ${{ TRIGGER.cutoff }} max_rows: 100 ``` ## `core.duckdb.execute_sql` Execute SQL in an in-process DuckDB engine ### Secrets Optional secrets: * `amazon_s3`: optional values `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_SESSION_TOKEN`, `AWS_REGION`, `AWS_ROLE_ARN`, `AWS_ROLE_SESSION_NAME`. ### Inputs **sql** `string` *required* SQL to execute in an in-process DuckDB connection. **duration_seconds** `integer | null` Duration of the chained role session in seconds (900-3600). AWS limits role chaining to a maximum of one hour. Only used together with role_arn. Default: `null`. **external_id** `string | null` External ID required by the chained role's trust policy, if any. Only used together with role_arn. Default: `null`. **region_name** `string | null` AWS region of the S3 buckets this query reads. Overrides the AWS_REGION secret for the DuckDB S3 secret. Default: `null`. **role_arn** `string | null` ARN of an IAM role to assume (role chaining) with the credentials from the AWS secret before calling the service, e.g. a role in another AWS account that trusts the configured role or user. Requires sts:AssumeRole on that role. Default: `null`. **role_session_name** `string | null` Session name recorded in CloudTrail for the chained AssumeRole. Defaults to a Tracecat workspace/run derived name. Default: `null`. ### Examples **Run in-process SQL** ```yaml theme={null} - ref: aggregate_results action: core.duckdb.execute_sql args: sql: | WITH findings(id, severity) AS ( VALUES (1, 'high'), (2, 'low'), (3, 'high') ) SELECT severity, count(*) AS count FROM findings GROUP BY severity ORDER BY count DESC ``` **Read from S3** ```yaml theme={null} # Attach the amazon_s3 secret (static keys or AWS_ROLE_ARN for AssumeRole). - ref: read_s3 action: core.duckdb.execute_sql args: sql: | SELECT * FROM read_parquet('s3://my-bucket/findings/*.parquet') ``` **Read a bucket in another account and region** ```yaml theme={null} # role_arn chains from the amazon_s3 credentials into a role in the # bucket's account. region_name is the bucket's region and overrides the # secret's AWS_REGION, so one secret can read buckets in several regions. - ref: read_audit_logs action: core.duckdb.execute_sql args: role_arn: arn:aws:iam::123456789012:role/log-reader region_name: us-west-2 sql: | SELECT action, count(*) AS events FROM read_json( 's3://my-audit-logs/2026/01/01/*/*.json.gz', format = 'newline_delimited', compression = 'gzip' ) GROUP BY action ``` # SSH Source: https://docs.tracecat.com/automations/core-actions/request-actions/ssh ## `core.ssh.execute_command` Execute a command over SSH and return stdout, stderr, and exit status. ### Secrets Required secrets: * `ssh`: required values `PRIVATE_KEY`. ### Inputs **command** `string` *required* Command to execute on the remote host. **host** `string` *required* SSH host to connect to. **username** `string` *required* SSH username. **allowed_exit_codes** `array[integer] | null` Exit statuses treated as success when raise_on_error is enabled. Defaults to \[0]. Default: `null`. **error_patterns** `array[string] | null` Text that marks the command as failed when raise_on_error is enabled. The action raises if stdout or stderr contains any item exactly as written: case-sensitive, and characters like `*`, `.` or `^` match themselves (no wildcards or regex). Example: `["Permission denied", "FATAL:"]`. Up to 20 items, each 1-256 characters. Default: `null`. **host_key_checking** `boolean` Whether to verify the remote host key before connecting. Disable only for first-contact or otherwise trusted hosts; PID isolation and nsjail do not protect against SSH man-in-the-middle attacks. Default: `true`. **host_public_key** `string | null` Expected public host key for the target host in '\ \' format. Required when host_key_checking is enabled. For non-22 ports, the entry is stored as \[host]:port. Default: `null`. **password** `string | null` Password for the SSH user. Default: `null`. **port** `integer` SSH port. Defaults to 22. Default: `22`. **raise_on_error** `boolean` Raise an error when the exit status is not in allowed_exit_codes or the output contains any error_patterns. Defaults to returning the result. Default: `false`. **timeout_seconds** `number` Timeout in seconds for connection and command execution. Default: `30.0`. ### Examples **Execute a remote command** ```yaml theme={null} - ref: collect_uptime action: core.ssh.execute_command args: host: 10.0.10.15 port: 22 username: tracecat host_public_key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBEXAMPLEHOSTKEY" command: uptime timeout_seconds: 20 ``` # Data transforms Source: https://docs.tracecat.com/automations/core-actions/transform-actions/data-transforms ## `core.transform.apply` Apply a Python lambda function to a value. ### Inputs **python_lambda** `string` *required* Python lambda function as a string (e.g. `"lambda x: x.get('name')"`). **value** `any` *required* Value to apply the lambda function to. ### Examples **Filter, transform, and compact** ```yaml theme={null} - ref: normalize_hostname action: core.transform.apply args: value: ${{ TRIGGER.hostname }} python_lambda: "lambda value: value.strip().lower()" - ref: keep_open_findings action: core.transform.filter args: items: ${{ TRIGGER.findings }} python_lambda: "lambda finding: finding.get('status') == 'open'" - ref: finding_ids action: core.transform.map args: items: ${{ ACTIONS.keep_open_findings.result }} python_lambda: "lambda finding: finding.get('id')" - ref: compact_ids action: core.transform.drop_nulls args: items: ${{ ACTIONS.finding_ids.result }} ``` ## `core.transform.filter` Filter a collection using a Python lambda function. ### Inputs **items** `array[any]` *required* Items to filter. **python_lambda** `string` *required* Filter condition as a Python lambda expression (e.g. `"lambda x: x > 2"`). ### Examples **Filter, transform, and compact** ```yaml theme={null} - ref: normalize_hostname action: core.transform.apply args: value: ${{ TRIGGER.hostname }} python_lambda: "lambda value: value.strip().lower()" - ref: keep_open_findings action: core.transform.filter args: items: ${{ TRIGGER.findings }} python_lambda: "lambda finding: finding.get('status') == 'open'" - ref: finding_ids action: core.transform.map args: items: ${{ ACTIONS.keep_open_findings.result }} python_lambda: "lambda finding: finding.get('id')" - ref: compact_ids action: core.transform.drop_nulls args: items: ${{ ACTIONS.finding_ids.result }} ``` ## `core.transform.map` Map a Python lambda function to each item in a list. ### Inputs **items** `array[any]` *required* Items to map the lambda function to. **python_lambda** `string` *required* Python lambda function as a string (e.g. `"lambda x: x.get('name')"`). ### Examples **Filter, transform, and compact** ```yaml theme={null} - ref: normalize_hostname action: core.transform.apply args: value: ${{ TRIGGER.hostname }} python_lambda: "lambda value: value.strip().lower()" - ref: keep_open_findings action: core.transform.filter args: items: ${{ TRIGGER.findings }} python_lambda: "lambda finding: finding.get('status') == 'open'" - ref: finding_ids action: core.transform.map args: items: ${{ ACTIONS.keep_open_findings.result }} python_lambda: "lambda finding: finding.get('id')" - ref: compact_ids action: core.transform.drop_nulls args: items: ${{ ACTIONS.finding_ids.result }} ``` ## `core.transform.drop_nulls` Remove null values from a list. ### Inputs **items** `array[any]` *required* List of items to filter. ### Examples **Filter, transform, and compact** ```yaml theme={null} - ref: normalize_hostname action: core.transform.apply args: value: ${{ TRIGGER.hostname }} python_lambda: "lambda value: value.strip().lower()" - ref: keep_open_findings action: core.transform.filter args: items: ${{ TRIGGER.findings }} python_lambda: "lambda finding: finding.get('status') == 'open'" - ref: finding_ids action: core.transform.map args: items: ${{ ACTIONS.keep_open_findings.result }} python_lambda: "lambda finding: finding.get('id')" - ref: compact_ids action: core.transform.drop_nulls args: items: ${{ ACTIONS.finding_ids.result }} ``` ## `core.transform.is_in` Filters items in a list based on whether they are in a collection. ### Inputs **collection** `array[any]` *required* Collection of hashable items to check against. **items** `array[any]` *required* Items to filter. **python_lambda** `string | null` Python lambda applied to each item before checking membership (e.g. `"lambda x: x.get('name')"`). Similar to `key` in the Python `sorted` function. Default: `null`. ### Examples **Keep or exclude matching items** ```yaml theme={null} - ref: keep_known_users action: core.transform.is_in args: items: ${{ TRIGGER.users }} collection: - alice@example.com - bob@example.com python_lambda: "lambda user: user.get('email')" - ref: remove_known_users action: core.transform.not_in args: items: ${{ TRIGGER.users }} collection: - alice@example.com - bob@example.com python_lambda: "lambda user: user.get('email')" ``` ## `core.transform.not_in` Filters items in a list based on whether they are not in a collection. ### Inputs **collection** `array[any]` *required* Collection of hashable items to check against. **items** `array[any]` *required* Items to filter. **python_lambda** `string | null` Python lambda applied to each item before checking membership (e.g. `"lambda x: x.get('name')"`). Similar to `key` in the Python `sorted` function. Default: `null`. ### Examples **Keep or exclude matching items** ```yaml theme={null} - ref: keep_known_users action: core.transform.is_in args: items: ${{ TRIGGER.users }} collection: - alice@example.com - bob@example.com python_lambda: "lambda user: user.get('email')" - ref: remove_known_users action: core.transform.not_in args: items: ${{ TRIGGER.users }} collection: - alice@example.com - bob@example.com python_lambda: "lambda user: user.get('email')" ``` ## `core.transform.deduplicate` Deduplicate a JSON object or a list of JSON objects given a list of keys. Returns a list of deduplicated JSON objects. ### Inputs **items** `object | array[object]` *required* JSON object or list of JSON objects to deduplicate. **keys** `array[string]` *required* List of JSONPath keys to deduplicate by. Supports dot notation for nested keys (e.g. `['user.id']`). **expire_seconds** `integer` Time to live for the deduplicated items in seconds. Defaults to 1 hour. Default: `3600`. **persist** `boolean` Whether to persist deduplicated items across calls. If True, deduplicates across calls. If False, deduplicates within the current call only. Default: `true`. ### Examples **Deduplicate by a stable key** ```yaml theme={null} - ref: deduplicate_findings action: core.transform.deduplicate args: items: ${{ TRIGGER.findings }} keys: - finding_id persist: true expire_seconds: 3600 - ref: finding_seen action: core.transform.is_duplicate args: item: ${{ TRIGGER.finding }} keys: - finding_id expire_seconds: 3600 ``` ## `core.transform.is_duplicate` Check if a JSON object was recently seen. ### Inputs **item** `object` *required* JSON object to check. **keys** `array[string]` *required* List of JSONPath keys to check. **expire_seconds** `integer` Time to live for the deduplicated items in seconds. Defaults to 1 hour. Default: `3600`. ### Examples **Deduplicate by a stable key** ```yaml theme={null} - ref: deduplicate_findings action: core.transform.deduplicate args: items: ${{ TRIGGER.findings }} keys: - finding_id persist: true expire_seconds: 3600 - ref: finding_seen action: core.transform.is_duplicate args: item: ${{ TRIGGER.finding }} keys: - finding_id expire_seconds: 3600 ``` ## `core.transform.flatten_json` Flatten a JSON object into a single level of fields. ### Inputs **json** `string | object` *required* JSON object to flatten. ### Examples **Flatten and query JSON** ```yaml theme={null} - ref: flatten_alert action: core.transform.flatten_json args: json: ${{ TRIGGER.alert }} - ref: extract_fields action: core.transform.eval_jsonpaths args: json: ${{ TRIGGER.alert }} jsonpaths: user: $.actor.email source_ip: $.network.source.ip ``` ## `core.transform.eval_jsonpaths` Eval multiple JSONPath expressions on an object. ### Inputs **json** `string | object` *required* JSON object to eval JSONPath expressions on. **jsonpaths** `array[string]` *required* JSONPath expressions to eval. ### Examples **Flatten and query JSON** ```yaml theme={null} - ref: flatten_alert action: core.transform.flatten_json args: json: ${{ TRIGGER.alert }} - ref: extract_fields action: core.transform.eval_jsonpaths args: json: ${{ TRIGGER.alert }} jsonpaths: user: $.actor.email source_ip: $.network.source.ip ``` ## FAQ > [accordion] Why does inline lambda not work inside expressions? > > Python lambda functions are not part of the expression language; pass them as strings to `core.transform.apply`, `core.transform.filter`, or `core.transform.map`. > > ```yaml theme={null} > - ref: extract_ids > action: core.transform.map > args: > items: ${{ TRIGGER.findings }} > python_lambda: "lambda finding: finding.get('id')" > ``` > [accordion] How do I inspect the shape of API results before using map, filter, or for_each? > > Read `ACTIONS..result_typename` for the Python type name of an action's result (`dict`, `list`, `str`, ...). > Pair it with a small debug reshape step to confirm the count and the field path you plan to iterate over. > > ```yaml theme={null} > - ref: inspect_findings > action: core.transform.reshape > args: > value: > result_type: ${{ ACTIONS.fetch_findings.result_typename }} > findings_count: ${{ FN.length(ACTIONS.fetch_findings.result.findings) if ACTIONS.fetch_findings.result != None else 0 }} > ``` # Python script Source: https://docs.tracecat.com/automations/core-actions/transform-actions/python-script ## `core.script.run_python` Execute a Python script. Use this action to transform workflow data, import third-party packages, or call Tracecat APIs from an isolated Python 3.12 sandbox. ### Script contract Tracecat calls `main` if your script defines it; otherwise it calls the first non-private function. Name the entrypoint `main` whenever your script contains more than one function, counting functions imported with `from module import name`. Validation rejects multi-function scripts without one. Keep top-level `import` and `def` statements at the same indentation inside the `script:` block scalar. Tracecat passes `inputs` to the entrypoint as keyword arguments, so keys must match the function's parameter names. Give a parameter a default value when its key may be absent from `inputs`. Set `allow_network: true` when your script makes outbound network requests. When the executor runs with `TRACECAT__EXECUTOR_BACKEND=nsjail`, deployment-wide [CA certificates](/self-hosting/tls#trust-an-internal-ca-for-outbound-connections) do not reach sandboxed scripts. ### Return values Tracecat serializes the function's return value to JSON. Most types convert cleanly: `datetime`, `date`, and `time` become ISO 8601 strings (including inside lists and dicts), `timedelta` becomes seconds, `set` becomes a sorted list, `Decimal`, `UUID`, and `Path` become strings, an `Enum` becomes its value, a dataclass becomes an object, and `bytes` decodes as UTF-8 text. Any other object becomes its `repr()` string, such as `""`. Tracecat raises `Output not JSON-serializable` only when serialization itself fails. ### Import Python packages Add pinned package specifications to `dependencies`, then import them in your script. Tracecat installs them in a separate phase that does not need `allow_network: true`. ```yaml theme={null} - ref: parse_timestamp action: core.script.run_python args: inputs: timestamp: ${{ TRIGGER.created_at }} dependencies: - python-dateutil==2.9.0.post0 script: | from dateutil import parser def main(timestamp): parsed = parser.isoparse(timestamp) return { "iso_timestamp": parsed.isoformat(), "timezone": str(parsed.tzinfo), } ``` ### Import Tracecat SDK Import `ctx` from `tracecat_registry`; do not add the SDK to `dependencies`. Use clients such as `ctx.cases`, `ctx.tables`, `ctx.variables`, and `ctx.workflows`. Each client also provides an async variant under `.aio`, such as `ctx.cases.aio`. SDK calls use the workflow's internal authenticated execution context and do not require `allow_network: true`. `ctx.tables.insert_rows` writes multiple rows. The destination table must already contain matching columns. > [tab] Synchronous > > ```yaml theme={null} > - ref: load_findings > action: core.script.run_python > args: > inputs: > findings: ${{ TRIGGER.findings }} > script: | > from tracecat_registry import ctx > > BATCH_SIZE = 500 > > def transform_finding(finding): > return { > "finding_id": str(finding["id"]), > "title": str(finding.get("title", "")).strip(), > "severity": str( > finding.get("severity", "unknown") > ).lower(), > "observed_at": finding.get("observed_at") > or finding.get("created_at"), > "tags": sorted(set(finding.get("tags") or [])), > } > > def main(findings): > rows = [ > transform_finding(finding) > for finding in findings > if finding.get("id") > ] > > rows_inserted = 0 > for start in range(0, len(rows), BATCH_SIZE): > rows_inserted += ctx.tables.insert_rows( > table="findings", > rows_data=rows[start : start + BATCH_SIZE], > ) > > return {"rows_inserted": rows_inserted} > ``` > [tab] Asynchronous > > ```yaml theme={null} > - ref: load_findings_async > action: core.script.run_python > args: > inputs: > findings: ${{ TRIGGER.findings }} > script: | > from tracecat_registry import ctx > > BATCH_SIZE = 500 > > def transform_finding(finding): > return { > "finding_id": str(finding["id"]), > "title": str(finding.get("title", "")).strip(), > "severity": str( > finding.get("severity", "unknown") > ).lower(), > "observed_at": finding.get("observed_at") > or finding.get("created_at"), > "tags": sorted(set(finding.get("tags") or [])), > } > > async def main(findings): > rows = [ > transform_finding(finding) > for finding in findings > if finding.get("id") > ] > > rows_inserted = 0 > for start in range(0, len(rows), BATCH_SIZE): > rows_inserted += await ctx.tables.aio.insert_rows( > table="findings", > rows_data=rows[start : start + BATCH_SIZE], > ) > > return {"rows_inserted": rows_inserted} > ``` ### Inputs **script** `string` *required* Python script to execute. Must contain at least one function. If multiple functions are defined, one must be named 'main'. Returns the output of the function. **allow_network** `boolean` Whether to allow network access during script execution. Default is False. Set to True when the script makes external network requests. Dependency installation runs in a separate install phase and does not require it. Default: `false`. **dependencies** `array[string] | null` Optional list of Python package dependencies to install via pip. Packages are cached between executions for performance. Default: `null`. **env_vars** `map[string, string] | null` Environment variables to set in the sandbox. Use this to inject secrets or configuration. Default: `null`. **inputs** `object | null` Input data passed as keyword arguments to the main function. Keys must match the parameter names in the function signature; give a parameter a default value if its key may be missing. Default: `null`. **timeout_seconds** `integer` Maximum execution time in seconds. Default is 300 seconds (5 minutes). Default: `300`. ### Examples **Enrich a payload** ```yaml theme={null} - ref: normalize_findings action: core.script.run_python args: inputs: findings: ${{ TRIGGER.findings }} script: | def main(findings): return [ { "id": finding["id"], "severity": str(finding["severity"]).lower(), } for finding in findings ] timeout_seconds: 60 ``` # Require Source: https://docs.tracecat.com/automations/core-actions/transform-actions/require ## `core.require` Evaluate a conditional expression and returns the boolean result. ### Inputs **conditions** `boolean | array[boolean]` *required* Conditional expression(s) to evaluate. All must be true for the result to be true. **raise_error** `boolean` If `True`, the function will raise an error if the condition is false. If `False`, the function will return `False` instead. Default: `true`. **require_all** `boolean` If `True`, all conditions must be true for the result to be true. If `False`, only one condition must be true. Default: `true`. ### Examples **Stop when prerequisites are not met** ```yaml theme={null} - ref: require_inputs action: core.require args: conditions: - ${{ TRIGGER.case_id != None }} - ${{ TRIGGER.severity in ["high", "critical"] }} require_all: true raise_error: true ``` # Reshape Source: https://docs.tracecat.com/automations/core-actions/transform-actions/reshape ## `core.transform.reshape` Define the exact scalar, object, or list output you want from workflow data. > [!TIP] > > `core.transform.reshape` evaluates expressions anywhere in the input > value. Use it to extract fields, rename keys, hardcode values, and > compose new objects or lists from trigger data and earlier actions. ### Inputs **value** `any | array[any] | object` *required* The value to reshape ### Examples **Return one value** ```yaml theme={null} - ref: extract_owner_email action: core.transform.reshape args: value: ${{ ACTIONS.get_alert.result.data.owner.email }} ``` **Build a new object or list** ```yaml theme={null} - ref: build_summary action: core.transform.reshape args: value: alert_id: ${{ TRIGGER.alert_id }} severity: ${{ TRIGGER.severity }} owner: ${{ TRIGGER.owner.email }} labels: - triage - security ``` **Use expressions and functions inline** ```yaml theme={null} - ref: normalize_alert action: core.transform.reshape args: value: id: ${{ TRIGGER.alert_id }} title: ${{ TRIGGER.title || "Untitled alert" }} severity: ${{ FN.lowercase(TRIGGER.severity) }} source_ip_version: ${{ FN.check_ip_version(TRIGGER.source_ip) }} created_at: ${{ FN.to_isoformat(TRIGGER.created_at) }} ``` # Run subflow Source: https://docs.tracecat.com/automations/core-actions/workflow-actions/run-subflow ## `core.workflow.execute` Execute a workflow by alias. ### Inputs **workflow_alias** `string | null` *required* Alias of the subflow to execute. Must be provided. **batch_size** `integer` Number of subflows to execute in parallel. Default: `32`. **environment** `string | null` Subflow's target execution environment. This is used to isolate secrets across different environments.If not provided, the subflow's default environment is used. Default: `null`. **fail_strategy** `string` Fail strategy to use when a subflow fails. Default: `"isolated"`. Allowed values: `isolated`, `all`. **loop_strategy** `string` Execution strategy to use for the subflow. Default: `"batch"`. Allowed values: `parallel`, `batch`, `sequential`. **timeout** `number | null` Maximum number of seconds to wait for the subflow to complete. If not provided, the subflow's default timeout is used. Default: `null`. **trigger_inputs** `any | null` Inputs to pass to the subflow (arbitrary JSON). Default: `null`. **version** `integer | null` Version of the subflow definition, if any. Default: `null`. **wait_strategy** `string` Wait strategy to use when waiting for subflows to complete. In `wait` mode, this action will wait for all subflows to complete before returning. Any subflow failures will be reported as an error. In `detach` mode, this action will return immediately after the subflows are created. A failing subflow will not affect the parent. Default: `"detach"`. Allowed values: `wait`, `detach`. ### Examples **Run a subflow** ```yaml theme={null} - ref: run_subflow action: core.workflow.execute args: workflow_alias: enrich_case trigger_inputs: case_id: ${{ TRIGGER.case_id }} severity: ${{ TRIGGER.severity }} wait_strategy: wait timeout: 300 ``` ## `core.workflow.get_status` Get the status of a workflow execution. ### Inputs **wf_exec_id** `string` *required* The workflow execution ID to check (`wf_.../exec_...`), as returned by `run` or `list_executions`. **include_events** `boolean` When true, also return the per-action event timeline. Default: `false`. ### Examples **Check an execution** ```yaml theme={null} - ref: launch_subflow action: core.workflow.execute args: workflow_alias: collect_evidence trigger_inputs: case_id: ${{ TRIGGER.case_id }} - ref: subflow_status action: core.workflow.get_status depends_on: - launch_subflow args: wf_exec_id: ${{ ACTIONS.launch_subflow.result.wf_exec_id }} ``` # Scatter-gather loops Source: https://docs.tracecat.com/automations/core-actions/workflow-actions/scatter-gather-loops ## `core.transform.scatter` Transform a collection of items into parallel execution streams, where each item is processed independently. ### Inputs **collection** `string | array[any]` *required* The collection to scatter. Each item in the collection will be processed independently in its own execution stream. This should be a JSONPath expression to a collection or a list of items. **interval** `number | null` The interval in seconds between each scatter task. Default: `null`. ### Examples **Fan out and collect results** ```yaml theme={null} - ref: scatter_hosts action: core.transform.scatter args: collection: ${{ TRIGGER.hosts }} - ref: check_host action: core.http_request depends_on: - scatter_hosts args: url: https://scanner.example.com/hosts/${{ ACTIONS.scatter_hosts.result.id }} method: GET - ref: gather_results action: core.transform.gather depends_on: - check_host args: items: ${{ ACTIONS.check_host.result }} drop_nulls: true error_strategy: partition ``` ## `core.transform.gather` Collect the results of a list of execution streams into a single list. ### Inputs **items** `string` *required* The JSONPath expression referencing the item to gather in the current execution stream. **drop_nulls** `boolean` Whether to drop null values from the final result. If True, any null values encountered during the gather operation will be omitted from the output list. Default: `false`. **error_strategy** `string` Controls how errors are handled when gathering. "partition" puts successful results in `.result` and errors in `.error`. "include" puts errors in `.result` as JSON objects. "drop" removes errors from `.result`. "raise" fails the gather if any branch errors. Default: `"partition"`. Allowed values: `partition`, `include`, `drop`, `raise`. ### Examples **Fan out and collect results** ```yaml theme={null} - ref: scatter_hosts action: core.transform.scatter args: collection: ${{ TRIGGER.hosts }} - ref: check_host action: core.http_request depends_on: - scatter_hosts args: url: https://scanner.example.com/hosts/${{ ACTIONS.scatter_hosts.result.id }} method: GET - ref: gather_results action: core.transform.gather depends_on: - check_host args: items: ${{ ACTIONS.check_host.result }} drop_nulls: true error_strategy: partition ``` # While loops Source: https://docs.tracecat.com/automations/core-actions/workflow-actions/while-loops ## `core.loop.start` Open a do-while control-flow region. ### Inputs This action does not take input fields. ### Examples **Repeat until a condition is met** ```yaml theme={null} - ref: loop_start action: core.loop.start - ref: check_status action: core.http_request depends_on: - loop_start args: url: https://api.example.com/jobs/${{ TRIGGER.job_id }} method: GET - ref: loop_end action: core.loop.end depends_on: - check_status args: condition: ${{ ACTIONS.check_status.result.data.status != "completed" }} max_iterations: 20 ``` ## `core.loop.end` Close a do-while control-flow region and evaluate whether execution should loop back to the matching `core.loop.start`. ### Inputs **condition** `string` *required* Expression evaluated after the loop body; truthy values continue looping. **max_iterations** `integer` Maximum number of loop iterations before failing. Default: `100`. ### Examples **Repeat until a condition is met** ```yaml theme={null} - ref: loop_start action: core.loop.start - ref: check_status action: core.http_request depends_on: - loop_start args: url: https://api.example.com/jobs/${{ TRIGGER.job_id }} method: GET - ref: loop_end action: core.loop.end depends_on: - check_status args: condition: ${{ ACTIONS.check_status.result.data.status != "completed" }} max_iterations: 20 ``` # Expressions Source: https://docs.tracecat.com/automations/core-concepts/expressions Syntax reference for Tracecat expressions: contexts, operators, functions, and JSONPath access patterns used inside workflow and agent definitions. ## Overview Tracecat expressions let you build values from trigger data, action results, secrets, variables, and functions. Expressions use `${{ ... }}`. ## Where expressions are used You can use expressions in: * Action inputs * `run_if` * `for_each` * Output schema Use `var.` in action inputs for actions that run with `for_each`. The workflow-level `environment` field takes a literal string. An action-level `environment` override may be a single standalone `${{ ... }}` expression, evaluated at run time; anything else is used literally. ## Expression contexts ### `TRIGGER` The payload that started the run; append a [JSONPath](/automations/core-concepts/jsonpath) to read a field. Bare `${{ TRIGGER }}` passes the whole payload through; no other context works without a suffix. ```yaml Expression theme={null} alert_id: ${{ TRIGGER.alert_id }} payload: ${{ TRIGGER }} ``` ```json Result theme={null} { "alert_id": "al-123", "payload": { "alert_id": "al-123", "severity": "high" } } ``` ### `ACTIONS` Results of upstream actions, referenced as `ACTIONS.` plus a JSONPath. Each action exposes `result`, `result_typename`, `error`, and `error_typename`. ### `SECRETS` Secret values, referenced as exactly `SECRETS..`. Both segments must be plain identifiers; a hyphenated secret name is unreachable from expressions. ### `VARS` Workspace [variables](/automations/core-concepts/variables), referenced as `VARS..` with at most one key segment after the variable name. ### `ENV` [Workflow metadata](/automations/core-concepts/workflow-metadata) such as execution IDs, the trigger type, and the Workflow environment, referenced as `ENV` plus a JSONPath. ### `var` The loop variable that `for_each` binds on each iteration, referenced as `var.` plus a JSONPath. ### `FN` [Function](/automations/core-concepts/functions) calls, written as `FN.(...)`, always with parentheses and only positional arguments. Append `.map` to apply a function to every item of a list. ### `inputs` Available only inside [YAML template actions](/custom-actions/yaml-template): reads the values passed to the template's Input schema as `inputs.`. ### `steps` Available only inside [YAML template actions](/custom-actions/yaml-template): reads the result of an earlier template step at `steps..result`. ## Syntax ### Literals * String literals such as `"high"` and `'prod'` * Numeric literals such as `1` and `3.14` * Boolean literals such as `True` and `False` * Null literals such as `None` * List literals such as `["a", "b"]` * Object literals with string keys such as `{"severity": "high"}` ### Operators * Logical operators: `||`, `&&`, and `not`. Write `||` and `&&`, not Python-style `or` / `and` or SQL-style `OR` / `AND`. * Comparison operators: `==`, `!=`, `<`, `<=`, `>`, `>=` * Membership operators: `in` and `not in`, such as `${{ TRIGGER.severity in ["high", "critical"] }}` * Identity operators: `is` and `is not`, such as `${{ TRIGGER.title is None }}` * Arithmetic operators: `+`, `-`, `*`, `/`, `%`, and unary `-x` / `+x` * Ternary expressions such as `${{ "p1" if TRIGGER.severity == "high" else "p3" }}` ### Evaluation rules * `||` and `&&` evaluate both sides; only the ternary short-circuits. See [Common mistakes](/cheatsheets/common-mistakes#short-circuiting-and-null-guards). * A function result supports operators and indexing but not `.field` access: `FN.now().hour` fails to parse. JSONPath chaining such as `TRIGGER.items[0].id` works as usual. ### Type casts The four casts are `int`, `float`, `str`, and `bool`, written as a call or as a trailing cast on the whole expression: ```yaml Expression theme={null} count: ${{ int(TRIGGER.count) }} count_trailing: ${{ TRIGGER.count -> int }} ``` ```json Result theme={null} { "count": 42, "count_trailing": 42 } ``` Parse datetime strings with [`FN.to_datetime`](/automations/core-concepts/functions); there is no `datetime` cast. ## Examples Conditional execution: ```yaml Expression theme={null} run_if: ${{ FN.is_equal(TRIGGER.severity, "high") }} ``` ```json Result theme={null} { "run_if": true } ``` Iteration: ```yaml Expression theme={null} for_each: ${{ for var.alert in TRIGGER.alerts }} ``` ```json Result theme={null} [ { "var.alert": { "id": "al-1", "severity": "high" } }, { "var.alert": { "id": "al-2", "severity": "low" } } ] ``` ## FAQ > [accordion] How do I safely reference action results when an upstream action was skipped, failed, or returned null? > > When a field does not exist, the expression resolves to `None` without raising an error. Use `run_if` with a `!= None` check to skip downstream actions when the data is missing, or use a ternary to supply a fallback value. > > ```yaml Skip an action when the result is missing theme={null} > - ref: check_hash > action: tools.virustotal.get_file_report > args: > hash: ${{ TRIGGER.file_hash }} > > - ref: escalate_alert > action: tools.slack.post_message > depends_on: > - check_hash > run_if: ${{ ACTIONS.check_hash.result != None && ACTIONS.check_hash.result.malicious_count != None }} > args: > channel: ${{ SECRETS.slack.SECURITY_CHANNEL }} > text: "Hash ${{ TRIGGER.file_hash }} flagged by ${{ ACTIONS.check_hash.result.malicious_count }} vendors" > ``` > > ```yaml Supply a fallback value theme={null} > - ref: build_summary > action: core.transform.reshape > depends_on: > - check_hash > args: > value: > verdict: ${{ ACTIONS.check_hash.result.verdict if ACTIONS.check_hash.result != None else "unknown" }} > is_known_bad: ${{ ACTIONS.check_hash.result.malicious_count > 0 if ACTIONS.check_hash.result.malicious_count != None else False }} > ``` ## Related pages * See [Workflow definition](/automations/core-concepts/workflow-definition) for where expressions appear in workflow YAML. * See [JSONPath](/automations/core-concepts/jsonpath) for field access, arrays, and filters. * See [Functions](/automations/core-concepts/functions) for the full function reference. * See the [Workflow metadata cheatsheet](/cheatsheets/workflow-metadata) for every `ENV` field available in expressions. # External secret stores Source: https://docs.tracecat.com/automations/core-concepts/external-secret-stores Reference AWS Secrets Manager secrets from Tracecat workspaces: organization-owned stores, IAM AssumeRole trust, and runtime-only resolution. Enterprise Edition ## Overview An external secret store lets a workspace secret point at a value that stays in AWS Secrets Manager. Tracecat stores only the reference: the store, the secret name or ARN, and the key mapping. Workflows read `${{ SECRETS.. }}` exactly as they do for [local secrets](/automations/core-concepts/secrets). Organization admins own stores under Organization settings, and authorize the workspaces that may reference each one. Workspace members then create AWS-backed secrets against an authorized store. ## Trust model Tracecat assumes a role you own in your AWS account: * Tracecat calls `sts:AssumeRole` on the role ARN you register, using its own workload identity and an external ID that Tracecat generates when you create the store. The external ID is server-owned and never changes. * The assumed session reads the `AWSCURRENT` version of the secret with `secretsmanager:GetSecretValue`. Tracecat requests no list, write, delete, or rotation permissions. * Tracecat persists no remote value. Each resolution fetches from AWS, injects the value into the action sandbox, and discards it. Nothing is cached between runs. * Failures are sanitized. Error messages carry a failure code and the AWS error code, never any part of the secret value. ## Prerequisites Your Tracecat deployment must expose the AWS principal that assumes your role. The operator sets both variables on every Tracecat service: | Variable | Value | | :- | :- | | `TRACECAT__AWS_ASSUME_ROLE_ACCOUNT_ID` | The 12-digit AWS account ID of the Tracecat deployment, such as `210987654321` | | `TRACECAT__AWS_ASSUME_ROLE_PRINCIPAL_ARN` | The full ARN of the Tracecat workload principal, such as `arn:aws:iam::210987654321:role/tracecat-executor` | On self-hosted deployments, set them in your `.env` and restart the stack; the Docker Compose files already pass them through. Until they are set, the trust policy shows a `` placeholder instead of the Tracecat principal. The Tracecat workload also needs `sts:AssumeRole` permission on the role ARNs it will assume. ## Create the IAM role Create one role per store in the AWS account that holds your secrets. **1. Create the store in Tracecat first** Tracecat generates the external ID when the store is created, so [add the store](#add-a-store) before you write the trust policy. You enter the role ARN after you create the role. **2. Attach the trust policy** Select the store name to expand it, then copy the `Trust policy` tab. It names the Tracecat principal and conditions the assumption on your store's external ID: ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "AWS": "arn:aws:iam::210987654321:role/tracecat-executor" }, "Action": "sts:AssumeRole", "Condition": { "StringEquals": { "sts:ExternalId": "tracecat-EXAMPLE-external-id" } } } ] } ``` The `sts:ExternalId` condition is what prevents a confused deputy. Keep it. **3. Attach the permissions policy** Scope `secretsmanager:GetSecretValue` to the exact secrets you intend to share. The `Permissions policy` tab shows a wildcard starting point; narrow the `Resource` list before you use it in production: ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": ["secretsmanager:GetSecretValue"], "Resource": [ "arn:aws:secretsmanager:us-east-1:123456789012:secret:prod/app/api-key-AbCdEf", "arn:aws:secretsmanager:us-east-1:123456789012:secret:prod/app/db-*" ] }, { "Effect": "Allow", "Action": ["kms:Decrypt"], "Resource": "*", "Condition": { "StringEquals": { "kms:ViaService": "secretsmanager.us-east-1.amazonaws.com" } } } ] } ``` The `kms:Decrypt` statement is required only for secrets encrypted with a customer-managed KMS key. Scope its `Resource` to that key ARN when you use one. ## Add a store Go to Organization settings → Secret stores, select `Add store`, and choose `AWS Secrets Manager`. You need the `org:secret:create` scope. | Field | Value | | :- | :- | | Name | Unique within the organization, such as `production-secrets` | | Region | The Secrets Manager region, such as `us-east-1` | | All workspaces | Allow every current and future workspace in the organization | ![Create an AWS Secrets Manager store](https://mintcdn.com/tracecat/WndTfVS4CGmYEw3t/img/automations/secret-stores/create-store.png?fit=max\&auto=format\&n=WndTfVS4CGmYEw3t\&q=85\&s=930b2a4a90dd3b81f8b960e685e910ab) Select `Continue`. Tracecat saves the store disabled and shows its trust policy and permissions policy. [Create the IAM role](#create-the-iam-role) with those policies, enter the role ARN, such as `arn:aws:iam::123456789012:role/tracecat-secrets-reader`, and select `Save and enable`. Entering the role ARN and enabling the store needs the `org:secret:update` scope. To finish later, select `Finish later`. The store shows `Setup incomplete`, and its actions menu offers `Finish setup`, until you save the role ARN. You can enable a store only after you save its role ARN. After setup, open the store's actions menu and choose `Disable store` to block resolution for every reference at once. To show the external ID and policies again, select the store name to expand it. A store reads secrets in one region only. Create a second store for a second region. ![Expanded store with external ID, trust policy, and permissions policy](https://mintcdn.com/tracecat/WndTfVS4CGmYEw3t/img/automations/secret-stores/store-policies.png?fit=max\&auto=format\&n=WndTfVS4CGmYEw3t\&q=85\&s=51c32340d4142c557b7e8c7e947e4c15) To change a store's name, role ARN, or region, open its actions menu and choose `Edit store`. This works during setup too, for example to fix the region before you enter a role ARN. The external ID stays the same for the life of the store. ![Edit the store connection](https://mintcdn.com/tracecat/WndTfVS4CGmYEw3t/img/automations/secret-stores/edit-store.png?fit=max\&auto=format\&n=WndTfVS4CGmYEw3t\&q=85\&s=575c09dcf51957350e049f2d0d52c823) ## Authorize workspaces Open the `Workspaces` picker on the store row. Choose `All workspaces` to allow every current and future workspace in your organization. Choose `Selected workspaces` to manage access using individual workspace checkboxes. Switching to `Selected workspaces` preserves individual authorizations and access for workspaces that already reference the store. Remove those references before unchecking a workspace. To stop secret resolution everywhere, choose `Disable store` in the store's actions menu. Workspace users see the store's name, description, provider, region, and enabled flag, never its external ID or role ARN. ![Authorize a workspace on the store](https://mintcdn.com/tracecat/WndTfVS4CGmYEw3t/img/automations/secret-stores/authorize-workspace.png?fit=max\&auto=format\&n=WndTfVS4CGmYEw3t\&q=85\&s=b717f4b75ca6e487885df747363b214d) ## Create an AWS-backed secret In the workspace, open `/credentials`, select `Add credential`, and change `Secret source` from `Tracecat` to an AWS store. The picker lists only enabled stores authorized for this workspace. | Field | Value | | :- | :- | | Name | Snake case. Referenced as `SECRETS..` | | Environment | Defaults to `default` | | Secret name or ARN | The friendly name as shown in the AWS console, such as `prod/app/api-key`, or the full ARN | | Value mapping | How the remote `SecretString` becomes secret keys | A friendly name is looked up in the store's region. A full ARN must be in the store's region; Tracecat rejects the reference at save time otherwise. AWS-backed secrets are always the `custom` type, and they never accept key values. To change one, edit its reference or key mapping. ![Create an AWS-backed secret with a JSON field mapping](https://mintcdn.com/tracecat/WndTfVS4CGmYEw3t/img/automations/secret-stores/aws-secret-reference.png?fit=max\&auto=format\&n=WndTfVS4CGmYEw3t\&q=85\&s=f59e7c62829dc5670fe18a0fa40b7e3d) ### Value mapping `Whole string → one key` binds the entire `SecretString` to exactly one key: ```yaml theme={null} # SecretString: sk-live-abc123 # Output key: API_TOKEN ${{ SECRETS.stripe.API_TOKEN }} ``` `JSON object → selected fields` parses the `SecretString` as a JSON object and maps selected top-level fields onto keys you name. The field must exist and its value must be a string: ```yaml theme={null} # SecretString: {"username": "svc_app", "password": "hunter2", "port": 5432} # Mapping: USERNAME ← username, PASSWORD ← password ${{ SECRETS.app_db.USERNAME }} ${{ SECRETS.app_db.PASSWORD }} ``` Selecting `port` would fail with `non_string_field` because its value is a number. Output keys must be unique, and a mapping declares at most 100 keys or fields. ## Verify a reference Use `Edit` on an AWS-backed credential to change its store, secret name or ARN, and key mapping without deleting the credential. ![Edit an AWS secret reference and key mapping](https://mintcdn.com/tracecat/WndTfVS4CGmYEw3t/img/automations/secret-stores/edit-reference.png?fit=max\&auto=format\&n=WndTfVS4CGmYEw3t\&q=85\&s=152aed474ebfc649f3d09afb3a510b29) `Check access` resolves the reference server-side. The button then shows `Reachable`, with the resolved key names on hover, or a failure such as `Access denied` with the fix below the credential. The check never returns the remote value to the browser. Run a check after you create a reference, after you change an IAM policy, and after you move a secret between accounts or regions. ![AWS-backed credentials showing Reachable checks](https://mintcdn.com/tracecat/WndTfVS4CGmYEw3t/img/automations/secret-stores/check-reachable.png?fit=max\&auto=format\&n=WndTfVS4CGmYEw3t\&q=85\&s=a55b77aab716ba4cc40337aa9842c104) ## Runtime behavior When an action requests an AWS-backed secret, Tracecat loads the reference rows, closes the database session, then resolves every reference in parallel. Reads are deduplicated per store and remote reference within one resolution, so a secret mapped onto two aliases costs one `GetSecretValue` call. A configured AWS-backed secret fails loudly even when the action declares it optional: a missing store grant or an unreadable remote secret raises rather than silently skipping the credential. The error names the secret and environment, and carries the resolution error code. Connection attempts time out after 5 seconds, reads after 10 seconds, and the AWS SDK retries up to 3 times. ## Lifecycle rules * You cannot delete a store while any workspace secret references it. Delete the references first; until then, `Delete store` is disabled and the actions menu shows the reference count. * You cannot revoke a workspace authorization while that workspace still holds secrets referencing the store. Delete those secrets first. * Disabling a store fails every resolution with `store_disabled` while keeping the references intact. Use it to cut access without deleting configuration. * [Git sync](/gitops/workspace-git-sync) pushes the store name, secret name or ARN, and key mapping, never values. Pulling into another workspace recreates the reference on the enabled, authorized store with the same name. If there is none, or its region doesn't match the ARN, the pull preview asks you to choose a store for that name, which applies to every secret using it. Secrets you leave unlinked fail in workflows until you choose a store with **Edit**. * Deleting an organization deletes its stores and authorizations. * Deleting a workspace deletes its store authorizations. ## Troubleshooting Resolution failures surface one of these codes in the action error. `Check access` shows the matching label and fix: | Code | Cause | Fix | | :- | :- | :- | | `store_disabled` | The store is disabled | Choose `Enable store` in the store's actions menu | | `store_not_authorized` | The workspace is not authorized for the store | Authorize the workspace on the store | | `assume_role_failed` | `sts:AssumeRole` was denied | Check the trust policy names the Tracecat principal and the store's external ID | | `access_denied` | The assumed role cannot read that secret | Add the secret ARN to the role's `secretsmanager:GetSecretValue` resources, and check the secret's resource policy | | `not_found` | No such secret in the store's region | Check the name or ARN, and that it exists in the store's region | | `decryption_failed` | The role cannot use the secret's KMS key | Grant `kms:Decrypt` on that key to the role, and allow the role in the key policy | | `throttled` | Secrets Manager or STS rate limits | Reduce concurrency, or request a quota increase | | `timeout` | The AWS call did not complete in time | Check network egress from the Tracecat deployment to AWS | | `binary_value` | The secret holds `SecretBinary` | Store the value as `SecretString` | | `malformed_json` | JSON mapping, but the value is not a JSON object | Switch to whole-string mapping, or store a JSON object | | `missing_field` | A mapped field is absent from the JSON object | Correct the field name, or add the field in AWS | | `non_string_field` | A mapped field is not a string | Map a string field, or store the value as a string | | `invalid_mapping` | AWS rejected the request parameters | Check the secret name or ARN format | | `region_mismatch` | The ARN's region differs from the store's region | Use an ARN in the store's region, or create a store in the ARN's region | | `unknown` | An unclassified AWS error | Check the reported AWS error code | ## Limits * AWS Secrets Manager is the only supported provider. * One store reads one region. * Tracecat reads the `AWSCURRENT` version stage only. Staged and previous versions are not addressable. * A key mapping declares at most 100 output keys. * Rotating a secret in AWS needs no change in Tracecat: the next resolution reads the new `AWSCURRENT` value. Agent LLM requests can keep using the previous value for up to 60 seconds. * The LiteLLM service resolves AWS-backed agent LLM credentials with its own AWS principal. When that principal differs from the one in your trust policy, as on the Fargate deployment, those requests fail with `assume_role_failed`. Store agent LLM credentials as local secrets on those deployments. * On the AWS Fargate deployment, create the store's role in a different AWS account than Tracecat. By default the executor can't assume roles in its own account; see [AWS role assumption](/self-hosting/aws-fargate#aws-role-assumption). ## Related pages * See [Secrets](/automations/core-concepts/secrets) for local secrets, secret types, environments, and expression syntax. * See [Environment variables](/self-hosting/environment-variables) for where the operator sets the AWS AssumeRole variables on a self-hosted deployment. * See [RBAC](/manage-platform/rbac) for the `org:secret:*` scopes that gate store management. # Functions Source: https://docs.tracecat.com/automations/core-concepts/functions Inline utility functions for Tracecat expressions: transform strings, dates, numbers, lists, and JSON inside workflow and agent definitions. ## Overview Tracecat expressions can call built-in functions with the `FN.(...)` syntax. Functions accept positional arguments only: keyword arguments such as `FN.to_isoformat(FN.now(), timespec="seconds")` do not parse; write `FN.to_isoformat(FN.now(), "seconds")`. Function results support bracket indexing such as `FN.range(0, 3)[0]`. Function results do not support JSONPath wildcards or filters such as `FN.range(0, 3)[*]`. Use in-line functions for one-line data transforms in action inputs. For more complex logic, use a Python script or a custom UDF instead. ## Examples Build a prompt or short string: ```yaml Expression theme={null} prompt: ${{ FN.format("Investigate alert {0} with severity {1}", TRIGGER.alert_id, TRIGGER.severity) }} ``` ```json Result theme={null} { "prompt": "Investigate alert al-123 with severity high" } ``` Time manipulation for alert search windows. `FN.to_isoformat` keeps microseconds by default; pass `"seconds"` as the second argument to truncate: ```yaml Expression theme={null} start_time: ${{ FN.to_isoformat(FN.now() - FN.minutes(15)) }} end_time: ${{ FN.to_isoformat(FN.now(), "seconds") }} ``` ```json Result theme={null} { "start_time": "2026-03-18T12:45:00.490979", "end_time": "2026-03-18T13:00:00" } ``` ## Related pages * See the [Functions cheatsheet](/cheatsheets/functions) for the full function reference and more examples. * See [Expressions](/automations/core-concepts/expressions) for expression syntax and contexts. # JSONPath Source: https://docs.tracecat.com/automations/core-concepts/jsonpath Path access reference for Tracecat expressions: navigate trigger payloads, action results, secrets, and variables with JSONPath syntax. ## Overview JSONPath is used inside expression contexts such as `TRIGGER` and `ACTIONS..result` to access nested fields and arrays. ## Field access Use dot notation for nested fields. ```yaml Expression theme={null} theme: ${{ TRIGGER.data.settings.theme }} status: ${{ ACTIONS.fetch_alert.result.status }} ``` ```json Result theme={null} { "theme": "dark", "status": "open" } ``` Use quoted field names when the field contains special characters. ```yaml Expression theme={null} value: ${{ TRIGGER.data."alert.sample.data" }} dash_value: ${{ TRIGGER.data."field-with-dashes" }} ``` ```json Result theme={null} { "value": "sample-1", "dash_value": "ok" } ``` ## Array access Use brackets to access array items. ```yaml Expression theme={null} first_item: ${{ TRIGGER.items[0] }} last_item: ${{ TRIGGER.items[-1] }} first_name: ${{ ACTIONS.lookup_users.result.users[0].name }} ``` ```json Result theme={null} { "first_item": {"id": "a1"}, "last_item": {"id": "a3"}, "first_name": "Alice" } ``` ## Wildcards Use `[*]` to select all items in an array. ```yaml Expression theme={null} ids: ${{ TRIGGER.items[*].id }} names: ${{ ACTIONS.lookup_users.result.users[*].name }} ``` ```json Result theme={null} { "ids": ["a1", "a2", "a3"], "names": ["Alice", "Bob", "Carol"] } ``` Wildcard expressions return a list. ## Filters Use filters to select matching items. ```yaml Expression theme={null} active_users: ${{ ACTIONS.lookup_users.result.users[?(@.active == true)] }} high_scores: ${{ ACTIONS.lookup_users.result.users[?(@.score >= 90)] }} matching_alerts: ${{ TRIGGER.alerts[?(@.severity == "high")] }} ``` ```json Result theme={null} { "active_users": [{"name": "Alice", "active": true}], "high_scores": [{"name": "Alice", "score": 96}], "matching_alerts": [{"id": "al-1", "severity": "high"}] } ``` Filter expressions return a list. ## Missing fields Accessing a field that does not exist returns `None`. No error is raised. ```yaml Expression theme={null} value: ${{ ACTIONS.check_hash.result.id }} ``` ```json Result (field does not exist) theme={null} { "value": null } ``` Guard against `None` with a null check before dereferencing deeper fields. ```yaml theme={null} run_if: ${{ ACTIONS.check_hash.result != None && ACTIONS.check_hash.result.id != None }} ``` ## Related pages * See the [JSONPath cheatsheet](/cheatsheets/jsonpath) for detailed filter patterns, return behavior, and more examples. * See [Expressions](/automations/core-concepts/expressions) for expression syntax and contexts. * See [Functions](/automations/core-concepts/functions) for helper functions you can use alongside JSONPath access. # Secrets Source: https://docs.tracecat.com/automations/core-concepts/secrets Create, scope, and reference Tracecat secrets in workflows and agents: store API keys safely and inject them into actions through expressions. ## Overview Secrets store sensitive values. Create them in `/credentials`. A secret either holds its values in Tracecat, encrypted at rest, or references a value that stays in AWS Secrets Manager. See [External secret stores](/automations/core-concepts/external-secret-stores) for the AWS-backed path. ![Create secret](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/automations/create-secret.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=865f6171d813b25bec0a715c20b214b6) ## Using secrets in expressions Access a secret in expressions with: ```yaml theme={null} ${{ SECRETS.. }} ``` ## Secret types Tracecat supports these workspace secret types: | Type | Value | Description | | - | - | - | | Custom | `custom` | Arbitrary key-value credentials | | SSH key | `ssh_key` | A single SSH private key | | mTLS | `mtls` | A TLS client certificate and private key | | CA certificate | `ca_cert` | A CA certificate bundle | ### Custom credentials Custom credentials store arbitrary key-value pairs. Any keys can be used. ### Structured secret types SSH key, mTLS, and CA certificate secrets use fixed key names. The credentials UI renders a specialized form for each type (e.g. a PEM textarea for SSH keys instead of generic key-value inputs). | Type | Required keys | | - | - | | SSH key | `PRIVATE_KEY` | | mTLS | `TLS_CERTIFICATE`, `TLS_PRIVATE_KEY` | | CA certificate | `CA_CERTIFICATE` | Structured secret types cannot have `optional_keys`. The key set is fixed by the type. ## SQL action credentials `core.sql.execute_query` uses a secret named `sql` with one required key: `CONNECTION_URL`. Set `CONNECTION_URL` as a SQLAlchemy database URL: ```text theme={null} postgresql+psycopg://user:pass@db.example.com:5432/app ``` Common engine examples: * PostgreSQL (psycopg3): `postgresql+psycopg://user:pass@db.example.com:5432/app` * MySQL: `mysql+pymysql://user:pass@db.example.com:3306/app` * ClickHouse: `clickhouse+http://user:pass@clickhouse.example.com:8123/default` See SQLAlchemy Database URLs for supported dialect and driver formats: [https://docs.sqlalchemy.org/20/core/engines.html#database-urls](https://docs.sqlalchemy.org/20/core/engines.html#database-urls) ## AWS credentials ### Protected secret names `aws` and `amazon_s3` are **protected** secret names. When a secret with either name contains `AWS_ROLE_ARN`, Tracecat automatically performs STS `AssumeRole` on the host before sandbox entry and injects temporary session credentials. This applies to any registry action (built-in or custom) that declares a secret with one of these names. On the AWS Fargate deployment, create the role in a different AWS account than Tracecat; by default the executor can't assume roles in its own account (see [AWS role assumption](/self-hosting/aws-fargate#aws-role-assumption)). `tools.aws_boto3` actions use the `aws` secret. `tools.amazon_s3` actions use the `amazon_s3` secret. Both follow the same key schema. ### Supported keys * `AWS_ROLE_ARN` — recommended; Tracecat assumes the role on the host * `AWS_ROLE_SESSION_NAME` — optional audit session label * `AWS_ACCESS_KEY_ID` * `AWS_SECRET_ACCESS_KEY` * `AWS_SESSION_TOKEN` * `AWS_REGION` ### Credential resolution order 1. `AWS_ROLE_ARN` (STS AssumeRole with auto-injected `TRACECAT_AWS_EXTERNAL_ID`) 2. `AWS_ACCESS_KEY_ID` + `AWS_SECRET_ACCESS_KEY` + `AWS_SESSION_TOKEN` 3. `AWS_ACCESS_KEY_ID` + `AWS_SECRET_ACCESS_KEY` ## Google credentials Google Workspace actions resolve credentials from a chain and use the first credential that exists. An integration that is configured but not connected has no token, so the chain moves on to the next source. The chain is a priority order, not failover: an expired or revoked connection keeps its place, so re-authorize or disconnect it to move on. ### Credential resolution order Workspace app actions (`tools.google_drive`, `tools.gmail`, `tools.google_sheets`, `tools.google_docs`, `tools.google_slides`, `tools.google_forms`): 1. The service's user OAuth integration (`authorization_code`), such as `google_drive` with `${{ SECRETS.google_drive_oauth.GOOGLE_DRIVE_USER_TOKEN }}`. 2. The service's service-account integration (`client_credentials`), such as `google_drive` with `${{ SECRETS.google_drive_oauth.GOOGLE_DRIVE_SERVICE_TOKEN }}`. Set a subject on the integration for domain-wide delegation. 3. The `google_api` credential, key `GOOGLE_API_CREDENTIALS`, with domain-wide delegation through `GOOGLE_API_SUBJECT`. 4. The `google` (Google Cloud) service-account integration, token `GOOGLE_SERVICE_TOKEN`. Directory and Reports actions (`tools.google_directory`, `tools.google_reports`): 1. The `google_admin` user OAuth integration (`authorization_code`), `${{ SECRETS.google_admin_oauth.GOOGLE_ADMIN_USER_TOKEN }}`. The signed-in account must be a Workspace administrator. 2. The `google_admin` service-account integration (`client_credentials`), `${{ SECRETS.google_admin_oauth.GOOGLE_ADMIN_SERVICE_TOKEN }}`, with domain-wide delegation through its subject. 3. The `google_api` credential, key `GOOGLE_API_CREDENTIALS`, with domain-wide delegation through `GOOGLE_API_SUBJECT`. 4. The `google` (Google Cloud) service-account integration, token `GOOGLE_SERVICE_TOKEN`. Alert Center actions (`tools.google_alert_center`) start at step 2: the Alert Center API requires a service account with domain-wide delegation. ### Supported keys The `google_api` credential is a workspace secret with these keys: * `GOOGLE_API_CREDENTIALS` — the service account JSON key, as a string * `GOOGLE_API_SUBJECT` — optional; the user email to impersonate with domain-wide delegation A `subject` key inside the JSON works too. `GOOGLE_API_SUBJECT` wins over it. Service-account OAuth integrations take the JSON key as the client secret. The configure dialog has an assume user toggle that records the delegation subject, and one integration has one subject. To impersonate different users per action, call `tools.google_api.call_api` directly and pass `subject`; this needs the `google_api` credential. ## Secret environments Use secret environments to organize credentials by the boundary that matters to your workflow, not only by deployment stage. An environment can represent a customer or tenant, an application identity and its permission set, a deployment target, or another credential boundary. Set a workflow's default environment in [Workflows](/automations/workflows). When an action references a secret, Tracecat resolves it from that environment unless the action overrides it. If neither is set, Tracecat uses `default`. Use an action's [environment override](/automations/actions) to select a different environment. The override can be a literal name or a template expression that resolves at run time, so you can reuse one workflow for different credential contexts. Use environments to separate: * CrowdStrike MSSP customers or tenant IDs, such as `customer_acme` and `customer_globex` * Slack apps installed in different workspaces or granted different bot scopes * Google service accounts with different OAuth scopes * Sandbox and production credentials for the same provider Use a template override when trigger data selects the credential context: ```yaml theme={null} - ref: notify_customer action: tools.slack.post_message environment: ${{ TRIGGER.customer_environment }} args: channel: ${{ SECRETS.slack.ALERTS_CHANNEL }} text: "New finding: ${{ TRIGGER.finding_id }}" ``` In this example, the action resolves the `slack` secret from the environment named by `TRIGGER.customer_environment`. ## Access secrets in agents Agents can use secret expressions in tool arguments and integration configuration. Secret values are resolved during tool execution and are not sent to the LLM provider. ```text theme={null} When you call Slack tools, use `${{ SECRETS.slack.SLACK_BOT_TOKEN }}`. When you call Jira tools, use `${{ SECRETS.jira.JIRA_API_TOKEN }}`. Do not print secret values in the final answer. ``` ## Custom registry actions Authors of [Python UDFs](/custom-actions/python-udf) and [YAML templates](/custom-actions/yaml-template) declare required secrets in the registry (including OAuth and structured secret types). The same `${{ SECRETS... }}` syntax applies; see [Use OAuth tokens in expressions](/automations/integrations/oauth-integrations#use-oauth-tokens-in-expressions) on the OAuth page for token paths, `RegistryOAuthSecret` and YAML `type: oauth`, and Custom OAuth `provider_id` rules. ## Related pages * See [Pre-built credentials](/automations/integrations/prebuilt-credentials) for provider-specific credential templates for built-in integrations. * See [OAuth](/automations/integrations/oauth-integrations) for integrations that authenticate with OAuth flows. * See [MCP](/automations/integrations/mcp-integrations) for MCP integrations and secure environment-based settings. * See [External secret stores](/automations/core-concepts/external-secret-stores) for referencing AWS Secrets Manager values instead of storing them in Tracecat. * See [Expressions](/automations/core-concepts/expressions) for how expressions work across triggers, actions, secrets, and variables. # Variables Source: https://docs.tracecat.com/automations/core-concepts/variables Create and reference reusable Tracecat workspace variables in workflows and agents: share configuration and constants across automations without duplicating values. ## Overview Variables store reusable non-secret values. ## Using variables in expressions Access a variable in expressions with: ```yaml theme={null} ${{ VARS.. }} ``` ## Variable fields Each variable has these fields: * Name: a lowercase snake case name such as `jira` or `api_config` * Values: one or more key-value pairs * Environment: the Workflow environment where the variable applies ## When to use variables Use variables for non-sensitive values such as: * Base URLs * Project IDs * Queue names * Routing rules * Tenant-specific defaults Use a [secret](/automations/core-concepts/secrets) for sensitive values. ## Variable environments Every variable belongs to a Workflow environment. * Default source: the workflow default environment in [Workflows](/automations/workflows). * Override: per action in [Actions](/automations/actions) control flow. * Fallback: `default`. ## Access variables in agents Agents can use variable expressions in tool arguments and integration configuration. Values are resolved during tool execution and are not fetched directly by the LLM provider. ```text theme={null} When you call Jira tools, use `${{ VARS.jira.base_url }}` as the base URL and `${{ VARS.jira.project_key }}` as the default project key. ``` ## Related pages * See [Secrets](/automations/core-concepts/secrets) for sensitive values such as API keys, passwords, and certificates. * See [Expressions](/automations/core-concepts/expressions) for how expressions work across triggers, actions, secrets, and variables. # Workflow definition Source: https://docs.tracecat.com/automations/core-concepts/workflow-definition YAML reference for Tracecat workflow definitions: triggers, actions, inputs, outputs, control flow, and schema fields used to author and version workflows. This page was written for advanced builders who want to review and edit workflows in code. ## Overview Workflows in Tracecat are defined as YAML workflow definitions. ## Workflow schema The workflow body uses these top-level fields: ```yaml theme={null} title: description: entrypoint: config: triggers: error_handler: actions: returns: ``` A minimal workflow looks like this: ```yaml theme={null} title: "Minimal workflow" description: "Return a static value" entrypoint: expects: {} actions: - ref: build_result action: core.transform.reshape args: value: status: ok returns: ${{ ACTIONS.build_result.result }} ``` ## Top-level fields **title** `string` Workflow name. **description** `string` Workflow description. **entrypoint** `object` Input schema. Use `expects` to define trigger inputs in the workflow definition. **config** `object` Workflow settings. Supported fields are `environment` and `timeout`. **triggers** `list[object]` Optional trigger definitions. Trigger types are `webhook` and `schedule`. **error_handler** `string` Workflow alias to run when the workflow fails. **actions** `list[object]` Workflow actions. **returns** `any` Output schema. Use `returns` to define the workflow output in the workflow definition. Example input schema: ```yaml theme={null} entrypoint: expects: alert_id: type: str description: The alert to investigate severity: type: enum["low", "medium", "high"] default: medium ``` Example output schema: ```yaml theme={null} returns: finding_count: ${{ FN.length(ACTIONS.gather_results.result) }} findings: ${{ ACTIONS.gather_results.result }} ``` ## Actions schema **ref** `string` Unique action identifier. It must be unique within the workflow and match Tracecat's slug format. **action** `string` Fully qualified action name such as `core.http_request`, `core.transform.reshape`, `core.transform.scatter`, `core.loop.end`, or `tools.slack.post_message`. **args** `mapping` Action inputs. The valid keys depend on the action type. **depends_on** `list[string]` Dependencies for this action. Use `upstream_ref` for a success edge, `upstream_ref.success` for an explicit success edge, and `upstream_ref.error` for an error edge. Any other suffix is invalid. **run_if** `expression` Conditional expression. If it evaluates to a falsy value, the action is skipped. **for_each** `expression | list[expression]` Run the action once per item in a collection. Inside the action, access the current item through `var.`. Example: `for_each: ${{ for var.alert in TRIGGER.alerts }}`. **retry_policy** `object` Retry configuration with `max_attempts` and `timeout`. **start_delay** `float` Delay in seconds before the action starts. **join_strategy** `string` Join behavior for downstream actions. Use `all` to wait for all upstream branches, or `any` to allow a downstream join to complete once any upstream branch completes. **environment** `expression | string` Per-action override for the secrets environment. **mask_output** `boolean` Redacts this action's result in workflow execution views and execution API responses. Tracecat keeps object and array structure but replaces each individual value, so JSONPath references remain visible. Downstream actions still receive the original result. Example action: ```yaml theme={null} - ref: fetch_alert action: core.http_request args: url: "https://api.example.com/alerts/${{ TRIGGER.alert_id }}" method: GET headers: Authorization: "Bearer ${{ SECRETS.alerting.API_TOKEN }}" retry_policy: max_attempts: 3 timeout: 60 ``` ## Expressions Expressions use `${{ ... }}`. Use these references inside expressions: * `TRIGGER.` * `ACTIONS..result` * `SECRETS..` * `VARS..` * `ENV.` * `var.` * `FN.(...)` See [Expressions](/automations/core-concepts/expressions) for syntax, operators, and literals. See [JSONPath](/automations/core-concepts/jsonpath) for field access and array access. See [Functions](/automations/core-concepts/functions) for the full function list. ## Control-flow primitives ### Conditional execution with `run_if` ```yaml theme={null} title: "Conditional workflow" description: "Only notify on high severity" entrypoint: expects: severity: type: str actions: - ref: build_message action: core.transform.reshape args: value: "Severity is ${{ TRIGGER.severity }}" - ref: notify action: tools.slack.post_message depends_on: - build_message run_if: ${{ FN.is_equal(TRIGGER.severity, "high") }} args: channel: ${{ SECRETS.slack.SLACK_CHANNEL }} text: ${{ ACTIONS.build_message.result }} ``` ### Scatter and gather Use `core.transform.scatter` to fan out a collection into parallel streams, then `core.transform.gather` to collect results back into a list. ```yaml theme={null} title: "Scatter gather workflow" description: "Fetch details for each item" entrypoint: expects: items: type: list[dict[str, Any]] actions: - ref: scatter_items action: core.transform.scatter args: collection: ${{ TRIGGER.items }} - ref: fetch_item action: core.http_request depends_on: - scatter_items args: url: "https://api.example.com/items/${{ ACTIONS.scatter_items.result.id }}" method: GET - ref: gather_results action: core.transform.gather depends_on: - fetch_item args: items: ${{ ACTIONS.fetch_item.result }} drop_nulls: true error_strategy: partition returns: ${{ ACTIONS.gather_results.result }} ``` Within a scatter region, each downstream action reads the current item through `ACTIONS..result`. ### Do-while loops Use `core.loop.start` to open a loop region and `core.loop.end` to decide whether to continue. ```yaml theme={null} title: "Loop workflow" description: "Retry until the third iteration" entrypoint: expects: {} actions: - ref: loop_start action: core.loop.start - ref: body action: core.transform.reshape depends_on: - loop_start args: value: iteration: ${{ ACTIONS.loop_start.result.iteration }} - ref: loop_end action: core.loop.end depends_on: - body args: condition: ${{ ACTIONS.loop_start.result.iteration < 2 }} max_iterations: 10 - ref: after_loop action: core.transform.reshape depends_on: - loop_end args: value: ${{ ACTIONS.loop_end.result.continue }} returns: ${{ ACTIONS.after_loop.result }} ``` Loop-specific behavior: * `core.loop.start` exposes `ACTIONS..result.iteration` * `core.loop.end` requires `condition` * `max_iterations` defaults to `100` ### Subflows Use `core.workflow.execute` to run a subflow. ```yaml theme={null} title: "Subflow launcher" description: "Execute a subflow for each alert" entrypoint: expects: alerts: type: list[dict[str, Any]] actions: - ref: run_subflow action: core.workflow.execute for_each: ${{ for var.alert in TRIGGER.alerts }} args: workflow_id: wf_6dKVihiTHnzsxznV2Wku3S trigger_inputs: alert: ${{ var.alert }} returns: null ``` The subflow target is usually provided through `workflow_id`. Trigger data is passed through `trigger_inputs`. ## Validation rules These are the main workflow rules: * All action refs must be unique. * Every dependency in `depends_on` must reference a real action. * Cycles in the action graph are invalid. * Outer scopes cannot reference actions inside a nested scatter or loop scope. * Inner scopes can reference actions in parent scopes. * `core.transform.gather` must close the scatter scope it depends on. * `core.loop.end` must close the loop scope it depends on. ## Workflow definition schema Workflow definitions may also use this outer schema: ```yaml theme={null} definition: title: "Imported workflow" description: "This is the executable workflow DSL" entrypoint: expects: {} actions: - ref: a action: core.transform.reshape args: value: ok returns: ${{ ACTIONS.a.result }} layout: trigger: x: 0 y: 0 viewport: x: 0 y: 0 zoom: 1 actions: - ref: a x: 0 y: 160 schedules: - cron: "0 * * * *" status: online webhook: methods: - POST status: online case_trigger: status: offline event_types: [] tag_filters: [] ``` # Workflow metadata Source: https://docs.tracecat.com/automations/core-concepts/workflow-metadata Read workflow run metadata in Tracecat expressions with the ENV context: execution IDs, timestamps, trigger type, and the active Workflow environment. ## Overview The `ENV` context exposes metadata about the current workflow run: execution IDs, run timestamps, the trigger type, and the active Workflow environment. ## Using workflow metadata in expressions Access workflow metadata in expressions with: ```yaml theme={null} ${{ ENV.workflow. }} ``` ```yaml Expression theme={null} execution_id: ${{ ENV.workflow.execution_id }} trigger_type: ${{ ENV.workflow.trigger_type }} ``` ```json Result theme={null} { "execution_id": "wf_6dKVihiTHnzsxznV2Wku3S/exec_4itKqkgCZrLhgYiq5L211X", "trigger_type": "webhook" } ``` ## When to use workflow metadata Use workflow metadata to: * Stamp tickets, alerts, and log entries with `ENV.workflow.execution_id` so you can trace a record back to the run that created it * Branch on `ENV.workflow.trigger_type` to handle manual runs differently from webhook, scheduled, case, or form runs * Record when a run started with `ENV.workflow.start_time` ## Workflow environment `ENV.environment` resolves to the [Workflow environment](/automations/workflows#environments) the run executes in, the same environment that scopes [secrets](/automations/core-concepts/secrets) and [variables](/automations/core-concepts/variables). ## Related pages * See the [Workflow metadata cheatsheet](/cheatsheets/workflow-metadata) for the `ENV` field reference. * See [Expressions](/automations/core-concepts/expressions) for expression syntax and the other contexts. * See [Secrets](/automations/core-concepts/secrets) for how the Workflow environment scopes credentials. # MCP servers Source: https://docs.tracecat.com/automations/integrations/mcp-integrations Connect MCP servers from the Tracecat catalog, or bring your own remote and stdio servers, and attach them to agents and presets. ## Overview Tracecat supports three ways to connect an MCP server: * Catalog of 50+ preconfigured servers with guided connection setup, including Splunk, SentinelOne Purple AI, CrowdStrike Falcon, Microsoft Sentinel, Elastic, Wiz, GreyNoise, and PagerDuty * Remote MCP over URL (`HTTP` or `SSE`) * Local MCP over `stdio` ## Availability Open source All three connection types are open source. Select the saved integration in the `mcp_integrations` input on `ai.agent`, or attach it to a reusable agent preset. Per-tool approvals on remote MCP integrations, and reviewing them in the agent inbox, are also open source. See [Human-in-the-loop](/agents/human-in-the-loop). Enterprise Edition Approving tool calls from Slack or Microsoft Teams through agent channels is Enterprise-only. ![MCP options](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/integrations/mcp-options.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=58f6ec83d175d034274f460e20788332) ## Remote MCP Use remote MCP when the server is exposed over a URL. Tracecat rejects server URLs that resolve to private, loopback, or link-local addresses with `Host is not allowed`. For a self-hosted MCP server on your network, add its IP or CIDR to `TRACECAT__OUTBOUND_ALLOWED_PRIVATE_CIDRS`; see [Private endpoints](/agents/llm-providers#private-endpoints). Authentication modes: * No Authentication * Custom * OAuth ![Remote MCP authentication](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/integrations/remote-mcp-auth-options.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=13a9a9e096667eb6f89053908fc4e491) ### OAuth for remote MCP For remote MCP with OAuth, link the MCP integration to an existing OAuth integration. Tracecat refreshes the token and sets the `Authorization` header automatically. For a custom remote MCP server, first create a custom OAuth provider in [OAuth](/automations/integrations/oauth-integrations), then attach it to the MCP integration. ### Custom headers for remote MCP `Custom` authentication stores request headers as JSON. ```json theme={null} { "Authorization": "Bearer ${{ SECRETS.mcp_api.API_KEY }}", "X-API-Key": "abc123" } ``` Header values support `${{ SECRETS.* }}` and `${{ VARS.* }}` from your workspace's `default` environment. Tracecat resolves them when testing the connection or calling a tool. Header names and literal values stay unchanged. To save or test headers that contain expressions, you need the `integration:update` permission. ## Stdio MCP Use `stdio` MCP when Tracecat should launch a local command such as `npx`, `uvx`, or a custom binary. `stdio` environment variables support Tracecat expressions. ```json theme={null} { "GITHUB_TOKEN": "${{ SECRETS.github.TOKEN }}", "GITHUB_HOST": "${{ VARS.github.host }}" } ``` Tracecat resolves those expressions from the workflow default environment unless overridden in action control flow. ## Secrets and variables in MCP configuration Expression support differs by MCP integration type: * `stdio` environment variables support `${{ SECRETS.* }}` and `${{ VARS.* }}`. * Remote MCP OAuth mode does not need secret expressions for the bearer token because Tracecat injects the OAuth token automatically. * Remote MCP `Custom` header values support `${{ SECRETS.* }}` and `${{ VARS.* }}` from your workspace's `default` environment. ## Related pages * See [AI agent](/agents/ai-agent) for `ai.agent` and `ai.preset_agent` inputs and examples. * See [OAuth](/automations/integrations/oauth-integrations) for custom OAuth providers and OAuth token expressions. * See [Secrets](/automations/core-concepts/secrets) for environment-scoped secret resolution. * See [Variables](/automations/core-concepts/variables) for non-secret values used in `stdio` environment variables. # OAuth Source: https://docs.tracecat.com/automations/integrations/oauth-integrations Connect OAuth providers to Tracecat and reference managed OAuth tokens in expressions: configure scopes, refresh credentials, and call APIs from actions and agents. ## Overview Tracecat supports built-in OAuth integrations and custom OAuth providers. OAuth integrations expose tokens through secret expressions. ![OAuth integrations](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/integrations/oauth-integrations.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=f280592ad38363e57630e92fcae96440) ## Grant types OAuth grant types: * Delegated access (`authorization_code`): Tracecat stores a user token after a user completes the OAuth login flow. * Client credentials (`client_credentials`): Tracecat stores a service token for server-to-server access. ## Configure a provider Built-in OAuth integrations are listed on the Integrations page. For custom OAuth, use Add integration → OAuth provider (or Add custom OAuth provider under Custom OAuth). Most providers require these fields: * Client ID * Client secret * Authorization endpoint * Token endpoint * Scopes After you save a custom provider, connect it (complete the OAuth flow) when using delegated access so Tracecat can issue tokens. Custom delegated access providers always use PKCE (`S256`), which some providers require. Providers that do not support PKCE ignore it. ## Redirect URI Delegated access (`authorization_code`) requires a redirect URI registered in the provider's OAuth app. Tracecat uses one redirect URI for every OAuth provider, built-in or custom: ``` /integrations/callback ``` `PUBLIC_APP_URL` is the URL you use to reach the Tracecat UI (`https://platform.tracecat.com/integrations/callback` on Tracecat Cloud). Self-hosted deployments set it through the `TRACECAT__PUBLIC_APP_URL` environment variable; see [Environment variables](/self-hosting/environment-variables). The integration's configuration dialog also shows the exact value with a copy button. Register the URI as a Web platform redirect URI (reply URL) in the provider's app registration before you connect. If it is missing or does not match exactly, the provider rejects the login flow. Microsoft Entra ID reports this as `AADSTS900971: No reply address provided` or `AADSTS50011: The redirect URI specified in the request does not match`. Client credentials (`client_credentials`) has no login flow and needs no redirect URI. ## Use OAuth tokens in expressions OAuth expressions use the provider's exact ID, not its display name. * Built-in providers use stable lowercase IDs assigned by Tracecat, with underscores between words, such as `slack`, `google_drive`, and `microsoft_sentinel`. * Custom providers use an ID derived from the provider name, or from the requested ID when you create one through the API. Tracecat slugifies it with underscores and prepends `custom_`. `My Security API` becomes `custom_my_security_api`. If that ID is already used for the same grant type, Tracecat appends `_1`, `_2`, and so on. Append `_oauth` to the exact provider ID for the secret name. For the key, uppercase the complete provider ID, preserve its underscores and any numeric suffix, then append `_USER_TOKEN` for `authorization_code` or `_SERVICE_TOKEN` for `client_credentials`. ```yaml theme={null} # authorization_code grant ${{ SECRETS._oauth._USER_TOKEN }} # client_credentials grant ${{ SECRETS._oauth._SERVICE_TOKEN }} ``` A built-in `google_drive` authorization-code provider and a custom `custom_my_security_api` client-credentials provider resolve as: ```yaml theme={null} ${{ SECRETS.google_drive_oauth.GOOGLE_DRIVE_USER_TOKEN }} ${{ SECRETS.custom_my_security_api_oauth.CUSTOM_MY_SECURITY_API_SERVICE_TOKEN }} ``` When the provider has **both** grant types configured, you can fall back across both keys: ```yaml theme={null} ${{ SECRETS.microsoft_sentinel_oauth.MICROSOFT_SENTINEL_USER_TOKEN || SECRETS.microsoft_sentinel_oauth.MICROSOFT_SENTINEL_SERVICE_TOKEN }} ``` > [!WARNING] > > Validation checks both sides of a `||` independently, so this fallback only > passes when the provider is configured for both `authorization_code` and > `client_credentials`. If only one grant is set up, reference that grant's key > directly — otherwise the workflow fails validation on the missing one. > [!NOTE] > > Tracecat refreshes expiring authorization-code tokens when the provider > issued a refresh token, and reacquires client-credentials tokens with the > stored client credentials. The expression resolves only to the current > access-token string, which may be a JWT or an opaque token, not the refresh > token. ## OAuth and actions Registry actions reference OAuth integrations but do not create them. Configure a built-in or custom provider in Integrations first, then declare `RegistryOAuthSecret` (Python) or `type: oauth` (YAML) so the action requires that integration at runtime. See the OAuth declaration syntax and examples for [Python UDFs](/custom-actions/python-udf#python-udfs) and [YAML templates](/custom-actions/yaml-template#secrets). ## OAuth and MCP Remote MCP integrations can use an existing OAuth integration. For custom remote MCP servers: 1. Create a custom OAuth provider. 2. Connect that provider. 3. Create an MCP integration and attach the connected OAuth integration. ## FAQ > [accordion] Can my custom action create an OAuth integration? > > No. `RegistryOAuthSecret` and YAML `type: oauth` entries declare that the action *requires* an existing OAuth integration — they do not register one. Create the integration from [Configure a provider](#configure-a-provider) (or [contribute a built-in provider](#how-do-i-contribute-a-built-in-oauth-provider)). Once it exists, your action can reference its tokens via `${{ SECRETS._oauth... }}`. > [accordion] How do I contribute a built-in OAuth provider? > > Out-of-the-box providers are implemented in the Tracecat app and get stable IDs (for example `slack`, `google_drive`) without the UI `custom_` rule. > > 1. Subclass `AuthorizationCodeOAuthProvider` or `ClientCredentialsOAuthProvider` under [`tracecat/integrations/providers/`](https://github.com/TracecatHQ/tracecat/tree/main/tracecat/integrations/providers). See [`slack/oauth.py`](https://github.com/TracecatHQ/tracecat/blob/main/tracecat/integrations/providers/slack/oauth.py) for a full example. > 2. Register the class in [`_PROVIDER_CLASSES`](https://github.com/TracecatHQ/tracecat/blob/main/tracecat/integrations/providers/__init__.py). > 3. Keep the [registry package](https://github.com/TracecatHQ/tracecat/tree/main/packages/tracecat-registry) aligned: same `provider_id` and `grant_type` in `RegistryOAuthSecret` (Python) and `type: oauth` entries (YAML) so actions resolve the same integration as the UI. ## Related pages * See [Prebuilt credentials](/automations/integrations/prebuilt-credentials) for static credentials such as API keys and bot tokens. * See [Secrets](/automations/core-concepts/secrets) for how secret expressions are resolved at runtime. * See [Python UDFs](/custom-actions/python-udf) and [YAML templates](/custom-actions/yaml-template) for custom registry actions. * See [MCP servers](/automations/integrations/mcp-integrations) for remote and `stdio` MCP setup. # Prebuilt credentials Source: https://docs.tracecat.com/automations/integrations/prebuilt-credentials Configure prebuilt credentials for Tracecat's built-in integrations: define secret schemas, scope values per workspace, and reuse them across actions and agents. ## Overview Pre-built credentials pre-fill the secret name and keys for built-in integrations. ![Pre-built credentials](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/integrations/pre-built-credentials.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=2eab1fc91cf8e4d5e55851d9f3fb2822) ## How pre-built credentials work Built-in integrations expect fixed secret names and keys. For example, Slack SDK actions use `slack` and `SLACK_BOT_TOKEN`. `${{ SECRETS.slack.SLACK_BOT_TOKEN }}` resolves from the workflow default environment unless overridden in action control flow. ## Use environments Store the same credential name in different Workflow environments: * `slack` in `default` for one Slack app * `slack` in `staging` for a second Slack app * `slack` in `customer_acme` for a customer-specific Slack app Then set the Workflow environment in [Workflows](/automations/workflows#environments) or override it on a specific action in [Actions](/automations/actions#environment): ```yaml theme={null} ${{ SECRETS.slack.SLACK_BOT_TOKEN }} ``` ## Configure a credential In `/Credentials`, click `Configure` for the credential. Tracecat pre-fills the keys. ![Configure Slack credential](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/integrations/create-slack-secret.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=46e10e58ad18ffd83ecf0800ab0bccb9) ## FAQ > [accordion] Why is my secret or integration not resolving at runtime? > > Check these in order: > > * Use prebuilt credentials for fixed secret names and keys such as `${{ SECRETS.slack.SLACK_BOT_TOKEN }}`. > * Use OAuth integrations when the provider issues managed tokens such as `${{ SECRETS.microsoft_teams_oauth.MICROSOFT_TEAMS_USER_TOKEN }}`. > * Use custom secrets when an action expects your own secret name and keys. > * Make sure the secret exists in the same environment that the workflow or action is using. > * Make sure the expression path matches the configured secret name and key exactly. > > For example, this action reads the `slack` credential from the `customer_acme` environment, not from `default`: > > ```yaml theme={null} > - ref: notify_customer > action: tools.slack.post_message > environment: customer_acme > args: > channel: ${{ SECRETS.slack.ALERTS_CHANNEL }} > text: "New finding: ${{ TRIGGER.finding_id }}" > ``` > > If `slack` only exists in `default`, the action will not resolve it while running in `customer_acme`. ## Related pages * See [Secrets](/automations/core-concepts/secrets) for the core secret model and secret expression syntax. * See [OAuth](/automations/integrations/oauth-integrations) for integrations that issue managed OAuth tokens instead of static keys, and for the same `${{ SECRETS... }}` patterns in custom registry actions. * See [MCP servers](/automations/integrations/mcp-integrations) for MCP-specific integration setup and secret-backed `stdio` configuration. # Tables Source: https://docs.tracecat.com/automations/tables Store and manage structured data inside Tracecat: define tables, query rows from workflows and agents, and link records to cases and workflow runs. ## Tables ![Table](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/tables/table.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=5738c083d8a1de774ab9fc319628d58b) Tables let you store structured data in your workspace. You can use them from the UI or from `core.table.*` actions in a workflow definition. Use tables when you want to: * Keep durable records across workflow runs * Look up known values such as users, hosts, or indicators * Search and export structured data for investigation or reporting * Reuse the same dataset across multiple workflows ## Columns Each table has a schema that defines its columns. Choose column types based on the data you want to store and query. When you define columns in the UI or in `core.table.create_table`, use the same uppercase `type` values exposed in the custom tables picker: You can create tables with the following column types: * TEXT * INTEGER * NUMERIC * BOOLEAN * DATE * TIMESTAMPTZ * JSONB * SELECT * MULTI_SELECT Use `TEXT`, `INTEGER`, `NUMERIC`, and `BOOLEAN` for simple fields. Use `DATE` or `TIMESTAMPTZ` for time-based values, `JSONB` for nested structured data, and `SELECT` or `MULTI_SELECT` when the value must come from a fixed list. Case custom fields use the same storage type family: `TEXT`, `INTEGER`, `NUMERIC`, `BOOLEAN`, `DATE`, `TIMESTAMPTZ`, `JSONB`, `SELECT`, and `MULTI_SELECT`. In the case field picker, raw `JSONB` is currently surfaced through the `URL` kind, and `Long text` is layered on top of `TEXT`. ## Rows Rows hold the actual records in a table. You can insert, update, delete, look up, and search rows as your workflows process new events. This works well for data such as: * Asset inventories * User allowlists * Enrichment results * Investigation evidence * External system references If you already know the field and value you want, use `core.table.lookup`. If you need broader filtering or text search, use `core.table.search_rows`. For example, use `core.table.lookup` when you know the exact value: ```yaml theme={null} - ref: lookup_asset action: core.table.lookup args: table: asset_inventory column: hostname value: ${{ TRIGGER.hostname }} ``` For example, use `core.table.search_rows` when you want to search across rows: ```yaml theme={null} - ref: search_assets action: core.table.search_rows args: table: asset_inventory search_term: production limit: 25 ``` `core.table.search_rows` also filters on row creation time: `start_time` and `end_time` bound each row's `created_at` timestamp. The `limit` ceiling is 200 and larger values raise an error; page with `paginate: true` and `cursor` to read more rows, or use `core.table.download`, which returns up to 1000 rows. ## Index and upsert You'll often need to deduplicate data or require all values in a column to be unique. You can do that by creating an index and then using `core.table.insert_row` with `upsert: true`. ![Create unique index](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/tables/create-unique-index.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=fdf64cdd6edd3e0cd8158f51e608f069) For example: * One row per hostname * One row per email address * One row per alert ID * One row per hash value A unique index enforces that rule, and `core.table.insert_row` with `upsert: true` updates the existing row instead of creating a duplicate. To create the index from a workflow definition, create the table with `core.table.create_table`, then set the column's `is_index` with `core.table.update_column`: ```yaml theme={null} - ref: ensure_alerts_table action: core.table.create_table args: name: alerts columns: - name: alert_id type: TEXT raise_on_duplicate: false - ref: index_alert_id action: core.table.update_column depends_on: - ensure_alerts_table args: table: alerts column: alert_id update: is_index: true ``` A table can have one single-column unique index, and creating it fails if the column already contains duplicate values; remove the duplicates first. Setting `is_index: true` is not idempotent: a second call raises `Table cannot have multiple unique indexes`. A workflow that repeats the index step on every run must guard it, and downstream steps need `join_strategy: any`: ```yaml theme={null} - ref: alerts_metadata action: core.table.get_table_metadata depends_on: - ensure_alerts_table args: name: alerts - ref: index_alert_id action: core.table.update_column depends_on: - alerts_metadata run_if: ${{ FN.length(ACTIONS.alerts_metadata.result.columns[?(@.is_index == true)]) == 0 }} args: table: alerts column: alert_id update: is_index: true - ref: upsert_alert action: core.table.insert_row depends_on: - alerts_metadata - index_alert_id join_strategy: any args: table: alerts upsert: true row_data: alert_id: ${{ TRIGGER.alert_id }} ``` ## Vector search Enterprise Edition Vector search finds rows by meaning in the `TEXT` columns you choose. Connect an [LLM provider](/agents/llm-providers) that offers an embedding model first: OpenAI, Gemini, Amazon Bedrock, Ollama, or vLLM. On plans without vector search, the status badge and the `Enable vector search` menu item open an Enterprise only dialog. **1. Enable vector search on a column** Open the table, click the arrow in a `TEXT` column header, and select `Enable vector search`. ![Enable vector search](https://mintcdn.com/tracecat/T-rG4SReyC0__FBE/img/tables/enable-vector-search.png?fit=max\&auto=format\&n=T-rG4SReyC0__FBE\&q=85\&s=2a22a111980e45ec2678d036a7e403b3) **2. Confirm** The dialog names the provider and embedding model that receive the column's text. Click `Enable vector search`. ![Confirm vector search](https://mintcdn.com/tracecat/T-rG4SReyC0__FBE/img/tables/confirm-vector-search.png?fit=max\&auto=format\&n=T-rG4SReyC0__FBE\&q=85\&s=6e6e99e1fa8a9d4650f030915f1b9849) **3. Wait for the index** The status badge in the page header reads `Indexing` while Tracecat indexes the rows, then `Ready`. Hover over the badge to see the embedding model and how many rows are ready, pending, failed, or empty. ![Vector search status](https://mintcdn.com/tracecat/T-rG4SReyC0__FBE/img/tables/vector-search-status.png?fit=max\&auto=format\&n=T-rG4SReyC0__FBE\&q=85\&s=e6746716551d10fb22ee829ee182e221) **4. Search by meaning** Call `core.table.search` from a workflow. Each result holds the `row_id`, a similarity `score`, and the matching excerpt. ```yaml theme={null} - ref: find_similar_alerts action: core.table.search args: table: alerts query: stolen credentials used to sign in limit: 5 ``` Repeat the first two steps to add more columns. To remove a column, select `Disable vector search` from the same menu; Tracecat rebuilds the index for the remaining columns. `core.table.search` takes these arguments: * `table`: Required table name. * `query`: Required search text, up to 512 tokens or the embedding model's smaller input limit. * `limit`: Optional rows per page, from 1 to 100. Defaults to 10. * `cursor`: Optional `next_cursor` from the previous page. Keep the other arguments unchanged. Cursors expire after five minutes, and one search returns at most 100 rows across all pages. * `allow_partial`: Optional boolean. Defaults to `false`, which fails while the index is still building. Set it to `true` to search only rows that are already indexed. The result has `items`, `next_cursor`, `has_more`, and `index`. Each item holds one distinct row: `row_id`, `score`, and `match`, where `match` names the `column_name` and the matching `text`. `score` is cosine similarity, not a confidence level, so compare scores within one search rather than against a fixed threshold. ## Table actions Use `core.table.*` actions when you want your workflows to work with tables directly. * [Tables](/automations/core-actions/memory-actions/tables) to create tables, inspect metadata, and update table settings * [Columns](/automations/core-actions/memory-actions/columns) to add, update, and delete columns * [Lookups](/automations/core-actions/memory-actions/lookups) to look up and search rows * [Rows](/automations/core-actions/memory-actions/rows) to insert, update, and delete rows * [Export](/automations/core-actions/memory-actions/export) to download a table * Use `core.table.insert_row` with `upsert: true` when you want to update an existing row that matches a unique index `core.table.create_table` takes `columns` as a JSON array of column objects. This is the same schema you use for tables that you later link to cases. * `name`: Required string. Use letters, numbers, and underscores, and start with a letter or underscore. * `type`: Required uppercase string. Use `TEXT`, `INTEGER`, `NUMERIC`, `BOOLEAN`, `DATE`, `TIMESTAMPTZ`, `JSONB`, `SELECT`, or `MULTI_SELECT`. * `nullable`: Optional boolean. Defaults to `true`. * `default`: Optional value. It must match the column type. * `options`: Optional array of strings. Required for `SELECT` and `MULTI_SELECT`, and invalid for other types. For example: ```yaml theme={null} - ref: ensure_inventory_table action: core.table.create_table args: name: asset_inventory columns: - name: hostname type: TEXT - name: owner type: TEXT raise_on_duplicate: false - ref: upsert_asset action: core.table.insert_row args: table: asset_inventory upsert: true row_data: hostname: ${{ TRIGGER.hostname }} owner: ${{ TRIGGER.owner }} - ref: lookup_asset action: core.table.lookup args: table: asset_inventory column: hostname value: ${{ TRIGGER.hostname }} ``` For example, this upserts one row per alert ID: ```yaml theme={null} - ref: upsert_alert action: core.table.insert_row args: table: alerts upsert: true row_data: alert_id: ${{ TRIGGER.alert_id }} status: ${{ TRIGGER.status }} severity: ${{ TRIGGER.severity }} ``` # Tracecat MCP Source: https://docs.tracecat.com/automations/tracecat-mcp Drive Tracecat from your own agent harness over MCP: build, edit, and run workflows and cases through Claude, Cursor, ChatGPT, or any MCP client. Tracecat works best with agentic coding tools (Claude Code, Cursor, Codex, OpenCode). Agents connected to Tracecat MCP gain the ability to build and orchestrate core Tracecat resources: * Agents * Workflows * Tables (local and remote) * Integrations (HTTP, gRPC, SQL) * Scripts (Python, docker run) * Cases (local and remote) Tracecat MCP turns any coding agent into a security automation architect and engineer. ## Setup If you are **self-hosted**, replace `https://platform.tracecat.com` with your `PUBLIC_APP_URL` (e.g. `http://localhost` or `https://tracecat.example.com`). Authentication uses a built-in OIDC provider—your agent is redirected to sign in through the browser on first connection. If you belong to more than one organization, Tracecat asks which organizations the connection can access, and one connection then works across all of them. For clients or environments that cannot complete a browser sign-in, authenticate with a [personal access token (PAT)](/automations/tracecat-mcp#personal-access-tokens) instead. > [tab] Claude Code > > Sign in with OAuth: > > ```bash theme={null} > claude mcp add -t http tracecat https://platform.tracecat.com/mcp > claude > /mcp > ``` > > Or authenticate with a [personal access token (PAT)](/automations/tracecat-mcp#personal-access-tokens). > Set `TRACECAT_MCP_PAT` in your environment and reference it with **single > quotes** so the variable (not the token) is written to the saved config: > > ```bash theme={null} > claude mcp add --transport http tracecat https://platform.tracecat.com/mcp \ > --header 'Authorization: Bearer ${TRACECAT_MCP_PAT}' > ``` > [tab] OpenAI Codex > > Sign in with OAuth: > > ```bash theme={null} > codex mcp add tracecat --url https://platform.tracecat.com/mcp > codex mcp login tracecat > ``` > > Or authenticate with a [personal access token (PAT)](/automations/tracecat-mcp#personal-access-tokens). > Set `TRACECAT_MCP_PAT` in your environment, then reference it by name: > > ```bash theme={null} > codex mcp add tracecat --url https://platform.tracecat.com/mcp \ > --bearer-token-env-var TRACECAT_MCP_PAT > ``` > [tab] GitHub Copilot > > ```bash theme={null} > copilot > /mcp add > # Server Name: tracecat > # Server Type: HTTP > # URL: https://platform.tracecat.com/mcp > # Tools: * > ``` > > Complete the OAuth sign-in from an interactive `copilot` session. A non-interactive > run (`copilot -p`) does not wait for sign-in — it skips the `tracecat` tools until > you have authenticated once interactively. > > Follow [GitHub Copilot MCP setup](https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/add-mcp-servers) for the latest CLI prompts. > > Or add this server to `~/.copilot/mcp-config.json`: > > ```json theme={null} > { > "mcpServers": { > "tracecat": { > "type": "http", > "url": "https://platform.tracecat.com/mcp", > "tools": ["*"] > } > } > } > ``` > > To use a [personal access token (PAT)](/automations/tracecat-mcp#personal-access-tokens) instead of > OAuth, add an `Authorization` header (`${TRACECAT_MCP_PAT}` is read from your > environment): > > ```json theme={null} > "headers": { > "Authorization": "Bearer ${TRACECAT_MCP_PAT}" > } > ``` > [tab] Cursor > > On Tracecat Cloud, click [Add Tracecat to Cursor](https://cursor.com/en-US/install-mcp?name=tracecat\&config=eyJ1cmwiOiJodHRwczovL3BsYXRmb3JtLnRyYWNlY2F0LmNvbS9tY3AifQ) > to add it in one click. Otherwise configure `.cursor/mcp.json` manually: > > ```json theme={null} > { > "mcpServers": { > "tracecat": { > "url": "https://platform.tracecat.com/mcp" > } > } > } > ``` > > To use a [personal access token (PAT)](/automations/tracecat-mcp#personal-access-tokens) instead of > OAuth, add an `Authorization` header (Cursor resolves `${env:TRACECAT_MCP_PAT}` > from your environment): > > ```json theme={null} > "headers": { > "Authorization": "Bearer ${env:TRACECAT_MCP_PAT}" > } > ``` ## Personal access tokens OAuth is the default. For clients or environments that cannot complete a browser sign-in (CI, headless runners, shared dev containers), authenticate with a workspace-scoped personal access token (PAT) instead. PATs work the same on self-hosted and Tracecat Cloud. 1. In your workspace, go to **Settings → MCP** and create a token. Set a name and expiration. 2. Copy the token when it is shown. It is only displayed once and cannot be retrieved again. 3. Pass it as a bearer header from your MCP client — see the **PAT** option in each [Setup](#setup) tab above for Claude Code, Codex, Copilot, and Cursor. > [!NOTE] > > Treat the PAT like a secret. It grants MCP access scoped to the workspace it > was created in. Always send it in the `Authorization` header—never in the URL > or a query string, where it leaks into server, proxy, and browser logs. Keep it > out of command output and application logs, and supply it through an environment > variable or secrets vault rather than hardcoding it in a config file. Revoke it > from **Settings → MCP** if it is exposed, and prefer short expirations. ## Starter prompts Recreate automation from blog post Recreate a security automation based on a blog post. Review the following examples and ask me if I have a specific one in mind, or if I'd like to implement one of these: * Slack's Distributed Security Alerting ([https://slack.engineering/distributed-security-alerting/](https://slack.engineering/distributed-security-alerting/)) * AWS Incident Response Playbooks ([https://github.com/aws-samples/aws-incident-response-playbooks](https://github.com/aws-samples/aws-incident-response-playbooks)) * GitLab SIRT Incident Response ([https://handbook.gitlab.com/handbook/security/security-operations/sirt/sec-incident-response/](https://handbook.gitlab.com/handbook/security/security-operations/sirt/sec-incident-response/)) * Reddit's Threat Detection ([https://www.reddit.com/r/RedditEng/comments/1riyeam/how_reddit_does_threat_detection/](https://www.reddit.com/r/RedditEng/comments/1riyeam/how_reddit_does_threat_detection/)) Once we've selected a post: 1. Analyze the post to identify the core workflow logic, required data tables, and integration points. 2. Design and implement the necessary Tracecat workflows and tables. 3. Question any assumptions in the original post that might not apply to a modern cloud-native environment. 4. Ask clarifying questions about my specific environment, such as preferred communication channels or existing security stack. Audit and improve existing workflows Audit my existing Tracecat workflows, tables, and cases. Goal: 1. Suggest improvements for efficiency, reliability, and security. 2. Identify missing components, with a specific focus on SLAs, reporting, and observability. 3. Question assumptions about my current data retention and alerting thresholds. 4. Ask clarifying questions about my team's response requirements and reporting stakeholders. Build alert triage automation Build a security automation for automated alert triage and response. Tasks: 1. Create a workflow triggered by a webhook that receives inbound security alerts. 2. Ask me if I have a SIEM or central log repository (like Splunk or Sentinel) that should be the primary alert source. 3. Implement an AI analysis step using `ai.action` or `ai.agent` to interpret the alert context. 4. Ask which enrichment integrations (such as VirusTotal or urlscan.io) I'd like to include for reputation checks. 5. Ensure the workflow creates a case for any alert that meets a specific risk threshold. 6. Question assumptions about alert fidelity and whether automated actions should be taken without human review. 7. Ask clarifying questions about my data schemas, expected alert volume, and specific response SLAs. Automate phishing email response Build an automated response for user-reported phishing emails. Tasks: 1. Design a workflow that triggers when a user submits a suspicious email to our phishing reporting mailbox. 2. Use a script or AI step to extract all URLs, domains, and attachments from the email body. 3. Perform reputation checks and sandboxing using my available security tools (e.g., URLScan, Joe Sandbox, or CrowdStrike). 4. Ask which email service (Microsoft 365 or Google Workspace) I'd like to integrate with for automated deletion or quarantine. 5. Create a case to notify the SOC if the email is confirmed malicious. 6. Question assumptions about whether automated deletion should happen for "suspicious" but not "confirmed" hits. 7. Ask clarifying questions about our internal whitelist of trusted senders and domains. ## MCP tools **list_workspaces** `tool` List all workspaces accessible to the authenticated user. Returns paginated workspace summaries including workspace id/name and the owning org_id/org_slug. Multi-org users may receive workspaces from more than one organization in a single response. **update_workspace_attachment_types** `tool` Configure which file extensions and MIME types case attachments may use. A list replaces the workspace's current allowlist; it does not append. To add or remove one entry, call this tool without arguments first, edit the returned effective list, and pass the full list back. An empty list clears the workspace override so the system defaults apply again. Omitted arguments are left unchanged, and calling with no arguments only reads the current settings. An upload must match both an allowed extension and an allowed MIME type, so update both lists together when adding a file type. Changing settings requires the `workspace:update` scope. **create_workflow** `tool` Create a new workflow in a workspace. **get_workflow** `tool` Get metadata for a specific workflow. **list_workflow_actions** `tool` List the actions in a draft workflow as a compact index-and-ref table. Use this instead of `get_workflow` when you only need to know which actions exist, their order, their `depends_on` wiring, or the current array index of a ref for `edit_workflow`. It returns one small row per action and no `args`, so it stays cheap on large workflows. Follow up with `get_workflow_action` to read one action in full, or `get_workflow` when you need the whole `draft_document`. **get_workflow_graph** `tool` Get a draft workflow's control flow as a compact Mermaid flowchart. Call this before adding or editing any `run_if`, `depends_on`, or `join_strategy`. Each node shows the action ref, action type, `for_each`, `join: any`, and its `run_if`; error-path edges are dotted. No `args` are returned. Use `gated_by` to see which upstream conditions already guard an action: a skipped ancestor skips everything below it on the success path, so do not restate those conditions in a downstream `run_if`. `join: any` means any: it runs once one parent succeeds, even if another parent was skipped, so its `gated_by` keeps only conditions on every path into it. **get_workflow_action** `tool` Get one action from a draft workflow by its `ref`. Use this instead of `get_workflow` when you need the full definition of a single action (its `args`, `run_if`, `for_each`, retry policy, and so on) without loading the whole `draft_document`. Pair it with `list_workflow_actions` to discover refs. Edit the action afterwards with `edit_workflow` using `/definition/actions/@/...` paths. **edit_workflow** `tool` Edit a draft workflow using RFC 6902 JSON Patch. Prefer this tool over `update_workflow` for focused edits to an existing workflow. If the latest `draft_document` and `draft_revision` are already in the context window, reuse them and build the smallest patch that changes the intended fields. Call `get_workflow` only when the latest draft is missing, stale, or a revision conflict says the draft changed. Patch paths are rooted at `draft_document`, so action edits use `/definition/actions/...`, not `/actions/...`. Address actions by ref, not index: `/definition/actions/@` (with any suffix, e.g. `/definition/actions/@build_alert/args/url`) and `/layout/actions/@` resolve to the action's current index when each op runs, so you never need to `test` an index first or track how earlier ops shifted the array. `add` to `/definition/actions/@` appends a new action when the ref does not exist yet (the value's `ref` must match); `remove` on `/definition/actions/@` deletes that action. An unknown ref fails the whole patch and names the known refs. Numeric paths (`/definition/actions/N/...`) still work with RFC 6902 array rules (`/-` appends, indexes shift after array edits), but the server re-sorts actions by ref on save, so prefer `@`. **update_workflow** `tool` Update workflow metadata and optional inline YAML. This tool does not accept `patch_ops`. Use `edit_workflow` for RFC 6902 draft patches with a `base_revision`. **list_workflows** `tool` List workflows in a workspace. **list_workflow_tree** `tool` List workflow folders and workflows under a path. **create_workflow_folder** `tool` Create a workflow folder by absolute path. **rename_workflow_folder** `tool` Rename a workflow folder by absolute path. **move_workflow_folder** `tool` Move a workflow folder under a new parent path. **delete_workflow_folder** `tool` Delete a workflow folder by absolute path. **move_workflows** `tool` Move workflows into or out of a folder. This tool is best-effort and non-atomic. If one workflow fails to move, the remaining workflow moves still proceed. **list_actions** `tool` Search or browse available actions and return compact context metadata. Supports three usage modes: -> **Search**: provide a literal substring `query` to search by name/description across all `namespaces`; this is not a multi-word keyword search. Example: list_actions(workspace_id, query="message") -> **Browse by `namespace`**: provide `namespace` without `query` to list all actions in a `namespace`. Example: list_actions(workspace_id, namespace="core") -> **Browse all**: omit both to list all available actions. Common `namespaces`: `core`, `tools`, `ai`. Exact namespace/name matches appear before prefix and description matches. A missing first-page match does not mean the action is absent: continue with `next_cursor` while `has_more` is true. **sync_custom_registry** `tool` Sync the organization's custom action registry from its remote git repository. Pulls the latest code from the custom registry repo registered in the caller's organization, builds a versioned tarball, and makes the synced actions available to agents and workflows. Use this after pushing changes to the custom integrations repo, or to roll forward/back to a specific commit. Existing published workflows must be republished to pick up newly synced action versions. **get_action_context** `tool` Get full schema and configuration context for a single action. Use this after discovering an action via `list_actions` to get the complete parameter schema needed to write the `args:` block in a workflow definition. Example action names: "core.http_request", "core.script.run_python", "core.transform.reshape". For grouped counts and metrics in workflows, use `core.cases.aggregate_cases` for cases or `core.table.aggregate_rows` for table rows. Pass either action name to this tool to get its input schema. **get_workflow_authoring_context** `tool` Get compact workflow authoring context for selected actions. Returns everything needed to write a workflow definition: action schemas, available secrets, and workspace variables. Use this before calling `create_workflow` or `update_workflow`. Two input modes (provide one or neither): -> **By name**: pass `actions` with an `action_names` list. -> **By search**: pass `query` to search for actions by name/description **validate_workflow** `tool` Validate a workflow's draft state. Checks that the workflow DSL is structurally sound and that arguments are valid. **prepare_template_file_upload** `tool` Prepare a staged template YAML upload for remote `/mcp` clients. **validate_template_action** `tool` Validate a template action YAML file. Validates YAML parsing, template schema correctness, step action references, argument schemas, and expression references. **publish_workflow** `tool` Publish (commit) a workflow, creating a new versioned definition. This validates the workflow, freezes registry dependencies, and creates a new workflow definition version. **run_workflow** `tool` Run a workflow from its draft state or a published definition. By default runs the current draft (unpublished edits) so changes can be tested before publishing. Draft runs reuse the result of every locked action (see `lock_workflow_action`) instead of running it. Set `use_draft=False` to run a published version instead; published runs ignore locks. **list_workflow_action_runs** `tool` List an action's recent runs, to pick one for `lock_workflow_action`. **lock_workflow_action** `tool` Lock a draft action to a past run's result, or unlock it. While locked, every draft run (`run_workflow` with `use_draft=True`) reuses the action's result from that run instead of executing it, which lets you debug downstream actions against a fixed input. Published runs ignore locks. Find a lockable run with `list_workflow_action_runs`. **list_workflow_executions** `tool` List recent executions for a workflow. Use this to see run history, check which runs succeeded or failed, and find execution IDs for deeper inspection with `get_workflow_execution`. **rerun_workflow_execution** `tool` Rerun a past execution against the draft or a published version. The new run reuses the past run's trigger inputs. Each action that succeeded in the past run and exists in the target with the same ref and action type reuses its stored result instead of running. Everything else runs. Actions inside scatter or loop scopes, and control flow actions, always run. Call with `dry_run=true` first to see the match plan. Each entry in `plan.actions` has a status: `fixed` (result reused), `excluded` (reusable but not in `fixed_action_refs`), `runs` (no reusable result), `not_in_target` (the target has no action with this ref), or `action_changed` (the target action uses a different action type). `plan.unmatched_refs` lists source results the target cannot use, and `plan.inputs_error` is set when the past inputs fail the target's input schema. **get_workflow_execution** `tool` Get status and details of a specific workflow execution. Returns execution metadata (status, timing) and a compact event timeline showing each action's status, timing, and any errors. Use this to debug failed runs or check the progress of running workflows. Each event's `result` is inlined only when its JSON is short; longer results appear as a cut-off `result_truncated` preview. To read one action's complete result at any size, call `get_execution_action_result`. **cancel_workflow_execution** `tool` Request graceful cancellation of a workflow execution. Sends a cancellation request so the run can clean up before it closes with status CANCELED. It may take a moment to stop. Cancelling a run that has already finished does nothing. Call `get_workflow_execution` afterwards to confirm the final status. **get_execution_action_result** `tool` Get the full stored result of one action in a workflow execution. Use this when `get_workflow_execution` shows `result_truncated` for an action, or when the result was offloaded to blob storage, and you need the whole value (a findings list, a classification summary, an API payload). The result is returned as JSON text in byte windows: read `total_bytes`, and if `truncated` is true call again with `offset=next_offset` until `next_offset` is null. Concatenate the `result` strings in order to rebuild the JSON. **get_webhook** `tool` Get webhook configuration for a workflow. **update_webhook** `tool` Update webhook configuration for a workflow. **get_case_trigger** `tool` Get case trigger configuration for a workflow. **update_case_trigger** `tool` Update an existing case trigger for a workflow. This tool replaces the whole trigger: every call sends `status`, `event_types` and `tag_filters`, so pass all three. Omitting `event_types` or `tag_filters` clears them, and omitting `status` fails the write outright because the column is non-null. Call `get_case_trigger` first and send its current values back, changing only what you mean to change. Patching `/case_trigger` through `edit_workflow` is partial, unlike this tool. Valid `event_types` values: case_created, case_updated, case_closed, case_reopened, case_viewed, priority_changed, severity_changed, status_changed, fields_changed, assignee_changed, attachment_created, attachment_deleted, tag_added, tag_removed, payload_changed, task_created, task_deleted, task_status_changed, task_priority_changed, task_workflow_changed, task_assignee_changed, dropdown_value_changed, table_row_linked, table_row_unlinked, comment_created, comment_updated, comment_deleted, comment_reply_created, comment_reply_updated, comment_reply_deleted, parent_changed, sub_cases_added, sub_cases_removed. **list_forms** `tool` List the forms of a workspace, newest first. A form turns a workflow's input schema into a page people fill in. Submitting it runs the workflow. Callers who cannot edit forms only see online forms. **get_form** `tool` Get a form: its status, its config and the issues the config has. `issues` lists what does not resolve against the workflow's published input schema (its draft inputs before the first publish), each with a `loc` path into the config. A form with an error-severity issue cannot be filled in until it is fixed. Find form IDs with `list_forms`. **update_form** `tool` Update the form of a workflow, creating it if the workflow has none. The workflow's input schema (`entrypoint.expects`) supplies each field's name, type, default and whether it is required. `config` only controls presentation. Inputs left out of `layout` are appended in schema order with their default widget. A required input with no default widget, such as `dict` or `list[dict]`, needs a `user` or `file` widget or an autofill. Read the "Form Trigger" section of `tracecat://platform/dsl-reference` for the layout entries, widgets and rules. **list_workflow_tags** `tool` List workflow tag definitions in a workspace. Returns a JSON array of tag objects with `id`, `name`, `ref`, and `color`. **create_workflow_tag** `tool` Create a workflow tag definition. **update_workflow_tag** `tool` Update a workflow tag definition. **delete_workflow_tag** `tool` Delete a workflow tag definition. **list_tags_for_workflow** `tool` List tags attached to a workflow. Returns a JSON array of tag objects with `id`, `name`, `ref`, and `color`. **add_workflow_tag** `tool` Attach an existing workflow tag definition to a workflow. **remove_workflow_tag** `tool` Remove a workflow tag association from a workflow. **list_cases** `tool` List cases in a workspace with default sorting. **search_cases** `tool` Search cases with filtering and sorting. **get_case** `tool` Get a specific case with full details including fields, tags, and description. **create_case** `tool` Create a new case. **update_case** `tool` Update a case. Only provided fields are changed. **set_case_parent** `tool` Group cases as sub-cases of a top-level parent case. Sub-cases are one level deep: the parent must be a top-level case, and a case that has its own sub-cases cannot be grouped. Cases already under another parent are moved. Requires the case add-ons entitlement. **clear_case_parent** `tool` Remove sub-cases from their parent case, returning them to the top level. Cases without a parent are left unchanged. Requires the case add-ons entitlement. **list_case_comments** `tool` List all comments for a case. **list_case_comment_threads** `tool` List comment threads for a case. Each thread contains the root comment and its replies. **create_case_comment** `tool` Create a new comment on a case. Provide `parent_id` to reply to an existing comment. **update_case_comment** `tool` Update an existing comment on a case. **delete_case_comment** `tool` Delete a comment from a case. Workspace admins (`case:delete`) can delete any comment, including other users' comments. Deletion is a soft delete: the comment is hidden from the thread but kept in the database and recorded as a case event. **list_case_tasks** `tool` List all tasks for a case. **get_case_task** `tool` Get a specific case task by ID. **create_case_task** `tool` Create a new task on a case. **update_case_task** `tool` Update a case task. Only provided fields are changed. **run_case_task** `tool` Run the workflow associated with a case task. Fetches the task's `workflow_id` and `default_trigger_values`, merges them with `case_id` and `task_id` context (plus any caller-supplied overrides), then executes the latest published version of the workflow. **list_case_events** `tool` List activity events for a case. Events are system-generated audit entries that track every change to a case — status changes, priority changes, assignee changes, comments, tasks, tags, field changes, etc. **list_case_tags** `tool` List case tag definitions in a workspace. Returns a JSON array of tag objects with `id`, `name`, `ref`, and `color`. **create_case_tag** `tool` Create a case tag definition. **update_case_tag** `tool` Update a case tag definition. **delete_case_tag** `tool` Delete a case tag definition. **list_tags_for_case** `tool` List tags attached to a case. Returns a JSON array of tag objects with `id`, `name`, `ref`, and `color`. **add_case_tag** `tool` Attach a case tag to a case. **remove_case_tag** `tool` Remove a case tag association from a case. **list_case_fields** `tool` List case field definitions in a workspace. Returns a JSON array of field objects with `id`, `display_name`, `type`, `description`, `nullable`, `default`, `reserved`, `options`, and optional `kind`. **create_case_field** `tool` Create a case field definition. Supports optional create-only `kind`: `LONG_TEXT` requires `type="TEXT"` and `URL` requires `type="JSONB"`. **update_case_field** `tool` Update a case field definition. **list_case_dropdowns** `tool` List case dropdown definitions in a workspace. Requires the case add-ons entitlement. Returns a paginated JSON array of dropdown objects with `id`, `name`, `ref`, `icon_name`, `is_ordered`, `required_on_closure`, `position`, and embedded `options`. **create_case_dropdown** `tool` Create a case dropdown definition with optional initial options. Requires the case add-ons entitlement. **update_case_dropdown** `tool` Update a case dropdown definition. Only provided fields are changed. Requires the case add-ons entitlement. **delete_case_dropdown** `tool` Delete a case dropdown definition along with all its options and per-case values. Requires the case add-ons entitlement. **add_case_dropdown_option** `tool` Add an option to a case dropdown definition. Requires the case add-ons entitlement. **update_case_dropdown_option** `tool` Update an option within a case dropdown definition. Only provided fields are changed. Requires the case add-ons entitlement. **delete_case_dropdown_option** `tool` Delete an option from a case dropdown definition. Requires the case add-ons entitlement. **set_case_dropdown_value** `tool` Set or clear a dropdown value on a case. Provide exactly one of `definition_id` or `definition_ref`, and at most one of `option_id` or `option_ref`; omit both option arguments to clear the value. Requires the case add-ons entitlement. **list_tables** `tool` List workspace tables. **create_table** `tool` Create a table with optional columns. **get_table** `tool` Get table definition and index metadata. **update_table** `tool` Update table metadata. **create_column** `tool` Add a column to an existing table. Migrating a table is never needed to add a field. This alters the schema every workflow and view reads, so tell the user which table and column you are about to change and get their confirmation before calling this tool. **insert_table_row** `tool` Insert a table row. **insert_rows** `tool` Insert multiple table rows. **update_table_row** `tool` Update a table row. **update_rows** `tool` Update multiple table rows with the same values. **search_table_rows** `tool` Search rows in a table. **export_csv** `tool` Export table data as a staged download URL. **create_column_index** `tool` Create a unique index on a table column. Only one unique index per table is allowed. **drop_column_index** `tool` Drop the unique index on a table column. **list_variables** `tool` List workspace variables. **get_variable** `tool` Get a workspace variable. **create_variable** `tool` Create a workspace variable. Variable values are not encrypted. Do not put credentials or other sensitive values in variables; use workspace secrets instead. **update_variable** `tool` Update a workspace variable. Omitted fields are left unchanged. `values` replaces the full key set, so call `get_variable` first and send every key you want to keep. **delete_variable** `tool` Delete a workspace variable. Workflows that still reference `${{ VARS.... }}` will fail to resolve it after deletion. **list_secrets_metadata** `tool` List secret metadata without secret values. **get_secret_metadata** `tool` Get secret metadata by name without secret values. **list_integrations** `tool` List workspace integrations useful for workflow and preset authoring. **get_agent_preset_authoring_context** `tool` Get models, integrations, `output_type` guidance, and other preset authoring context. **create_agent_preset** `tool` Create an agent preset in the selected workspace. Use `skills` to attach published skills. Each binding contains `skill_id` only; the preset always runs each skill's latest published version, so there is no version to pin. Attach tools via `actions`, `mcp_integration_ids`, or a skill's `metadata.tools`. Use `subagents` to attach other presets as subagents. Each ref contains `preset` (the child preset slug) and optional `name` (runtime alias), `description`, and `max_turns`. Always omit `preset_version` so the subagent follows the child preset's latest version; set it only when the user explicitly asks to pin a specific version. A child preset cannot have its own subagents, and its tools can require manual approval only when an enabled agent backend supports subagent approvals. Presets are not available in chat by default. Set `use_in_chat=true` only when the user explicitly asks to enable the preset in chat. **update_agent_preset** `tool` Update an existing agent preset in the selected workspace. Use `skills` to replace attached published skills. Each binding contains `skill_id`. Omit `skills` to leave bindings unchanged, or pass an empty list to detach all skills. Attached skills always run at their latest published version, so do not call this after `publish_skill` just to refresh a skill version; only pass `skills` when adding or removing a skill. Attach tools via `actions`, `mcp_integration_ids`, or a skill's `metadata.tools`. Use `subagents` to replace attached preset-backed subagents. Each ref contains `preset` (the child preset slug) and optional `name` (runtime alias), `description`, and `max_turns`. Always omit `preset_version` so the subagent follows the child preset's latest version; set it only when the user explicitly asks to pin a specific version. When re-sending existing subagents, drop any `preset_version` the user did not ask for. Omit `subagents` to leave them unchanged, or pass an empty list to detach all subagents. A child preset cannot have its own subagents, and its tools can require manual approval only when an enabled agent backend supports subagent approvals. Set `clear_output_type=true` to remove an existing `output_type` (agent returns plain text). Omitting `output_type` leaves it unchanged. Set `use_in_chat` only when the user explicitly asks to enable or disable the preset in chat. Omit it to leave chat availability unchanged. **list_agent_tree** `tool` List agent folders and presets under a path. **create_agent_folder** `tool` Create an agent folder by absolute path. **rename_agent_folder** `tool` Rename an agent folder by absolute path. **move_agent_folder** `tool` Move an agent folder under a new parent path. **delete_agent_folder** `tool` Delete an agent folder by absolute path. **move_agent_presets** `tool` Move agent presets into or out of a folder by preset slug. **list_skill_tree** `tool` List skill folders and skills under a path. **create_skill_folder** `tool` Create a skill folder by absolute path. **rename_skill_folder** `tool` Rename a skill folder by absolute path. **move_skill_folder** `tool` Move a skill folder under a new parent path. **delete_skill_folder** `tool` Delete a skill folder by absolute path. **move_skills** `tool` Move skills by slug into a destination folder. **list_skills** `tool` List workspace skills with IDs, names, and current published versions. Use this before updating, publishing, or attaching skills to agent presets. **get_skill** `tool` Get skill details and the mutable draft manifest, or read one draft file. Without `path`, return the draft manifest: paths, SHA-256 digests, sizes, `draft_revision`, `is_publishable`, and `validation_errors`; it never returns file contents. Call this before updating an existing skill to reconcile after a `draft_revision_conflict` and to see what a complete-tree replacement would delete. With `path`, read that one file from the draft. Small UTF-8 text files are returned inline. Other files return a short-lived download URL whose bytes must be fetched to disk with a plain HTTP GET; never inline downloaded bytes into context. **prepare_skill_download** `tool` Prepare direct HTTP downloads of the complete mutable skill draft. Pass the response to the local helper, which streams each file's bytes to disk and verifies its SHA-256 digest. Never fetch these URLs into model context. Use `get_skill` without `path` when only file digests are needed, and use `get_skill` with `path` to read one small text file inline. **prepare_skill_upload** `tool` Prepare direct HTTP uploads for a complete local skill directory. This is the preferred local-directory upload path. Pass file paths, SHA-256 digests, sizes, and content types only; never inline file contents or base64. Omit `skill_id` and provide `name` to create a skill, or provide `skill_id` and omit `name`/`description` to replace an existing draft. Upload every file to its short-lived URL with the returned method and headers, then call `complete_skill_upload` with the returned `skill_id`, `base_revision`, paths, and upload IDs. Declare the skill's tools in its SKILL.md frontmatter `metadata.tools`. **complete_skill_upload** `tool` Attach staged uploads and replace a skill draft with the local file set. Call this only after every URL returned by `prepare_skill_upload` has received its raw file bytes. Files absent from this complete set are removed. `base_revision` prevents overwriting a concurrent draft edit. This does not publish the draft. **publish_skill** `tool` Publish a skill draft into an immutable skill version. Only published skills can be attached to agent presets. Presets that already have this skill attached pick up the new version automatically on their next run; no `update_agent_preset` call is needed afterwards. **list_agent_presets** `tool` List saved agent preset slugs and names. Use `get_agent_preset` for the full preset definition. **get_agent_preset** `tool` Get the full configuration for a saved agent preset by slug. **run_agent_preset** `tool` Run an agent preset with a prompt and return text or approval status. Creates an ephemeral session, triggers the agent workflow, and waits for the response. The agent has access to all tools configured on the preset and its skills. # Case triggers Source: https://docs.tracecat.com/automations/triggers/case-triggers Start Tracecat workflows from case events: react to case creation, status changes, and field updates to drive automated triage and response. ## Overview Case triggers start a workflow when selected case events happen. ![Case trigger](https://mintcdn.com/tracecat/211qK9Rnye5KSgYq/img/triggers/case-triggers.png?fit=max\&auto=format\&n=211qK9Rnye5KSgYq\&q=85\&s=549fa58bd2b6586fd20f22b293350b3e) ## Trigger payload Case trigger data is available under `${{ TRIGGER }}`. Fields: * `${{ TRIGGER.case_id }}`: case ID. * `${{ TRIGGER.event }}`: event details. * `${{ TRIGGER.tags }}`: case tags. * `${{ TRIGGER.workspace_id }}`: workspace ID. Example payload: ```json theme={null} { "case_id": "case_01abc", "event": { "id": "evt_01abc", "type": "comment_created", "data": { "comment_id": "cmt_01abc" }, "created_at": "2026-03-19T14:22:00+00:00", "user_id": "usr_01abc", "wf_exec_id": null }, "tags": [ { "id": "tag_01abc", "ref": "triage", "name": "Triage", "color": null } ], "workspace_id": "ws_01abc" } ``` ## Case events One or more case events must be selected before the trigger is enabled. Supported event families include: * Case events such as create, update, close, reopen, and view. * Comment events such as comment and reply activity. * Field changes such as status, priority, severity, assignee, and payload changes. * Tag events such as tag add and remove. * Task events such as task create, delete, and workflow or assignee changes. * Attachment events such as add and remove. * Dropdown changes. ## Tag allowlist Restrict runs to matching tags. If the allowlist is empty, no tag filtering is applied. Tag add and remove events match the tag that was added or removed. All other events match the tags the case has when Tracecat starts the run. Tracecat saves the tags you pass when creating a case together with the case, so `case_created` matches them unless the case's tags change before the run starts. Tags you add after creating the case fire `tag_added`. To filter `case_created` on a tag, set the tag in the create call. ## Important behavior Workflow-originated case events are ignored to avoid loops. # Comment triggers Source: https://docs.tracecat.com/automations/triggers/comment-triggers Run Tracecat workflows from case comments and replies: parse comment text, route directives to actions and agents, and bridge analyst chat into automation. ## Overview Type `/` in a case comment or reply, select the workflow from the autocomplete list, and submit the comment. Only published workflows appear in the list, so publish a draft before you run it from a comment. ![Comment trigger](https://mintcdn.com/tracecat/211qK9Rnye5KSgYq/img/triggers/comment-triggers.png?fit=max\&auto=format\&n=211qK9Rnye5KSgYq\&q=85\&s=91ce433788fda16fd79b9f42861adc4b) Your workspace role needs `workflow:read` to list workflows, `workflow:execute` to run the workflow, and `case:update` to create the comment. Without `workflow:read` and `workflow:execute`, `/` behaves as regular comment text and never starts a workflow. Without Enterprise, `/` still opens the list, showing an Enterprise notice in place of workflow titles. Selecting the autocomplete result attaches the workflow. Typing a workflow title as plain text does not run it. A comment runs one workflow; picking a second workflow replaces the first. Tracecat removes the `/Workflow title` command from the comment body before it saves the comment, and a comment with only the command saves with an empty body. ## Trigger payload Comment trigger data is available under `${{ TRIGGER }}`. Fields: * `${{ TRIGGER.case_id }}`: case ID. * `${{ TRIGGER.comment_id }}`: comment ID. * `${{ TRIGGER.parent_id }}`: parent comment ID, or `null` for a top-level comment. * `${{ TRIGGER.thread_root_id }}`: ID of the comment that starts the thread. * `${{ TRIGGER.is_reply }}`: `true` when the comment is a reply. * `${{ TRIGGER.comment }}`: comment text. * `${{ TRIGGER.text }}`: comment text, same value as `comment`. * `${{ TRIGGER.workspace_id }}`: workspace ID. * `${{ TRIGGER.triggered_by }}`: actor details. * `${{ TRIGGER.event }}`: event details. * `${{ TRIGGER.tags }}`: case tags. Example payload: ```json theme={null} { "case_id": "case_01abc", "comment_id": "cmt_01abc", "parent_id": null, "thread_root_id": "cmt_01abc", "is_reply": false, "comment": "Escalating to the IAM workflow.", "text": "Escalating to the IAM workflow.", "workspace_id": "ws_01abc", "triggered_by": { "type": "user", "user_id": "usr_01abc", "service_id": null }, "event": { "id": "evt_01abc", "type": "comment_created", "created_at": "2026-03-19T14:22:00+00:00", "user_id": "usr_01abc" }, "tags": [ { "id": "tag_01abc", "ref": "triage", "name": "Triage", "color": null } ] } ``` ## Related pages * See [Agent mentions](/automations/cases/agent-mentions) to invoke a preset agent from a comment with `@` instead of running a workflow. # Error workflows Source: https://docs.tracecat.com/automations/triggers/error-workflows Run a Tracecat workflow whenever another workflow fails: forward error context, alert on-call, and centralize incident-handling logic across automations. ## Overview Error workflows run when another workflow fails with an application error. ![Failed workflow](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/triggers/failed-workflow.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=20c81728fcfef2d3c8c41821b5fd1575) ## Trigger payload The failed run is passed into the error workflow under `${{ TRIGGER }}`. Fields: * `${{ TRIGGER.message }}`: the top-level failure message. * `${{ TRIGGER.orig_wf_id }}`: the failed workflow ID. * `${{ TRIGGER.orig_wf_exec_id }}`: the failed workflow execution ID. * `${{ TRIGGER.orig_wf_exec_url }}`: the failed workflow execution URL, if available. * `${{ TRIGGER.orig_wf_title }}`: the failed workflow title. * `${{ TRIGGER.trigger_type }}`: the original trigger type: `manual`, `scheduled`, `webhook`, `case`, or `form`. * `${{ TRIGGER.errors }}`: structured action error details, if available. Example payload: ```json theme={null} { "message": "Action failed", "handler_wf_id": "wf_4itKqkgCZrLhgYiq5L211X", "orig_wf_id": "wf_3mYp8JkL2nQr7sTu9vWx0Z", "orig_wf_exec_id": "wf_3mYp8JkL2nQr7sTu9vWx0Z/exec_7aBcDeFgHiJkLmNoPqRsTu", "orig_wf_exec_url": "https://platform.tracecat.com/workspaces/ws_2xYzAbCdEfGhJkLmNoPqRs/workflows/wf_3mYp8JkL2nQr7sTu9vWx0Z/executions/exec_7aBcDeFgHiJkLmNoPqRsTu", "orig_wf_title": "Investigate alert", "trigger_type": "webhook", "errors": [ { "ref": "fetch_alert", "message": "Request returned 500", "type": "HTTPError" } ] } ``` ## Configure an error workflow Set `Error workflow` in the workflow settings panel. Use a workflow ID or alias. ![Error workflow](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/triggers/error-workflow.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=64d4d4f7f85a2b5712778331aa8d6547) ## Publish behavior The workflow must be published for the committed error workflow setting to apply to published runs and schedules. # Forms Source: https://docs.tracecat.com/automations/triggers/forms Turn a workflow's Input schema into a form that workspace members fill in, configure its layout in YAML, and read what people submit. Enterprise Edition A form turns a workflow's [Input schema](/automations/workflows#input-schema) into a page that workspace members fill in. Each submission starts the workflow with trigger type `form`. The Input schema sets each field's name, type, and default. A field is required when its input has no default. The form config only controls how the form looks. ## Create a form **1. Publish the workflow** Add an Input schema to the workflow and publish it. A form goes online only when its workflow is published. **2. Create the form** Open `Forms` in the workspace sidebar, click `New form`, and pick the workflow. New forms start offline. ![Forms list](https://mintcdn.com/tracecat/haUEHKSEgELGsdPz/img/triggers/forms-list.png?fit=max\&auto=format\&n=haUEHKSEgELGsdPz\&q=85\&s=a1ea12a399ea788dd40b5c83300b5bb2) **3. Lay out the form** Edit the YAML on the form's `Config` tab. The `Preview` pane updates as you type, and the editor marks each problem on its line. See [Form config](#form-config) for every key. ![Form config and preview](https://mintcdn.com/tracecat/haUEHKSEgELGsdPz/img/triggers/form-config.png?fit=max\&auto=format\&n=haUEHKSEgELGsdPz\&q=85\&s=30a999b7ef967056c79785d88aeac003) **4. Turn the form online** Switch the toggle in the form's header to `Online`. **5. Share the link** Click `Open` and share the form's URL, `/forms/{form_id}`. Members with `form:read` in the workspace can open it. > [!TIP] > > To create a form from the workflow builder, open the trigger panel, go to the `Form` tab, and turn on `Enable form`. The tab shows the `Requester link` and an `Edit in Forms` link to the config. > > ![Form tab in the trigger panel](https://mintcdn.com/tracecat/haUEHKSEgELGsdPz/img/triggers/builder-form-tab.png?fit=max\&auto=format\&n=haUEHKSEgELGsdPz\&q=85\&s=028ec23c03e89f0fac1a8eb6757a2ebd) An online form reads the published Input schema and starts the published workflow definition. Before the first publish, the form reads the draft Input schema so you can prepare it offline. When a publish removes or retypes an input the config uses, the form stops accepting submissions until you fix the config. > [!NOTE] > > Don't see `Forms` in the sidebar? It needs `form:read` plus `form:update` or `form:submission:read`. See [Permissions](#permissions). ## Fill in a form 1. Open `/forms` to see the online forms you can fill in, grouped by workspace, or open a shared form link. ![Forms catalog for requesters](https://mintcdn.com/tracecat/haUEHKSEgELGsdPz/img/triggers/requester-catalog.png?fit=max\&auto=format\&n=haUEHKSEgELGsdPz\&q=85\&s=d2365291b63b92de2834c0363a81255c) 2. Fill in the fields and click `Submit`. ![Requester form](https://mintcdn.com/tracecat/haUEHKSEgELGsdPz/img/triggers/form-fill-in.png?fit=max\&auto=format\&n=haUEHKSEgELGsdPz\&q=85\&s=a064348e25dee82b1c4e22574c4d19f5) 3. Note the reference, such as `FRM-8F3C2A1C`, shown with the form's `success_message`. Find past submissions on the `My submissions` tab of `/forms`. ![Submitted form](https://mintcdn.com/tracecat/haUEHKSEgELGsdPz/img/triggers/form-submitted.png?fit=max\&auto=format\&n=haUEHKSEgELGsdPz\&q=85\&s=16e6240e22b7838526aceb0cb7f187bc) A member without `form:submit` sees the form read-only. An offline form shows `This form isn't accepting requests`. A member who holds `form:read` and no `workspace:read` lands on `/forms` when they open Tracecat. ## Activity The `Activity` tab of a form shows `Views` and `Submissions` counts and lists submissions newest first. Each row shows the submitter, the reference, the run status, and a `Run` link. Expand a submission to read its answers. Tracecat counts one view per user per form every five minutes. ![Form activity](https://mintcdn.com/tracecat/haUEHKSEgELGsdPz/img/triggers/form-activity.png?fit=max\&auto=format\&n=haUEHKSEgELGsdPz\&q=85\&s=119ec8f6e5a9120a13af2ffa90ba4a48) Tracecat keeps submissions until you delete them. Deleting a submission removes its stored answers and files and leaves the workflow run and its inputs in place. To delete old submissions on a [schedule](/automations/triggers/schedules), list them with `core.forms.list_submissions` and `submitted_before`, then delete each with `core.forms.delete_submission`. See [Forms actions](/automations/core-actions/form-actions/forms). ## What the workflow receives `TRIGGER` holds one key per input, validated against the Input schema. For the [example config](#form-config): ```json theme={null} { "model": "pro", "justification": "Current laptop is five years old", "for_someone_else": false, "recipient": null, "requester": { "user_id": "5b0f4c1e-7a2d-4e83-9c16-3d8a2f6b9e01", "email": "maya.okafor@example.com", "first_name": "Maya", "last_name": "Okafor" }, "cost_center": "IT-000" } ``` An answered field holds its [widget's value](#widgets). An optional field left empty, a conditional field the requester could not see, and a hidden field hold the input's default. An autofill input holds the value Tracecat fills in. `ENV.workflow.trigger_type` is `form`. The run records the requester as the user who triggered it and executes with the workflow runner's permissions, as a webhook run does, so a requester needs no workflow or action scopes. ## Form config Every key is optional, and Tracecat rejects keys outside this reference. Tracecat refuses to save a config with errors. Saving replaces the whole config and drops YAML comments. | Key | Description | | - | - | | `title` | Form title. Defaults to the workflow title. | | `description` | Markdown under the title. Defaults to the workflow description. | | `success_message` | Text the requester sees after submitting. | | `layout` | Ordered list of entries. Tracecat appends inputs you leave out, in Input schema order. | Each `layout` entry has exactly one of these keys: | Entry | Renders | | - | - | | `field: ` | An input. Each input appears once. | | `heading: ` | A section heading. | | `text: ` | A paragraph. Markdown renders formatting, lists, and links. | | `notice: ` | A callout. Optional `tone`: `info` (default), `success`, `warning`, or `danger`. | | `divider: true` | A horizontal rule. | A `field` entry also takes `widget`, `options`, `visible_if`, `autofill`, `hidden`, `accept`, and `max_files`, described in the sections below, and these text keys: | Key | Description | | - | - | | `label` | Defaults to the input name, humanized: `for_someone_else` becomes `For someone else`. | | `help` | Defaults to the input's `description`. | | `placeholder` | Every widget except `toggle`, `cards`, and `file`. | Text keys hold at most 255 characters (`title`, `heading`, `label`, `placeholder`, and an option's `value` and `label`) or 10,000 (`description`, `success_message`, `help`, `text`, `notice`, and an option's `description`). A `layout` holds at most 200 entries and `options` at most 100 choices. This config: ```yaml theme={null} title: Laptop request description: Request a new laptop from IT. success_message: IT will follow up by email. layout: - notice: IT reviews requests within 2 business days. - field: model label: Choose your laptop widget: cards options: - { value: air, label: Laptop Air 13, description: 16 GB memory } - { value: pro, label: Laptop Pro 14 } - field: justification widget: long_text placeholder: What do you need it for? - heading: Delivery - field: for_someone_else label: This is for someone else - field: recipient widget: user visible_if: { field: for_someone_else, equals: true } - field: requester autofill: requester - field: cost_center hidden: true ``` Presents this Input schema: ```yaml theme={null} model: { type: 'enum["air", "pro"]' } justification: { type: str } for_someone_else: { type: bool, default: false } recipient: { type: "dict[str, Any] | None", default: null } requester: { type: "dict[str, Any]" } cost_center: { type: str, default: IT-000 } ``` ## Widgets A field without `widget` uses the default widget for its input type. `T | None` behaves as `T`. | Widget | Input types | Default for | Value the workflow receives | | - | - | - | - | | `text` | `str` | `str` | String | | `long_text` | `str` | | String | | `number` | `int`, `float` | `int`, `float` | Number | | `toggle` | `bool` | `bool` | Boolean | | `select` | `enum[...]`, `str` | `enum[...]` | String | | `multi_select` | `list[enum[...]]`, `list[str]` | `list[enum[...]]` | List of strings | | `cards` | `enum[...]`, `str`, `list[enum[...]]`, `list[str]` | | String, or list of strings for a list input | | `tags` | `list[str]` | `list[str]` | List of strings the requester types | | `date` | `str`, `datetime` | | `YYYY-MM-DD` | | `datetime` | `datetime`, `str` | `datetime` | `YYYY-MM-DDTHH:MM`, with optional seconds and an optional `Z` or `±HH:MM` offset | | `user` | `dict`, `list[dict]` | | `{user_id, email, first_name, last_name}`, or a list of them | | `file` | `dict`, `list[dict]` | | `{id, name, content_type, size, sha256}`, or a list of them | Input types outside the `Default for` column, such as `dict`, `duration`, `any`, or `str | int`, have no default widget. Set `widget: user` or `widget: file` on a `dict` or `list[dict]` input, or fill the input with `autofill` or its default. An input with a default and no widget stays off the form and takes its default. The `user` widget searches active members of the organization. A shown field starts with its input's default, so a non-null default must be a valid answer for the field. `user` and `file` fields start empty instead, and Tracecat applies their default on submission. Tracecat doesn't check the defaults of hidden and autofill inputs, or of inputs with no widget, as answers. Integers in a form stay between -9,007,199,254,740,991 and 9,007,199,254,740,991, the range a browser holds exactly. That covers the default of an `int` input, hidden or shown, an integer `visible_if` value, and an answer to an `int` input, including one sent as text or as a whole-number float. Outside the range, a default or `visible_if` value is a config error and an answer fails with `invalid_value`. `float` inputs are unaffected, since a browser holds every float exactly. ## Options and images `options` is a list of choices. Each choice has a unique `value` and optional `label`, `description`, and `image`. * For an `enum[...]` or `list[enum[...]]` input, options decorate the enum's values. Each `value` must be an enum value, and Tracecat appends the values you leave out. * For a `str` or `list[str]` input, options define the allowed values. `select`, `multi_select`, and `cards` require them. The `cards` widget shows each choice as a card with its `image`, `label`, and `description`. An `image` is an inline data URI: `data:image/png;base64,...`, `data:image/jpeg;base64,...`, or `data:image/webp;base64,...`. Each image is at most 100 KB decoded, and the images in one form total at most 1 MB. `Insert image` on the `Config` tab takes a PNG, JPEG, or WebP file, resizes it to 320 px on its long edge, and inserts the data URI at the cursor. ## Conditional fields `visible_if` shows a field only while another field equals a value, as `recipient` does in the [example](#form-config). A field takes one rule: * The conditional input has a default, which the workflow receives while the field is not shown. * The controlling field sits earlier in the form, has no `visible_if` of its own, and has type `str`, `int`, `float`, `bool`, or `enum[...]`. * `equals` is a string, number, or boolean the controlling field can take. For a field with options, it is one of their values. The server re-evaluates every rule on submit and drops values for fields the requester could not see. ## Autofill `autofill` fills an input on the server when the requester submits. The field stays off the form. | Source | Value | Input type | | - | - | - | | `requester` | `{user_id, email, first_name, last_name}` | `dict` or `any` | | `requester.user_id`, `requester.email`, `requester.first_name`, `requester.last_name` | That property of the requester | `str` or `any` | | `submission.id` | The submission ID | `str` or `any` | Tracecat rejects an autofill input sent in `values` with `unknown_field`, so a `requester` value is always a verified Tracecat user. A service account that submits through the API has no user profile, so it has no `requester` values, and a user may have no first or last name. An input whose value is missing takes its default. Without a default it holds `null` if its type takes `null`, such as `str | None`, and otherwise the submission fails with `required`. To record your own end user, add an ordinary input such as `end_user_email` and send it in `values`. ## Hidden fields `hidden: true` keeps an input off the form, and the workflow receives the input's default, so the input needs one. A field with `hidden` or `autofill` takes no other key, and a field can't be both. ## File uploads The `file` widget lets requesters attach files. A `dict` input takes one file. A `list[dict]` input takes up to `max_files` files, from 1 to 10 (default 10). `accept` lists up to 20 extensions such as `.pdf`, MIME types such as `application/pdf`, or wildcards such as `image/*`. Without `accept`, the field takes every type the workspace allows. ```yaml theme={null} - field: quote widget: file accept: [".pdf", "image/*"] max_files: 2 ``` Tracecat accepts a file when the workspace attachment settings allow its extension and MIME type, it matches `accept`, its content matches its declared type, and it is not empty and at most `TRACECAT__MAX_ATTACHMENT_SIZE_BYTES` (20 MB by default). One requester holds at most 20 uploaded files on one form before submitting. An uploaded file that no submission claims within 24 hours expires. Tracecat deletes expired files every 10 minutes. Read a file's content in the workflow with [`core.forms.download_file`](/automations/core-actions/form-actions/forms), passing `${{ TRIGGER.quote.id }}` as `file_id`. The requester who uploaded a file can download it before and after submitting. A member with `form:submission:read` can download every submitted file from the `Activity` tab. Deleting a submission, its form, or the form's workflow deletes its files. ## Permissions | Scope | Allows | Preset roles | | - | - | - | | `form:read` | Open online forms and the requester pages. | `Intake only` and above | | `form:submit` | Submit a form and upload its files. | `Intake only` and above | | `form:submission:read` | Read every submission, the `Activity` tab, and run status, and download submitted files. | `workspace-viewer` and above | | `form:create` | Create a form. | `workspace-editor` and above | | `form:update` | Edit the config, change the status, and see offline forms. | `workspace-editor` and above | | `form:delete` | Delete a form with its submissions and files. | `workspace-admin` and above | | `form:submission:delete` | Delete a submission and its files. | `workspace-admin` and above | Assign `Intake only` (`workspace-intake`) to members who only fill in forms. It holds `form:read` and `form:submit` and no other workspace access. The `Forms` sidebar entry and a form's config need `form:update` or `form:submission:read` on top of `form:read`. See [Roles and permissions](/manage-platform/rbac) for assigning roles. ## Edit a form in workspace chat Open the chat panel on a form's page and describe the change, such as `Make model a card picker`. [Workspace chat](/agents/workspace-chat) knows which form is open, edits it with the `core.forms.list_forms`, `core.forms.get_form`, and `core.forms.update_form` tools, and the editor and preview refresh. The [Tracecat MCP](/automations/tracecat-mcp) server exposes the same operations as `list_forms`, `get_form`, and `update_form`. ## Git sync [Git sync](/gitops/workspace-git-sync) stores a form in its workflow's `definition.yml`, such as `workflows/Laptop-request/definition.yml`, as a `form:` block: the form config followed by `status`. ```yaml theme={null} form: title: Laptop request layout: - field: model widget: cards status: online ``` | Operation | Behavior | | - | - | | Export | Writes the block when the form is online or has any config. Submissions and views stay in the workspace. | | Pull, block present | Creates or replaces the form with the block's config and `status`. `status` defaults to `offline`. | | Pull, block absent | Sets the workflow's existing form offline and clears its config. The form keeps its ID and submissions. | | Pull, block no longer matches the inputs | The pull succeeds and stores the block as written. The form stops accepting submissions until you fix its config. | Applying a pull that carries a `form:` block needs `form:create` and `form:update`. Applying a pull that sets a form offline or clears its config needs `form:update`. A dry run needs neither. A Tracecat instance on a version without Forms writes `definition.yml` without the `form:` block, so the next pull on a newer instance takes that form offline and clears its config. Upgrade every instance that pushes to the repository before you build forms in it. ## REST API Build your own frontend on these endpoints. The API Reference tab documents the request and response bodies of every forms endpoint, including the builder endpoints that create, update, and `validate` a form. Workspace endpoints accept a signed-in user or a [service account API key](/api-reference/authentication). `/intake` endpoints accept a signed-in user only. | Step | Endpoint | Scopes | | - | - | - | | List online forms across workspaces | `GET /intake/forms` | `form:read` | | Find a form's workspace | `GET /intake/forms/{form_id}` | `form:read` in that workspace | | List your own submissions | `GET /intake/submissions` | `form:read` | | List a workspace's forms | `GET /workspaces/{workspace_id}/forms` | `form:read` | | Get the form to render | `GET /workspaces/{workspace_id}/forms/{form_id}/render` | `form:read` | | Search people for a `user` field | `GET /workspaces/{workspace_id}/forms/{form_id}/users?search=` | `form:read` | | Upload a file for a `file` field | `POST /workspaces/{workspace_id}/forms/{form_id}/files?field=` | `form:read`, `form:submit` | | Submit | `POST /workspaces/{workspace_id}/forms/{form_id}/submissions` | `form:read`, `form:submit` | | Get one submission | `GET /workspaces/{workspace_id}/forms/{form_id}/submissions/{submission_id}` | `form:read` for your own; `form:read` and `form:submission:read` for any | | Get a file's download URL | `GET /workspaces/{workspace_id}/forms/{form_id}/files/{file_id}/download` | `form:read` for a file you uploaded; `form:read` and `form:submission:read` for any submitted file | | List submissions | `GET /workspaces/{workspace_id}/forms/{form_id}/submissions` | `form:submission:read` | | Delete a submission | `DELETE /workspaces/{workspace_id}/forms/{form_id}/submissions/{submission_id}` | `form:submission:delete` | List endpoints take `limit` (default 20, at most 200) and `cursor`, and return `items` with `next_cursor`. The submissions list also takes `submitted_after` and `submitted_before`. Responses return `workflow_id` as a short `wf_...` ID, and requests accept either ID form. The forms list returns `workflow_id` and `workflow_title` only to callers with `form:update` or `form:submission:read`. The users endpoint needs an online form with a `user` field unless the caller holds `form:update`. ### Render and submit `render` returns `title`, `description`, `success_message`, `definition_version`, `config_version`, and `blocks`. A block's `type` is `heading`, `text` (Markdown), `notice` (with `tone`), `divider`, or `field`. A `field` block carries `name`, `label`, `help`, `placeholder`, `widget`, `required`, `multiple`, `default`, `options`, `visible_if`, and `config`. A `file` field's `config` holds `accept`, `max_files`, and `max_file_size` in bytes. Hidden and autofill inputs are absent. Show a field with `visible_if` only while the named field equals `equals`, and treat a controlling field that is empty or not sent as its `default`. Send the answers keyed by field `name`, with the `definition_version` and `config_version` from `render`. Send each value as the workflow receives it (see [Widgets](#widgets)), except that a `user` field takes a `user_id` from the users endpoint and a `file` field takes an uploaded file's `id`. A field with `multiple` set to `true` takes a list. ```bash theme={null} curl -X POST "https://platform.tracecat.com/api/workspaces//forms//submissions" \ --header "Authorization: Bearer " \ --header "Content-Type: application/json" \ --data '{"definition_version": 12, "config_version": "", "values": {"model": "pro", "justification": "Current laptop is five years old"}}' ``` A `201` response is the receipt: `id`, `reference`, `submitted_at`, and `success_message`. Without `form:submission:read`, a caller reads only their own submissions: `answers` holds the fields the form showed them when they submitted, and `definition_version`, `wf_exec_id`, and `run_status` are `null`. ### Upload and download files Upload each file before you submit, as `multipart/form-data` with one `file` part. Name the `file` field in the `field` query parameter. A `201` response is the file object; send its `id` as the field's value. ```bash theme={null} curl -X POST "https://platform.tracecat.com/api/workspaces//forms//files?field=quote" \ --header "Authorization: Bearer " \ --form "file=@quote.pdf;type=application/pdf" ``` The download endpoint returns `download_url`, `file_name`, and `content_type`. `download_url` is a short-lived URL that downloads the file as an attachment. The endpoint returns `404` for a file the caller cannot read. ### Errors Submit and upload errors return `detail.code` and `detail.message`. | Status | `detail.code` | Meaning | | - | - | - | | `409` | `form_offline` | The form is offline. | | `409` | `form_unavailable` | The workflow is unpublished, or the config no longer matches the Input schema. | | `409` | `form_changed` | `definition_version` or `config_version` is stale. Render again and resubmit. | | `422` | `form_validation_error` | `detail.errors` lists `{field, code, message}`. | | `503` | `workflow_start_failed` | The workflow did not start and will not. Tracecat removes the submission and releases its files, so you can retry. When Temporal's answer is lost, such as after a timeout, Tracecat first checks whether the run started; if it did, the submission succeeds. | | `503` | `workflow_start_unconfirmed` | Tracecat could not confirm whether the run started, so it keeps the submission. Don't retry until you've checked whether the run happened. | | `400` | `file_invalid` | The file is empty, or its name or content failed validation. | | `409` | `file_limit_reached` | You hold the most uploaded files one requester can hold on this form. Submit, or wait for them to expire. | | `413` | `file_too_large` | The file is over the size limit. | | `415` | `file_type_not_allowed` | The workspace or the field's `accept` does not allow the type. | | `422` | `file_field_invalid` | The form has no `file` field with that name. | | `503` | `file_upload_failed` | Tracecat could not store the file. Retry. | A field error's `code` is `required`, `unknown_field`, `invalid_value`, `invalid_option`, `invalid_date`, `invalid_user`, `invalid_file`, or `too_many_files`. `invalid_file` means a file ID is not a file you uploaded to that field of this form in the last 24 hours, or a submission already holds it. `too_many_files` means the field got more files than its `max_files`. # Schedules Source: https://docs.tracecat.com/automations/triggers/schedules Run Tracecat workflows on a time-based cadence: configure cron schedules, fixed intervals, and trigger payloads for recurring automations. ## Overview Schedules run a workflow on a time-based cadence. The workflow must be saved before a schedule can be created. ![Schedule trigger](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/triggers/schedule.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=c23b3352768786c01c75022fe5af55ad) ## Schedule types Schedule types: * Interval schedules use `every`. * Cron schedules use `cron`. Cron uses standard 5-field or 6-field expressions. ## Schedule fields * Status: `online` or `offline`. * Start time: optional. * End time: optional. * Timeout: optional, and `0` means no timeout. * Offset: interval-only, using an ISO 8601 duration. ## When to use schedules Use schedules for: * Polling an external system on a fixed cadence. * Running cleanup or maintenance workflows on a timer. * Syncing data or refreshing enrichments throughout the day. # Task triggers Source: https://docs.tracecat.com/automations/triggers/task-triggers Run Tracecat workflows from case tasks: trigger automations as tasks are created, assigned, completed, or updated to keep response work moving. ## Overview You can start a workflow from a case task. Set the workflow on the task, then start it from the task UI. If the workflow has an Input schema, the dialog asks for inputs. Otherwise, Tracecat shows generated case inputs. ![Task trigger](https://mintcdn.com/tracecat/211qK9Rnye5KSgYq/img/triggers/task-trigger.png?fit=max\&auto=format\&n=211qK9Rnye5KSgYq\&q=85\&s=e1efb0793d016b9b20194a924cddb685) ## Trigger payload Task trigger data is available under `${{ TRIGGER }}`. Fields: * `${{ TRIGGER.case_id }}`: case ID. * `${{ TRIGGER.task_id }}`: task ID. Example payload: ```json theme={null} { "case_id": "case_01abc", "task_id": "task_01abc" } ``` # Webhooks Source: https://docs.tracecat.com/automations/triggers/webhooks Trigger Tracecat workflows from external systems with webhooks: configure secret URLs, parse JSON or form payloads, and validate inbound requests. ## Overview Webhooks start a workflow from an external system. The URL includes the webhook secret. `POST` is the primary method. `GET` also works for verification flows. The workflow must be published before the webhook runs. ![Webhook trigger](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/triggers/webhook.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=7137b41425fd10e8b896349010276ec0) ## Using webhook payloads The request body becomes `TRIGGER`, for example `${{ TRIGGER.alert_id }}`. ## Supported request formats Parsing: * Empty body: no trigger payload is created. * JSON by default: the body is parsed as JSON and becomes `TRIGGER`. * Form payloads with `application/x-www-form-urlencoded`: the body is parsed as a dictionary. Form field names become keys on `TRIGGER`. * NDJSON payloads with `application/x-ndjson`, `application/jsonlines`, and `application/jsonl`: Tracecat starts one workflow run per JSON line. `TRIGGER` is that line, not the full request body. ## Securing webhooks ### Allowed HTTP methods Allowed methods can be `GET`, `POST`, or both. Requests that use a method outside the allowed list are rejected. ### API key authentication Webhook API keys are optional. If configured, the sender must include `x-tracecat-api-key`. The UI supports generate, rotate, revoke, and delete. A revoked key blocks requests until a new key is generated or API key protection is removed. ### IP allowlist Requests can be restricted to specific IPs or CIDR ranges. The allowlist is IPv4-only. The sender address is resolved from `X-Forwarded-For` the same way as the [organization IP allowlist](/manage-platform/ip-allowlist), skipping hops in `TRACECAT__AUDIT_TRUSTED_PROXY_CIDRS`. Behind a Kubernetes ingress or load balancer, the load balancer must preserve the sender's source IP (for example `externalTrafficPolicy: Local` or PROXY protocol); otherwise Tracecat only sees a node or proxy address. ## Response Default response: ```json theme={null} { "message": "Workflow execution created", "wf_id": "wf_3mYp8JkL2nQr7sTu9vWx0Z", "wf_exec_id": "wf_3mYp8JkL2nQr7sTu9vWx0Z/exec_7aBcDeFgHiJkLmNoPqRsTu" } ``` Query parameters: * `echo=true`: add the original request body to the response under `payload`. * `empty_echo=true`: return an empty `200` with no body. Implies `echo=true`. * `vendor=okta`: handle Okta verification challenges. See [Okta verification](#okta-verification). ## Synchronous execution with /wait To run a workflow synchronously and receive its `return` value in the response, use the `/wait` endpoint described in [Workflows-as-APIs](/automations/triggers/workflows-as-apis). ## Slack event subscriptions Slack event subscription verification uses `?echo=true`. ## Slack modal close and fast acknowledgements Slack interactive flows that need a fast empty acknowledgement use `?echo=true&empty_echo=true`. ## Okta verification Okta verification requests use `vendor=okta`. Tracecat reads `x-okta-verification-challenge` and returns: ```json theme={null} { "verification": "" } ``` # Workflows-as-APIs Source: https://docs.tracecat.com/automations/triggers/workflows-as-apis Call Tracecat workflows as synchronous HTTP APIs: block on the /wait webhook endpoint, read the response envelope, and fetch large results by download link. Use `POST /webhooks/{workflow_id}/{secret}/wait` to run a workflow and receive its `return` value in the response. The request blocks until the workflow finishes. The workflow must be published. The request body becomes `TRIGGER` exactly as with the default webhook. The caller treats the workflow like a synchronous HTTP handler: send a request, get the workflow's result back. ## Response schema The response is an envelope with a `kind` field: ```json theme={null} { "kind": "value", "value": { "status": "ok" } } ``` ```json theme={null} { "kind": "download_file", "download_url": "https://...", "expires_in_seconds": 10, "content_type": "application/json", "size_bytes": 262144 } ``` ## Kinds `kind` tells you how to read the rest of the body: each value comes with its own set of fields. Small results come back inline; large results come back as a download link. * `value`: inline result. The body has `value` set to the workflow's `return` value. * `download_file`: externalized result. The body has a presigned `download_url`, plus `expires_in_seconds`, `content_type`, and `size_bytes`. * `download_export`: materialized collection result. Same fields as `download_file`; `content_type` is always `application/json`. Results over `TRACECAT__RESULT_EXTERNALIZATION_THRESHOLD_BYTES` (default 128 KiB) are stored in object storage and returned as a short-lived presigned URL (default 10-second expiry). This keeps the webhook response small and predictable, so synchronous callers never stream megabytes of workflow state through a single HTTP response. ## Query parameters * `unwrap=true`: return the workflow's `return` value directly as the response body, with no envelope. Requires the result to fit inline. If the result was externalized (kind `download_file` or `download_export`), `/wait?unwrap=true` returns `413 Payload Too Large` with the download envelope under `detail`, so the caller can still fetch the data. Example: ```bash theme={null} curl -X POST "https:///webhooks///wait?unwrap=true" \ -H "Content-Type: application/json" \ -d '{"alert_id": "A-001"}' # 200 OK # {"status": "ok"} ``` If the workflow returns a result larger than the externalization threshold: ```json theme={null} { "detail": { "kind": "download_file", "download_url": "https://...", "expires_in_seconds": 10, "content_type": "application/json", "size_bytes": 262144 } } ``` # Workflows Source: https://docs.tracecat.com/automations/workflows Learn how Tracecat workflows work and how to manage them: run them manually, draft and publish definitions, tag and rename, and configure workflow settings. Core actions are Tracecat's built-in primitives for requests, transforms, workflow control, cases, and tables. Each third-party integration under `tools.*` is a YAML template built from these core action steps, or a Python UDF. See [Core actions](/automations/core-actions/request-actions/http) for every core action and its inputs, and the [integrations overview](/integrations/overview) for the full catalog. ## Creating workflows View and create workflows in the Tracecat UI under the `/workflows` page. ![Create new workflow](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/automations/workflows/create-new-workflow.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=f1ce45979c32ebe361f70bbfda9b2a90) ## Run workflows manually You can run a workflow manually by clicking the `Run` button in the top right corner of the workflow builder. ![Run workflow manually](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/automations/workflows/run-workflow-manually.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=9dfff66673182b0960af88450de6b62f) ## Triggers Workflows can be triggered by: * [Webhooks](/automations/triggers/webhooks) * [Schedules](/automations/triggers/schedules) * [Subflow run action](/automations/core-actions/workflow-actions/run-subflow) * [Case triggers](/automations/triggers/case-triggers) Enterprise * [Task triggers](/automations/triggers/task-triggers) Enterprise * [Comment triggers](/automations/triggers/comment-triggers) Enterprise ## Trigger inputs You can specify trigger inputs in the workflow builder. These inputs are passed to the workflow as `${{ TRIGGER }}` expressions. ## View workflow runs There are three views for workflow runs: * Events panel: most recent run in the left part of the workflow builder * Runs view: all runs for a specific workflow * Enterprise History view: all runs across all workflows ![Workflow events panel](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/automations/workflows/workflow-events-panel.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=a5ef8d3b2c6df57e851384cc7e708381) Events panel ![Workflow runs view](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/automations/workflows/workflow-runs-view.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=3cc9def5ea070762bad74e02d36ba848) Runs view ![Workflow runs history](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/automations/workflows/workflow-runs-history.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=57d1d3316f66c8526cefb0b531de4e5d) History view ## Tag workflow Right click on a workflow in the workflows table then hover over the "Tags" menu item. ![Tag workflow](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/automations/workflows/tag-workflow.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=739997b67ad622c0e4ea82133007694e) ## Rename workflow Right click on a workflow in the workflows table then select the "Rename workflow" menu item. ![Rename workflow](https://mintcdn.com/tracecat/LqFdFn7Q_enlgRbX/img/automations/workflows/rename-workflow.png?fit=max\&auto=format\&n=LqFdFn7Q_enlgRbX\&q=85\&s=8efa105fa92fe185ebb53f7612e26b01) You can also rename a workflow from the builder. Double click the workflow name in the breadcrumb, or click the pencil icon beside it. Press `Enter` or click away to save, or press `Escape` to cancel. ![Rename workflow in the builder](https://mintcdn.com/tracecat/LqFdFn7Q_enlgRbX/img/automations/workflows/rename-workflow-builder.png?fit=max\&auto=format\&n=LqFdFn7Q_enlgRbX\&q=85\&s=55ff82c1963fb4a326a2c9c8d658731f) Names must be between 3 and 100 characters. ## Draft workflows Draft workflows are workflows that are currently being edited. You can run draft workflows manually by clicking the `Run` button in the top right corner of the workflow builder. ## Published workflows To deploy a workflow, you must publish it. Webhooks, schedules, subflows, and other workflow triggers always run the latest published workflow version. ![Publish workflow](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/automations/workflows/publish-workflow.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=f5a9d650ed5bc6e0ac05e6f87fffed4c) ## Workflow settings Click on the workflow canvas to open the workflow settings panel. ![Workflow settings](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/automations/workflows/workflow-settings.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=075af48137ec8ef99d564c3f817884d4) ### Workflow alias Workflow aliases are used to reference the workflow in subflows and error workflows. Keep aliases short, descriptive, and snake_case. You must define a workflow alias in order to trigger it as a subflow or error workflow. ### Error workflows You can specify an error workflow to run when a workflow fails. Information about the failed workflow run is passed to the error workflow under the `${{ TRIGGER }}` expression. See [Error workflows](/automations/triggers/error-workflows) for more information. ### Input schema You can specify an input schema to validate the trigger inputs to the workflow. Define the input schema as YAML or JSON-compatible YAML, where each top-level key is an input name. Each input supports these fields: * `type` is a Tracecat type expression such as `str`, `int`, `bool`, `float`, `datetime`, `duration`, `list[int]`, `dict[str, Any]`, `str | None`, or `enum["low", "high"]` * `description` is an optional description of the input * `default` is an optional default value; if you set it, the input becomes optional For example: ```yaml theme={null} my_param: type: str description: This is a string default: My default value my_list: type: list[int] description: This is a list of integers without a default value my_union: type: str | int | None description: This is a union of a string, an integer, and None ``` ### Output schema Workflows return `null` by default. You can specify a return value for the workflow as an output schema. Output schemas support all Tracecat expressions. For example, assume a workflow has three actions `whoami`, `location`, and `contact`. The actions return the following results: * `whoami`: `{ "name": "John", "age": 30 }` * `location`: `{ "city": "New York", "country": "USA" }` * `contact`: `{ "email": "john@example.com", "phone": "1234567890" }` The output schema can be defined as: ```php theme={null} name: ${{ ACTIONS.whoami.result.name }} city: ${{ ACTIONS.location.result.city }} email: ${{ ACTIONS.contact.result.email }} ``` ### Environments You can specify a default environment to use for the workflow. Actions without an environment override will use the default environment to pull secrets and variables from. ## Export / import workflows Enterprise users should use Tracecat's [Git sync](/gitops/workspace-git-sync) feature to push and pull their workflow definitions directly from a remote Git repository. Open Source users can export and import workflows directly from the Tracecat UI. Exported workflows are called workflow definitions and are saved as YAML files. Right click on a workflow in the `/workflows` page to export the draft or published workflow definition: ![Workflow export / import](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/automations/workflows/workflow-export.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=407eab3856b0fcd404e7ed8c938f2ac8) Exported workflows can be imported via the "Create new" button in the `/workflows` page: ![Workflow import](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/automations/workflows/workflow-import.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=e5c8d52127671a6396fe6ce23e0483bc) ## Cancel / terminate / reset runs > [!CAUTION] > > The Temporal UI exposes all your workflow runs. Do not expose it to the public internet unless you have OIDC SSO enabled. Open Source Open up the Temporal UI to view and control all workflow runs. > [accordion] Docker Compose > > Expose port `8081` in the `temporal_ui` service in the `docker-compose.yml` file and run `docker compose up`. > Then access the Temporal UI at `http://localhost:8081`. > [accordion] AWS Fargate > > Set the following Terraform variables: > > * `disable_temporal_ui` to `false` > * `temporal_auth_provider_url` to your identity provider's URL > * `temporal_auth_client_id` to the OIDC client ID > * `temporal_auth_client_secret` to the OIDC client secret > > Then run `terraform apply`. Access the Temporal UI at `http:///temporal-admin`. Enterprise You can view, cancel, terminate, and reset all workflow runs directly from the Tracecat UI under the `/runs` page. ![Reset terminate cancel runs](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/automations/workflows/reset-terminate-cancel-runs.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=3828abd326faf6b5e75eea3bf9034e69) ## Copy actions to clipboard Hover over any action in the events panel or runs view. You'll see two icons: Link and Copy next to the action key-value. The link icon copies the JSONPath reference to the action result. For example, `${{ ACTIONS.first_action.result }}`. ![Copy action reference](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/automations/workflows/copy-action-reference.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=0bc7c208728f207449f59b44d70c69eb) The copy icon copies the value of the action result itself. ![Copy action result](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/automations/workflows/copy-action-result.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=5f8d9ce248859988944bf196f0e8c904) When an action uses `mask_output`, the workflow execution UI keeps object and array structure but shows `[REDACTED]` for each individual value. You can still copy JSONPath references from the displayed shape, and downstream actions still receive the original result. ## Workflow definition All workflows are stored, exported, and versioned as YAML-based workflow definitions. See [Workflow definition](/automations/core-concepts/workflow-definition) for the full specification. # Aggregate and search Source: https://docs.tracecat.com/cheatsheets/aggregate-and-search Recipes for filtering, grouping, and summarizing cases and table rows, and for searching table rows by meaning, from workflows and agents. ## Count open cases by priority `core.cases.aggregate_cases` filters cases, splits them into groups, and returns one object per group. Omit `aggs` to count cases: ```yaml Action theme={null} - ref: open_by_priority action: core.cases.aggregate_cases args: filters: field: status op: in value: [new, in_progress] group_by: - priority ``` ```json Result theme={null} { "groups": [ {"priority": "high", "count": 2}, {"priority": "medium", "count": 2}, {"priority": "critical", "count": 1} ], "truncated": false } ``` Groups sort by the first calculation, highest first. Read a group with a JSONPath filter, such as `${{ ACTIONS.open_by_priority.result.groups[?(@.priority == "high")].count }}`. ## Count all matching cases Pass `group_by: []` to get one total. Combine conditions with `and`, `or`, and `not`: ```yaml Action theme={null} - ref: open_high_cases action: core.cases.aggregate_cases args: filters: and: - field: priority op: gte value: high - field: status op: not_in value: [resolved, closed] group_by: [] - ref: page_on_call action: core.transform.reshape depends_on: - open_high_cases run_if: ${{ ACTIONS.open_high_cases.result.groups[0].count > 2 }} args: value: ${{ ACTIONS.open_high_cases.result.groups[0].count }} ``` ```json Result theme={null} { "groups": [{"count": 3}], "truncated": false } ``` Priority and severity compare by rank, so `gte: high` matches `high` and `critical`. Status supports equality and list operators only. ## Count cases per day in your timezone Date and time fields need a `bucket`: `hour`, `day`, `week`, or `month`. Set `timezone` to bucket by local days. Results always hold UTC timestamps: ```yaml Action theme={null} - ref: cases_per_day action: core.cases.aggregate_cases args: filters: field: created_at op: gte value: "2026-09-01T00:00:00Z" group_by: - field: created_at bucket: day timezone: America/New_York alias: day ``` ```json Result theme={null} { "groups": [ {"day": "2026-08-31T04:00:00Z", "count": 1}, {"day": "2026-09-01T04:00:00Z", "count": 1}, {"day": "2026-09-02T04:00:00Z", "count": 3}, {"day": "2026-09-03T04:00:00Z", "count": 2} ], "truncated": false } ``` `2026-08-31T04:00:00Z` is midnight on August 31 in New York, so a case created at `2026-09-01T02:00:00Z` lands in that group. Date buckets sort oldest first. ## Top values of a custom field Prefix custom case fields with `fields.`. Use `order_by` with an output name, `limit` for the top N, and `min_count` to drop small groups: ```yaml Action theme={null} - ref: top_regions action: core.cases.aggregate_cases args: group_by: - fields.region aggs: - function: count alias: cases order_by: cases sort: desc min_count: 2 limit: 5 ``` ```json Result theme={null} { "groups": [ {"fields.region": "emea", "cases": 3}, {"fields.region": "amer", "cases": 2} ], "truncated": false } ``` `truncated: true` means more groups matched than `limit` returned. There is no cursor, so raise `limit` or narrow `filters` to see the rest. ## Sum and median table columns per group `core.table.aggregate_rows` takes the same `group_by`, `aggs`, and `filters` shape, plus a `table` name. Without an `alias`, each output is named `function_field`: ```yaml Action theme={null} - ref: bytes_by_source action: core.table.aggregate_rows args: table: alerts filters: field: disposition op: ne value: benign group_by: - source aggs: - function: count - function: sum field: bytes_out alias: total_bytes - function: median field: duration_ms ``` ```json Result theme={null} { "groups": [ {"source": "okta", "count": 3, "total_bytes": 600.0, "median_duration_ms": 40.0}, {"source": "crowdstrike", "count": 2, "total_bytes": 2000.0, "median_duration_ms": 40.0} ], "truncated": false } ``` `ne` and `not_in` also exclude rows where the column is empty. Add `{field: disposition, op: is_null}` inside an `or` to keep them. Sums, means, and medians return floats. ## Count distinct values in a table Use `count_distinct` to count unique non-null values per group: ```yaml Action theme={null} - ref: users_per_source action: core.table.aggregate_rows args: table: alerts group_by: - source aggs: - function: count_distinct field: user_name alias: unique_users ``` ```json Result theme={null} { "groups": [ {"source": "okta", "unique_users": 2}, {"source": "crowdstrike", "unique_users": 2}, {"source": "guardduty", "unique_users": 1} ], "truncated": false } ``` Table text comparisons with `eq`, `ne`, `in`, and `not_in` are case-sensitive. Use `contains` or `starts_with` for case-insensitive matches. ## Search table rows by meaning `core.table.search` finds rows by meaning in the `TEXT` columns that have [vector search](/automations/tables#vector-search) enabled. Literal keyword search stays in `core.table.search_rows`: ```yaml Action theme={null} - ref: similar_alerts action: core.table.search args: table: alerts query: stolen credentials used to sign in limit: 5 ``` ```json Result theme={null} { "items": [ { "row_id": "6f2c0d6e-3b8f-4f7a-9a51-0f1f2b7f8c11", "score": 0.82, "match": { "column_id": "0b6a8d4e-2c47-4e0e-9a1d-5d6d2a9f3b20", "column_name": "summary", "text": "Impossible travel sign-in after password reset", "start": 0, "end": 46, "shortened": false }, "indexed_revision": 1 } ], "next_cursor": null, "has_more": false, "capped": false, "index": { "state": "active", "pending": 0, "failed": 0, "empty": 0, "ready": 120, "backfill_complete": true, "partial": false } } ``` `score` is cosine similarity, so compare it within one search rather than against a fixed threshold. `index` reports how many rows are indexed. The action fails while the index is still building; set `allow_partial: true` to search only indexed rows. To read the next page, pass `next_cursor` as `cursor` within five minutes and keep the other inputs unchanged. Vector search requires an Enterprise plan and an [LLM provider](/agents/llm-providers) with an embedding model. ## Fetch full rows for search results Search results hold row IDs and excerpts. Look up each full row by its `id`: ```yaml theme={null} - ref: similar_alert_rows action: core.table.lookup for_each: ${{ for var.row_id in ACTIONS.similar_alerts.result.items[*].row_id }} args: table: alerts column: id value: ${{ var.row_id }} ``` ## Give an agent these actions as tools List the actions under `actions` so the agent can filter, group, and search on its own: ```yaml theme={null} - ref: triage_agent action: ai.agent args: model: model_name: claude-sonnet-4-5 model_provider: anthropic instructions: | Use the aggregate actions for counts and metrics. Use core.table.search on the alerts table to find similar alerts. user_prompt: | How many high-priority cases are still open, and which past alerts look like this one? ${{ TRIGGER.alert }} actions: - core.cases.aggregate_cases - core.table.aggregate_rows - core.table.search - core.table.lookup max_tool_calls: 8 ``` Agents read the same input schemas, so name the case fields, table names, and columns in `instructions` to save tool calls. ## Related pages * See [Cases](/automations/core-actions/case-actions/cases#core-cases-aggregate_cases) for every `core.cases.aggregate_cases` input, field type, and filter operator. * See [Lookups](/automations/core-actions/memory-actions/lookups#core-table-aggregate_rows) for every `core.table.aggregate_rows` input and the operators each column type supports. * See [Tables](/automations/tables#vector-search) to enable vector search on a column and check index status. * See [AI agent](/agents/ai-agent) for agent tools, approvals, and output types. * See [JSONPath](/cheatsheets/jsonpath) for the filter syntax used to read groups. # Common mistakes Source: https://docs.tracecat.com/cheatsheets/common-mistakes Fixes for the most common Tracecat expression errors: null guards, bracket indexing, YAML quoting, empty literals, and Python syntax that does not parse. ## Short-circuiting and null guards `&&` and `||` evaluate both operands, so a null check in front of a comparison does not protect it: ```yaml Expression theme={null} has_hits: ${{ ACTIONS.enrich.result.count != None && ACTIONS.enrich.result.count > 0 }} ``` ```text Error theme={null} Error evaluating expression `ACTIONS.enrich.result.count != None && ACTIONS.enrich.result.count > 0` ... Reason: Error trying to process rule "gt_op": '>' not supported between instances of 'NoneType' and 'int' ``` The ternary `A if condition else B` is the only form that skips evaluation, so put the risky comparison inside it: `${{ ACTIONS.enrich.result.count > 0 if ACTIONS.enrich.result.count != None else False }}`. An `&&` chain is safe only when every clause tolerates `None` on its own. Equality checks like `!=` and `==` do, so `${{ TRIGGER.assignee != None && TRIGGER.severity == "high" }}` returns `false` without error; ordering comparisons like `>` do not. ## Unsupported Python syntax Each Python form below fails with `Error parsing expression`: | Python habit | Write instead | | - | - | | `true`, `false`, `null` | `True`, `False`, `None` | | `a or b`, `a and b` | `a \|\| b`, `a && b` | | `FN.to_isoformat(x, timespec="seconds")` | Positional arguments only: `FN.to_isoformat(x, "seconds")` | | `[FN.uppercase(t) for t in TRIGGER.tags]` | `FN.uppercase.map(TRIGGER.tags)` | | `not not x` | `bool(x)`, or `not (not x)` | Nesting `${{ }}` inside `${{ }}` does not parse: `${{ FN.length(${{ TRIGGER.tags }}) }}` fails with `No terminal matches '$' in the current parser context`. Write `${{ FN.length(TRIGGER.tags) }}`. Inside a JSONPath filter the casing inverts: use `true` and `false`. An uppercase literal matches nothing and returns an empty list instead of raising: ```yaml Expression theme={null} wrong: ${{ TRIGGER.rows[?(@.enabled == True)] }} right: ${{ TRIGGER.rows[?(@.enabled == true)] }} ``` ```json Result theme={null} { "wrong": [], "right": [{ "name": "a", "enabled": true }] } ``` ## Missing fields `TRIGGER`, `ACTIONS`, `ENV`, and `var` paths return `None` for anything that does not exist, including typos: ```yaml Expression theme={null} email: ${{ TRIGGER.usre.email }} ``` ```json Result theme={null} { "email": null } ``` Inside a longer string, `None` becomes the literal text `None`. The template `"Assignee: ${{ TRIGGER.assignee }}"` renders as `"Assignee: None"`, so guard string interpolation with a ternary: `${{ TRIGGER.assignee if TRIGGER.assignee != None else "unassigned" }}`. ## Bracket keys Quoted keys work everywhere brackets do: `TRIGGER["data"]` and `VARS.cfg["epss"]` both resolve. Unquoted keys work in some contexts and fail in others: ```yaml Expression theme={null} threshold: ${{ VARS.cfg[epss] }} ``` ```text Error theme={null} Error parsing expression `VARS.cfg[epss]` Failed to parse expression: Unexpected token Token('FN_NAME_WITH_TRANSFORM', 'epss') at line 1, column 10. ``` The first segment after `SECRETS` or `VARS` must use dot syntax: `VARS["cfg"]` fails with `Expected one of: * ATTRIBUTE_PATH`. Write `VARS.cfg` first, then brackets for anything deeper. `${{ TRIGGER["nope"] }}` returns `null`, while the same lookup on `VARS` raises: ```yaml Expression theme={null} value: ${{ VARS.cfg["nope"] }} ``` ```text Error theme={null} Error evaluating expression `VARS.cfg["nope"]` ... Reason: Error trying to process rule "primary_expr": Key 'nope' not found for mapping access ``` Hyphenated keys in payloads are reachable with quoted brackets: `${{ TRIGGER["my-key"] }}` works. A hyphenated secret or variable name is not reachable at all: `SECRETS.my-secret.API_KEY` fails to parse, and the only fix is renaming the secret or variable with underscores. When the text after the hyphen starts with a context keyword, the expression parses as arithmetic: `${{ VARS.my-var.k }}` evaluates as `VARS.my` minus `var.k` and fails with `unsupported operand type(s) for -: 'NoneType' and 'NoneType'`. ## Comparison chains Comparisons fold left instead of chaining: `3 > 2 > 1` becomes `(3 > 2) > 1`, then `True > 1`: ```yaml Expression theme={null} ordered: ${{ 3 > 2 > 1 }} ``` ```json Result theme={null} { "ordered": false } ``` Write each comparison explicitly: `${{ 3 > 2 && 2 > 1 }}` returns `true`. ## Indexing a filter result `[0]` after a JSONPath filter is absorbed into the path and applied to each matched value, so with matched dates like `"2015-03-20"` you index into the string itself: ```yaml Expression theme={null} first_date: ${{ ACTIONS.get_domain_record.result.events[?(@.eventAction == "registration")].eventDate[0] }} ``` ```json Result theme={null} { "first_date": ["2"] } ``` Moving the index before the field also fails: `events[?(...)][0].eventDate` raises `Error trying to process rule "actions": 0`. `FN.at` takes the first element: ```yaml Expression theme={null} first_date: ${{ FN.at(ACTIONS.get_domain_record.result.events[?(@.eventAction == "registration")].eventDate, 0) }} ``` ```json Result theme={null} { "first_date": "2015-03-20" } ``` ## Empty literals Non-empty literals like `${{ {"status": "ok"} }}` and `${{ [1, 2] }}` evaluate fine, but the empty forms raise. `${{ {} }}` fails with `cannot convert dictionary update sequence element #0 to a sequence` and `${{ [] }}` fails with `'NoneType' object is not iterable`. To pass an empty value to an action, write it in plain YAML outside the expression: `value: {}`. To test for emptiness, use `FN.is_empty(x)` or `FN.length(x) == 0`. ## String escapes Escape sequences stay literal: `${{ "a\nb" }}` is the four characters `a`, `\`, `n`, `b`, and `FN.length("a\nb")` returns `4`. The exception is `FN.join`, which unescapes its separator: ```yaml Expression theme={null} joined: ${{ FN.join(["a", "b"], "\n") }} length: ${{ FN.length(FN.join(["a", "b"], "\n")) }} ``` ```json Result theme={null} { "joined": "a\nb", "length": 3 } ``` ## YAML quoting A `: ` inside an unquoted expression breaks the YAML document: ```yaml Expression theme={null} message: ${{ FN.format("Alert: {0}", TRIGGER.alert_id) }} ``` ```text Error theme={null} mapping values are not allowed here in "", line 1, column 30 ``` A ` #` fails silently: `title: ${{ FN.format("Alert #{0}", TRIGGER.alert_id) }}` truncates to the literal text `${{ FN.format("Alert`, which passes through unevaluated. Wrap the whole value in single quotes whenever the expression contains `:`, `#`, or quotes: ```yaml theme={null} message: '${{ FN.format("Alert: {0}", TRIGGER.alert_id) }}' ``` Double outer quotes collide with the double quotes inside the expression. ## Field access after functions Dotting into a function result does not parse: ```yaml Expression theme={null} hour: ${{ FN.now().hour }} ``` ```text Error theme={null} Error parsing expression `FN.now().hour` Failed to parse expression: Unexpected token Token('PARTIAL_JSONPATH_EXPR', '.hour') at line 1, column 9. ``` The accessor function `${{ FN.get_hour(FN.now()) }}` returns the hour. ## VARS key depth A `VARS` path takes the variable name plus at most one key: `${{ VARS.cfg.network }}` returns the stored object, but one level deeper raises: ```yaml Expression theme={null} cidr: ${{ VARS.cfg.network.cidr }} ``` ```text Error theme={null} Error evaluating expression `VARS.cfg.network.cidr` ... VARS expressions currently support at most one key segment (`VARS..`). Got VARS.cfg.network.cidr with 2 key segments after the variable name. ``` Reach deeper values with `FN.lookup`: `${{ FN.lookup(VARS.cfg.network, "cidr") }}` returns `"10.0.0.0/8"`, or store the value one level flatter. ## Naive and aware datetimes `FN.now()` returns a local time without timezone info, while `FN.utcnow()` and any parsed timestamp that carries an offset are timezone-aware. Mixing the two in arithmetic raises: ```yaml Expression theme={null} age: ${{ FN.to_datetime(TRIGGER.created_at) - FN.now() }} ``` ```text Error theme={null} Error evaluating expression `FN.to_datetime(TRIGGER.created_at) - FN.now()` ... can't subtract offset-naive and offset-aware datetimes ``` Compare aware with aware: `${{ FN.to_datetime(TRIGGER.created_at) < FN.utcnow() }}` returns `true`. To mix with `FN.now()`, strip the offset with `FN.unset_timezone` first. ## Expressions in python_lambda Expressions work inside `python_lambda` parameters. Write the expression as the Python literal it should become: ```yaml Expression theme={null} - ref: keep_high_epss action: core.transform.filter args: items: ${{ ACTIONS.get_findings.result }} python_lambda: "lambda x: x['epss'] > ${{ VARS.cfg.epss }}" ``` ```python Result theme={null} lambda x: x['epss'] > 0.6 ``` Numbers, booleans, `None`, lists, and objects substitute as valid literals without quotes. Strings need single quotes around the expression: `'${{ VARS.cfg.severity }}'` becomes `'High'`, while the unquoted form becomes the bare name `High` and fails at call time with `NameError: name 'High' is not defined`. A string value containing an apostrophe breaks the lambda with `Invalid syntax in expression: unterminated string literal`. `core.script.run_python` accepts values that contain quotes through `inputs`. ## Related pages * See [Expressions](/automations/core-concepts/expressions) for expression syntax, contexts, and operators. * See [Transformations](/cheatsheets/transformations) for recipes covering the tasks these mistakes come from. * See [JSONPath](/cheatsheets/jsonpath) for filter syntax and return behavior. * See [Functions](/cheatsheets/functions) for the full `FN` function reference. * See [Python script](/automations/core-actions/transform-actions/python-script) for the `core.script.run_python` contract and examples. # Functions Source: https://docs.tracecat.com/cheatsheets/functions Quick reference for every Tracecat expression function and operator, with signatures and examples for transforming data inside workflows and agents. ## Examples Build a prompt or short string: ```yaml Expression theme={null} prompt: ${{ FN.format("Investigate alert {0} with severity {1}", TRIGGER.alert_id, TRIGGER.severity) }} ``` ```json Result theme={null} { "prompt": "Investigate alert al-123 with severity high" } ``` Time manipulation for alert search windows. `FN.to_isoformat` keeps microseconds by default; pass `"seconds"` as the second argument to truncate: ```yaml Expression theme={null} start_time: ${{ FN.to_isoformat(FN.now() - FN.minutes(15)) }} end_time: ${{ FN.to_isoformat(FN.now(), "seconds") }} ``` ```json Result theme={null} { "start_time": "2026-03-18T12:45:00.490979", "end_time": "2026-03-18T13:00:00" } ``` Deserialize or serialize JSON: ```yaml Expression theme={null} parsed: ${{ FN.deserialize_json(TRIGGER.raw_json) }} serialized: ${{ FN.serialize_json({"status": "ok", "count": 3}) }} ``` ```json Result theme={null} { "parsed": { "status": "open", "count": 3 }, "serialized": "{\"status\":\"ok\",\"count\":3}" } ``` Format rows into a Markdown table: ```yaml Expression theme={null} table: ${{ FN.to_markdown_table(ACTIONS.list_findings.result) }} ``` ```json Result theme={null} { "table": "|id|severity|\n|-|-|\n|f-1|high|\n|f-2|medium|" } ``` Count or reshape a small value: ```yaml Expression theme={null} count: ${{ FN.length(ACTIONS.gather_results.result) }} unique_tags: ${{ FN.unique(TRIGGER.tags) }} ``` ```json Result theme={null} { "count": 3, "unique_tags": ["auth", "critical"] } ``` Functions accept positional arguments only: signatures in the reference below show parameter names such as `timespec: str = auto`, but keyword arguments do not parse. This page is generated from `tracecat/expressions/functions.py`. ## Function reference **FN.add** `function` `FN.add(a: float | int, b: float | int) -> float | int` Add two numbers together. **FN.and** `function` `FN.and(a: bool, b: bool) -> bool` Logical AND operation. **FN.at** `function` `FN.at(sequence: Sequence[Any], index: int) -> Any` Return the element at the given index. **FN.capitalize** `function` `FN.capitalize(x: str) -> str` Capitalize a string. **FN.check_ip_version** `function` `FN.check_ip_version(ip: str) -> int` Get IP address version (4 or 6). **FN.compact** `function` `FN.compact(x: list[Any]) -> list[Any]` Drop null values from a list. Similar to compact function in Terraform. **FN.concat** `function` `FN.concat(*items: str) -> str` Concatenate multiple strings. **FN.contains** `function` `FN.contains(item: Any, container: Sequence[Any]) -> bool` Check if item exists in a sequence. Aliases: `FN.is_in` **FN.contains_any_of** `function` `FN.contains_any_of(a: Sequence[Any], b: Sequence[Any]) -> bool` Check if any of the elements of the first sequence exist in the second sequence. **FN.contains_none_of** `function` `FN.contains_none_of(a: Sequence[Any], b: Sequence[Any]) -> bool` Check if all of of the elements of the first sequence don't exist in the second sequence. **FN.datetime** `function` `FN.datetime(year: int, month: int, day: int, hour: int = 0, minute: int = 0, second: int = 0) -> datetime` Create datetime from year, month, day, hour, minute, and second. **FN.days** `function` `FN.days(x: int) -> timedelta` Create timedelta with specified days. **FN.days_between** `function` `FN.days_between(start: datetime | str, end: datetime | str) -> float` Days between two datetimes. **FN.deserialize_json** `function` `FN.deserialize_json(obj, /)` Deserialize JSON to Python objects. **FN.deserialize_ndjson** `function` `FN.deserialize_ndjson(x: str) -> list[dict[str, Any]]` Parse newline-delimited JSON string into list of objects. **FN.deserialize_yaml** `function` `FN.deserialize_yaml(x: str) -> Any` Deserialize YAML string to object. **FN.difference** `function` `FN.difference(a: Sequence[Any], b: Sequence[Any]) -> list[Any]` Return a list of elements that are in the first sequence but not in the second. **FN.div** `function` `FN.div(a: float | int, b: float | int) -> float` Divide first number by second number. **FN.does_not_contain** `function` `FN.does_not_contain(item: Any, container: Sequence[Any]) -> bool` Check if item does not exist in a sequence. Aliases: `FN.is_not_in`, `FN.not_in` **FN.drop_nulls** `function` `FN.drop_nulls(items: list[Any]) -> list[Any]` Remove all null or empty string values from a list. **FN.endswith** `function` `FN.endswith(x: str, suffix: str) -> bool` Check if a string ends with a specified suffix. **FN.extract_asns** `function` `FN.extract_asns(text: str) -> list[str]` Extract Autonomous System Numbers, e.g. AS1234, from a string. **FN.extract_cves** `function` `FN.extract_cves(text: str) -> list[str]` Extract CVE IDs, such as CVE-2021-34527, from a string. **FN.extract_domains** `function` `FN.extract_domains(text: str, include_defanged: bool = False) -> list[str]` Extract domain names from a string. **FN.extract_emails** `function` `FN.extract_emails(text: str, normalize: bool = False) -> list[str]` Extract unique emails from a string. When `normalize` is True, lowercases the email and strips the subaddress (the `+...` part before `@`). **FN.extract_ip** `function` `FN.extract_ip(text: str, include_defanged: bool = False) -> list[str]` Extract unique IPv4 and IPv6 addresses from a string. **FN.extract_ipv4** `function` `FN.extract_ipv4(text: str, include_defanged: bool = False) -> list[str]` Extract unique IPv4 addresses from a string. **FN.extract_ipv6** `function` `FN.extract_ipv6(text: str, include_defanged: bool = False) -> list[str]` Extract unique IPv6 addresses from a string. Includes defanged variants as an option. **FN.extract_mac** `function` `FN.extract_mac(text: str) -> list[str]` Extract MAC addresses from a string. **FN.extract_md5** `function` `FN.extract_md5(text: str) -> list[str]` Extract MD5 hashes from a string. **FN.extract_sha1** `function` `FN.extract_sha1(text: str) -> list[str]` Extract SHA1 hashes from a string. **FN.extract_sha256** `function` `FN.extract_sha256(text: str) -> list[str]` Extract SHA256 hashes from a string. **FN.extract_sha512** `function` `FN.extract_sha512(text: str) -> list[str]` Extract SHA512 hashes from a string. **FN.extract_urls** `function` `FN.extract_urls(text: str, http_only: bool = False, include_defanged: bool = False) -> list[str]` Extract URLs from text, optionally including defanged ones. **FN.flatten** `function` `FN.flatten(iterables: Sequence[Sequence[Any]]) -> list[Any]` Flatten nested sequences into a single list. **FN.flatten_dict** `function` `FN.flatten_dict(x: str | dict[str, Any] | list[Any], max_depth: int = 100) -> dict[str, Any]` Return object with single level of keys (as jsonpath) and values. **FN.format** `function` `FN.format(template: str, *values: Any) -> str` Format a string with the given arguments. **FN.format_datetime** `function` `FN.format_datetime(x: datetime | str, format: str) -> str` Format datetime into specified format (e.g. '%Y-%m-%d %H:%M:%S'). **FN.from_base64** `function` `FN.from_base64(x: str) -> str` Decode base64 string to string. **FN.from_base64url** `function` `FN.from_base64url(x: str) -> str` Decode URL-safe base64 string to string. **FN.from_timestamp** `function` `FN.from_timestamp(x: float | int | str, unit: str = s) -> datetime` Convert timestamp in milliseconds ('ms') or seconds ('s') to datetime. **FN.get_day** `function` `FN.get_day(x: datetime | str) -> int` Get day of month (1-31) from datetime. **FN.get_day_of_week** `function` `FN.get_day_of_week(x: datetime | str, format: "Literal[number, full, short]" = number) -> int | str` Extract day of week from datetime. Returns 0-6 (Mon-Sun) or day name if format is "full" or "short". **FN.get_hour** `function` `FN.get_hour(x: datetime | str) -> int` Get hour (0-23) from datetime. **FN.get_minute** `function` `FN.get_minute(x: datetime | str) -> int` Get minute (0-59) from datetime. **FN.get_month** `function` `FN.get_month(x: datetime | str, format: "Literal[number, full, short]" = number) -> int | str` Extract month from datetime. Returns 1-12 or month name if format is "full" or "short". **FN.get_second** `function` `FN.get_second(x: datetime | str) -> int` Get second (0-59) from datetime. **FN.get_year** `function` `FN.get_year(x: datetime | str) -> int` Get year from datetime. **FN.greater_than** `function` `FN.greater_than(a: Any, b: Any) -> bool` Check if a is greater than b. **FN.greater_than_or_equal** `function` `FN.greater_than_or_equal(a: Any, b: Any) -> bool` Check if a is greater than or equal to b. **FN.hash_md5** `function` `FN.hash_md5(x: str | bytes) -> str` Generate MD5 hash of input string or bytes. **FN.hash_sha1** `function` `FN.hash_sha1(x: str | bytes) -> str` Generate SHA1 hash of input string or bytes. **FN.hash_sha256** `function` `FN.hash_sha256(x: str | bytes) -> str` Generate SHA256 hash of input string or bytes. **FN.hash_sha512** `function` `FN.hash_sha512(x: str | bytes) -> str` Generate SHA512 hash of input string or bytes. **FN.hours** `function` `FN.hours(x: int) -> timedelta` Create timedelta with specified hours. **FN.hours_between** `function` `FN.hours_between(start: datetime | str, end: datetime | str) -> float` Hours between two datetimes. **FN.intersection** `function` `FN.intersection(a: Sequence[Any], b: Sequence[Any]) -> list[Any]` Return a list containing the intersection of elements from two sequences. **FN.ipv4_in_subnet** `function` `FN.ipv4_in_subnet(ipv4: str, subnet: str) -> bool` Check if IPv4 address is in the given subnet. **FN.ipv4_is_public** `function` `FN.ipv4_is_public(ipv4: str) -> bool` Check if IPv4 address is public/global. **FN.ipv6_in_subnet** `function` `FN.ipv6_in_subnet(ipv6: str, subnet: str) -> bool` Check if IPv6 address is in the given subnet. **FN.ipv6_is_public** `function` `FN.ipv6_is_public(ipv6: str) -> bool` Check if IPv6 address is public/global. **FN.is_empty** `function` `FN.is_empty(x: Sequence[Any]) -> bool` Check if sequence has length 0. **FN.is_equal** `function` `FN.is_equal(a: Any, b: Any) -> bool` Check if a is equal to b. **FN.is_in** `function` `FN.is_in(item: Any, container: Sequence[Any]) -> bool` Check if item exists in a sequence. Aliases: `FN.contains` **FN.is_json** `function` `FN.is_json(x: str) -> bool` Check if a string is valid JSON. **FN.is_not_empty** `function` `FN.is_not_empty(x: Sequence[Any]) -> bool` Check if sequence has length greater than 0. Aliases: `FN.not_empty` **FN.is_not_equal** `function` `FN.is_not_equal(a: Any, b: Any) -> bool` Check if a is not equal to b. Aliases: `FN.not_equal` **FN.is_not_in** `function` `FN.is_not_in(item: Any, container: Sequence[Any]) -> bool` Check if item does not exist in a sequence. Aliases: `FN.does_not_contain`, `FN.not_in` **FN.is_not_null** `function` `FN.is_not_null(x: Any) -> bool` Check if value is not None. Aliases: `FN.not_null` **FN.is_null** `function` `FN.is_null(x: Any) -> bool` Check if value is None. **FN.is_working_hours** `function` `FN.is_working_hours(x: datetime | str, start: str, end: str, include_weekends: bool = False, timezone: str | None = None) -> bool` Check if datetime is between two times (HH:MM or HH:MM:SS strings). **FN.iter_product** `function` `FN.iter_product(*iterables: Sequence[Any]) -> list[tuple[Any, ...]]` Generate cartesian product of sequences. **FN.join** `function` `FN.join(items: Sequence[str], sep: str) -> str` Join sequence of strings with separator. **FN.length** `function` `FN.length(obj, /)` Return the number of items in a container. **FN.less_than** `function` `FN.less_than(a: Any, b: Any) -> bool` Check if a is less than b. **FN.less_than_or_equal** `function` `FN.less_than_or_equal(a: Any, b: Any) -> bool` Check if a is less than or equal to b. **FN.lookup** `function` `FN.lookup(d: dict[Any, Any], k: Any) -> Any` Safely get value from an object. **FN.lowercase** `function` `FN.lowercase(x: str) -> str` Convert string to lowercase. **FN.map_keys** `function` `FN.map_keys(x: dict[str, Any], keys: dict[str, str]) -> dict[str, Any]` Map keys in an object to new keys. **FN.max** `function` `FN.max(a: Any, b: Any) -> Any` Return the maximum of two values. **FN.merge** `function` `FN.merge(x: list[dict[Any, Any]]) -> dict[Any, Any]` Merge list of objects. Similar to merge function in Terraform. **FN.min** `function` `FN.min(a: Any, b: Any) -> Any` Return the minimum of two values. **FN.minutes** `function` `FN.minutes(x: int) -> timedelta` Create timedelta with specified minutes. **FN.minutes_between** `function` `FN.minutes_between(start: datetime | str, end: datetime | str) -> float` Minutes between two datetimes. **FN.mod** `function` `FN.mod(a: float | int, b: float | int) -> float | int` Calculate modulo (remainder) of first number divided by second. **FN.mul** `function` `FN.mul(a: float | int, b: float | int) -> float | int` Multiply two numbers together. **FN.normalize_email** `function` `FN.normalize_email(email: str) -> str` Convert sub-addressed email to a normalized email address. **FN.not** `function` `FN.not(x: bool) -> bool` Logical NOT operation. **FN.not_empty** `function` `FN.not_empty(x: Sequence[Any]) -> bool` Check if sequence has length greater than 0. Aliases: `FN.is_not_empty` **FN.not_equal** `function` `FN.not_equal(a: Any, b: Any) -> bool` Check if a is not equal to b. Aliases: `FN.is_not_equal` **FN.not_in** `function` `FN.not_in(item: Any, container: Sequence[Any]) -> bool` Check if item does not exist in a sequence. Aliases: `FN.does_not_contain`, `FN.is_not_in` **FN.not_null** `function` `FN.not_null(x: Any) -> bool` Check if value is not None. Aliases: `FN.is_not_null` **FN.now** `function` `FN.now(as_isoformat: bool = False, timespec: str = auto) -> datetime | str` Return workflow logical time (local, naive) or current time if outside workflow. **FN.or** `function` `FN.or(a: bool, b: bool) -> bool` Logical OR operation. **FN.parse_csv** `function` `FN.parse_csv(x: str) -> list[dict[str, Any]]` Parse CSV string into list of objects. **FN.parse_datetime** `function` `FN.parse_datetime(x: str, format: str) -> datetime` Parse string to datetime using specified format. **FN.parse_time** `function` `FN.parse_time(x: str) -> time` Parse HH:MM:SS or HH:MM formatted string to a time object. **FN.pow** `function` `FN.pow(a: float | int, b: float | int) -> float | int` Raise first number to the power of second number. **FN.prefix** `function` `FN.prefix(x: str | list[str], prefix: str) -> str | list[str]` Add a prefix to a string or list of strings. **FN.prettify_json** `function` `FN.prettify_json(x: Any) -> str` Convert object to formatted JSON string. **FN.range** `function` `FN.range(start: int, end: int, step: int = 1) -> list[int]` Create a range of integers from start to end (exclusive), with a step size. **FN.regex_extract** `function` `FN.regex_extract(pattern: str, text: str) -> str | None` Extract the first captured group from text; fallback to full match if none. **FN.regex_match** `function` `FN.regex_match(pattern: str, text: str) -> bool` Check if text matches regex pattern. **FN.regex_not_match** `function` `FN.regex_not_match(pattern: str, text: str) -> bool` Check if text does not match regex pattern. **FN.replace** `function` `FN.replace(x: str, old: str, new: str) -> str` Replace all occurrences of old substring with new substring. **FN.seconds** `function` `FN.seconds(x: int) -> timedelta` Create timedelta with specified seconds. **FN.seconds_between** `function` `FN.seconds_between(start: datetime | str, end: datetime | str) -> float` Seconds between two datetimes. **FN.serialize** `function` `FN.serialize(x: Any) -> str` Serialize a JSON-compatible value to string. **FN.serialize_json** `function` `FN.serialize_json(x: Any) -> str` Convert object to JSON string. **FN.serialize_yaml** `function` `FN.serialize_yaml(x: Any) -> str` Serialize object to YAML string. **FN.set_timezone** `function` `FN.set_timezone(x: datetime | str, timezone: str) -> datetime` Convert datetime to different timezone. Timezone must be a valid IANA timezone name (e.g., "America/New_York"). **FN.slice** `function` `FN.slice(x: str, start_index: int, length: int) -> str` Extract a substring from start_index with given length. **FN.slugify** `function` `FN.slugify(x: str) -> str` Slugify a string. **FN.split** `function` `FN.split(x: str, sep: str) -> list[str]` Split a string into a list of strings by a seperator. **FN.startswith** `function` `FN.startswith(x: str, suffix: str) -> bool` Check if a string starts wit a specified suffix. **FN.strip** `function` `FN.strip(x: str, chars: str) -> str` Removes all leading and trailing characters. **FN.sub** `function` `FN.sub(a: float | int, b: float | int) -> float | int` Subtract second number from first number. **FN.suffix** `function` `FN.suffix(x: str | list[str], suffix: str) -> str | list[str]` Add a suffix to a string or list of strings. **FN.sum** `function` `FN.sum(iterable: Iterable[float | int], start: float | int = 0) -> float | int` Return the sum of a 'start' value (default: 0) plus an iterable of numbers. **FN.symmetric_difference** `function` `FN.symmetric_difference(a: Sequence[Any], b: Sequence[Any]) -> list[Any]` Return a list of elements that are in either sequence but not in both. **FN.tabulate** `function` `FN.tabulate(x: list[dict[str, typing.Any]], format: Literal[markdown, html, csv, xml]) -> str` Format list of objects into `markdown`, `html`, `csv`, or `xml` **FN.titleize** `function` `FN.titleize(x: str) -> str` Convert a string to titlecase. **FN.to_base64** `function` `FN.to_base64(x: str) -> str` Encode string to base64. **FN.to_base64url** `function` `FN.to_base64url(x: str) -> str` Encode string to URL-safe base64. **FN.to_datetime** `function` `FN.to_datetime(x: Any, timezone: str | None = None) -> datetime` Convert to timezone-aware datetime object from timestamp (in seconds), ISO 8601 string or existing datetime. **FN.to_isoformat** `function` `FN.to_isoformat(x: datetime | str, timespec: str = auto) -> str` Convert datetime to ISO format string. **FN.to_keys** `function` `FN.to_keys(x: dict[Any, Any]) -> list[Any]` Extract keys from an object. **FN.to_markdown_list** `function` `FN.to_markdown_list(x: list[str], ordered: bool = False) -> str` Format list of strings into Markdown list. **FN.to_markdown_table** `function` `FN.to_markdown_table(x: list[dict[str, typing.Any]]) -> str` Format list of dictionaries into Markdown table. **FN.to_markdown_tasks** `function` `FN.to_markdown_tasks(x: list[str]) -> str` Format list of strings into Markdown tasks. **FN.to_time** `function` `FN.to_time(x: datetime | str) -> time` Convert datetime to time. **FN.to_timestamp** `function` `FN.to_timestamp(x: datetime | str, unit: str = s) -> int` Convert datetime to timestamp in milliseconds ('ms') or seconds ('s'). **FN.to_values** `function` `FN.to_values(x: dict[Any, Any]) -> list[Any]` Extract values from an object. **FN.today** `function` `FN.today() -> date` Return workflow logical time date (local) or current date if outside workflow. **FN.union** `function` `FN.union(a: Sequence[Any], b: Sequence[Any]) -> list[Any]` Return a list containing the union of elements from two sequences. **FN.unique** `function` `FN.unique(items: Sequence[Any]) -> list[Any]` List of hashable items (e.g. strings, numbers) to remove duplicates from. **FN.unset_timezone** `function` `FN.unset_timezone(x: datetime | str) -> datetime` Remove timezone information from datetime without changing the time. **FN.uppercase** `function` `FN.uppercase(x: str) -> str` Convert string to uppercase. **FN.url_decode** `function` `FN.url_decode(x: str) -> str` Converts percent-encoded characters back into their original form. **FN.url_encode** `function` `FN.url_encode(x: str) -> str` Converts URL-unsafe characters into percent-encoded characters. **FN.utcnow** `function` `FN.utcnow(as_isoformat: bool = False, timespec: str = auto) -> datetime | str` Return workflow logical time (UTC, aware) or current UTC time if outside workflow. **FN.uuid4** `function` `FN.uuid4() -> str` Generate a random UUID string. **FN.wall_clock** `function` `FN.wall_clock(as_isoformat: bool = False, timespec: str = auto) -> datetime | str` Return actual current wall clock time (local, naive). **FN.weeks** `function` `FN.weeks(x: int) -> timedelta` Create timedelta with spcified weeks **FN.weeks_between** `function` `FN.weeks_between(start: datetime | str, end: datetime | str) -> float` Weeks between two datetimes or dates. **FN.windows_filetime** `function` `FN.windows_filetime(x: datetime | str) -> int` Convert datetime to Windows filetime. **FN.zip** `function` `FN.zip(*iterables: Sequence[Any]) -> list[tuple[Any, ...]]` Zip multiple sequences together. **FN.zip_map** `function` `FN.zip_map(x: list[str], y: list[str]) -> dict[str, str]` Zip two arrays into list of key-value pairs, then convert into mapping. ## Operator equivalents **||** `operator` Equivalent function names: `FN.or` **&&** `operator` Equivalent function names: `FN.and` **==** `operator` Equivalent function names: `FN.is_equal` **!=** `operator` Equivalent function names: `FN.is_not_equal`, `FN.not_equal` **\<** `operator` Equivalent function names: `FN.less_than` **\<=** `operator` Equivalent function names: `FN.less_than_or_equal` **>** `operator` Equivalent function names: `FN.greater_than` **>=** `operator` Equivalent function names: `FN.greater_than_or_equal` **+** `operator` Equivalent function names: `FN.add` **-** `operator` Equivalent function names: `FN.sub` \*\*\*\*\* `operator` Equivalent function names: `FN.mul` **/** `operator` Equivalent function names: `FN.div` **%** `operator` Equivalent function names: `FN.mod` **in** `operator` Equivalent function names: `FN.contains`, `FN.is_in` **not in** `operator` Equivalent function names: `FN.does_not_contain`, `FN.is_not_in`, `FN.not_in` # JSONPath Source: https://docs.tracecat.com/cheatsheets/jsonpath Quick reference for JSONPath syntax, filters, and access patterns used in Tracecat expressions to read fields from triggers, actions, secrets, and variables. ## Filter patterns Equality: ```yaml Expression theme={null} high_alerts: ${{ TRIGGER.alerts[?(@.severity == "high")] }} open_findings: ${{ ACTIONS.fetch_findings.result.items[?(@.status == "open")] }} ``` ```json Result theme={null} { "high_alerts": [{"id": "al-1", "severity": "high"}], "open_findings": [{"id": "f-1", "status": "open"}] } ``` Inequality: ```yaml Expression theme={null} secondary_roles: ${{ ACTIONS.parse_event.result.included[?(@.attributes.incident_role.data.attributes.slug != "primary-role")] }} ``` ```json Result theme={null} { "secondary_roles": [ { "attributes": { "incident_role": { "data": { "attributes": { "slug": "secondary-role" } } } } } ] } ``` Numeric comparison: ```yaml Expression theme={null} critical_scores: ${{ ACTIONS.lookup_users.result.users[?(@.score >= 90)] }} recent_events: ${{ TRIGGER.events[?(@.count > 10)] }} ``` ```json Result theme={null} { "critical_scores": [{"name": "Alice", "score": 96}], "recent_events": [{"id": "evt-1", "count": 14}] } ``` Truthy field check: ```yaml Expression theme={null} users_with_email: ${{ ACTIONS.lookup_users.result.users[?(@.email)] }} alerts_with_owner: ${{ TRIGGER.alerts[?(@.owner)] }} ``` ```json Result theme={null} { "users_with_email": [{"name": "Alice", "email": "alice@example.com"}], "alerts_with_owner": [{"id": "al-1", "owner": "secops"}] } ``` String matching by exact value: ```yaml Expression theme={null} prod_hosts: ${{ ACTIONS.inventory.result.hosts[?(@.environment == "prod")] }} linux_hosts: ${{ ACTIONS.inventory.result.hosts[?(@.os == "linux")] }} ``` ```json Result theme={null} { "prod_hosts": [{"hostname": "api-1", "environment": "prod"}], "linux_hosts": [{"hostname": "api-1", "os": "linux"}, {"hostname": "worker-1", "os": "linux"}] } ``` Nested field checks: ```yaml Expression theme={null} owned_devices: ${{ TRIGGER.assets[?(@.owner.name == "SecOps")] }} resolved_cases: ${{ ACTIONS.search_cases.result.items[?(@.status.name == "resolved")] }} ``` ```json Result theme={null} { "owned_devices": [{"id": "dev-1", "owner": {"name": "SecOps"}}], "resolved_cases": [{"id": "case-2", "status": {"name": "resolved"}}] } ``` Filter and project a nested field: ```yaml Expression theme={null} role_slugs: ${{ ACTIONS.parse_event.result.included[?(@.attributes.incident_role.data.attributes.slug)].attributes.incident_role.data.attributes.slug }} ``` ```json Result theme={null} { "role_slugs": ["primary-role", "secondary-role"] } ``` Filter and return one field from matching rows: ```yaml Expression theme={null} open_ids: ${{ ACTIONS.fetch_findings.result.items[?(@.status == "open")].id }} ``` ```json Result theme={null} { "open_ids": ["f-1", "f-3"] } ``` ## Return behavior * Single matches return a scalar. * Wildcards return a list. * Filters return a list. * Non-existent fields return `None` (no error is raised). Examples: ```yaml Expression theme={null} name: ${{ TRIGGER.user.name }} ``` ```json Result theme={null} { "name": "Alice" } ``` ```yaml Expression theme={null} names: ${{ TRIGGER.users[*].name }} ``` ```json Result theme={null} { "names": ["Alice", "Bob", "Carol"] } ``` ## Examples Trigger data: ```yaml Expression theme={null} email: ${{ TRIGGER.user.email }} ``` ```json Result theme={null} { "email": "alice@example.com" } ``` Action result: ```yaml Expression theme={null} ticket_id: ${{ ACTIONS.create_ticket.result.id }} ``` ```json Result theme={null} { "ticket_id": "T-123" } ``` Array item: ```yaml Expression theme={null} first_tag: ${{ ACTIONS.lookup_tags.result.tags[0] }} ``` ```json Result theme={null} { "first_tag": "malware" } ``` Wildcard: ```yaml Expression theme={null} tag_names: ${{ ACTIONS.lookup_tags.result.tags[*] }} ``` ```json Result theme={null} { "tag_names": ["malware", "phishing", "credential-access"] } ``` Filter: ```yaml Expression theme={null} open_findings: ${{ ACTIONS.fetch_findings.result.items[?(@.status == "open")] }} ``` ```json Result theme={null} { "open_findings": [{"id": "f-1", "status": "open"}, {"id": "f-3", "status": "open"}] } ``` Filter and project: ```yaml Expression theme={null} open_titles: ${{ ACTIONS.fetch_findings.result.items[?(@.status == "open")].title }} ``` ```json Result theme={null} { "open_titles": ["Suspicious login", "Impossible travel"] } ``` ## Related pages * See [JSONPath](/automations/core-concepts/jsonpath) for core concepts and syntax. * See [Expressions](/automations/core-concepts/expressions) for expression syntax and contexts. * See [Functions](/automations/core-concepts/functions) for helper functions you can use alongside JSONPath access. # Transformations Source: https://docs.tracecat.com/cheatsheets/transformations Recipes for common data transformations in Tracecat workflows: merging results, joining lists to table rows, date windows, filters, branch rejoins, and deduplicated writes. ## Add a field to an upstream result Use `FN.merge` to combine an upstream result with new fields. Later objects in the list win on key conflicts: ```yaml Expression theme={null} - ref: enrich_alert action: core.transform.reshape args: value: '${{ FN.merge([ACTIONS.get_alert.result, {"triaged": True}]) }}' ``` ```json Result theme={null} { "id": "A-001", "severity": "high", "triaged": true } ``` ## Join a list of IDs to table rows Look up one row per ID with `for_each`: ```yaml theme={null} - ref: get_hosts action: core.table.lookup for_each: ${{ for var.host_id in TRIGGER.host_ids }} args: table: hosts column: id value: ${{ var.host_id }} ``` `for_each` returns one result per item, in input order. Build an ID-to-row mapping with `FN.zip_map`: ```yaml Expression theme={null} host_map: ${{ FN.zip_map(TRIGGER.host_ids, ACTIONS.get_hosts.result) }} ``` ```json Result theme={null} { "host_map": { "h-1": {"id": "h-1", "hostname": "api-1", "owner": "secops"}, "h-2": {"id": "h-2", "hostname": "worker-1", "owner": "platform"} } } ``` If you do not already have the IDs, project them off the rows with `[*]`, then read an entry by key: ```yaml theme={null} host_map: ${{ FN.zip_map(ACTIONS.get_hosts.result[*].id, ACTIONS.get_hosts.result) }} host: ${{ ACTIONS.build_host_map.result["h-2"] }} ``` ## Dates and time windows Current time as an ISO string. Pass `"seconds"` to drop microseconds: ```yaml Expression theme={null} local_now: ${{ FN.to_isoformat(FN.now(), "seconds") }} utc_now: ${{ FN.to_isoformat(FN.utcnow(), "seconds") }} ``` ```json Result theme={null} { "local_now": "2026-08-24T17:20:00", "utc_now": "2026-08-24T21:20:00+00:00" } ``` A search window starting N days ago: ```yaml Expression theme={null} start_time: ${{ FN.to_isoformat(FN.now() - FN.days(7), "seconds") }} end_time: ${{ FN.to_isoformat(FN.now(), "seconds") }} ``` ```json Result theme={null} { "start_time": "2026-08-17T17:20:00", "end_time": "2026-08-24T17:20:00" } ``` Midnight N days ago as a Python script: ```yaml theme={null} - ref: window_start action: core.script.run_python args: inputs: days: 7 script: | from datetime import datetime, time, timedelta def main(days): cutoff = datetime.now() - timedelta(days=days) return datetime.combine(cutoff.date(), time.min).isoformat() ``` Format, parse, and convert timezones. `format_datetime` takes a `strftime` pattern, `to_datetime` accepts ISO strings and epoch seconds, and `set_timezone` takes an IANA name: ```yaml Expression theme={null} day: ${{ FN.format_datetime(FN.now(), "%Y-%m-%d") }} parsed: ${{ FN.to_isoformat(FN.to_datetime(TRIGGER.created_at), "seconds") }} local: ${{ FN.to_isoformat(FN.set_timezone(TRIGGER.created_at, "America/New_York"), "seconds") }} ``` ```json Result theme={null} { "day": "2026-08-24", "parsed": "2026-08-10T09:30:00+02:00", "local": "2026-08-10T03:30:00-04:00" } ``` ## Filter a list and count matches A JSONPath filter returns the matching items as a list. When nothing matches it returns an empty list, never `None`: ```yaml Expression theme={null} high_alerts: ${{ TRIGGER.alerts[?(@.severity == "high")] }} high_ids: ${{ TRIGGER.alerts[?(@.severity == "high")].id }} no_matches: ${{ TRIGGER.alerts[?(@.severity == "critical")] }} ``` ```json Result theme={null} { "high_alerts": [{"id": "al-1", "severity": "high"}, {"id": "al-3", "severity": "high"}], "high_ids": ["al-1", "al-3"], "no_matches": [] } ``` Count matches with `FN.length`, and take a single value with `FN.at`: ```yaml Expression theme={null} high_count: ${{ FN.length(TRIGGER.alerts[?(@.severity == "high")]) }} first_high_id: ${{ FN.at(TRIGGER.alerts[?(@.severity == "high")].id, 0) }} ``` ```json Result theme={null} { "high_count": 2, "first_high_id": "al-1" } ``` `FN.at` indexes into a filter result; appending `[0]` to the path indexes into each matched value instead. See [Common mistakes](/cheatsheets/common-mistakes#indexing-a-filter-result). ## Rejoin mutually exclusive branches When `run_if` sends a workflow down one of two branches, rejoin them with `join_strategy: any` on the downstream action. With the default `all`, a join with one skipped branch and one that ran is unreachable and the run fails: ```yaml theme={null} - ref: block_ip action: core.http_request run_if: ${{ TRIGGER.severity == "high" }} args: url: https://firewall.example.com/block method: POST payload: ip: ${{ TRIGGER.src_ip }} - ref: log_only action: core.transform.reshape run_if: ${{ TRIGGER.severity != "high" }} args: value: status: logged - ref: update_case action: core.transform.reshape depends_on: - block_ip - log_only join_strategy: any args: value: outcome: ${{ ACTIONS.block_ip.result || ACTIONS.log_only.result }} ``` Referencing only the skipped branch's result silently yields `null`; `||` reads whichever branch ran. ## Insert rows without duplicates Give the table a unique index, then insert with `upsert: true`: ```yaml theme={null} - ref: store_iocs action: core.table.insert_rows args: table: seen_iocs rows_data: ${{ TRIGGER.iocs }} upsert: true ``` See [Tables](/automations/tables#index-and-upsert) for creating the index and the constraints on it. ## Apply a function to every item Every `FN` function has a `.map` variant that applies it to each item in a list: ```yaml Expression theme={null} upper_tags: ${{ FN.uppercase.map(TRIGGER.tags) }} timestamps: ${{ FN.to_isoformat.map(ACTIONS.get_domain_record.result.events[*].eventDate) }} ``` ```json Result theme={null} { "upper_tags": ["AUTH", "AUTH", "CRITICAL"], "timestamps": ["2015-03-20T00:00:00", "2030-01-01T00:00:00"] } ``` Scalar arguments broadcast across the list, so `${{ FN.prefix.map(TRIGGER.tags, "tag-") }}` prefixes every tag. Two lists of unequal length silently truncate to the shorter one: `${{ FN.add.map([1, 2, 3], [10, 20]) }}` returns `[11, 22]`. `core.transform.map` applies a `python_lambda` to each item: ```yaml theme={null} - ref: normalize_hostnames action: core.transform.map args: items: ${{ TRIGGER.hostnames }} python_lambda: "lambda h: h.strip().lower()" ``` ## Related pages * See [Common mistakes](/cheatsheets/common-mistakes) for the expression errors these recipes avoid. * See [JSONPath](/cheatsheets/jsonpath) for the full filter syntax used in the list recipes. * See [Functions](/cheatsheets/functions) for the complete `FN` function reference. * See [Python script](/automations/core-actions/transform-actions/python-script) for the `core.script.run_python` contract, dependencies, and SDK access. * See [Tables](/automations/tables) for table schemas, column types, and search behavior behind the deduplication recipe. # Workflow metadata Source: https://docs.tracecat.com/cheatsheets/workflow-metadata Quick reference for the ENV fields available in Tracecat expressions: workflow run identifiers, timestamps, trigger type, and Workflow environment. ## Fields Wrap a field in `${{ ... }}` to use it in an expression. | Field | Description | | - | - | | `ENV.workflow.start_time` | Wall-clock time the run started | | `ENV.workflow.time_anchor` | Anchor timestamp Tracecat uses for deterministic replay | | `ENV.workflow.dispatch_type` | `push` when the caller supplied the workflow definition, `pull` when the run fetched the committed definition | | `ENV.workflow.execution_id` | Unique ID of this workflow execution | | `ENV.workflow.run_id` | UUID of this execution's current run attempt | | `ENV.workflow.trigger_type` | `manual`, `scheduled`, `webhook`, `case`, or `form` | | `ENV.workflow.logical_time` | Logical timestamp of the current action; `FN.now()` returns it. A `run_if` evaluated before any action has run sees `None` | | `ENV.environment` | The [Workflow environment](/automations/workflows#environments) the run executes in | Every `ENV.*` expression resolves to `None` in an action invoked as an agent tool. ## Examples Branch on the trigger type: ```yaml Expression theme={null} run_if: ${{ ENV.workflow.trigger_type == "webhook" }} ``` ```json Result theme={null} { "run_if": true } ``` ## Related pages * See [Workflow metadata](/automations/core-concepts/workflow-metadata) for concepts and when to use each field. * See [Expressions](/automations/core-concepts/expressions) for expression syntax and contexts. # Custom registry Source: https://docs.tracecat.com/custom-actions/custom-registry Sync custom Python and YAML actions into Tracecat through your own registry: version, share, and reuse organization-specific automations across workspaces. You can build your own actions and use them in agents and workflows through Tracecat's custom registry feature. ## Why use a custom registry * Version control your code separate from Tracecat * Reuse your custom actions in multiple agents and workflows * Easily update your custom actions across all agents and workflows ## Permissions Custom registry is an organization-level feature and syncs across all workspaces. You must have the "Organization Admin" role to add and manage the custom registry. ## Installation **1. Clone the custom registry starter kit** Clone the [custom registry starter kit](https://github.com/TracecatHQ/custom-integrations-starter-kit) from GitHub. ![Clone GitHub template](https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/custom-actions/clone-github-template.png?fit=max\&auto=format\&n=9IEnC4OWdnuB3EvN\&q=85\&s=eea42b8af83c33637d9afe4ee41aee91) **2. Add an SSH key** Tracecat clones the repository over SSH. Generate an Ed25519 SSH key pair without a passphrase and add the public key to the repository as a read-only deploy key (GitHub: repository Settings -> Deploy keys). ```bash theme={null} ssh-keygen -t ed25519 -N "" -f tracecat-registry ``` > [!NOTE] > > The custom registry only supports Ed25519 SSH keys. Tracecat rejects RSA, ECDSA, and other key types. Go to Organization settings -> Custom registry -> Repository, click "Add SSH key" in the SSH key section, and paste the private key. The name is fixed to `github-ssh-key` and the environment to `default`. Tracecat looks the registry key up by this exact name, whichever Git host you use. To rotate the key, click "Replace SSH key" in the same section. ![SSH key dialog](https://mintcdn.com/tracecat/8rG7WkYQgVdaOGV-/img/custom-actions/github-ssh-key.png?fit=max\&auto=format\&n=8rG7WkYQgVdaOGV-\&q=85\&s=d2a7e42c0d3a497f0f70e903b7bc1491) **3. Add registry to Tracecat** Go to Organization settings -> Custom registry -> Repository. Set the remote repository URL, repository package name, and allowed Git domains, then click "Save repository settings". The remote repository URL is a pip URL of the form `git+ssh://git@github.com/your-org/your-repo.git`. The package name is the name of the Python package (e.g. the parent folder named `custom_actions` in the starter kit) in the repo. ![Custom registry settings](https://mintcdn.com/tracecat/8rG7WkYQgVdaOGV-/img/custom-actions/custom-registry-settings.png?fit=max\&auto=format\&n=8rG7WkYQgVdaOGV-\&q=85\&s=e3a6e809b742991ed3e9107ddcc4639e) **4. Sync the registry** Go to Organization settings -> Custom registry -> Versions. The table lists the commits on the branch named by the repository URL's `@ref` suffix (`main` when absent), newest first, with a `HEAD` badge on the latest. Click "Sync from remote" in the page header and confirm to sync `HEAD`. If the page shows an SSH error, check that the SSH key section on the Repository page lists `github-ssh-key` and that its public key is installed on the repository. ![Sync from remote](https://mintcdn.com/tracecat/8rG7WkYQgVdaOGV-/img/custom-actions/sync-from-remote.png?fit=max\&auto=format\&n=8rG7WkYQgVdaOGV-\&q=85\&s=6c65f610a355784485b9c7ca8d60511e) ## Sync from CI Use an organization service account with `org:registry:read` and `org:registry:update` to sync from a CI pipeline. Copy the repository ID from the Versions page, or list repositories with `GET /api/registry/repos`. ```bash theme={null} curl -X POST https://platform.tracecat.com/api/registry/repos//sync \ --header "Authorization: Bearer " \ --header "Content-Type: application/json" \ --data '{"target_commit_sha": ""}' ``` Omit the body to sync `HEAD`. The service account does not need `org:secret:read` to use the registry SSH key for the repository URL set on the Repository page. Registry scopes do not cover other repository origins; syncing those with the SSH key requires `org:secret:read`. ## Manage versions Each sync creates a version pinned to its source commit. On the Versions page, every row shows the commit, its message and author, its status (`Current`, `Synced`, or `Not synced`), and when you last synced it. Open the row menu to act on a version. ![Version actions](https://mintcdn.com/tracecat/8rG7WkYQgVdaOGV-/img/custom-actions/change-commit.png?fit=max\&auto=format\&n=8rG7WkYQgVdaOGV-\&q=85\&s=4edd5db618ac3bb7de99c95bdf1a91aa) * "Sync this commit" syncs a commit you have not synced yet. * "Promote" makes an already-synced version the current one. Promote an earlier version to roll back. * "Compare..." shows the actions added, removed, and modified between two versions. * "Delete" removes a synced version. Tracecat blocks deletion of the current version and of any version that published workflows use. Synced versions whose commit no longer appears in the commit list are grouped under "Other synced versions" below the table, with the same row menu. ## How custom registry works When you sync a registry, Tracecat: * Pulls the latest code from the remote repository * Converts the package and its dependencies into a tarball using `uv` * Uploads the tarball to S3-compatible object storage * Tarballs are stored in the bucket specified in the `TRACECAT__BLOB_STORAGE_BUCKET_REGISTRY` environment variable > [!NOTE] > > Published workflows run actions synced at the time of publication. > When triggered, the Tracecat executor pulls the pinned version of the platform registry and custom registry tarballs from S3. > > You must republish a workflow to use the latest platform and custom actions. > Even if there were no changes to the workflow itself. ## Dependency conflicts When Tracecat syncs your registry, it imports your actions alongside Tracecat's own runtime packages, and your registry's dependencies take precedence. If your registry pins a package that Tracecat also uses to an incompatible version, the sync fails with a dependency conflict error. To fix it: * Remove the pin, or widen it to include the version Tracecat uses. Tracecat's pinned versions are in [`uv.lock`](https://github.com/TracecatHQ/tracecat/blob/main/uv.lock); switch to your release's tag to see the versions you run. * If a transitive dependency adds the pin, run `uv tree --invert --package ` to find which dependency pulls it in. * Avoid upper bounds on shared packages, so your registry keeps syncing when Tracecat upgrades them. ## FAQ > [accordion] Does Tracecat support self-hosted Git repositories? > > Yes. Tracecat works with Gitlab and GitHub Enterprise. > [accordion] Can I rename my custom Python package name? > > Yes. The package name from the starter kit is `custom_actions`. > To rename it, you'll need to rename the: > > * `custom_actions` folder to `my_new_package_name` > * Project name in `pyproject.toml` to `my_new_package_name` > > Note: Python package names must be snake_case. > [accordion] Can I rename the git repo? > > Yes. You can rename the git repo. It does not need to have the same name as the Python package. > [accordion] How can I add new Python dependencies? > > You must specify new dependencies in the `dependencies` section of the `pyproject.toml` file. > Keep versions compatible with Tracecat's runtime packages. See [dependency conflicts](#dependency-conflicts). > [accordion] Can I test actions without syncing on every change? > > Yes. For local Docker deployments, you can hot reload custom actions into Tracecat with a local registry. > See [local development](/custom-actions/local-development) for more details. # Local development Source: https://docs.tracecat.com/custom-actions/local-development Hot-reload custom Python and YAML actions while developing locally against Tracecat: iterate on registry code with fast feedback loops and live workflow runs. You can test custom actions locally without syncing on every change. Local registry should only be used for development. Production deployments should use remote [custom registry](/custom-actions/custom-registry) sync. ## Why local development * Faster feedback loop * No need to sync on every change * No need to republish a workflow to use the latest platform and custom actions ## How to enable local development In your `.env` file, set the following environment variables: 1. `TRACECAT__LOCAL_REPOSITORY_ENABLED` to `true` 2. `TRACECAT__LOCAL_REPOSITORY_PATH` to the path of your local repository e.g. `~/repos/my-local-registry` 3. `PYTHONPATH` to `/app/local_registry:` ```bash theme={null} TRACECAT__LOCAL_REPOSITORY_ENABLED=true TRACECAT__LOCAL_REPOSITORY_PATH=~/dev/org/internal-registry PYTHONPATH=/app/local_registry: ``` # Python UDFs Source: https://docs.tracecat.com/custom-actions/python-udf Build custom Python actions for Tracecat: declare inputs and outputs, package dependencies, and expose user-defined functions to workflows and agents. Tracecat makes it easy to turn your Python scripts into actions for agents and workflows. All you need is: * A single Python decorator, `@registry.register` * `from typing import Annotated` * `from typing_extensions import Doc` ## Quick start 1. Add a Python file to your custom registry package. 2. Register one async function with `@registry.register(...)`. 3. Define typed inputs, read secrets with `secrets.get(...)`, and return JSON-serializable data. ```python theme={null} from typing import Annotated from typing_extensions import Doc from tracecat_registry import registry, RegistrySecret, secrets # (Optional) Define secrets used in the function secret_name = RegistrySecret( name="secret_name", keys=["SECRET_NAME"], optional_keys=["OPTIONAL_SECRET_NAME"], ) # Register the function as a Tracecat UDF @registry.register( default_title="Say goodbye secretly", description="This is a function that says goodbye", display_group="Greetings", namespace="integrations.greetings", # (Optional) Define secrets used in the function secrets=[secret_name], ) async def say_goodbye_secretly( name: Annotated[str, Doc("The name to say goodbye to")], ): secret = secrets.get("SECRET_NAME") # We're returning the secret for demonstration only. # Do not do this in your own functions! return {"message": f"Goodbye, {name}! Secret: {secret}"} ``` ## What to define * Use `tools.` for the namespace. * Set `default_title`, `description`, `display_group`, `doc_url`, and `namespace` in `@registry.register(...)`. * Define action inputs with type hints and `Field(..., description=...)`. * Define required credentials with `RegistrySecret(...)` and pass them in `secrets=[...]`. * Read secret values with `secrets.get(...)`. * Return plain dicts, lists, strings, numbers, or booleans. ## Declaring secret types By default, secrets are `custom` (arbitrary key-value). If your action requires an SSH key, mTLS certificate, or CA certificate, set `secret_type` so the credentials UI renders the correct form. | `secret_type` | Required `keys` | Description | | - | - | - | | `"custom"` | Any | Generic key-value pairs (default) | | `"ssh_key"` | `["PRIVATE_KEY"]` | SSH private key (PEM) | | `"mtls"` | `["TLS_CERTIFICATE", "TLS_PRIVATE_KEY"]` | mTLS client certificate and key | | `"ca_cert"` | `["CA_CERTIFICATE"]` | CA certificate bundle | ### Examples ```python theme={null} # SSH key secret — renders an SSH private key textarea in the UI ssh_secret = RegistrySecret( name="ansible", keys=["PRIVATE_KEY"], secret_type="ssh_key", ) # mTLS secret — renders certificate + key textareas mtls_secret = RegistrySecret( name="mtls", keys=["TLS_CERTIFICATE", "TLS_PRIVATE_KEY"], secret_type="mtls", optional=True, ) # CA certificate secret — renders a certificate textarea ca_cert_secret = RegistrySecret( name="ca_cert", keys=["CA_CERTIFICATE"], secret_type="ca_cert", optional=True, ) # Custom secret (default) — renders key-value inputs api_secret = RegistrySecret( name="slack", keys=["SLACK_BOT_TOKEN"], ) ``` `secret_type` uses snake_case everywhere — Python declarations, the API, and the UI all use the same values (`ssh_key`, `ca_cert`, `mtls`, `custom`). Use the same `${{ SECRETS... }}` syntax as workflow actions. Custom secrets (API keys, SSH, mTLS, CA bundles, and so on): ```yaml theme={null} ${{ SECRETS.. }} ``` ## OAuth OAuth expressions use the provider's exact ID, not its display name. * Built-in providers use stable lowercase IDs assigned by Tracecat, with underscores between words, such as `slack`, `google_drive`, and `microsoft_sentinel`. * Custom providers use an ID derived from the provider name, or from the requested ID when you create one through the API. Tracecat slugifies it with underscores and prepends `custom_`. `My Security API` becomes `custom_my_security_api`. If that ID is already used for the same grant type, Tracecat appends `_1`, `_2`, and so on. Append `_oauth` to the exact provider ID for the secret name. For the key, uppercase the complete provider ID, preserve its underscores and any numeric suffix, then append `_USER_TOKEN` for `authorization_code` or `_SERVICE_TOKEN` for `client_credentials`. ```yaml theme={null} # authorization_code grant ${{ SECRETS._oauth._USER_TOKEN }} # client_credentials grant ${{ SECRETS._oauth._SERVICE_TOKEN }} ``` A built-in `google_drive` authorization-code provider and a custom `custom_my_security_api` client-credentials provider resolve as: ```yaml theme={null} ${{ SECRETS.google_drive_oauth.GOOGLE_DRIVE_USER_TOKEN }} ${{ SECRETS.custom_my_security_api_oauth.CUSTOM_MY_SECURITY_API_SERVICE_TOKEN }} ``` When the provider has **both** grant types configured, you can fall back across both keys: ```yaml theme={null} ${{ SECRETS.microsoft_sentinel_oauth.MICROSOFT_SENTINEL_USER_TOKEN || SECRETS.microsoft_sentinel_oauth.MICROSOFT_SENTINEL_SERVICE_TOKEN }} ``` > [!WARNING] > > Validation checks both sides of a `||` independently, so this fallback only > passes when the provider is configured for both `authorization_code` and > `client_credentials`. If only one grant is set up, reference that grant's key > directly — otherwise the workflow fails validation on the missing one. > [!NOTE] > > Tracecat refreshes expiring authorization-code tokens when the provider > issued a refresh token, and reacquires client-credentials tokens with the > stored client credentials. The expression resolves only to the current > access-token string, which may be a JWT or an opaque token, not the refresh > token. ## Python UDFs Declare credentials in `@registry.register(..., secrets=[...])`. * `RegistrySecret`: static keys; set `secret_type` to `ssh_key`, `mtls`, or `ca_cert` when needed ([secret types](/automations/core-concepts/secrets)). Optional: `optional`, `optional_keys`. * `RegistryOAuthSecret`: declares a dependency on an existing OAuth integration. Pass the `provider_id` and `grant_type` that match the integration in your workspace (a mismatch — for example declaring `authorization_code` when the integration uses `client_credentials` — will not resolve). Read values with `secrets.get("")` (key only, e.g. `GOOGLE_DRIVE_USER_TOKEN`), not a `SECRETS.` path. ```python theme={null} from tracecat_registry import RegistryOAuthSecret, RegistrySecret, registry, secrets api = RegistrySecret(name="exa", keys=["EXA_API_KEY"]) oauth = RegistryOAuthSecret( provider_id="google_drive", grant_type="authorization_code", ) ``` ## YAML Under `definition`, set a `secrets` list (same validator as Python). Custom (optional `secret_type` for structured secrets): ```yaml theme={null} definition: secrets: - name: exa keys: ["EXA_API_KEY"] - name: ansible keys: ["PRIVATE_KEY"] secret_type: ssh_key ``` OAuth: ```yaml theme={null} definition: secrets: - type: oauth provider_id: microsoft_teams grant_type: authorization_code ``` The `provider_id` and `grant_type` must match an integration already configured in your workspace. Use `${{ SECRETS._oauth. }}` in `args`. Set `optional: true` on an OAuth entry when it is not always required. ## Example providers See [`integrations/google_api.py`](https://github.com/TracecatHQ/tracecat/blob/main/packages/tracecat-registry/tracecat_registry/integrations/google_api.py) (`google_oauth_secret`, provider `google`, grant `client_credentials`) and [`integrations/slack_sdk.py`](https://github.com/TracecatHQ/tracecat/blob/main/packages/tracecat-registry/tracecat_registry/integrations/slack_sdk.py) for UDFs that use OAuth credentials. See [`tracecat_registry/core/ssh.py`](https://github.com/TracecatHQ/tracecat/blob/main/packages/tracecat-registry/tracecat_registry/core/ssh.py) for an `ssh_key` secret example. For YAML templates, see [`microsoft_teams/send_message.yml`](https://github.com/TracecatHQ/tracecat/blob/main/packages/tracecat-registry/tracecat_registry/templates/tools/microsoft_teams/send_message.yml) (`authorization_code`), [`google_docs/create_document.yml`](https://github.com/TracecatHQ/tracecat/blob/main/packages/tracecat-registry/tracecat_registry/templates/tools/google_docs/create_document.yml) (`client_credentials`), and [`microsoft_sentinel/.../get_alert_rule_template.yml`](https://github.com/TracecatHQ/tracecat/blob/main/packages/tracecat-registry/tracecat_registry/templates/tools/microsoft_sentinel/alert_rules/get_alert_rule_template.yml) (optional dual grant). See [`templates/tools/exa/search.yml`](https://github.com/TracecatHQ/tracecat/blob/main/packages/tracecat-registry/tracecat_registry/templates/tools/exa/search.yml) for a simple API key template. For the full list of built-in provider IDs, see [`tracecat/integrations/providers/__init__.py`](https://github.com/TracecatHQ/tracecat/blob/main/tracecat/integrations/providers/__init__.py). ## Private network access Python UDFs can call hosts on a private or on-premises network through a [tunnel](/manage-platform/tunnels). The tunnel reaches your action as the standard `HTTP_PROXY` and `HTTPS_PROXY` environment variables, which `httpx`, `requests`, and most SDKs read by default. Keep that default: do not set `trust_env=False` or open raw sockets, or the request bypasses the tunnel and fails. ## Example actions You can browse all open-source integrations in Tracecat in [tools actions](https://github.com/TracecatHQ/tracecat/tree/main/packages/tracecat-registry/tracecat_registry/integrations). Use [template actions](https://github.com/TracecatHQ/tracecat/tree/main/packages/tracecat-registry/tracecat_registry/templates/tools) to see how actions are composed, and use [core actions](https://github.com/TracecatHQ/tracecat/tree/main/packages/tracecat-registry/tracecat_registry/core) to inspect built-in implementations. For concrete examples, browse the [Slack](https://github.com/TracecatHQ/tracecat/blob/main/packages/tracecat-registry/tracecat_registry/integrations/slack_sdk.py), [AWS Boto3](https://github.com/TracecatHQ/tracecat/blob/main/packages/tracecat-registry/tracecat_registry/integrations/aws_boto3.py), and [FalconPy](https://github.com/TracecatHQ/tracecat/blob/main/packages/tracecat-registry/tracecat_registry/integrations/crowdstrike_falconpy.py) integrations. # YAML templates Source: https://docs.tracecat.com/custom-actions/yaml-template Build custom YAML template actions for Tracecat: compose existing actions and expressions into reusable, versioned building blocks for workflows and agents. Use a YAML action template to compose existing actions into a reusable action. ## Template shape Create a `.yml` file in your registry templates directory. Define inputs in `expects`, run actions in `steps`, and return the final value from `returns`. ```yaml theme={null} type: action definition: title: Post message description: Post a message to a Slack channel. display_group: Slack namespace: tools.slack name: post_message expects: channel: type: str description: The Slack channel ID. text: type: str description: The message text. steps: - ref: post_message action: tools.slack_sdk.call_method args: sdk_method: chat_postMessage params: channel: ${{ inputs.channel }} text: ${{ inputs.text }} returns: ${{ steps.post_message.result }} ``` * Start every file with `type: action`. * Use `tools.` for the namespace. * Set `title`, `description`, `display_group`, `namespace`, and `name` in `definition`. * Define inputs in `expects`. * Build the action in `steps`. * Return the final value from `returns`. ## Expressions Use `${{ }}` for expressions. Use `inputs` to read the inputs you defined in `expects`. Use `steps` to read the result of an earlier step. After a step runs, its output is available at `steps..result`. ```yaml Read an input theme={null} args: channel: ${{ inputs.channel }} text: ${{ inputs.text }} ``` ```yaml Read an earlier step result theme={null} returns: ${{ steps.post_message.result }} ``` ```yaml Build one step from another theme={null} steps: - ref: lookup_user action: tools.slack.users.lookup_user_by_email args: email: ${{ inputs.email }} - ref: post_message action: tools.slack.chat.post_message args: channel: ${{ steps.lookup_user.result.id }} text: Hello ``` You can use: * `inputs` * `steps` * `SECRETS` * `VARS` * `FN.*` ## Secrets Declare what each template needs under `definition.secrets` (API keys, structured types, or OAuth). That list drives which credentials must exist for the action when the workflow runs. Use the same `${{ SECRETS... }}` paths in `args` as in any other expression. Use the same `${{ SECRETS... }}` syntax as workflow actions. Custom secrets (API keys, SSH, mTLS, CA bundles, and so on): ```yaml theme={null} ${{ SECRETS.. }} ``` ## OAuth OAuth expressions use the provider's exact ID, not its display name. * Built-in providers use stable lowercase IDs assigned by Tracecat, with underscores between words, such as `slack`, `google_drive`, and `microsoft_sentinel`. * Custom providers use an ID derived from the provider name, or from the requested ID when you create one through the API. Tracecat slugifies it with underscores and prepends `custom_`. `My Security API` becomes `custom_my_security_api`. If that ID is already used for the same grant type, Tracecat appends `_1`, `_2`, and so on. Append `_oauth` to the exact provider ID for the secret name. For the key, uppercase the complete provider ID, preserve its underscores and any numeric suffix, then append `_USER_TOKEN` for `authorization_code` or `_SERVICE_TOKEN` for `client_credentials`. ```yaml theme={null} # authorization_code grant ${{ SECRETS._oauth._USER_TOKEN }} # client_credentials grant ${{ SECRETS._oauth._SERVICE_TOKEN }} ``` A built-in `google_drive` authorization-code provider and a custom `custom_my_security_api` client-credentials provider resolve as: ```yaml theme={null} ${{ SECRETS.google_drive_oauth.GOOGLE_DRIVE_USER_TOKEN }} ${{ SECRETS.custom_my_security_api_oauth.CUSTOM_MY_SECURITY_API_SERVICE_TOKEN }} ``` When the provider has **both** grant types configured, you can fall back across both keys: ```yaml theme={null} ${{ SECRETS.microsoft_sentinel_oauth.MICROSOFT_SENTINEL_USER_TOKEN || SECRETS.microsoft_sentinel_oauth.MICROSOFT_SENTINEL_SERVICE_TOKEN }} ``` > [!WARNING] > > Validation checks both sides of a `||` independently, so this fallback only > passes when the provider is configured for both `authorization_code` and > `client_credentials`. If only one grant is set up, reference that grant's key > directly — otherwise the workflow fails validation on the missing one. > [!NOTE] > > Tracecat refreshes expiring authorization-code tokens when the provider > issued a refresh token, and reacquires client-credentials tokens with the > stored client credentials. The expression resolves only to the current > access-token string, which may be a JWT or an opaque token, not the refresh > token. ## Python UDFs Declare credentials in `@registry.register(..., secrets=[...])`. * `RegistrySecret`: static keys; set `secret_type` to `ssh_key`, `mtls`, or `ca_cert` when needed ([secret types](/automations/core-concepts/secrets)). Optional: `optional`, `optional_keys`. * `RegistryOAuthSecret`: declares a dependency on an existing OAuth integration. Pass the `provider_id` and `grant_type` that match the integration in your workspace (a mismatch — for example declaring `authorization_code` when the integration uses `client_credentials` — will not resolve). Read values with `secrets.get("")` (key only, e.g. `GOOGLE_DRIVE_USER_TOKEN`), not a `SECRETS.` path. ```python theme={null} from tracecat_registry import RegistryOAuthSecret, RegistrySecret, registry, secrets api = RegistrySecret(name="exa", keys=["EXA_API_KEY"]) oauth = RegistryOAuthSecret( provider_id="google_drive", grant_type="authorization_code", ) ``` ## YAML Under `definition`, set a `secrets` list (same validator as Python). Custom (optional `secret_type` for structured secrets): ```yaml theme={null} definition: secrets: - name: exa keys: ["EXA_API_KEY"] - name: ansible keys: ["PRIVATE_KEY"] secret_type: ssh_key ``` OAuth: ```yaml theme={null} definition: secrets: - type: oauth provider_id: microsoft_teams grant_type: authorization_code ``` The `provider_id` and `grant_type` must match an integration already configured in your workspace. Use `${{ SECRETS._oauth. }}` in `args`. Set `optional: true` on an OAuth entry when it is not always required. ## Example providers See [`integrations/google_api.py`](https://github.com/TracecatHQ/tracecat/blob/main/packages/tracecat-registry/tracecat_registry/integrations/google_api.py) (`google_oauth_secret`, provider `google`, grant `client_credentials`) and [`integrations/slack_sdk.py`](https://github.com/TracecatHQ/tracecat/blob/main/packages/tracecat-registry/tracecat_registry/integrations/slack_sdk.py) for UDFs that use OAuth credentials. See [`tracecat_registry/core/ssh.py`](https://github.com/TracecatHQ/tracecat/blob/main/packages/tracecat-registry/tracecat_registry/core/ssh.py) for an `ssh_key` secret example. For YAML templates, see [`microsoft_teams/send_message.yml`](https://github.com/TracecatHQ/tracecat/blob/main/packages/tracecat-registry/tracecat_registry/templates/tools/microsoft_teams/send_message.yml) (`authorization_code`), [`google_docs/create_document.yml`](https://github.com/TracecatHQ/tracecat/blob/main/packages/tracecat-registry/tracecat_registry/templates/tools/google_docs/create_document.yml) (`client_credentials`), and [`microsoft_sentinel/.../get_alert_rule_template.yml`](https://github.com/TracecatHQ/tracecat/blob/main/packages/tracecat-registry/tracecat_registry/templates/tools/microsoft_sentinel/alert_rules/get_alert_rule_template.yml) (optional dual grant). See [`templates/tools/exa/search.yml`](https://github.com/TracecatHQ/tracecat/blob/main/packages/tracecat-registry/tracecat_registry/templates/tools/exa/search.yml) for a simple API key template. For the full list of built-in provider IDs, see [`tracecat/integrations/providers/__init__.py`](https://github.com/TracecatHQ/tracecat/blob/main/tracecat/integrations/providers/__init__.py). ## Private network access Templates built on `core.http_request`, `core.http_poll`, or `core.http_paginate` reach private hosts through a [tunnel](/manage-platform/tunnels) without template changes. Write the private URL in `args` as usual; see [Private services](/automations/core-actions/request-actions/http#private-services). ## Limitations * Template steps only support `ref`, `action`, and `args`. * Template steps run in order. * Template steps do not support `run_if`, `for_each`, `join_strategy`, `start_delay`, `timeout`, or `max_attempts`. * Templates can call tools actions, other templates, and `core.script.run_python`. Other platform actions are not supported inside templates. * If a later step fails, you do not get a final result with earlier step outputs. Keep templates short. In practice, do not build templates with more than 2 steps. ## Example templates All integrations in Tracecat are open source. Browse [template actions](https://github.com/TracecatHQ/tracecat/tree/main/packages/tracecat-registry/tracecat_registry/templates/tools) for more examples. For concrete examples, browse the [Slack templates](https://github.com/TracecatHQ/tracecat/tree/main/packages/tracecat-registry/tracecat_registry/templates/tools/slack) and [CrowdStrike templates](https://github.com/TracecatHQ/tracecat/tree/main/packages/tracecat-registry/tracecat_registry/templates/tools/crowdstrike). # Push and pull Source: https://docs.tracecat.com/gitops/push-and-pull Push workspace configuration to Git as a pull request, then pull a reviewed commit into another workspace. Enterprise Edition Push and pull require a workspace connected to a repository. See [Workspace Git sync](/gitops/workspace-git-sync) to connect a provider and bind a workspace. ## Push and open a pull request Use the `Push` tab to push the full workspace configuration. **1. Choose a branch and commit message** On the `Push` tab, use the branch picker beside `Into` to choose an existing branch or enter a new branch name and click `Create`. Enter a commit message. New branches start from the base branch. Tracecat blocks direct pushes to both the base branch and the repository default branch. ![Git sync Push tab with grouped resource changes, target branch, and commit message](https://mintcdn.com/tracecat/5VxYc3hxgApGPNHY/img/manage-platform/git-sync-workspace-push.jpg?fit=max\&auto=format\&n=5VxYc3hxgApGPNHY\&q=85\&s=68915615f13bf795862b4b3dd7106b15) **2. Preview changes** Click `Preview` to compare with the target branch, or the base branch when creating a branch. Expand a resource group to review its file changes. Use `Preview again` after making more edits. **3. Push** Click `Push and open PR` (`Push and open MR` on GitLab); the button includes the change count after a preview. Use the adjacent menu to choose `Push only` when you want a commit without a pull request. Tracecat commits only changed files, deletes stale files, and reuses an open pull request on the same branch. The pull request body names the workspace and the publishing user's email. ### Push one resource type Each resource list page has its own `Push` button, which exports that resource type plus everything it references onto its own branch. > [tab] Tables > > ![Push tables dialog showing the source, target branch, and resulting pull request](https://mintcdn.com/tracecat/XNz10wqNQVUpF7DM/img/manage-platform/git-sync-resource-push-tables.png?fit=max\&auto=format\&n=XNz10wqNQVUpF7DM\&q=85\&s=c12de01c5f68549a426b389d8c58bf41) > [tab] Case fields > > ![Push case custom fields dialog showing the source, target branch, and resulting pull request](https://mintcdn.com/tracecat/XNz10wqNQVUpF7DM/img/manage-platform/git-sync-resource-push-case-fields.png?fit=max\&auto=format\&n=XNz10wqNQVUpF7DM\&q=85\&s=ff26ddfb79ca9f7ed5fafedcabc03a8a) > [tab] Skills > > ![Push skills dialog showing the source, target branch, and resulting pull request](https://mintcdn.com/tracecat/XNz10wqNQVUpF7DM/img/manage-platform/git-sync-resource-push-skills.png?fit=max\&auto=format\&n=XNz10wqNQVUpF7DM\&q=85\&s=a50f0e85456f55154aaba18b8fd5d898) ### Push a single workflow From the workflow builder's `Publish` dropdown, choose `Open PR` or `Push directly`; a direct push commits to the selected branch with no pull request. ![Workflow builder Publish dropdown with Open PR and Push directly options](https://mintcdn.com/tracecat/XNz10wqNQVUpF7DM/img/manage-platform/git-sync-workflow-publish.png?fit=max\&auto=format\&n=XNz10wqNQVUpF7DM\&q=85\&s=3f3c7ec5590de18a14384fb9c6fdb04d) ## Pull a commit A merged pull request changes nothing in a workspace until you or your pipeline pull that commit. **1. Choose a commit** On the `Pull` tab, use the commit picker beside `From` to choose a commit from the base branch. ![Git sync Pull tab with grouped changes, commit selector, and schedule-overwrite control](https://mintcdn.com/tracecat/5VxYc3hxgApGPNHY/img/manage-platform/git-sync-workspace-pull.jpg?fit=max\&auto=format\&n=5VxYc3hxgApGPNHY\&q=85\&s=e213fbe2f8a4e5dc8bfcf5e952e6112c) **2. Preview changes** Click `Preview` to dry-run the pull. If Tracecat cannot resolve a model, MCP integration, or secret store, choose its target in the matching dialog, then click `Save and preview again`. Use `Choose matches` to reopen unresolved choices. Resolve any validation errors before pulling. ![Match model and MCP references before pulling a commit](https://mintcdn.com/tracecat/5VxYc3hxgApGPNHY/img/manage-platform/git-sync-manual-matching.jpg?fit=max\&auto=format\&n=5VxYc3hxgApGPNHY\&q=85\&s=15a620066cce07f59eaab01175bde464) **3. Apply** Click `Pull into `; the button includes the change count after a preview. Tracecat enables it only after a successful preview for the same commit and options. A pull updates matching workspace resources and leaves schedules untouched unless you check `Overwrite schedules`. Changing the commit, schedule option, or reference matches requires another preview. > [!WARNING] > > A pull can overwrite local edits made after the preview. Coordinate workspace edits, run one push or pull at a time, and wait for it to finish before starting another. Leaving the page does not cancel an in-flight sync. A push exports the workspace state when you submit it, so preview again after editing resources. Until you publish a pulled workflow, its runs resolve actions against the workspace's current registry versions. Publishing it records the registry lock. ## Staging to production **1. Bind both workspaces** Bind staging and production workspaces to the same repository. Role assignments are per workspace, so grant `workspace_sync:sync` (`workspace-editor` and above) in each. **2. Push from staging** Build in staging, then choose `Push and open PR` (`MR` on GitLab) from its `Push` tab. **3. Review and merge** Merge the pull request in your repository, where branch protection and required reviews apply. **4. Pull into production** In production, select the merged commit, click `Preview`, then `Pull into `. Publish any workflow that needs a registry lock. ## API reference Exporting a workspace requires `workspace_sync:sync`. Reading branches and commits, pulling, and publishing one workflow also accept `workflow:sync`, so a service account holding only `workflow:sync` can pull from CI. | Action | Endpoint | Scopes | | - | - | - | | Save provider credentials | `POST /organization/vcs/{provider}/credentials` (`github` or `gitlab`) | `org:settings:update` | | Bind a repository | `PATCH /workspaces/{workspace_id}` with `settings.git_provider` and `settings.git_repo_url` | `workspace:update` | | Preview an export | `POST /workflows/sync/export/preview` | `workspace_sync:sync` | | Export and open a pull request | `POST /workflows/sync/export` | `workspace_sync:sync` | | Push one workflow | `POST /workflows/{workflow_id}/publish` | `workflow:update`, plus `workflow:sync` or `workspace_sync:sync` | | List branches and commits | `GET /workflows/sync/branches`, `GET /workflows/sync/commits?branch=` | `workflow:sync` or `workspace_sync:sync` | | Pull a commit | `POST /workflows/sync/pull` with a required `commit_sha` | `workflow:sync` or `workspace_sync:sync` | ## Related pages * See [Workspace Git sync](/gitops/workspace-git-sync) for connecting a repository and the layout of an export. * See [Security architecture](/security/architecture#workspace-gitops) for the GitOps model and how registry versions resolve after a pull. * See [Roles and permissions](/manage-platform/rbac) for the scopes that gate connecting, exporting, and pulling. * See [Workflows](/automations/workflows) for YAML export and import without Git. # Workspace Git sync Source: https://docs.tracecat.com/gitops/workspace-git-sync Connect GitHub, GitLab, or Bitbucket to a workspace and see what a Git sync export writes to your repository. Enterprise Edition ## Overview Use Git sync to export workspace configuration to a repository you own as a pull request, then pull a reviewed commit into a workspace. ## Permissions Organization admins configure providers. Workspace admins connect or change a workspace repository. Workspace editors can push and pull from an existing connection; viewers cannot sync. For custom roles, provider setup requires `org:settings:update`, changing the workspace connection requires `workspace:update`, and the workspace Git sync page requires `workspace_sync:sync` to push and pull. ## Connect a provider **1. Open organization Git providers** Open `Git providers` in the organization sidebar (`/organization/vcs`). ![Organization Git providers with GitHub, GitLab, and Bitbucket connections](https://mintcdn.com/tracecat/5VxYc3hxgApGPNHY/img/manage-platform/git-sync-settings.jpg?fit=max\&auto=format\&n=5VxYc3hxgApGPNHY\&q=85\&s=5cbb1fd7454079537a0b63e2e3f3a86e) **2. Connect your provider** For GitHub, click `Connect`, then create a GitHub App through the manifest flow or enter the ID and private key of an existing GitHub App. Install it on the repositories you want to sync. For GitLab, click `Connect`, then enter your base URL and a project or group access token with both `api` and `write_repository` scopes. Before upgrading an existing GitLab connection to durable Git sync, replace an `api`-only project or group token with one that has both scopes. The worker uses Git-over-HTTPS to push the reviewed commit and the API to manage merge requests. Personal access tokens with `api` already include Git write access; see [GitLab access token scopes](https://docs.gitlab.com/security/tokens/access_token_scopes/). For Bitbucket, click `Connect` (or `Manage` for an existing connection) to choose Cloud or Data Center. For Cloud, click `Connect`, then enter your Atlassian account email and a [scoped API token](https://support.atlassian.com/bitbucket-cloud/docs/using-api-tokens/). Select all four [permissions](https://support.atlassian.com/bitbucket-cloud/docs/api-token-permissions/): * `read:repository:bitbucket` * `write:repository:bitbucket` * `read:pullrequest:bitbucket` * `write:pullrequest:bitbucket` The account must have access to the repository. Initialize the repository with a commit before syncing. For Bitbucket Data Center, click `Connect` on the Data Center connection with your HTTPS instance URL and an [HTTP access token](https://confluence.atlassian.com/bitbucketserver/http-access-tokens-939515499.html) granting repository write permission. Include any port and context path in the instance URL, such as `https://bitbucket.example.com:8443/bitbucket`. Use `Update` to rotate the token before it expires. Deleting these credentials disconnects sync across the organization; it preserves workspace resources, repository branches, and custom-registry credentials. ## Bind a workspace **1. Open workspace Git sync** Open `Git sync` in the workspace sidebar, then choose a `Provider` configured by your organization admin. **2. Connect the repository** Paste the repository's SSH clone URL and click `Connect`. For GitHub, you can also choose a repository from the GitHub App installation list. Use `git@github.com:example-org/example-repo.git`, `ssh://git@github.com/example-org/example-repo.git`, or `git+ssh://git@github.com/example-org/example-repo.git`. HTTPS repository URLs and bare paths such as `example-org/example-repo` are not accepted. For Bitbucket Cloud, use `git@bitbucket.org:example-workspace/example-repo.git`. For Data Center, use `git+ssh://git@bitbucket.example.com/PROJECT/repository.git`. Its hostname must match the configured instance. Put the port and context path in the organization instance URL; Tracecat uses HTTPS with your HTTP access token for Git and API requests. ![Connect a repository with a GitLab provider and SSH clone URL](https://mintcdn.com/tracecat/5VxYc3hxgApGPNHY/img/manage-platform/git-sync-connect.jpg?fit=max\&auto=format\&n=5VxYc3hxgApGPNHY\&q=85\&s=7d31d690d1a29842338f86a8c6e445f4) ### Change the connection Click `Edit` beside the repository name. Use `Branch` to choose the base branch for new exports and the commit list for pulls. A stored URL ending in `@branch` pins that branch; a URL without the suffix uses the repository default. Click `Change` beside the repository to edit its SSH URL, then `Save`. Changing the repository or pinned branch clears the current previews. `Disconnect` stops push and pull until you connect a repository again; it preserves workspace and repository content. ![Repository connection editor with an SSH URL, branch selector, and disconnect action](https://mintcdn.com/tracecat/5VxYc3hxgApGPNHY/img/manage-platform/git-sync-edit-repository.jpg?fit=max\&auto=format\&n=5VxYc3hxgApGPNHY\&q=85\&s=5596ac7748c7dc30d587006ec60ca4cb) ## What an export contains A full export writes `tracecat.json` and one directory per resource type: workflows, agent presets, skills, tables, case fields, case tags, case dropdowns, case durations, variables, and secret metadata. Tracecat excludes schedules. Tracecat names each resource's folder or file after its current name: workflows after their title, agent presets and skills after their slug, variables and secret metadata after their environment and name, and other resources after their name. For example, `workflows/Triage-alerts/definition.yml`, `variables/prod/vendor_token.yml`, or `tables/indicators/table.yml`. The `id` field inside each file identifies the resource, so renaming a resource moves its file on the next push and pullers update the same resource in place. Case tags are the exception: every tag shares one `case_tags/_all.yml` file, listed under `tags`. When two resources of one type share a name, the one that already holds the path keeps it, and Tracecat appends the `id` to the other: `workflows/Triage-alerts-wf_4f2a.../definition.yml`. If neither has been pushed yet, the resource with the lower `id` gets the plain name. A resource keeps its path, suffix included, until you rename it. Tracecat writes the script of each `core.script.run_python` action to its own file in the workflow's `scripts/` folder, named after the action's ref: `workflows/Triage-alerts/scripts/enrich_ip.py`. The action in `definition.yml` keeps its other arguments and has no `script` key. An action with no script yet, such as an empty Python step in a draft, gets no file. Edit the `.py` file to change the script; a pull reads it back into the action. If you rename an action's `ref` in `definition.yml`, rename its script file too: a pull fails on any `.py` file in `scripts/` that matches no Python action, and names the file. Pushing a workflow deletes every file in its folder that Tracecat does not write, so keep your own notes outside `workflows/`. Pulls still read scripts written inline in `definition.yml` by earlier versions, and an inline script wins over a file for the same action. Instances on earlier versions ignore script files: they import Python actions without their scripts, and their pushes can leave stale script files that fail later pulls. Keep each `id` unique: a pull rejects two files with the same `id`, so duplicate a resource in Tracecat rather than by copying its folder. If two branches rename the same resource and both merge, the repository holds two copies with one `id`; push that resource from Tracecat to remove the extra copy. Repositories pushed by earlier versions name each resource's path by `id`, such as `workflows/wf_4f2a.../definition.yml` or `case_tags/.yml`, or keep one file per case tag. Pulls still read them, and the next push moves each resource it writes to its readable path, or into `case_tags/_all.yml`, and deletes the old file. A push of selected resources keeps every other tag already in `case_tags/_all.yml`. A full push replaces the file with your workspace's tags, so it deletes tags that exist only on the branch. Instances on earlier versions reject resources at readable paths and `case_tags/_all.yml`, and ignore workflow script files, so upgrade every Tracecat instance that uses a repository before you push to it. Exports carry configuration, not data: * Forms export as a [`form:` block](/automations/triggers/forms#git-sync) in their workflow's `definition.yml`, with no submissions. * Tables export their column schema and no rows. * Variables export key names and no values. * Secrets export metadata only; a secret file with a `value` or `values` key fails import. [AWS-backed secrets](/automations/core-concepts/external-secret-stores) also export their store name, secret name or ARN, and key mapping. If the target workspace has no authorized store with that name, the pull preview asks you to choose one. The choice applies to every secret that uses that store name. ## Related pages * See [Push and pull](/gitops/push-and-pull) for exporting a workspace as a pull request and pulling a reviewed commit. * See [Security architecture](/security/architecture#workspace-gitops) for the GitOps model and how registry versions resolve after a pull. * See [Custom registry](/custom-actions/custom-registry) for syncing custom actions into the registry, which is separate from workspace Git sync. * See [Roles and permissions](/manage-platform/rbac) for the scopes that gate connecting, exporting, and pulling. # Overview Source: https://docs.tracecat.com/integrations/overview Connect third-party tools to Tracecat: how integrations work, how to authenticate them, and where to find the full catalog. ## What is an integration? Third-party integrations are actions under the `tools.*` namespace that call a vendor API. Each integration is either a YAML template built from core action steps or a Python UDF. ## Authenticate an integration Most integrations require a secret before their actions run. Store API keys and tokens as [prebuilt credentials](/automations/integrations/prebuilt-credentials), or connect a provider through [OAuth](/automations/integrations/oauth-integrations). ## Browse the catalog Every available integration has its own page in this tab's sidebar, listing each action and its inputs. ## Build your own When the catalog does not cover a vendor, build the integration yourself as a YAML template or Python UDF. See [Custom actions](/custom-actions/custom-registry) to get started. # Custom roles and groups Source: https://docs.tracecat.com/manage-platform/custom-roles Create custom roles and groups, add members to groups, assign roles to groups, and invite members into groups. Enterprise Edition ## Overview A custom role bundles the scopes you pick. A group holds members, and every member inherits the group's roles. Open `Members` in the organization sidebar (`/organization/members`). On Enterprise, the Roles and Groups tabs sit beside Members. Without Enterprise, or without `org:rbac:read`, the Members page shows the member table with no tabs. ## Create a custom role Creating a role requires `org:rbac:create`. **1. Open the Roles tab** Open the Roles tab and click `Create role`. **2. Name the role and set permissions** Enter a `Role name` and an optional `Description`. Set a level for each category under `Permissions`, or expand a category to select individual scopes. ![Create role dialog with read access to workflows and write access to cases](https://mintcdn.com/tracecat/3b1mYLZP_5sqaEyk/img/manage-platform/rbac-create-role.png?fit=max\&auto=format\&n=3b1mYLZP_5sqaEyk\&q=85\&s=52a29b7e202b6c50bac656de911185ef) | Category | Levels | | - | - | | Workflows, Forms, Agents | None, Read, Write, Execute, Admin, Custom | | Cases, Data, Secrets, Integrations, Workspace | None, Read, Write, Admin, Custom | | Organization | None, Read, Admin, Custom | | Actions | None, All namespaces, one namespace, Custom | You can grant only scopes you hold yourself. Tracecat refuses the rest with `Cannot grant scopes not held by the caller`. **3. Create the role** Click `Create role`. The role appears in the list with its scope count and description. Expand a row to see its scopes. ![Roles tab with a custom role expanded to show its scopes](https://mintcdn.com/tracecat/3b1mYLZP_5sqaEyk/img/manage-platform/rbac-roles.png?fit=max\&auto=format\&n=3b1mYLZP_5sqaEyk\&q=85\&s=af32be3167254859726c559885748edd) A role with any `Organization` scope is an organization role and is assigned organization-wide only. A custom role's row menu has `Copy role ID`, `Edit role`, and `Delete role`. Preset roles carry a `Preset` badge and have `Copy role ID` only. Tracecat refuses deleting a role that is in use: | Message | Fix | | - | - | | `Cannot delete role that is assigned to groups. Remove all group assignments first.` | Remove the role from each group. | | `Cannot delete role that is assigned to users. Remove all user assignments first.` | Remove the role from each member. | | `Cannot delete role offered in pending invitations. Revoke those invitations first.` | Revoke the invitations. | ## Create a group **1. Create the group** Open the Groups tab and click `Create group`. Enter a `Group name` and an optional description, then click `Create group`. This requires `org:rbac:create`. Tracecat refuses a duplicate name with `A group with this name already exists.` **2. Expand the group** Click the group's row. It expands to a `Members` section and a `Roles` section. ![Groups tab with a group expanded to show its members and roles](https://mintcdn.com/tracecat/3b1mYLZP_5sqaEyk/img/manage-platform/rbac-groups.png?fit=max\&auto=format\&n=3b1mYLZP_5sqaEyk\&q=85\&s=4e976b39863ae1b0014fd7910fa5a8be) **3. Add members** Click `Add members`. Search by email or name, tick the members to add, then click `Add N members`. The header checkbox selects every listed member. ![Add members dialog with two members selected](https://mintcdn.com/tracecat/3b1mYLZP_5sqaEyk/img/manage-platform/rbac-group-add-members.png?fit=max\&auto=format\&n=3b1mYLZP_5sqaEyk\&q=85\&s=b4a909db02e11b35de3332ad516f8ab4) The dialog lists organization members who are not in the group. Pending invitations are not listed. When some members fail, the dialog stays open with those members selected. Adding and removing members requires `org:rbac:update`. You must hold every scope in the group's roles. **4. Assign roles** In the `Roles` section, select a scope of `Organization` or one workspace, select a role, then click the plus button. This requires `org:rbac:create`. A group holds one role per scope. Tracecat refuses a second with `Group already has an assignment for this workspace`. Click the minus button on a member or a role to remove it. Removing a role requires `org:rbac:delete`. The group's row menu has `Copy group ID`, `Edit group`, and `Delete group`. Deleting a group removes its role assignments. An identity provider manages the membership of a group mapped through [SCIM](/authentication/scim). That group shows `Membership is managed by your identity provider. Edit members there.` and has no `Add members` or remove buttons. You can still change its roles. ## Invite a member into groups The invite dialog shows `Groups` when you hold `org:rbac:update` and `org:rbac:read`. **1. Open the invite dialog** On the Members tab, click `Invite member` and enter the `Email`. **2. Select groups** Open `Groups` and tick each group the invitee joins. ![Invite member dialog with a group selected above the role grants](https://mintcdn.com/tracecat/3b1mYLZP_5sqaEyk/img/manage-platform/users-invitations.png?fit=max\&auto=format\&n=3b1mYLZP_5sqaEyk\&q=85\&s=05208754e1bf1734e059342215ff88b0) **3. Add role grants and send** Add at least one row under `Role grants`, then click `Send invitation`. On acceptance the invitee receives the role grants and joins the groups. | Rule | Detail | | - | - | | Offered groups | `Groups` lists the organization's groups, except groups an identity provider manages. | | Scope ceiling | You must hold every scope in the selected groups' roles. Tracecat refuses the rest with `Cannot grant scopes not held by the caller`. | | Changes before acceptance | Tracecat skips a group that was deleted or became identity provider-managed, and adds the invitee to the rest. | ## Custom scopes Open `/organization/settings/rbac` and select the Scopes tab. It lists every scope in the organization, and `Filter by source` narrows it to Platform or Custom scopes. The Group assignments and User assignments tabs on the same page list every assignment. Click `Create scope` to add your own. Names follow `resource:action` and use only lowercase letters, numbers, colons, underscores, dots, asterisks, and hyphens. Names cannot use the reserved prefixes `org:` or `workspace:`, including through a wildcard such as `*:` or `o*:`. You can delete a custom scope. Platform scopes have no Delete action. ## In a workspace A workspace's Members page lists users who hold a workspace role there: assigned on that workspace or organization-wide, directly or through a group. Organization owners and admins reach every workspace without appearing in this list. ## Related pages * See [Roles and permissions](/manage-platform/rbac) for the built-in roles, the Members tab, and changing a member's roles. * See [User management](/manage-platform/users) for invitation links, resending, and acceptance. * See [Service accounts](/manage-platform/service-accounts) for machine identities that hold scopes directly, with no role. * See [Organization audit logs](/audit-logs/organization) for the `rbac_role`, `rbac_group`, `rbac_group_member`, `rbac_assignment`, and `rbac_user_assignment` events. # IP allowlist Source: https://docs.tracecat.com/manage-platform/ip-allowlist Restrict sign-in and API access for an organization to approved IP addresses and ranges, and review where each session connects from. ## Overview An IP allowlist limits an organization to requests from approved IP addresses and CIDR ranges, such as your corporate VPN egress. While enforcement is on, Tracecat rejects every sign-in and every organization-scoped REST API request from an address outside the allowlist with `403` and `Access from your IP address is not permitted by your organization's IP allowlist.` The allowlist lives under IP allowlist in the organization sidebar at `/organization/settings/security`. Reading it needs `org:settings:read` and changing it needs `org:settings:update`, which `organization-admin` and `organization-owner` hold. Enforcement is off for every organization until you turn it on, and an organization with enforcement on but no allowlists admits every address. ![IP allowlist settings page](https://mintcdn.com/tracecat/ES2XbkNZAWuD-hY1/img/manage-platform/ip-allowlist-settings.png?fit=max\&auto=format\&n=ES2XbkNZAWuD-hY1\&q=85\&s=53256de6969697685ecdbfdbdadffb8b) ## Create an IP allowlist Select `Create allowlist`. The dialog takes: * `Name`: required, unique within the organization ignoring case. * `Description`: optional. Record the owner and purpose so you can retire the entry later. * `Allowed IP ranges`: one or more IPv4 or IPv6 addresses or CIDR ranges, one per line. Tracecat canonicalizes each range, so `10.0.0.5/8` becomes `10.0.0.0/8`, and drops duplicates. ![Create IP allowlist dialog](https://mintcdn.com/tracecat/ES2XbkNZAWuD-hY1/img/manage-platform/ip-allowlist-create.png?fit=max\&auto=format\&n=ES2XbkNZAWuD-hY1\&q=85\&s=05ac0d8e973638038e5cc15eda6c8277) An organization holds up to 100 allowlists with up to 50 ranges each. Edit or delete an allowlist from its row. Changes apply to new requests within 30 seconds on every API replica. ## Enforce the allowlist Turn on `Enforce IP allowlist` once at least one allowlist contains your own address. Tracecat rejects enabling an allowlist that excludes the address you are connecting from with `Your current IP address () is not in the allowlist. Add it before enabling.`, so an administrator cannot lock the organization out. Use `Validate an IP address` to check any address before or after enabling. The result reports whether the address is allowed, the range and allowlist it matched, and whether enforcement is on. Turning enforcement off restores access from every address and keeps the allowlists. ## What the allowlist applies to * Sign-in: password, OIDC, and SAML sign-in fail after credentials are verified when the address is denied. SAML checks the organization the connection belongs to. Password and OIDC sign-in succeed when at least one of the user's organizations admits the address; requests to a denying organization still fail. * REST API: every request that resolves to the organization, whether it authenticates with a session cookie, a service account API key, or a SCIM token. Requests from a denied address fail after the credential is verified and before the endpoint runs. * Not covered: the Tracecat MCP server, which authenticates with its own OAuth tokens, inbound workflow webhooks, and Tracecat's internal service calls. Use [webhook CIDR allowlists](/automations/triggers/webhooks) to restrict webhook senders. * Platform superusers bypass the allowlist for break-glass access. ## Platform admin IP allowlist Platform superusers can restrict the platform admin console and admin API to approved addresses under Security in the platform admin sidebar at `/admin/security`. It takes the same allowlists, limits, lockout check, and `Validate an IP address` tool as an organization allowlist, and is off until you turn it on. While enforcement is on, every superuser-only request from an address outside the allowlist fails with `403` and `Access from your IP address is not permitted by the platform admin IP allowlist.` This covers every `/admin` endpoint and the superuser-only `/users/{id}` endpoints. It does not restrict organization access: organization-scoped requests, including those from superusers, are never checked against the platform admin allowlist. If every platform admin is locked out, set `TRACECAT__PLATFORM_ADMIN_IP_ALLOWLIST_BYPASS=true` on the API service and restart it. Tracecat then skips the platform admin allowlist, so you can sign in to `/admin/security` and fix or disable it. Remove the variable afterwards. It has no effect on organization allowlists. ## Client IP resolution Tracecat resolves the client address from `X-Forwarded-For`, skipping hops listed in `TRACECAT__AUDIT_TRUSTED_PROXY_CIDRS`. The default covers loopback and private ranges, which includes the bundled reverse proxy, the UI container, and load balancers on private subnets. Add any proxy with a public address to that variable before enabling enforcement; otherwise Tracecat treats the proxy address as the client and denies every request. A hop outside the trusted list can never inject a forwarded address, so a client cannot spoof its way onto the allowlist. Confirm what Tracecat resolves before you enable enforcement: open Sessions in the organization sidebar and check the IP column for your own session. ## Sessions Sessions at `/organization/sessions` lists every active sign-in session in the organization with the account email, the resolved IP address, the browser user agent, when the session was created, and when it was last seen. `GET /organization/sessions` returns the same fields as `ip_address`, `user_agent`, `created_at`, and `last_seen_at`. Tracecat records the address and user agent at sign-in and refreshes `last_seen_at` at most every 5 minutes per session. Users with `org:member:remove` see these fields for every session and can revoke any session; other members see them for their own sessions only and `null` for everyone else's. ## Related pages * See [Roles and permissions](/manage-platform/rbac) for which built-in roles hold `org:settings:update` and `org:member:remove`. * See [Environment variables](/self-hosting/environment-variables) for `TRACECAT__AUDIT_TRUSTED_PROXY_CIDRS`. * See [Security architecture](/security/architecture#network-access) for how the allowlist fits the identity controls. * See [Organization audit logs](/audit-logs/organization) to stream settings changes to your SIEM. # Roles and permissions Source: https://docs.tracecat.com/manage-platform/rbac Review each member's roles, workspaces, and groups, change a member's roles, and look up what each built-in role can do. ## Overview A scope is one permission on one resource, named `resource:action`. A role bundles scopes. You assign a role to a user or a group, organization-wide or on one workspace. Open `Members` in the organization sidebar (`/organization/members`) to manage members and their roles. The sidebar entry needs `org:member:read`. ## Built-in roles Every organization has six preset roles. Tracecat rejects scope changes to a preset role and rejects deleting it. | Role | Level | What it can do | Scopes | | - | - | - | - | | `workspace-intake` | Workspace | Open and submit [forms](/automations/triggers/forms#permissions). Shown as `Intake only`. | 2 | | `workspace-viewer` | Workspace | Read workflows, integrations, cases, tables, schedules, agents, secrets, tags, variables, the inbox, the workspace, and its member list. Open and submit forms and read form submissions. | 16 | | `workspace-editor` | Workspace | Everything `workspace-viewer` can, plus create and update those resources, run workflows, agents, and any action, terminate workflow runs, and run workflow sync and workspace sync. | 42 | | `workspace-admin` | Workspace | Everything `workspace-editor` can, plus delete those resources and form submissions, update or delete the workspace, remove members, and manage workspace service accounts. | 64 | | `organization-admin` | Organization | Everything `workspace-admin` can in every workspace, plus create workspaces, manage organization settings, members and invitations, roles, groups, and assignments, SCIM, organization service accounts, the custom registry, and organization secrets, and read billing. | 93 | | `organization-owner` | Organization | Everything `organization-admin` can, plus `org:delete`, `org:billing:update`, `org:owner:assign`, and `org:scim:token`. | 97 | The Scopes column counts the current definition. Startup seeding sets every preset role to that definition: it adds missing scopes and removes the rest. Every member holds four baseline scopes without any role: `org:read`, `org:member:read`, `org:registry:read`, and `org:secret:read`. The baseline grants no workspace access and no agent access. `organization-owner` and `organization-admin` reach every workspace in the organization. Every other member needs a workspace role, assigned on that workspace or organization-wide. ## Review members The Members tab lists members and pending invitations. ![Members tab with Organization, Roles, Workspace, and Groups columns](https://mintcdn.com/tracecat/3b1mYLZP_5sqaEyk/img/manage-platform/rbac-members.png?fit=max\&auto=format\&n=3b1mYLZP_5sqaEyk\&q=85\&s=8b2108ee358fa75768a009e890103f87) | Column | Shows | Requires | | - | - | - | | `Organization` | `Owner`, `Admin`, or `Member`, from the member's organization-wide role. | | | `Roles` | Every role the member holds, directly or through a group. | `org:rbac:read` | | `Workspace` | Every workspace the member can open. | `org:rbac:read` | | `Groups` | The member's groups. | `org:rbac:read` on Enterprise | | `Status` | `Active`, `Inactive`, or `Invited`. | | Badges are abbreviated: role names to their initials, workspace and group names to their first three characters. Hover a badge for the full name. A cell shows three badges, then `+N` for the rest. An invited row shows the roles, workspaces, and groups the invitation grants. `Filter by email...` narrows the table by email. The `Role`, `Workspace`, and `Group` filters each take several values and match members that hold any of them. ## Change a member's roles Changing roles requires `org:rbac:read` to open the dialog, `org:rbac:create` to add a role, `org:rbac:update` to replace one, and `org:rbac:delete` to remove one. **1. Open Manage roles** On the Members tab, open the member's row menu and choose `Manage roles`. ![Manage roles dialog with a direct role and two roles from a group](https://mintcdn.com/tracecat/3b1mYLZP_5sqaEyk/img/manage-platform/rbac-manage-roles.png?fit=max\&auto=format\&n=3b1mYLZP_5sqaEyk\&q=85\&s=9f427f63d4d08ea814e7781b893b47eb) `Direct roles` lists roles assigned to the user. `Roles from groups` lists roles the user holds through a group, with the group name. Change those on the group. **2. Add or replace a role** Under `Add role assignment`, select a scope of `Organization` or one workspace, select a role, then click the plus button. A user holds one direct role per scope, so a new role replaces the existing one at that scope. **3. Remove a role** Click the minus button on a direct role. **4. Save** Click `Done`. Tracecat saves all staged changes together. When the changes remove a role, confirm with `Confirm changes`. `Cancel` discards the staged changes. A member with no roles stays in the organization with the baseline scopes. Use `Remove from organization` in the row menu to remove them. ## Assignment rules | Rule | Detail | | - | - | | Role level | A role that holds any `org:*` scope is an organization role and is assigned organization-wide only. Every other role is a workspace role: assign it on one workspace, or organization-wide to grant it in every workspace. | | One role per scope | A user holds one direct role per workspace and one organization-wide. The same limit applies to each group. | | Effective scopes | A user's scopes are the union of their direct roles, the roles of every group they belong to, and the baseline scopes. | | Granting | You can assign a role only when you hold every scope in it. Tracecat refuses the rest with `Cannot grant scopes not held by the caller`. Platform superusers are exempt. | | Membership | You can assign roles and groups only to organization members. Tracecat refuses other users with `User not found in organization`. | Tracecat rejects a role edit that would switch a role between organization and workspace level while it is assigned or offered in a pending invitation. Without Enterprise, you manage access with the preset roles. See [Custom roles and groups](/manage-platform/custom-roles) for custom roles, groups, and scopes. ## Organization membership Registration and sign-in without an invitation create no membership. A signed-in user without a membership sees `No organization access yet`, with any pending invitations listed. On a single-tenant deployment, registration or sign-in enrolls a superuser into the default organization. Accepting an invitation creates the membership and applies its role grants at their selected scopes. Existing assignments at those scopes stay unchanged. A platform admin console invitation with the `Organization member` role creates the membership with the baseline scopes and no role. See [User management](/manage-platform/users#invite-a-member) for invitations. ## Related pages * See [User management](/manage-platform/users) for registration, invitations, and organization membership. * See [Custom roles and groups](/manage-platform/custom-roles) for custom roles, groups, custom scopes, and inviting members into groups. * See [Service accounts](/manage-platform/service-accounts) for machine identities that hold scopes directly, with no role. * See [Architecture](/security/architecture#role-based-access-control) for how RBAC fits the identity and trust model. * See [Organization audit logs](/audit-logs/organization) for the `rbac_role`, `rbac_group`, `rbac_assignment`, and `rbac_user_assignment` events. # Service accounts Source: https://docs.tracecat.com/manage-platform/service-accounts Create machine identities that hold scopes directly and authenticate to the Tracecat REST API with an API key. Enterprise Edition ## Overview A service account is a machine identity that holds scopes directly, with no role. Organization service accounts live under Service accounts in the organization sidebar at `/organization/settings/service-accounts`, and workspace service accounts at `/workspaces/{id}/service-accounts`. The sidebar entry appears only when you hold the service account read scope for that level. ## Create a service account Select `Create service account`. The dialog takes a name, an optional description, an `Initial key label` (default `Primary`), and the same category permission picker the role dialog uses — see [Custom roles and groups](/manage-platform/custom-roles#create-a-custom-role) for the categories and levels. On create, Tracecat shows the key once in a `Copy API key` dialog: `This secret is only shown once. Copy it now before closing this dialog.` Organization keys are prefixed `tc_org_sk_` and workspace keys `tc_ws_sk_`. ## Manage a service account The list shows each account's status — Active, Disabled, or No active key — with its scope and key counts and a last-used time, and filter chips narrow the list. `Issue new API key` revokes the current key and issues a replacement, because a service account holds at most one active key. Tracecat refuses issuing a key on a disabled account with `Disabled service accounts cannot generate new API keys`. `Disable` stops the account authenticating immediately and `Enable` restores it. Keys and accounts never expire, and disable and revoke are the only lifecycle controls — there is no delete. ## Scopes Each kind of service account draws from its own allowlist. A workspace service account can hold the workspace resource scopes for agents, cases, forms and form submissions, integrations, schedules, secrets, tables, tags, tunnels, variables, and workflows, plus `workspace_sync:sync`, `workspace:read`, `workspace:update`, `workspace:delete`, `workspace:member:read`, `workspace:member:invite`, `workspace:member:remove`, and any `action::execute` scope. An organization service account can also hold `org:read`, `org:member:read`, `org:secret:*`, `org:settings:*`, `org:workspace:read`, `workspace:create`, `org:rbac:*`, `org:registry:read`, and `org:registry:update`. Neither allowlist includes the service account management scopes, so one service account can never manage another. Tracecat refuses a scope outside the allowlist with `Unsupported service account scopes requested`, and a scope you do not hold yourself with `Cannot assign service account scopes not held by the caller`. ## Availability Service accounts are Enterprise only. Without them, the sidebar entry disappears, the page shows `Service accounts unavailable` with `Service account access is not enabled for this organization`, and a previously issued key stops authenticating. ## Related pages * See [API authentication](/api-reference/authentication) for passing a service account API key as a bearer token in REST API requests. * See [Custom roles and groups](/manage-platform/custom-roles) for the permission picker and custom scopes. * See [Organization audit logs](/audit-logs/organization) for the `service_account` and `service_account_api_key` events. # Tunnels Source: https://docs.tracecat.com/manage-platform/tunnels Connect Tracecat to private and on-premises services, such as an internal Splunk, through Pangolin tunnels restricted to exact hosts and ports. ## Overview A tunnel lets actions in one workspace reach hosts on a private network without opening inbound firewall ports. Tracecat uses [Pangolin](https://docs.pangolin.net): * A site connector (Newt) runs inside your network and opens an outbound tunnel to the Pangolin server. * Pangolin grants the tunnel's machine client access to each allowed target, on its listed TCP ports only. UDP and ICMP are off. * A tunnel gateway runs the machine client and forwards action traffic. It accepts only short-lived tokens for its own tunnel and workspace, connects only to the tunnel's allowed targets, and logs every connection. Tunnels belong to one workspace. Every lookup, update, delete, and status check is scoped to the workspace in the request, so one workspace cannot read or use another workspace's tunnel. Actions use a tunnel when you select it on the action or as the workflow's default tunnel. See [Route actions through a tunnel](#route-actions-through-a-tunnel). ## Requirements * The `tunnels` Enterprise entitlement. * `tunnel:read` to list tunnels and check status, and `tunnel:create`, `tunnel:update`, or `tunnel:delete` to manage them. Workspace admins and organization owners and admins hold all four; workspace viewers hold `tunnel:read`. * A Pangolin server: Pangolin Cloud for Tracecat Cloud, or your own Pangolin deployment for self-hosted Tracecat. See [Configure Pangolin for self-hosted Tracecat](#configure-pangolin-for-self-hosted-tracecat). ## Set up a tunnel from start to finish This guide takes you from nothing to a workflow that calls an internal URL, using an on-premises Splunk at `https://splunk.internal:8089` as the example. On Tracecat Cloud you only run the site connector inside your network; Tracecat runs the gateway. ### Before you start * The `tunnels` entitlement and the `tunnel:create` scope in the workspace. * The internal hostname or IP address and TCP port of each service, such as `splunk.internal:8089`. * A Linux host inside your network, with Docker or the ability to run a binary, that can resolve and reach every service. It needs outbound access to the Pangolin endpoint, `https://app.pangolin.net` on Tracecat Cloud, and no inbound ports. The connector uses TCP 443 and UDP 51820 to the Pangolin endpoint. * The PEM-encoded CA certificate if an internal CA signs the service's certificate. **1. Create the tunnel** In the workspace sidebar, open **Tunnels** and select **Create tunnel**. Enter a name, such as `onprem-splunk`, and list one target per line as `host:port`, or `host:port,port` for several ports. Use the exact hostname your workflows will call; wildcards and CIDR ranges are rejected. Select **Create tunnel**. ![Create a tunnel with splunk.internal:8089 as the target](https://mintcdn.com/tracecat/zl0Y6CWqKi8D8EdQ/img/manage-platform/tunnels-create.png?fit=max\&auto=format\&n=zl0Y6CWqKi8D8EdQ\&q=85\&s=1dadb43802664655a95b6c8f25d0b2eb) **2. Copy the site connector credentials** Tracecat shows the site connector command once. It contains the site ID, the site secret, and the Pangolin endpoint. Copy it, and store the secret in your secrets manager. ![One-time site connector command](https://mintcdn.com/tracecat/zl0Y6CWqKi8D8EdQ/img/manage-platform/tunnels-install-command.png?fit=max\&auto=format\&n=zl0Y6CWqKi8D8EdQ\&q=85\&s=6138c60a0ed9850b1578ab85b1a870b0) **3. Run the site connector on your host** On the host inside your network, run the connector (Newt) with the values from the command. With Docker: ```bash theme={null} docker run -d --name tracecat-tunnel --restart unless-stopped \ -e PANGOLIN_ENDPOINT=https://app.pangolin.net \ -e NEWT_ID= \ -e NEWT_SECRET= \ fosrl/newt ``` Without Docker, install the `newt` binary from the [Newt releases](https://github.com/fosrl/newt/releases) and run the copied command, `newt --id --secret --endpoint https://app.pangolin.net`, under a service manager such as systemd so it restarts with the host. **4. Check the tunnel status** Back on the **Tunnels** page, the tunnel shows **Site online** once the connector connects and **Gateway ready** once Tracecat's gateway for the tunnel is running. Both must be green before actions can use the tunnel. ![Tunnel status on the Tunnels page](https://mintcdn.com/tracecat/zl0Y6CWqKi8D8EdQ/img/manage-platform/tunnels-status.png?fit=max\&auto=format\&n=zl0Y6CWqKi8D8EdQ\&q=85\&s=5d71018cb0465f270ee7bc8987a574fc) **5. Add your internal CA** If an internal CA signs the service's certificate, open **Credentials**, select **Add credential**, name it `ca_cert`, set **Type** to **CA certificate**, and paste the PEM certificate. See [Use TLS with private services](#use-tls-with-private-services). **6. Call the internal URL from a workflow** In a workflow, add a **HTTP request** (`core.http_request`) action. Set **URL** to the internal URL, such as `https://splunk.internal:8089/services/server/info?output_mode=json`, and **Method** to `GET`. In the action's **Control flow** tab, set **Tunnel** to `onprem-splunk`. ![Tunnel selected in the action's Control flow tab](https://mintcdn.com/tracecat/zl0Y6CWqKi8D8EdQ/img/manage-platform/tunnels-action-tunnel.png?fit=max\&auto=format\&n=zl0Y6CWqKi8D8EdQ\&q=85\&s=8bfbd655ed527b627f7e9c2f3feceab7) To route every action in the workflow, set **Default tunnel** in the workflow settings instead. An action's own **Tunnel** overrides the default. ![Default tunnel in the workflow settings](https://mintcdn.com/tracecat/zl0Y6CWqKi8D8EdQ/img/manage-platform/tunnels-workflow-default.png?fit=max\&auto=format\&n=zl0Y6CWqKi8D8EdQ\&q=85\&s=bfd4599d02078d79ecb0d002748d129d) **7. Run the workflow** Save, then run the workflow. The action's result shows the response from the internal service. ![Successful HTTP request through the tunnel](https://mintcdn.com/tracecat/zl0Y6CWqKi8D8EdQ/img/manage-platform/tunnels-http-result.png?fit=max\&auto=format\&n=zl0Y6CWqKi8D8EdQ\&q=85\&s=3e323a4149c30ac0ce97d8590ee49f4c) ### Run a Splunk search through the tunnel Integration actions that make HTTP requests, such as **Splunk: Search events** (`tools.splunk.search_events`), use the tunnel the same way. **1. Add the Splunk credential** In **Credentials**, add a credential named `splunk` with the key `SPLUNK_API_KEY` set to a Splunk authentication token. **2. Add the search action** Add **Splunk: Search events**. Set `base_url` to `https://splunk.internal:8089`, `query` to a search that starts with `search`, such as `search index=main | head 10`, and the start and end times. In the **Control flow** tab, set **Tunnel** to `onprem-splunk`, or rely on the workflow's **Default tunnel**. **3. Run the workflow** The action returns the search results. ![Splunk search results through the tunnel](https://mintcdn.com/tracecat/zl0Y6CWqKi8D8EdQ/img/manage-platform/tunnels-splunk-result.png?fit=max\&auto=format\&n=zl0Y6CWqKi8D8EdQ\&q=85\&s=0a5f25a124fe4ebc063a6610cbbde7dd) ### Troubleshoot | Symptom | Fix | | :- | :- | | The site stays offline. | Check that the connector is running and that the host can reach the Pangolin endpoint. Check the connector logs with `docker logs tracecat-tunnel`. | | Saving or publishing fails with a tunnel error. | Check that the tunnel name matches a tunnel in this workspace and that the action supports tunnels. | | The action fails with `403`. | Add the host and port to the tunnel's allowed targets. Managed tunnels can't change targets, so create a new tunnel. Use the same hostname in the URL as in the target. | | The action fails with `504`. | The connector host can't reach the target. From that host, check that the hostname resolves and the port is open. | | The action fails with `503`, or the gateway isn't ready. | The gateway can't load the tunnel's policy. Check that the tunnel is turned on and wait for the gateway to start. | | The action fails with a certificate error. | Add the internal CA as `ca_cert` and use the hostname on the certificate. Keep `verify_ssl` set to `true`. | ## Create a managed tunnel with the API Call the API with a [service account API key](/api-reference/authentication) and pass `workspace_id` as a query parameter on every request. **1. Create the tunnel** List every private host the workspace may reach, with its exact TCP ports: ```bash theme={null} curl -X POST "https:///api/tunnels/managed?workspace_id=" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{ "name": "onprem-splunk", "description": "Splunk management API in the primary data center", "allowed_targets": [ {"host": "splunk.internal", "ports": [8089]}, {"host": "10.20.0.15", "ports": [8089]} ] }' ``` `host` is an exact hostname or IP address; wildcards and CIDR ranges are rejected. Each target takes 1 to 64 unique ports, and a tunnel takes up to 100 targets. Tracecat creates a Pangolin site, one machine client for the tunnel, and one private resource per target granted only to that client. If any step fails, Tracecat deletes what it created and returns `502`. **2. Save the site credentials** The `201` response returns the site credentials once: ```json theme={null} { "tunnel": {"id": "", "name": "onprem-splunk", "managed": true, "...": "..."}, "site_id": "", "site_secret": "", "site_endpoint": "https://app.pangolin.net", "site_install_command": "newt --id --secret --endpoint https://app.pangolin.net" } ``` Store `site_secret` in your secrets manager. Tracecat does not return it again. **3. Install the site connector** Run the connector on a host inside your network that can reach every target: ```bash theme={null} docker run -d --name tracecat-tunnel --restart unless-stopped \ -e PANGOLIN_ENDPOINT= \ -e NEWT_ID= \ -e NEWT_SECRET= \ fosrl/newt ``` To run the binary directly, use `site_install_command`. The connector needs outbound access to the Pangolin endpoint only. **4. Check the site status** ```bash theme={null} curl "https:///api/tunnels//status?workspace_id=" \ -H "Authorization: Bearer " ``` `site_online` turns `true` once the connector connects. ## Bring your own Pangolin If you already run Pangolin and manage the site, resources, and access yourself, create a machine client in Pangolin, grant it only the resources Tracecat needs, and register it: ```bash theme={null} curl -X POST "https:///api/tunnels?workspace_id=" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{ "name": "onprem-splunk", "endpoint": "https://pangolin.example.com", "client_id": "", "client_secret": "", "allowed_targets": [{"host": "splunk.internal", "ports": [8089]}] }' ``` `endpoint` must use `https`. Tracecat encrypts `client_secret` and never returns it. Keep `allowed_targets` in step with the Pangolin resources; Tracecat enforces both, so a port must appear in each. ## Route actions through a tunnel Set the tunnel in the action's **Control flow** tab, or set **Default tunnel** in the workflow settings to route every action. An action's own tunnel overrides the workflow default. In a workflow definition, use `tunnel` on the action or `config.tunnel`: ```yaml theme={null} config: tunnel: onprem-splunk actions: - ref: search_splunk action: core.http_request args: url: https://splunk.internal:8089/services/search/jobs method: POST ``` Tracecat checks that the tunnel exists in the workspace and that your organization has the `tunnels` entitlement when you save, publish, and run the workflow. At runtime, the executor issues a short-lived token for the tunnel, sets `HTTP_PROXY` and `HTTPS_PROXY` to the tunnel's gateway, and limits the action's network to that gateway. The action fails if the tunnel is disabled or its gateway isn't available; it never falls back to direct egress. The gateway's allowed targets decide which hosts the action may reach, including private addresses. Subflows, scatter, gather, loops, AI agent actions, and `core.script.run_python` reject an explicit `tunnel` and ignore the workflow default. ## Route agents through a tunnel Agents reach private services through the same tunnels as workflows. Pick the tunnel in one of two places: * **On an MCP server**: all traffic to that server goes through the tunnel. * **On an agent tool**: only that tool's calls go through the tunnel. The agent's other tools still connect directly. Nothing else changes. Agents, tools, and MCP servers without a tunnel keep connecting directly. If the tunnel is disabled or missing, the request fails instead of going direct. > [!NOTE] > > First add the private host and port to the tunnel's allowed targets. For example, add `mcp.internal:8443` for an MCP server at `https://mcp.internal:8443/mcp`. ### Connect a private MCP server **1. Open the MCP server** Go to **MCP servers** in the sidebar. Click **Add MCP server** for a new server, or click **Configure** on an existing one. **2. Pick the tunnel** Set **Server URI** to the server's private URL. Under **Use tunnel (optional)**, pick your tunnel. Click **Test** to check the connection, then click **Connect** for a new server or **Update** for an existing one. ![Use tunnel (optional) set to onprem in the Edit MCP server dialog](https://mintcdn.com/tracecat/6ujQfldYKIF-Liry/img/manage-platform/tunnels-mcp-server.png?fit=max\&auto=format\&n=6ujQfldYKIF-Liry\&q=85\&s=8eb590a97c3cad25182e08a7514046cd) If the server's host and port aren't an allowed target of the tunnel, Tracecat rejects the save. **3. Use the server in an agent** Add the server to an agent as usual. Every agent and chat that uses the server goes through the tunnel. That includes connection tests, tool discovery, OAuth sign-in and token refresh, and tool calls. An OAuth server behind a tunnel must sign in through its own OAuth flow. Tracecat rejects reusing an OAuth connection from another integration, because that connection's token refresh doesn't go through the tunnel. MCP servers that share an OAuth connection must use the same tunnel. Only **URL (HTTP/SSE)** servers can use a tunnel. ### Route one agent tool through a tunnel **1. Open the agent** Go to **Agents** in the sidebar and open the agent. **2. Open the tool's integration** In the right-hand panel, click the **Tools** tab. Under **Tools**, click the integration that has the tool, for example **Sublime**. ![Tools tab of an agent with the Sublime integration highlighted](https://mintcdn.com/tracecat/6ujQfldYKIF-Liry/img/manage-platform/tunnels-agent-tools-list.png?fit=max\&auto=format\&n=6ujQfldYKIF-Liry\&q=85\&s=1aebcdcb4424b9330baec4b89b255f3c) **3. Pick a tunnel next to the tool** Each tool has a tunnel menu between its name and its approval setting (**Auto** or **Needs approval**). Open the menu and pick your tunnel. To go back to connecting directly, pick **No tunnel**. ![Tunnel menu next to a Sublime tool, with No tunnel and onprem options](https://mintcdn.com/tracecat/6ujQfldYKIF-Liry/img/manage-platform/tunnels-agent-tool-tunnel.png?fit=max\&auto=format\&n=6ujQfldYKIF-Liry\&q=85\&s=576f1502c02635cc24a259d813e12fc3) **4. Save the agent** Click **Save version**. New runs and chats with the agent use the tunnel for that tool. MCP tools don't have a tunnel menu. They use the tunnel set on their MCP server. To do the same for an `ai.agent` action in a workflow, set `tool_tunnels` to a map from each action name to a tunnel name: ```yaml theme={null} actions: - ref: triage action: ai.agent args: user_prompt: Triage the reported phishing email actions: - tools.sublime.action_message - tools.virustotal.lookup_url tool_tunnels: tools.sublime.action_message: onprem ``` Only the listed tools use a tunnel. An action's `tunnel` field and the workflow's default tunnel don't apply to an agent's tool calls. ### Delete a tunnel that's in use **1. Delete the tunnel** On the **Tunnels** page, open the tunnel's menu and click **Delete**. **2. Remove the tunnel where it's used** If the tunnel is still in use, Tracecat lists every MCP server, agent, and workflow that uses it, and **Delete** stays disabled. For each agent and workflow, the list also shows which tool or action uses the tunnel. Click each one to open it, then remove the tunnel or pick another one. ![Delete dialog listing an MCP server, an agent, and a workflow that use the tunnel](https://mintcdn.com/tracecat/6ujQfldYKIF-Liry/img/manage-platform/tunnels-delete-in-use.png?fit=max\&auto=format\&n=6ujQfldYKIF-Liry\&q=85\&s=d8261406b016eba4d6e9246f3b23f6fd) **3. Delete it** Once nothing uses the tunnel, open its menu again and click **Delete**. ## Run the tunnel gateway Each tunnel has one gateway that forwards traffic through Pangolin. Tracecat Cloud runs gateways for you. If you self-host, the Helm chart runs them on Kubernetes; see [Tunnels](/self-hosting/kubernetes#tunnels). > [!NOTE] > > Tunnels require Kubernetes. On Docker Compose and AWS ECS Fargate, `TRACECAT__TUNNEL_GATEWAY_BACKEND` is `none`. Tracecat rejects creating a tunnel or issuing a gateway key there. Any action, agent tool, or MCP server set to use a tunnel fails instead of connecting directly. ## Use TLS with private services Allowed targets limit which host and TCP port a connection opens to, not which application answers on it. The gateway relays TLS without decrypting it, so a client can pick another virtual host on the same IP address and port with SNI or the `Host` header. Don't rely on allowed targets to isolate applications behind a shared reverse proxy; give each one its own address or port, or restrict access at the proxy. HTTPS through a tunnel stays encrypted end to end. The gateway relays the TLS connection without decrypting it, and the action verifies the server certificate against the hostname in the URL, such as `splunk.internal`. Issue the certificate for the hostname you list in `allowed_targets`. If an internal CA signs the certificate, add the CA to the workspace: **1. Create a CA certificate credential** In the workspace, open **Credentials** and select **Add credential**. Name the secret `ca_cert`, set **Type** to **CA certificate**, paste the PEM-encoded CA certificate, and select **Create secret**. Tracecat stores it as the `CA_CERTIFICATE` key. ![Create a CA certificate credential](https://mintcdn.com/tracecat/e078UY64DMbytopy/img/manage-platform/tunnels-ca-certificate.png?fit=max\&auto=format\&n=e078UY64DMbytopy\&q=85\&s=3b29b20d2b98375354c43744bfcd056d) **2. Keep certificate verification on** `core.http_request`, `core.http_poll`, and `core.http_paginate` load the `ca_cert` credential automatically. Leave `verify_ssl` set to `true`; requests then fail if the certificate does not chain to your CA or does not match the hostname. If the service requires client certificates, add a credential named `mtls` with the **mTLS certificate + key** type. See [Secrets](/automations/core-concepts/secrets) for every credential type. Plain `http://` requests are encrypted inside the Pangolin tunnel, but not between the site connector and the target, and the gateway can read them. Prefer `https://` for anything that carries credentials. ## Manage tunnels * List tunnels with `GET /tunnels` and read one with `GET /tunnels/{tunnel_id}`. * Rename, describe, or disable a tunnel with `PATCH /tunnels/{tunnel_id}`. Managed tunnels reject changes to `endpoint`, `client_id`, `client_secret`, and `allowed_targets`; create a new managed tunnel to change targets. Agents and workflows refer to a tunnel by name, so a rename returns `409` with code `tunnel_in_use` while any of them still use it. * See what uses a tunnel in the `referenced_by` field of `GET /tunnels/{tunnel_id}`. It lists MCP servers, agents, and workflows that use the tunnel, limited to those you can view. Older agent versions pinned by a workflow aren't listed; if one still uses a deleted tunnel, that tool call fails with a "Tunnel not found" error. * Delete a tunnel with `DELETE /tunnels/{tunnel_id}`. A tunnel that is still in use returns `409` with code `tunnel_in_use` and the same `referenced_by` list; remove it from those resources first. For managed tunnels, Tracecat deletes the Pangolin resources, machine client, and site first. If Pangolin cleanup fails, the request returns `502` and keeps the tunnel so you can retry. Stop the site connector afterwards. ## Configure Pangolin for self-hosted Tracecat Tracecat Cloud manages Pangolin for you, so this section applies only to self-hosted Tracecat. Managed tunnels provision Pangolin through its Integration API. **1. Enable the Integration API** Deploy Pangolin separately and enable its [Integration API](https://docs.pangolin.net). The API base URL ends in `/v1`. **2. Create an organization API key** In the Pangolin dashboard, open your organization's API keys and create a key with these permissions: * Sites: pick site defaults, create, get, and delete. * Clients: pick client defaults, create, get, and delete. * Private resources: create, get, delete, and list resource clients. **3. Set the Tracecat environment variables** Set these on the `api` service and restart it: ```bash theme={null} TRACECAT__PANGOLIN_ENDPOINT=https://pangolin.example.com TRACECAT__PANGOLIN_API_URL=https://pangolin.example.com/v1 TRACECAT__PANGOLIN_ORG_ID= TRACECAT__PANGOLIN_API_KEY= ``` Managed tunnels stay off until all four are set. See [Environment variables](/self-hosting/environment-variables). ## Related pages * See [HTTP](/automations/core-actions/request-actions/http#private-services) for calling private services with `core.http_request`. * See [Python UDFs](/custom-actions/python-udf#private-network-access) for keeping custom actions compatible with tunnels. * See [Roles and permissions](/manage-platform/rbac) for which built-in roles hold the `tunnel:*` scopes. # User management Source: https://docs.tracecat.com/manage-platform/users Bootstrap the first superadmin, control who can register, and invite users into an organization. ## Overview A Tracecat account authenticates a person, and an organization membership decides what that account can open. Registration and SSO create accounts. Invitations and superadmin provisioning create memberships. ## First login Set the first superadmin's email before anyone signs in. Until it is set, nobody can register, and the first account must match it. It takes one case-sensitive email address, so use the exact casing your identity provider sends. | Deployment | Setting | | :- | :- | | Docker Compose | `TRACECAT__AUTH_SUPERADMIN_EMAIL` in `.env` | | AWS ECS Fargate | `TF_VAR_auth_superadmin_email`, or `auth_superadmin_email` in your `.tfvars` | | Kubernetes | `tracecat.auth.superadminEmail` in `values.yaml` | * Basic auth: sign up with that email, then log in. * SSO: log in through your identity provider. Tracecat creates the account on first login. The account becomes superadmin and owner of the default organization. ## Registration Self-service registration needs `basic` in `TRACECAT__AUTH_TYPES`. Without it the sign-up page shows `Sign up unavailable`. OIDC and SAML create the account on the first successful sign-in. `TRACECAT__AUTH_ALLOWED_DOMAINS` is a comma-separated list of email domains permitted to create an account, and a blank value permits every domain. Tracecat applies the same list on every OIDC sign-in. SAML sign-in checks the organization's configured domains first. When none are configured, a single-tenant deployment falls back to this list and a multi-tenant deployment rejects the sign-in. An existing basic-auth account signs in with its password regardless of the list. The first superadmin bypasses the domain list. A blocked email fails with the message `Please enter a valid email address.` A password must be at least `TRACECAT__AUTH_MIN_PASSWORD_LENGTH` characters long, default `12`. ## Joining an organization Registration and SSO create the account without an organization membership. Until an invitation or a superadmin grants one, the user sees `No organization access yet` after sign-in. That screen lists any pending invitations for their email and a `Sign out` button. ![No organization access screen](https://mintcdn.com/tracecat/JH2eWwgQFouQVLfD/img/manage-platform/users-no-org-access.png?fit=max\&auto=format\&n=JH2eWwgQFouQVLfD\&q=85\&s=6a4b50285a7d4b4c956d118ce6e0bf51) In a single-tenant deployment, a superadmin account joins the default organization as `organization-owner` at registration. With `TRACECAT__EE_MULTI_TENANT=true`, no account joins an organization automatically at registration. In both modes, registering through an invitation link joins that invitation's organization. ## Invite a member Inviting requires `org:member:invite`, which `organization-owner` and `organization-admin` hold. **1. Open the invite dialog** Open `Members` in the organization sidebar (`/organization/members`) and click `Invite member`. **2. Enter the email and role grants** Enter the invitee's `Email`. Under `Role grants`, pick a scope and a role for each row. The scope is `Organization-wide` or one workspace. Click `Add grant` for another scope. ![Invite member dialog with an email, a group, and two role grants](https://mintcdn.com/tracecat/3b1mYLZP_5sqaEyk/img/manage-platform/users-invitations.png?fit=max\&auto=format\&n=3b1mYLZP_5sqaEyk\&q=85\&s=05208754e1bf1734e059342215ff88b0) An invitation needs at least one role grant and takes one grant per scope. A workspace scope offers workspace roles only. `Groups` appears with [custom roles and groups](/manage-platform/custom-roles#invite-a-member-into-groups). **3. Send the invitation** Click `Send invitation`. The member appears in the table with the status `Invited`. The invitation stays valid for 7 days. Tracecat rejects an email that is already a member or already holds a pending invitation. You can grant only roles whose scopes you hold yourself. ## Share or revoke an invitation Tracecat emails the invitation when SMTP is configured. Open the invited member's row menu for these actions. ![Invited member row menu with copy link, resend email, and revoke actions](https://mintcdn.com/tracecat/3b1mYLZP_5sqaEyk/img/manage-platform/users-invitation-actions.png?fit=max\&auto=format\&n=3b1mYLZP_5sqaEyk\&q=85\&s=74024de670a6e424de6a15b0e1257f27) | Action | Result | | - | - | | `Copy invitation link` | Copies `/invitations/accept?token=`. Without SMTP, send this link to the invitee yourself. | | `Resend invitation email` | Sends the email again. Tracecat allows one resend per minute. | | `Revoke invitation` | Cancels the invitation. The link shows `Invitation revoked`. | ## Accept an invitation **1. Open the link** The invitee opens the invitation link and signs in, or signs up with basic auth. A sign-up started from the link accepts the invitation during registration. **2. Accept** The signed-in email must match the invitation. A used, revoked, or expired link shows `Invitation already accepted`, `Invitation revoked`, or `Invitation expired`. After acceptance the account joins the organization, receives each role at its selected scope, joins the invitation's groups, and lands on `/workspaces`. A role the user already holds at a scope stays unchanged. A platform admin console invitation with the `Organization member` role grants the baseline scopes and no role. ## Workspace membership | Task | Where | | - | - | | Give a member a workspace role | Organization Members page: `Manage roles` in the member's row menu. See [Change a member's roles](/manage-platform/rbac#change-a-members-roles). | | Add a member from a workspace | Workspace Members page: `Add member`. An existing organization member gets `workspace-editor` on that workspace. | | Remove a member from a workspace | Workspace Members page: `Remove from workspace` in the member's row menu. | `Add member` needs `workspace:member:invite` or `org:member:invite`. With `org:member:invite`, an email outside the organization gets an organization invitation with `workspace-editor` on that workspace. ## Related pages * See [Basic](/authentication/basic) for email-and-password sign-in, the minimum password length, and changing a password. * See [Roles and permissions](/manage-platform/rbac) for what each built-in role can do and how to review and change member roles. * See [Custom roles and groups](/manage-platform/custom-roles) for inviting a member into groups. * See [Environment variables](/self-hosting/environment-variables) for `TRACECAT__AUTH_SUPERADMIN_EMAIL`, `TRACECAT__AUTH_ALLOWED_DOMAINS`, and `TRACECAT__AUTH_MIN_PASSWORD_LENGTH`. # Getting started Source: https://docs.tracecat.com/overview/getting-started The recommended way to get started is to connect your coding agent — Claude Code, OpenAI Codex, GitHub Copilot, or Cursor — to the Tracecat MCP server. This works with Tracecat Cloud or your own self-hosted instance. ## Connect MCP Connecting your agent to Tracecat Cloud automatically creates an account for you. You can also sign up manually via [https://platform.tracecat.com](https://platform.tracecat.com). If you are **self-hosted**, replace `https://platform.tracecat.com` with your `PUBLIC_APP_URL` (e.g. `http://localhost` or `https://tracecat.example.com`). Authentication uses a built-in OIDC provider—your agent is redirected to sign in through the browser on first connection. If you belong to more than one organization, Tracecat asks which organizations the connection can access, and one connection then works across all of them. For clients or environments that cannot complete a browser sign-in, authenticate with a [personal access token (PAT)](/automations/tracecat-mcp#personal-access-tokens) instead. > [tab] Claude Code > > Sign in with OAuth: > > ```bash theme={null} > claude mcp add -t http tracecat https://platform.tracecat.com/mcp > claude > /mcp > ``` > > Or authenticate with a [personal access token (PAT)](/automations/tracecat-mcp#personal-access-tokens). > Set `TRACECAT_MCP_PAT` in your environment and reference it with **single > quotes** so the variable (not the token) is written to the saved config: > > ```bash theme={null} > claude mcp add --transport http tracecat https://platform.tracecat.com/mcp \ > --header 'Authorization: Bearer ${TRACECAT_MCP_PAT}' > ``` > [tab] OpenAI Codex > > Sign in with OAuth: > > ```bash theme={null} > codex mcp add tracecat --url https://platform.tracecat.com/mcp > codex mcp login tracecat > ``` > > Or authenticate with a [personal access token (PAT)](/automations/tracecat-mcp#personal-access-tokens). > Set `TRACECAT_MCP_PAT` in your environment, then reference it by name: > > ```bash theme={null} > codex mcp add tracecat --url https://platform.tracecat.com/mcp \ > --bearer-token-env-var TRACECAT_MCP_PAT > ``` > [tab] GitHub Copilot > > ```bash theme={null} > copilot > /mcp add > # Server Name: tracecat > # Server Type: HTTP > # URL: https://platform.tracecat.com/mcp > # Tools: * > ``` > > Complete the OAuth sign-in from an interactive `copilot` session. A non-interactive > run (`copilot -p`) does not wait for sign-in — it skips the `tracecat` tools until > you have authenticated once interactively. > > Follow [GitHub Copilot MCP setup](https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/add-mcp-servers) for the latest CLI prompts. > > Or add this server to `~/.copilot/mcp-config.json`: > > ```json theme={null} > { > "mcpServers": { > "tracecat": { > "type": "http", > "url": "https://platform.tracecat.com/mcp", > "tools": ["*"] > } > } > } > ``` > > To use a [personal access token (PAT)](/automations/tracecat-mcp#personal-access-tokens) instead of > OAuth, add an `Authorization` header (`${TRACECAT_MCP_PAT}` is read from your > environment): > > ```json theme={null} > "headers": { > "Authorization": "Bearer ${TRACECAT_MCP_PAT}" > } > ``` > [tab] Cursor > > On Tracecat Cloud, click [Add Tracecat to Cursor](https://cursor.com/en-US/install-mcp?name=tracecat\&config=eyJ1cmwiOiJodHRwczovL3BsYXRmb3JtLnRyYWNlY2F0LmNvbS9tY3AifQ) > to add it in one click. Otherwise configure `.cursor/mcp.json` manually: > > ```json theme={null} > { > "mcpServers": { > "tracecat": { > "url": "https://platform.tracecat.com/mcp" > } > } > } > ``` > > To use a [personal access token (PAT)](/automations/tracecat-mcp#personal-access-tokens) instead of > OAuth, add an `Authorization` header (Cursor resolves `${env:TRACECAT_MCP_PAT}` > from your environment): > > ```json theme={null} > "headers": { > "Authorization": "Bearer ${env:TRACECAT_MCP_PAT}" > } > ``` ## Self-host Choose a deployment method: * [Docker Compose](/self-hosting/docker-compose): Run every service on a single host. This is the fastest way to self-host. * [AWS ECS Fargate](/self-hosting/aws-fargate): Deploy to your own AWS account with Terraform. * [Kubernetes](/self-hosting/kubernetes): Install the Helm chart on EKS, GKE, or any conformant cluster. * [Air-gapped deployment](/self-hosting/air-gapped): Run on Kubernetes with no runtime internet access. See [Architecture](/self-hosting/architecture) for how the services fit together. ### Docker Compose quickstart Follow the full [Docker Compose guide](/self-hosting/docker-compose) or run the commands below. ```bash theme={null} # Setup environment variables and secrets curl -fL -o env.sh https://github.com/TracecatHQ/tracecat/releases/latest/download/env.sh curl -fL -o .env.example https://github.com/TracecatHQ/tracecat/releases/latest/download/env.example chmod +x env.sh && ./env.sh # Download Caddyfile curl -fL -o Caddyfile https://github.com/TracecatHQ/tracecat/releases/latest/download/Caddyfile # Download Docker Compose file curl -fL -o docker-compose.yml https://github.com/TracecatHQ/tracecat/releases/latest/download/docker-compose.yml # Start Tracecat docker compose up -d ``` ### First login Set the first superadmin's email before anyone signs in. Until it is set, nobody can register, and the first account must match it. It takes one case-sensitive email address, so use the exact casing your identity provider sends. | Deployment | Setting | | :- | :- | | Docker Compose | `TRACECAT__AUTH_SUPERADMIN_EMAIL` in `.env` | | AWS ECS Fargate | `TF_VAR_auth_superadmin_email`, or `auth_superadmin_email` in your `.tfvars` | | Kubernetes | `tracecat.auth.superadminEmail` in `values.yaml` | * Basic auth: sign up with that email, then log in. * SSO: log in through your identity provider. Tracecat creates the account on first login. The account becomes superadmin and owner of the default organization. ## Next steps * See [Environment variables](/self-hosting/environment-variables) to configure your deployment. * See [TLS and certificates](/self-hosting/tls) to serve Tracecat over HTTPS. * See [User management](/manage-platform/users) to invite your team. * See [SAML SSO](/authentication/saml) or [OIDC](/authentication/oidc) to sign in through your identity provider. # Welcome to Tracecat Source: https://docs.tracecat.com/overview/introduction Tracecat is the AI automation platform for security teams and agents. ## Get started The recommended way to start is to connect your coding agent to the Tracecat MCP server. Your agent then builds and runs workflows, agents, tables, and cases for you. > [card] [Getting started](/overview/getting-started) > > Connect your coding agent to Tracecat Cloud or a self-hosted instance. > [card] [Tracecat MCP](/automations/tracecat-mcp) > > View every tool your agent can call in Tracecat. ## Deploy Tracecat Use Tracecat Cloud or self-host Tracecat in your own infrastructure. > [card] [Tracecat Cloud](https://platform.tracecat.com) > > Sign up and start building without running any infrastructure. > [card] [Docker Compose](/self-hosting/docker-compose) > > Run every Tracecat service on a single host in minutes. > [card] [AWS ECS Fargate](/self-hosting/aws-fargate) > > Deploy to your own AWS account with Terraform. > [card] [Kubernetes](/self-hosting/kubernetes) > > Install the Helm chart on EKS, GKE, or any conformant cluster. > [card] [Air-gapped](/self-hosting/air-gapped) > > Run on Kubernetes with no runtime internet access. > [card] [Architecture](/self-hosting/architecture) > > See how Tracecat services fit together before you deploy. ## Explore the platform > [card] [Agents](/agents/ai-agent) > > Build custom AI agents that call tools and MCP (stdio, remote) servers. > [card] [Workflows](/automations/workflows) > > Draft, publish, and run workflow definitions. > [card] [Actions](/automations/actions) > > Configure action inputs, success and error paths, and control flow. > [card] [Triggers](/automations/triggers/webhooks) > > Start workflows from external systems with webhooks. > [card] [Case management](/automations/cases) > > Resolve work items with agents and workflows. > [card] [Workspace chat](/agents/workspace-chat) > > Chat across your workspace with tools, MCP servers, and preset agents. > [card] [Tables](/automations/tables) > > Store structured data and query it from workflows and agents. > [card] [Integrations](/automations/integrations/prebuilt-credentials) > > Configure prebuilt credentials for Tracecat's built-in integrations. > [card] [Custom integrations](/custom-actions/custom-registry) > > Build your own custom actions and sync them into Tracecat via git. > [card] [MCP servers](/automations/integrations/mcp-integrations) > > Connect third-party remote and stdio MCP servers for your agents to call. # Architecture Source: https://docs.tracecat.com/security/architecture Understand Tracecat's threat model and security design. Tracecat's security design rests on seven control areas: * Identity: SSO, SCIM provisioning, security key and passkey MFA, role-based access control at organization and workspace level, and per-organization IP allowlists. * Data security: row-level tenant isolation, encrypted credentials, and encrypted workflow payloads. * AI agent security: default-deny tool policy, durable human approval, and token budgets. * Sandboxed execution: nsjail isolation for custom Python, agent-generated code, and local MCP servers run by the built-in runner. * Auditability: platform and organization audit webhooks, agent telemetry, and workspace MCP access records. * Change management: roll back custom integrations to any commit, and review and revert workspace configuration — workflows, agents, skills, tables, and case fields — in your own Git repository. * Dependencies: lockfile-pinned core registry dependencies, per-commit builds of custom registry dependencies, and sandboxed execution for both. This page covers Tracecat Cloud and hardened self-hosted deployments. Tracecat runs customer-authored code and agents on multi-tenant infrastructure, so it sandboxes every execution path. That code then acts with privileged access to your systems, so Tracecat encrypts credentials at rest, resolves them at execution time, and attaches them through trusted proxies rather than handing them to a model. ```mermaid theme={null} flowchart LR subgraph clients["Users and triggers"] operator["User or approver"] trigger["Workflow or case trigger"] mcpClient["External MCP client
OAuth or access token"] end subgraph control["Tracecat control plane"] api["Tracecat API and MCP endpoint"] identity["Identity · RBAC
tenant scope"] versions["Versioned definitions
review · rollback"] temporal["Temporal
durable orchestration"] policy["Agent tool policy
allow · deny · require approval"] approval["Human approval
accept · reject · reason"] audit["Platform and organization
audit events"] mcpActivity["Workspace MCP
access activity"] end subgraph sandbox["nsjail sandbox"] agent["Agent runtime
network denied by default"] stdio["stdio MCP process
same sandbox and identity"] end subgraph trusted["Trusted execution services"] runAuth["Run authorization
short-lived scoped JWTs"] tools["Tracecat API and MCP proxy"] credentials["Credential broker"] llmGateway["LLM gateway"] otel["OTLP gateway"] payloads["Encrypted run payloads
scoped object references"] end subgraph customer["Customer-managed and external systems"] secrets["AWS Secrets Manager"] apis["Approved APIs
remote HTTP MCP"] llmProviders["Managed or BYO LLM
optional LLM proxy"] objectStore["Managed or customer
object storage"] observability["Observability or SIEM"] auditSink["Platform or organization
audit webhook"] end operator --> api trigger --> api mcpClient --> api api --> identity api --> versions versions --> temporal identity --> temporal identity -->|scoped policy| policy identity -->|tenant and user scope| runAuth policy -->|allowed tools and model| runAuth temporal --> agent runAuth -->|short-lived JWTs| agent agent -->|tool request| policy policy -->|allowed remote tool| tools policy -->|allowed local tool| stdio policy -->|remote tool requires approval| approval operator -->|authorized decision| approval approval -->|durable decision| temporal tools --> apis credentials --> tools credentials --> llmGateway credentials -->|resolve reference| secrets agent --> llmGateway llmGateway --> llmProviders temporal <-->|encrypted inputs and outputs| payloads payloads -->|externalize large payloads| objectStore agent -. OTLP over sandbox socket .-> otel otel -. OTLP with tenant headers .-> observability api -. control-plane event .-> audit approval -. one event per tool decision .-> audit api -. MCP session and tool call .-> mcpActivity audit -. HTTPS .-> auditSink ``` ## Threat model This threat model covers the complete Tracecat platform. It separates conventional platform threats from AI-specific threats. ### Protected assets * Organization and workspace data. * Agent and automation configuration. * User and service-account identity. * API, OAuth, MCP, and LLM provider credentials. * External systems reachable through tools. * Control-plane and executor infrastructure. * Workflow and agent inputs and outputs. * Audit records and agent telemetry. ### Within Tracecat boundary #### Platform and application threats Threat actors and untrusted sources include: * External attackers targeting API, authentication, OAuth, or MCP endpoints. * Compromised tenant accounts submitting code or workloads. * Compromised administrators, service accounts, personal access tokens, or OAuth grants. * Malicious packages, custom registry content, and local MCP processes. * Attackers targeting the control plane, executor, durable state, or object storage. Custom code runs on shared infrastructure, so isolation cannot depend on that code being correct. A logic bug, a compromised dependency, and a compromised tenant account all produce the same class of outcome: a process reading another run's data, reaching a platform service, or consuming shared capacity. The sandbox bounds all three identically, which is why the boundary rests on isolation rather than on the workflow author's intent. | Attack surface | How an attacker can use it | Primary Tracecat controls | | - | - | - | | Authentication and tenant access | Steal or replay user credentials. Steal service-account credentials or personal access tokens. Call API or MCP endpoints as the victim. Sign in with a stolen credential from outside the corporate network. Probe identifiers from another workspace. | Authenticate before tenant resolution. Enforce SSO and RBAC. Require a security key or passkey at sign-in. Deny sign-in and API access from addresses outside the organization's IP allowlist. Record IP, user agent, and last-seen time per session so administrators can spot and revoke unexpected sessions. Scope service accounts. Apply tenant scope and PostgreSQL row-level policies. | | Multi-tenant code execution | Submit hostile Python, custom actions, agents, or local MCP processes. Read files or process state. Escape the executor. Reach another run, tenant, or platform service. | nsjail enabled by default on full-isolation profiles. User, process, mount, IPC, hostname, and network namespaces. Read-only runtime and scoped mounts. Syscall, cgroup, file, and process limits. | | Credential and downstream access | Read stored secrets. Capture provider credentials. Reuse a credential outside its intended workspace or tool. | Encrypted credential storage. Execution-time credential broker. Short-lived JWTs scoped to the run, workspace, model, and allowed tools. Trusted services add provider credentials outside the sandbox. | | OAuth and MCP access | Steal an OAuth grant or personal access token. Use the MCP endpoint with the victim's permissions. Hide activity across many connections. | Authenticated OAuth flows. OAuth connections inherit the user's effective permissions. Personal access tokens remain workspace-scoped. Connections, tokens, and external MCP calls stay visible by user. | | Run data and durable state | Read workflow or agent inputs and outputs. Tamper with queued work. Use oversized payloads to expand durable history. | Application-level encryption for Temporal payloads. Workspace-scoped encryption context. Automatic externalization of large payloads to object storage. Small scoped references remain in workflow state. | | Configuration and supply chain | Publish a malicious integration. Widen access or network policy. Persist an unsafe workflow or agent configuration. | RBAC and platform audit events. Versioned workflow and agent configuration. Immutable published versions. Custom registry rollback to any commit. Registry lock on published workflows. Workspace Git sync, review, and rollback. | | Platform availability | Fork processes. Fill storage. Exhaust memory or CPU. Block shared workers with long-running code. | Sandbox wall-time and CPU limits. cgroup memory enforcement. File-size and process-count limits. Temporal cancellation and retry controls. | #### AI threats Threat actors and untrusted sources include: * Attackers who control prompts, alerts, email, cases, retrieved documents, or tool results. * Users who try to steer an agent beyond their intended task or authorization. * Compromised LLM, API, or remote MCP providers. * Unsafe LLM output, generated code, tool selection, or resource consumption. Tracecat treats the LLM as an untrusted decision-maker. It can propose a tool call and generate code. It cannot grant itself a role, approve its own call, resolve a brokered secret, or change sandbox policy. | Attack surface | How an attacker can use it | Primary Tracecat controls | | - | - | - | | Agent context | Place hostile instructions in prompts or retrieved documents. Hide instructions in alerts, email, cases, or tool results. Redirect the agent goal. Induce a high-impact tool call. | Default-deny tool policy. Trusted-proxy authorization. Human approval for selected tools. Credentials kept outside LLM context. | | Tools and remote MCP | Publish misleading tool metadata. Return poisoned tool results. Compromise a remote server to exfiltrate data or trigger unsafe actions. | Captured tool inventory. Allow and deny policy. Approval gates. Trusted API and MCP proxy. Inherited user permissions for external Tracecat MCP. | | Generated code and `stdio` MCP | Generate shell or Python code that reads files. Use local MCP code to consume resources. Reach the network. Attack the executor or another run. | The same nsjail boundary used for tenant code. Read-only runtime and scoped mounts. cgroup and process limits. Default-deny agent network. | | Secret extraction | Ask the LLM to reveal a credential. Craft a tool request that tries to resolve or reuse another secret. Place secret-looking instructions in untrusted content. | Execution-time credential broker. Policy checks before resolution. Short-lived scoped JWTs in the sandbox. Only trusted services inject provider credentials. | | Human approval | Disguise the purpose of a tool call. Mislead an approver with incomplete context. Attempt to resume execution without an authorized decision. | Authenticated approver checks. Temporal durable execution. Decision bound to the run and tool call. One audit event per tool decision. | | Agent consumption | Loop LLM or tool calls. Create cascading model requests. Drive unexpected inference cost. | Total token budget. Token burn-rate limit. Sandbox wall-time and resource limits. Tool policy and approval for side effects. | ### Outside Tracecat boundary You own controls for systems that Tracecat does not operate. | Concern | Customer hardening | Suggested tools | | - | - | - | | Identity provider | Require MFA and conditional access. Review session and account-lifecycle policy. | [Okta](/authentication/saml#okta) [Microsoft Entra ID](/authentication/saml#microsoft-entra-id) [Keycloak](/authentication/saml#keycloak) | | External LLMs | Review data use and retention. Confirm residency and provider access. Apply provider and endpoint allowlists. | [LLM proxy](/agents/custom-llm-providers) | | Prompt and data filtering | Route LLM traffic through an LLM gateway. Apply prompt-injection and content controls. Filter PII and sensitive data. | [LLM proxy](/agents/custom-llm-providers) | | MCP policy | Place an independent gateway around MCP traffic. Apply an allow or deny layer. Add inspection or consent controls. | MCP proxy | | User audit logs | Export user and control-plane events through the [organization audit webhook](/audit-logs/organization). Define detections and retention. Create an incident-response process. | SIEM | | Agent logs and traces | Export agent OTel logs and traces. Set retention for agent telemetry. Alert on risky tool activity and approval decisions. | OpenTelemetry-compatible LLM observability tool | | Git change management | Require reviews and protected branches. Sign changes to synced configuration. | GitHub GitLab | | Custom registry code and dependencies | Pin and review third-party dependencies. Scan the registry repository. Require branch protection on the registry repository. | Dependency scanning GitHub GitLab | | [AI red teaming](https://research.ibm.com/blog/what-is-red-teaming-gen-AI) | Simulate adversarial attacks against the complete AI application. Test jailbreaks and prompt injection. Test data leakage and agentic misuse. Retest as the system and attack techniques change. | [garak](https://github.com/NVIDIA/garak) [PyRIT](https://github.com/microsoft/PyRIT) [DeepTeam](https://www.trydeepteam.com/) | Use these references to harden systems outside Tracecat: * [MCP security best practices](https://modelcontextprotocol.io/docs/tutorials/security/security_best_practices). * [NIST Generative AI Profile](https://www.nist.gov/publications/artificial-intelligence-risk-management-framework-generative-artificial-intelligence). ### OWASP alignment This page maps Tracecat controls to three OWASP risk lists: * [OWASP Top 10:2025](https://owasp.org/Top10/). * [OWASP Top 10 for LLM Applications:2025](https://owasp.org/www-project-top-10-for-large-language-model-applications/). * [OWASP Top 10 for Agentic Applications:2026](https://genai.owasp.org/resource/owasp-top-10-for-agentic-applications-for-2026/). The mapping identifies relevant categories. It does not represent OWASP certification. | Tracecat control | OWASP Top 10 | LLM applications | Agentic applications | | - | - | - | - | | Identity and tenant boundaries | `A01` Broken Access Control `A07` Authentication Failures | — | `ASI03` Identity and Privilege Abuse | | Data security | `A04` Cryptographic Failures | `LLM02` Sensitive Information Disclosure | `ASI03` Identity and Privilege Abuse | | Default-deny tool policy | `A01` Broken Access Control | `LLM06` Excessive Agency | `ASI02` Tool Misuse and Exploitation | | Durable approval | `A01` Broken Access Control `A06` Insecure Design | `LLM06` Excessive Agency | `ASI02` Tool Misuse and Exploitation `ASI09` Human-Agent Trust Exploitation | | Sandboxed execution | `A05` Injection `A06` Insecure Design | — | `ASI05` Unexpected Code Execution `ASI08` Cascading Failures | | MCP supply chain | `A03` Software Supply Chain Failures `A08` Software or Data Integrity Failures | `LLM03` Supply Chain | `ASI04` Agentic Supply Chain Vulnerabilities | | Token budgets | — | `LLM10` Unbounded Consumption | `ASI08` Cascading Failures | | Audit logs | `A09` Security Logging and Alerting Failures | — | — | | Change management | `A08` Software or Data Integrity Failures | `LLM03` Supply Chain | `ASI04` Agentic Supply Chain Vulnerabilities | | Dependencies | `A03` Software Supply Chain Failures `A08` Software or Data Integrity Failures | `LLM03` Supply Chain | `ASI04` Agentic Supply Chain Vulnerabilities | ## Identity A01A07ASI03 Tracecat authenticates every API and MCP request before it resolves tenant context, so an unauthenticated caller never reaches a tenant lookup. Holding a valid credential establishes who you are; it does not decide what you can reach. ### Single sign-on and provisioning * SAML and OIDC authenticate users against your identity provider. Basic auth covers deployments without one. * SCIM provisions and deprovisions accounts from the directory, so removing someone there removes their Tracecat access. * SCIM also syncs directory groups to Tracecat groups, so directory membership drives role assignment. See [SAML SSO](/authentication/saml) and [OIDC](/authentication/oidc) for connection steps. ### Multi-factor authentication * Users register FIDO2 security keys or passkeys. Tracecat verifies each WebAuthn response with Yubico's `python-fido2` library, checking the challenge, origin, relying party ID, user verification, and signature counter. Registration and sign-in challenges are single-use and expire after 5 minutes. * Organization administrators can require a key for every member. The requirement covers password, OIDC, and SAML sign-in alike. Until the user verifies, the session can reach only the MFA endpoints and sign-out. * An account is single-factor until its first key is registered. Tracecat trusts the first key registered after a password or SSO sign-in. * Tracecat stores recovery codes, each with about 99 bits of secret, only as salted Argon2id hashes, and each code works once. A short public prefix on each code selects the one hash to check, so a wrong code almost never costs an Argon2id check. See [Multi-factor authentication](/authentication/mfa) for setup steps. ### Role-based access control A scope is one permission on one resource, named `resource:action` following OAuth 2.0 convention. The prefix carries the level: | Level | Scope shape | Example | | - | - | - | | Workspace | `resource:action` | `workflow:read`, `agent:create` | | Organization | `org:resource:action` | `org:member:invite`, `org:rbac:update` | Roles bundle scopes: * Built-in roles cover the common cases: `organization-owner`, `organization-admin`, `workspace-admin`, `workspace-editor`, `workspace-viewer`, `workspace-intake`. Every organization member also holds four baseline scopes without a role. * Define custom roles, and custom scopes alongside the platform-defined set, when the built-in roles do not fit. Assign a role to a group or directly to a user. Each assignment is either organization-wide or scoped to a single workspace, and a user's effective permission is the union of both. An organization-wide assignment applies in every workspace; a workspace assignment grants nothing outside it. Tracecat scopes service accounts directly rather than through roles, and bounds them two ways: a service account holds only scopes from the allowlist for its kind, and a grantor can assign only scopes they already hold themselves. See [Roles and permissions](/manage-platform/rbac) for each built-in role's scopes and the assignment rules, [Custom roles and groups](/manage-platform/custom-roles) for defining your own, and [Service accounts](/manage-platform/service-accounts) for scoping a machine identity. ### Network access An organization administrator can restrict the organization to named IP allowlists of IPv4 and IPv6 addresses and CIDR ranges. Enforcement is off by default. When it is on, Tracecat rejects with `403`: * Sign-in from a denied address after the credential is verified, for password, OIDC, and SAML. * Every REST API request scoped to the organization from a denied address, whether it carries a session cookie, a service account API key, or a SCIM token, after its credential is verified and before the endpoint runs. Tracecat resolves the client address from `X-Forwarded-For` and trusts only the hops in `TRACECAT__AUDIT_TRUSTED_PROXY_CIDRS`, so a client cannot forge its address past the proxy chain. Each API replica caches the compiled allowlist for 30 seconds and matches in memory, so the check adds no database round trip to the request path. Tracecat refuses to enable an allowlist that excludes the administrator's own address, and platform superusers bypass the allowlist as the break-glass path. The Tracecat MCP server authenticates with its own OAuth tokens and is outside the allowlist. ### Session visibility Tracecat records the resolved client IP address and browser user agent when it issues a session, and refreshes the session's last-seen time at most every five minutes. Users with `org:member:remove` see these fields for every session in the organization and can revoke any of them; other members see them only for their own sessions. See [IP allowlist](/manage-platform/ip-allowlist) for configuration steps and the session table. ## Data security A04 ### Tenant isolation Tracecat enforces tenant scope in the application layer. PostgreSQL row-level security (RLS) can enforce it again on tenant-owned tables, so a query that misses its tenant filter still withholds another tenant's rows. RLS adds this second layer to tenant sessions only when both of these hold. Platform admin sessions and system jobs that span tenants keep the RLS bypass under every mode, so only the application layer scopes them. * `TRACECAT__RLS_MODE` is `enforce`. In `off` (the default) and `shadow`, every database session runs with the RLS bypass on, so only the application layer scopes queries. Use `shadow` to roll out with the same behavior as `off` before you switch to `enforce`. * The app logs in as a role that can't skip RLS, such as the `app` role from database role setup. Under `enforce`, Tracecat services check their login at startup and refuse to start if the login, or any role it can act as, is a superuser, has `BYPASSRLS`, `CREATEROLE` or `REPLICATION`, owns a table in `public` (or is a member of the role that does, such as `tracecat_owner`), or owns the database or the `public` schema. The check doesn't cover workspace tables and case fields: their tables belong to `app_owner`, which `app` is a member of, so RLS holds on them only while the dynamic-table RLS guard is installed. Role setup installs the guard when its admin can create event triggers, and otherwise tells you to run the guard migration's `MANUAL_INSTALL_SQL` as a superuser. RLS guards against missing tenant filters in Tracecat's queries, not against SQL injection. Tracecat passes the tenant and bypass context to PostgreSQL as custom settings, and any role can change those, so SQL that runs as the app's login can reach any tenant's rows. ### Credentials and sensitive settings Tracecat presents stored credentials to external systems at execution time, so credential storage has to be reversible. Where Tracecat never replays a value, it hashes instead. Reversible encryption is keyed by `TRACECAT__DB_ENCRYPTION_KEY` and uses Fernet (AES-128-CBC with an HMAC-SHA256 tag) by default, or AES-256-GCM when you set `TRACECAT__DB_ENCRYPTION_ALGORITHM=aes256gcm`. Both formats authenticate the ciphertext, so tampering fails the decrypt instead of yielding altered plaintext. See [Database encryption](/self-hosting/security#database-encryption) for the setting and key rotation. It covers: * Workspace, organization, and platform secrets. * OAuth and integration credentials, including access tokens, refresh tokens, and client secrets. * Remote MCP server headers and `stdio` MCP environment variables. * Custom LLM provider credentials and Slack agent-channel credentials. * Organization and platform settings marked sensitive, including the audit webhook URL, its headers, and its custom payload. API tokens are hashed one-way: * Tracecat stores service account API keys, MCP personal access tokens, and webhook API keys as a salted BLAKE2b digest, verifies a presented token in constant time, and cannot recover the original. * Tracecat returns the raw token once, at creation, and keeps a short preview prefix so you can identify it later. * Rotate a lost token to replace it. > [!WARNING] > > **Tracecat stores MCP commands and URLs in cleartext** > > The `stdio` MCP command and its arguments, and the remote MCP server URI, stay > in cleartext. Put credentials in environment variables or headers, which > Tracecat encrypts, rather than inline in an argument or a query string. ### Workflow payloads and durable state Temporal persists workflow and agent inputs and outputs for the life of an execution history, so payload protection is separate from database encryption. * A Tracecat-side codec encrypts payloads with AES-256-GCM before Temporal stores anything, so Temporal only ever holds ciphertext. * Each workspace gets a distinct key, derived with HKDF-SHA256 from a versioned root secret using the workspace ID as derivation context. One workspace's key does not decrypt another's payloads. * The keyring is versioned. Rotation issues a new key ID, and existing histories stay readable under the ID they were written with. * Tracecat masks secret values as `***` in action results, and masking runs before it persists the result, so history holds the masked form. * Large triggers and action results move to object storage automatically. Workflow state keeps a scoped reference, which bounds how much data one run pushes through durable history. Two limits apply. Masking is literal substring replacement, so it misses an encoded or otherwise transformed copy of a secret. Payload encryption is a deployment setting (`TEMPORAL__PAYLOAD_ENCRYPTION_ENABLED`) that ships off by default — enable it wherever Temporal history can hold sensitive data. ### Encryption keys Tracecat generates no key material of its own. You provision two things and supply them to the deployment: `TRACECAT__DB_ENCRYPTION_KEY`, the key behind credential encryption, and `TEMPORAL__PAYLOAD_ENCRYPTION_KEYRING`, the keyring behind workflow history encryption. Store both in the secret manager your platform already provides, and keep them out of application configuration and version control. On Kubernetes, the recommended production deployment, use a Kubernetes Secret synced from your own secret manager by External Secrets Operator rather than one created by hand. On AWS Fargate, use AWS Secrets Manager: ECS injects the core secrets into the container at task launch, and the task role fetches the keyring at runtime so it never appears in a task definition. On Docker Compose, treat the `.env` file as the sensitive artifact: restrict it to the service account that runs Tracecat and keep it out of version control. Move to Kubernetes for a managed secret store and the full sandbox boundary. > [!WARNING] > > Losing `TRACECAT__DB_ENCRYPTION_KEY` makes every stored credential > unrecoverable. Back it up, and restrict access to it at least as tightly as > the credentials it protects. To replace it, follow > [Rotate the database key](/self-hosting/security#rotate-the-database-key). See [Platform secrets](/self-hosting/security#platform-secrets) for per-deployment storage and rotation, and [Secrets management](/self-hosting/kubernetes#secrets-management) for the Helm wiring. ### External secrets A04LLM02ASI03 The subsections above cover how Tracecat stores credentials. This one covers how a value reaches running code, and the boundary differs between workflow actions and agents. Tracecat stores credential metadata and resolves values at execution time, in trusted services only: * The executor, for the secrets a workflow action declares. * The agent tool runner, for secret expressions in tool arguments. * The trusted MCP server, which resolves remote HTTP MCP headers per call. * The LLM gateway, which attaches provider credentials per request. * The preset service, for `stdio` MCP environment values. All of these services run outside the agent sandbox, and Tracecat never persists a credential value in workflow state. You can keep workspace and integration credentials in AWS Secrets Manager instead of Tracecat. #### Workflow actions Tracecat injects the secrets an action declares or references into its sandbox at dispatch. The sandbox bounds what the action can reach — the host, the database, other runs — rather than hiding the credential from code that needs it. `core.script.run_python` receives no ambient workspace secrets. Your script sees only what you pass through `env_vars` or Action inputs. See [Secrets](/automations/core-concepts/secrets) for how actions declare and reference secrets. #### Agents Agent-controlled code runs in the same sandbox as the agent, so generated code can read any credential placed inside that sandbox. Tracecat keeps credential values out of the agent sandbox. * Tracecat issues the sandbox short-lived JWTs scoped to the run, workspace, model, and allowed tools. * Trusted services validate those claims before resolving a provider credential. * Trusted proxies attach credentials to API, LLM, and remote HTTP MCP calls outside the sandbox. * The LLM receives typed interfaces and results; Tracecat never places a stored credential value into model context. Secret expressions in tool arguments resolve outside the sandbox, after the model responds. Local `stdio` MCP is the exception. Its credentials enter the shared sandbox, so treat them as readable by agent-controlled code. ## Agent and MCP control plane ### Default-deny tool policy A01LLM06ASI02 Hostile instructions hidden in an alert, email, case, or tool result can redirect an agent toward a tool the operator never intended it to call. Tracecat therefore decides tool selection, not the model. Agents discover only the tools identity and workspace scope allow, and agent configuration narrows that set further. An explicit deny overrides an allow. Every policy decision resolves to one of three outcomes: * `Allow`: Run the tool through the trusted proxy or `stdio` process. * `Deny`: Block the call before credentials resolve or side effects occur. * `Require approval`: Create a durable request and pause before execution. The trusted proxy rechecks Tracecat and remote HTTP MCP calls before executing them, so it rejects a fabricated request outside the sandbox. Tracecat checks local `stdio` MCP against the captured inventory only, without this second check. ### Token budget LLM10ASI08 An agent stuck in a reasoning loop, or steered into one, can issue model requests until it exhausts your inference budget. A fixed cap on LLM requests or tool calls does not contain this, because legitimate multi-step work has no predictable call count. Tracecat bounds consumption by tokens instead: * `Total token budget`: Caps cumulative LLM token usage for the run. * `Token burn-rate limit`: Caps how fast the run consumes that budget, which stops runaway loops before the total is spent. Sandbox wall-time and resource limits contain execution independently, and tool policy and approval continue to govern side effects. ### Durable human approval A01A06LLM06ASI02ASI09 An approval gate holds only when the decision survives worker restarts and retries, and when every path that resumes the tool requires that recorded decision. Temporal persists the agent at the approval boundary and the tool waits for an authorized acceptance. The decision stays attached to the run and tool call across retries and worker restarts, and Tracecat authorizes the call only when the recorded decision permits it. Each authenticated accept or reject emits one audit event identifying the approver, the tool, and the outcome. The event excludes tool arguments, override values, prompts, and tool outputs. ### External MCP connections External MCP clients such as coding agents authenticate to Tracecat and call tools with a real user's authority, which makes connection sprawl an access-review problem. * OAuth connections inherit the user's effective Tracecat permissions. * Personal access tokens remain workspace-scoped. * The MCP access page groups connections, tokens, and external tool calls by user. * Per-profile scope reduction below user permissions is on the roadmap. ## Trusted agent execution A05A06ASI05ASI08 Custom Python actions, agents, agent-generated code, and local MCP processes all execute code that Tracecat did not write, on infrastructure shared between tenants. Containment therefore cannot depend on that code being correct. nsjail is the boundary. It runs by default on full-isolation profiles and applies to tenant code, third-party packages, and generated output alike. The sandbox exposes only the files and broker interfaces the run needs. General automation actions use their configured executor network policy instead. | Layer | Control | | - | - | | Network | Isolated network namespace. No direct route by default. LLM and tool requests use trusted brokers. Direct internet access requires an explicit agent setting. | | Identity and processes | No host or platform-service identity. The agent and `stdio` children share one sandbox identity. | | Namespaces | User and process namespaces. Mount and IPC namespaces. Hostname and network namespaces. | | Filesystem | Read-only runtime and dependencies. Scoped mounts and bounded temporary storage. Isolated writable working directory. | | Kernel boundary | Syscall filtering blocks unnecessary kernel operations. The process cannot add privileges from inside the jail. | | Resources | cgroup v2 bounds aggregate memory. CPU and wall-time limits. File-size and open-file limits. Process-count limits. | | Lifecycle | Cancellation and timeout terminate the sandbox process tree. Tracecat removes per-run state after execution. | These controls bound the blast radius of compromised output or third-party code. They do not make untrusted code safe outside a supported sandbox profile. ### Sandboxed MCP A03A08LLM03ASI04 A third-party MCP server is untrusted code with a tool description attached. Where it runs decides what it can reach. Remote MCP servers run outside the agent sandbox, and the trusted proxy authenticates each call and returns the result. `stdio` MCP servers run as child processes inside the agent sandbox and inherit its filesystem, network, time, resource, and identity boundaries. Local MCP is a containment boundary, not a policy boundary. Agent-generated code inside the sandbox can invoke a local server's executable directly. Use remote HTTP MCP when you need the trusted proxy to recheck every call. The nsjail boundary above applies to `stdio` servers started inside the agent sandbox and to the built-in runner's connection probes. A deployment can install a replacement `stdio` MCP runner. It then runs every workspace's connection probes, and any calls an agent routes through the trusted MCP server, instead of nsjail. Those calls still pass the trusted server's token, workspace, and current tool-policy checks. The replacement runner's own isolation decides what its servers can reach, so review it as you would the executor. > [!NOTE] > > **`stdio` MCP limitations** > > * Approval gates do not support `stdio` tools. Use remote HTTP MCP for approved calls. > * Enabling `stdio` requires network access for the whole agent sandbox. > * The agent and `stdio` process share one execution identity. > * `stdio` credentials enter the shared sandbox. ### Trusted API and LLM gateways A credential pasted into a prompt is a credential in model context, in provider logs, and in any telemetry that captures prompts. Tracecat resolves secrets referenced by preset-agent Expressions only after a request passes policy, and adds API, OAuth, MCP, and LLM credentials at the proxy outside the sandbox. The agent receives the typed result rather than the credential. You can use the managed LLM gateway, an OpenAI-compatible provider, or route LLM traffic through your own proxy. > [!WARNING] > > **Keep credentials out of agent inputs** > > * Do not place credentials directly in prompts or agent inputs. > * Use Tracecat Expressions to reference secrets in preset-agent instructions. See [Secrets and variables](/agents/secrets-variables) to learn how to pass secrets securely to preset agents through Expressions. ## Audit logs A09 Tracecat separates audit signals by administrative scope and runtime source. | Log | Produced by | Where it goes | Use it to answer | | - | - | - | - | | [Platform audit logs](/audit-logs/platform) | Platform administrators acting above any organization | Platform-scoped HTTPS webhook, separate from every organization sink | Who changed platform settings, users, organizations, tiers, or the registry? | | [Organization audit logs](/audit-logs/organization) | Users and service accounts, scoped to an organization and workspace | Organization HTTPS webhook | Who changed this resource, from where, and did it succeed? | | [Organization agent logs](/audit-logs/agents) | Agent runs inside the sandbox | OTLP export through the trusted gateway | Which models, tools, and approvals did the agent use? | | [MCP access logs](/audit-logs/mcp-access) | External MCP clients calling Tracecat as a user | Workspace MCP access page | Which client invoked which tool as which user, and did it succeed? | > [!NOTE] > > Audit events record operations, not content. > > * `data` carries only stable identifiers, changed-field names, boolean state flags, counts, and a small set of operation discriminators. Tracecat drops unrecognized keys, and drops an allowed field when its value matches a credential pattern. > * Prompts, tool arguments, tool outputs, credentials, and resource contents never appear in an audit event. > * Tracecat models `actor_label`, `ip_address`, and `user_agent` as separate fields, so you can apply your own retention policy to them. > * Use [Organization agent logs](/audit-logs/agents) when you need prompt, tool, or model-level detail. ## Change management A08LLM03ASI04 A configuration change persists beyond the session that made it, so an account compromise can outlive the access that caused it. ### Actions registry A custom registry rolls back to any commit: each sync creates an immutable version identified by the source commit, and you can sync to any commit or promote any earlier version from the UI or the API. Tracecat blocks deletion of a version that published workflows still reference. Rollback is predictable for workflows you publish in Tracecat. Publishing records a registry lock mapping each registry origin to the version current at publish time, and every execution resolves actions from that lock, so neither a sync nor a rollback changes what the published workflow runs. Workflows imported through workspace sync carry no registry lock, so every execution resolves their actions against the current registry version. Republish an imported workflow in Tracecat to pin it. > [!NOTE] > > Republish a workflow to adopt newly synced actions, even when the workflow itself has not changed. Republishing is what pins an imported workflow. The core registry tracks the Tracecat release version and updates when you upgrade Tracecat. Earlier core versions stay available to workflows that pinned them. See [Custom registry](/custom-actions/custom-registry) for repository setup, sync, and commit selection. ### Workspace GitOps Workspace sync exports workflows, agent presets, skills, table schemas without rows, case tags, case fields, case dropdowns and case durations (Enterprise), and variable key names without values to a GitHub or GitLab repository you own. Secrets sync as key names only. Values never leave Tracecat. ```mermaid theme={null} flowchart LR staging["Staging workspace
author and test"] -->|export as pull request| pr["Pull request"] pr --> review["Your Git repository
review · branch protection · signing"] review -->|merge| main["Default branch"] main -->|pull pinned commit| prod["Production workspace
separate workspace RBAC"] ``` * Build and test in a staging workspace, then export the workspace as a pull request. * Review in your Git repository, where branch protection and signing apply. * Merge to your default branch. * Pull that commit into the production workspace. * Use workspace-level RBAC to keep staging authors separate from the people who pull into production. Every pull targets an explicit commit, so imports are reproducible and rollback is a pull of an earlier commit. Tracecat does not pull in the background — to automate promotion, call the sync API from your CI/CD pipeline with a service account. > [!NOTE] > > A pull reproduces workspace configuration, not action versions. Imported workflows carry no registry lock, so each execution resolves actions against the target workspace's current core and custom registry versions until you publish the workflow there. See [Workspace Git sync](/gitops/workspace-git-sync) for connecting a repository, and [Push and pull](/gitops/push-and-pull) for exporting a workspace as a pull request and pulling a commit. ## Dependencies A03A08LLM03ASI04 Core registry dependencies resolve from a committed lockfile that pins exact versions, and the executor runs that resolved set. The same dependency tree runs on every executor. Custom registry dependencies are yours. Tracecat resolves them from your repository's `pyproject.toml` at sync time and builds the result into the version artifact for that commit — it does not pin, scan, or review them on your behalf. Custom registry code runs in the same sandbox as core actions, at sync and at execution. The sandbox bounds what a compromised dependency can reach without making it safe. Pin your dependencies, review changes in the registry repository, and apply the same branch protection you use for production code. See [Custom registry](/custom-actions/custom-registry) for how to declare dependencies in your registry repository's `pyproject.toml`. ## Deployment profiles | Profile | Isolation contract | Intended use | | - | - | - | | Tracecat Cloud | Tracecat manages the secure agent profile and trusted brokers. Tracecat also manages the network boundary and sandbox lifecycle. | Managed production workloads. | | Self-hosted Kubernetes | Helm supports nsjail and cgroup-backed isolation. Apply the required executor security context and capacity settings. | Production workloads that run untrusted code or agents. | | AWS Fargate | Fargate lacks the kernel capabilities required by nsjail. Tracecat uses a reduced-isolation executor profile. | Trusted Fargate workloads. Use Kubernetes for the full sandbox boundary. | | macOS or Windows development | The direct backend lacks the Linux nsjail boundary. | Local development with trusted code only. | * See [Self-hosted security](/self-hosting/security) to select an execution backend. * See [Kubernetes](/self-hosting/kubernetes#security) for the sandboxing and authentication settings the chart expects. ## Related pages * See [AI agent](/agents/ai-agent) to configure tools, approvals, and network access. * See [Secrets and variables](/agents/secrets-variables) to keep credentials out of LLM context. * See [MCP servers](/automations/integrations/mcp-integrations) to connect remote or `stdio` servers. * See [Custom LLM providers](/agents/custom-llm-providers) to route agents through your LLM gateway. * See [Platform audit logs](/audit-logs/platform) to stream platform administrator events. * See [Organization audit logs](/audit-logs/organization) to stream organization user events. * See [Organization agent logs](/audit-logs/agents) to export agent telemetry. * See [MCP access logs](/audit-logs/mcp-access) to investigate workspace MCP activity. * See [Self-hosted security](/self-hosting/security) to harden an execution backend. # Air-gapped deployment Source: https://docs.tracecat.com/self-hosting/air-gapped Run Tracecat on Kubernetes with zero runtime internet connectivity, internal dependencies, and self-hosted LLM inference. > [!NOTE] > > Every Tracecat feature works in self-hosted and air-gapped deployments. We ship a feature to Tracecat Cloud only when it can also run on-premises. Tracecat supports fully air-gapped operation on production Kubernetes. Use internet access during preparation to stage every required artifact, then run Tracecat with zero internet connectivity. ## Reference architecture The inference service can run inside Kubernetes or on an adjacent private GPU cluster. Every runtime connection stays on customer-controlled networks. ```mermaid theme={null} flowchart TB subgraph preparation["Connected preparation"] artifacts["Helm chart · Tracecat and inference images
model weights · tokenizer · configuration"] end subgraph runtime["Disconnected runtime · zero internet routes"] direction TB registry["Internal OCI registry
and model store"] tracecat["Tracecat on Kubernetes
API · UI · workers · executors"] dependencies["Internal dependencies
state · identity · integrations · telemetry"] litellm["Bundled LiteLLM"] inference["vLLM or Ollama
in-cluster or adjacent DGX Spark"] registry --> tracecat tracecat <--> dependencies tracecat -->|direct passthrough| inference tracecat -->|bundled route| litellm --> inference end artifacts -. mirror before cutover .-> registry ``` ## Prepare while connected * Mirror the Tracecat OCI chart and every referenced container image into an internal OCI registry. * Stage the inference image, model weights, tokenizer, and model configuration in internal repositories. * Provision internal PostgreSQL, Redis, S3-compatible storage, Temporal, identity, DNS, TLS, secrets, telemetry, and integration endpoints. Validate image pulls and model discovery before removing egress. No runtime workflow, integration, telemetry exporter, identity provider, or package dependency may require a public endpoint. ## Choose the model route Configure the route per agent, including subagents. | Route | Choose it when | Request path | | - | - | - | | Direct passthrough | You already operate an OpenAI-compatible endpoint and want the shortest path or per-agent routing. | Agent executor → internal vLLM or Ollama | | Bundled LiteLLM | You want centralized model aliases, credentials, request normalization, or multiple inference backends. | Agent executor → bundled LiteLLM → internal inference | Use [vLLM](https://docs.vllm.ai/en/stable/serving/parallelism_scaling/) as the distributed production option; confirm its model-specific [tool parser](https://docs.vllm.ai/en/stable/features/tool_calling/). Use Ollama as the simpler quantized or single-server option; review its [GPU](https://docs.ollama.com/gpu), [context](https://docs.ollama.com/context-length), [model import](https://docs.ollama.com/import), and [tool-calling](https://docs.ollama.com/capabilities/tool-calling) guidance. Ollama models tagged `:cloud` require the Ollama cloud service and cannot serve requests without egress. ## Open model reference Reviewed September 2026. Each [DGX Spark](https://docs.nvidia.com/dgx/dgx-spark/hardware.html) provides 128 GB of unified memory. Static weight figures exclude KV cache, serving overhead, and concurrency. Calculated figures use two bytes per BF16 parameter, one byte per FP8 parameter, and half a byte per FP4 parameter. Context is the total window for input, reasoning, and response. Generation figures are vendor recommendations, not separate hard output limits. | Model | Compute against 2–3 DGX Spark nodes | Size and precision | Tool calling | Context / recommended generation | Defensive cyber evidence | | - | - | - | - | - | - | | [Gemma 4 26B A4B](https://ai.google.dev/gemma/docs/core) | Published load: 57.7 GB BF16, 28.8 GB SFP8, 14.4 GB Q4 | 25.2B total / 3.8B active | Native function calling; vLLM [`gemma4`](https://docs.vllm.ai/en/stable/api/vllm/tool_parsers/gemma4_engine_tool_parser/) parser | 256K / not published | Function calling published; defensive SOC result unavailable | | [Gemma 4 31B](https://ai.google.dev/gemma/docs/core) | Published load: 69.9 GB BF16, 34.9 GB SFP8, 17.5 GB Q4 | 30.7B dense | Native function calling; vLLM [`gemma4`](https://docs.vllm.ai/en/stable/api/vllm/tool_parsers/gemma4_engine_tool_parser/) parser | 256K / not published | Function calling published; defensive SOC result unavailable | | [Ministral 3 14B](https://huggingface.co/mistralai/Ministral-3-14B-Instruct-2512-BF16) | Published: under 32 GB BF16 or 24 GB quantized | 14B dense | Native function calling and JSON; vLLM `mistral` parser | 256K / not published | No checkpoint-specific defensive SOC result found | | [Mistral Small 4 119B A6B](https://huggingface.co/mistralai/Mistral-Small-4-119B-2603) | Published NVFP4 repository: ≈70.8 GB; vLLM example uses TP2 | 119B total / 6.5B active, BF16 or NVFP4 | Native function calling and JSON; vLLM `mistral` parser | 256K / not published | Agentic results published; defensive SOC result unavailable | | [Qwen3.8 27B](https://huggingface.co/Qwen/Qwen3.8-27B) | Published: 55.6 GB BF16 or [18 GB Ollama Q4](https://ollama.com/library/qwen3.8:27b) | 27B dense, BF16 or quantized | Native tool use; vLLM `qwen3_coder` parser | 262K native, 1M with YaRN / up to 262K reasoning content and 131K final response with separate serving limits | Agentic results published; defensive SOC result unavailable | | [Qwen3.8-Flash-Next](https://huggingface.co/Qwen/Qwen3.8-Flash-Next) | Published [Ollama NVFP4 artifact](https://ollama.com/library/qwen3.8-flash-next:125b-a6b-nvfp4): 113 GB; no 2–3 Spark recipe found | 125B total / 6B active, plus 51B n-gram embeddings and 4B MTP | Native tool use; vLLM `qwen3_coder` parser | 262K native, 1M with YaRN / up to 262K reasoning content and 131K final response with separate serving limits | Toolathlon published; defensive SOC result unavailable | | [GLM-4.7-Flash](https://huggingface.co/zai-org/GLM-4.7-Flash) | Calculated: ≈60 GB BF16 or 30 GB FP8 | 30B total / 3B active | Native; vLLM `glm47` parser | 200K / not published | No checkpoint-specific defensive SOC result found | | [GLM-5.3-Flash](https://huggingface.co/zai-org/GLM-5.3-Flash) | Calculated: ≈320 GB FP8 or 160 GB NVFP4; [two-Spark NVFP4 reference](https://docs.nvidia.com/nim/vision-language-models/latest/deploy-on-dgx-spark.html) | 320B total / 18B active, FP8/MTP | Native; vLLM [`glm47` parser and dedicated image](https://recipes.vllm.ai/zai-org/GLM-5.3-Flash) | 1M / not published | AutomationBench published; defensive SOC result unavailable | | [Kimi-Linear 48B A3B](https://github.com/MoonshotAI/Kimi-Linear) | Calculated: ≈96 GB BF16 or 48 GB FP8 | 48B total / 3B active | OpenAI-compatible serving; native tool-use evidence unavailable | 1M / not published | No checkpoint-specific defensive SOC result found | | [Kimi K3](https://github.com/MoonshotAI/Kimi-K3) | vLLM reference: ≈1.68 TB across 16 GPUs; no 2–3 Spark reference | 2.8T total / 104B active, MXFP4 weights | vLLM `kimi_k3` parser; [Ollama is cloud-only](https://ollama.com/library/kimi-k3) | 1.05M / not published | [Defensive investigation coverage: 0.330](https://simbian.ai/research/cyber-defense-benchmark), with 0/13 ATT\&CK tactics above 50% | Cyber evidence means checkpoint-specific evaluation for defensive alert triage, investigation, structured tool use, or workflow generation. General reasoning, coding, and offensive-security scores are not substitutes. Track emerging defensive evaluations such as [SIABench](https://arxiv.org/abs/2603.06422) and [CyberSOCEval](https://arxiv.org/abs/2509.20166). Qwen recommends these generation limits only for frameworks that expose separate controls for reasoning content and final responses within a 1M-token YaRN configuration. The limits are not additive to the context window: prompt, reasoning, and response tokens still share the total window. With a single `max_tokens` control, budget the entire generation within that window. Treat static weight fit as a starting point, not a capacity guarantee. Validate target context length, KV cache, concurrency, latency, and serving overhead with your own workload. ## Related pages * See [Kubernetes](/self-hosting/kubernetes) for component and resource requirements. * See [Self-hosted architecture](/self-hosting/architecture) for service boundaries and request paths. * See [Security architecture](/security/architecture) for the threat model and trusted execution boundaries. * See [TLS and certificates](/self-hosting/tls) for internal certificate authorities and ingress TLS. * See [Custom LLM providers](/agents/custom-llm-providers) for passthrough configuration and model discovery. # Architecture Source: https://docs.tracecat.com/self-hosting/architecture Architecture overview for self-hosted Tracecat: services, networking, authentication boundaries, and dependencies between API, executor, worker, LiteLLM, and frontend. ## Services Use PostgreSQL 15 or newer for the Tracecat application database. The bundled Docker Compose database uses PostgreSQL 16. The Docker Compose stack runs 18 containers. Only `caddy` is exposed externally; all other ports are internal to the Docker network. | Service | Port | Description | | :- | :- | :- | | `caddy` | 80 (configurable) | Reverse proxy and TLS termination | | `api` | 8000 | REST API and webhook receiver | | `ui` | 3000 | Next.js frontend | | `worker` | — | Workflow orchestrator | | `background-worker` | — | Case triggers, Git sync, semantic-search indexing, and platform background tasks | | `executor` | — | Action executor with optional sandbox | | `agent-worker` | — | AI agent orchestrator | | `agent-executor` | — | AI agent action executor | | `litellm` | 4000 | Managed LiteLLM gateway for AI model requests | | `mcp` | 8099 | MCP server for IDE integrations | | `postgres_db` | 5432 | Application database (PostgreSQL 16) | | `temporal` | 7233 | Workflow engine | | `temporal_postgres_db` | 5432 | Temporal database (PostgreSQL 13) | | `temporal_ui` | 8081 (not exposed) | Temporal web UI | | `minio` | 9000, 9001 | S3-compatible object storage | | `minio-init` | — | One-shot MinIO data-volume ownership initialization | | `redis` | 6379 | Cache and message broker | | `migrations` | — | One-shot database migration runner | ## Networking ### Caddy routing Caddy is the single entry point for all external traffic. It forwards requests based on path: | Path | Destination | Purpose | | :- | :- | :- | | `/api*` | `api:8000` | REST API | | `/mcp*` | `mcp:8099` | MCP server | | `/.well-known/oauth-*`, `/authorize*`, `/token`, `/register`, `/consent*`, `/auth/callback*` | `mcp:8099` | MCP OAuth flow | | `/s3/*` | `minio:9000` | Presigned URL proxy | | `/*` | `ui:3000` | Frontend (default) | ### Data flow The browser connects to Caddy, which proxies to the API or UI. The UI server also calls the API directly via `INTERNAL_API_URL` for server-side rendering. External systems send webhooks to `/api/webhooks/...`, which Caddy forwards to the API service. The API submits workflow runs to the Temporal server on port 7233. Workers pull tasks from Temporal's task queue and dispatch actions to executors. Executors run individual action steps, optionally inside an nsjail sandbox. Case triggers, Git sync, and semantic-search indexing require `background-worker`, which polls `shared-background-queue` by default. Set `TRACECAT__BACKGROUND_QUEUE` to the same value on the API and background worker when overriding it. Agent workers and agent executors follow the same Temporal-based pattern for AI agent workflows. ### LiteLLM request path The `litellm` container runs Tracecat's managed LiteLLM gateway on port 4000. It is an internal service, not a public API endpoint. When an agent workflow reaches a model call, `agent-executor` sends the request to `http://litellm:4000` by default. The LiteLLM gateway validates the request, resolves the selected model provider, injects the provider credentials, and forwards the request upstream. This keeps provider credentials out of the sandboxed agent process while giving all managed model requests one internal routing point. Custom provider configurations can bypass the managed gateway when passthrough mode is enabled. Otherwise, root agents and subagents use the internal LiteLLM gateway. ### Docker networks Four networks isolate traffic between service groups: | Network | Scope | Services | | :- | :- | :- | | `core` | default | caddy, api, ui, worker, background-worker, executor, agent-worker, agent-executor, litellm, mcp, redis, minio, temporal, temporal_ui, migrations | | `core-db` | internal | api, worker, background-worker, executor, agent-worker, agent-executor, litellm, mcp, migrations, postgres_db | | `temporal` | default | temporal, temporal_ui, worker, background-worker, executor, agent-worker, agent-executor, mcp | | `temporal-db` | internal | temporal, temporal_postgres_db | Networks marked `internal` cannot reach the internet, preventing direct external access to databases. ## OIDC Set `TRACECAT__AUTH_TYPES=oidc` in your `.env` file and configure these variables: * `OIDC_ISSUER` — your identity provider's issuer URL * `OIDC_CLIENT_ID` — client ID from your identity provider * `OIDC_CLIENT_SECRET` — client secret from your identity provider Set the callback URI in your identity provider to `/auth/oauth/callback`. See [OIDC configuration](/authentication/oidc) for provider-specific setup instructions. ## SAML Set `TRACECAT__AUTH_TYPES=saml` in your `.env` file and configure `SAML_IDP_METADATA_URL` with your identity provider's metadata URL. Supported identity providers: Okta, Microsoft Entra ID, Authentik, and Keycloak. See [SAML configuration](/authentication/saml) for provider-specific setup instructions. ## FAQ > [accordion] Can I use an external PostgreSQL or Redis? > > Yes. Update `TRACECAT__DB_URI` to point to your managed PostgreSQL 15 or newer instance and `REDIS_URL` for Redis. For Temporal, update the Temporal PostgreSQL credentials in your `.env` file. > > Tracecat uses the single database user in `TRACECAT__DB_URI` by default. To give the services, the migrations and people separate roles, set them up as the database admin with `tracecat db roles upgrade`, then point the migrations at `migrator` and the services at `app`. Once the roles are set up, the migrations container refuses any login but `migrator`. See [Database roles](/self-hosting/database-roles). > > See [Security](/self-hosting/security) for production credential recommendations. > [accordion] How do I enable production TLS? > > Caddy auto-provisions TLS certificates from Let's Encrypt when `BASE_DOMAIN` is set to a real domain. Set `PUBLIC_APP_URL` to use `https://` and expose ports 80 and 443 on the Caddy container. > > See [TLS and certificates](/self-hosting/tls) for step-by-step instructions. > [accordion] Can I use any S3-compatible bucket? > > Yes. Tracecat has been tested with Amazon S3, MinIO, SeaweedFS, and RustFS. > [accordion] How do I connect Tracecat MCP from my IDE? > > Point your IDE's MCP configuration to `/mcp`. Authentication uses a built-in OIDC provider — your agent will be redirected to sign in through the browser on first connection. > > See [Tracecat MCP](/automations/tracecat-mcp#setup) for IDE-specific setup instructions. # AWS ECS Fargate Source: https://docs.tracecat.com/self-hosting/aws-fargate Deploy self-hosted Tracecat to AWS ECS Fargate using Terraform: provision RDS, networking, secrets, and Temporal alongside Tracecat services in your own AWS account. > [!WARNING] > > This stack exposes Tracecat to the public internet. > We've set the `auth_types` Terraform variable to `saml` by default. > You must configure SAML before your first login or change `auth_types` to another method. > See [Security](/self-hosting/security) for additional production hardening recommendations. ## Prerequisites * [Terraform](https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli) 1.7 or later * AWS credentials configured for your target account and role * A public [Route53 hosted zone](https://aws.amazon.com/route53/) (domain and hosted zone ID) * `openssl` and AWS CLI (if using the helper secret script) ## Clone the repository Clone the Tracecat repository and navigate to the Fargate deployment directory. ```bash theme={null} git clone https://github.com/TracecatHQ/tracecat.git cd tracecat/deployments/fargate ``` ## Create core secrets Tracecat requires four secrets. Generate them with `openssl`: ```bash theme={null} # Service key (hex, 32 bytes) — used for internal service-to-service JWT signing openssl rand -hex 32 # Signing secret (hex, 32 bytes) — used for webhook URL signing and HMAC operations openssl rand -hex 32 # User auth secret (hex, 32 bytes) — used for password reset, email verification, OAuth state, and OIDC key derivation openssl rand -hex 32 # DB encryption key (Fernet-compatible base64, 32 bytes) — used for encrypting secrets at rest openssl rand 32 | base64 | tr -d '\n' | tr '+/' '-_' ``` > [!WARNING] > > Store these securely. Losing `TRACECAT__DB_ENCRYPTION_KEY` makes encrypted credentials unrecoverable. > Losing `TRACECAT__SIGNING_SECRET` invalidates existing webhook URLs and agent channel endpoint URLs. See [Where to store them](/self-hosting/security#where-to-store-them) for the recommended storage on each deployment target, and which of these secrets can be rotated. You can create these in AWS Secrets Manager manually or use the helper script: ```bash theme={null} export AWS_DEFAULT_REGION= ./scripts/create-aws-secrets.sh ``` Save the resulting secret ARNs. You'll need them for Terraform variables. ## Configure authentication secrets (optional) Depending on your chosen `auth_types` (e.g. `saml`, `oidc`, `oauth`), provide the necessary secret ARNs as Terraform variables. For example, for SAML: * `saml_idp_metadata_url_arn` ## Initialize and deploy Initialize Terraform and apply the configuration. `auth_superadmin_email` has no default — if you leave it unset, no one can sign in to the new deployment. ```bash theme={null} terraform init export TF_VAR_aws_region= export TF_VAR_domain_name= export TF_VAR_hosted_zone_id= export TF_VAR_tracecat_db_encryption_key_arn= export TF_VAR_tracecat_service_key_arn= export TF_VAR_tracecat_signing_secret_arn= export TF_VAR_user_auth_secret_arn= export TF_VAR_auth_superadmin_email= # Optional but recommended export TF_VAR_tracecat_image_tag=1.1.0 terraform apply ``` Provisioning takes about 10-20 minutes due to RDS and ECS startup. ## Access Tracecat Once deployed, access your instance at: * UI: `https://` * API docs: `https:///api/docs` * MCP: `https:///mcp` ## First login Set the first superadmin's email before anyone signs in. Until it is set, nobody can register, and the first account must match it. It takes one case-sensitive email address, so use the exact casing your identity provider sends. | Deployment | Setting | | :- | :- | | Docker Compose | `TRACECAT__AUTH_SUPERADMIN_EMAIL` in `.env` | | AWS ECS Fargate | `TF_VAR_auth_superadmin_email`, or `auth_superadmin_email` in your `.tfvars` | | Kubernetes | `tracecat.auth.superadminEmail` in `values.yaml` | * Basic auth: sign up with that email, then log in. * SSO: log in through your identity provider. Tracecat creates the account on first login. The account becomes superadmin and owner of the default organization. ## Updating Tracecat To update an existing Tracecat deployment on Fargate: If your stack includes the legacy bundled WAF, follow [WAF (legacy)](#waf-legacy) when upgrading. 1. Pull the latest Fargate stack from the Tracecat repository to ensure you have the most recent infrastructure changes. 2. Change the `TF_VAR_tracecat_image_tag` variable to the desired image tag compatible with the stack, or remove the variable to default to the latest image tag. 3. Run `terraform apply` to apply the updates. ```bash theme={null} cd tracecat/deployments/fargate git pull origin main # Set variables as before, then update the image tag export TF_VAR_tracecat_image_tag=1.1.0 terraform apply ``` ## WAF (legacy) > [!NOTE] > > Manage AWS WAF rules, ALB associations, event logging, and monitoring through a separate CloudFormation stack or your own security tooling. > Get the ALB ARN with `terraform output -raw alb_arn`, then use your security tooling to associate a `REGIONAL` web ACL in the ALB's AWS account and region. > Existing deployments keep their WAF when upgrading with Terraform 1.7+ and the bundled `waf-handoff.tf`. > See the [Fargate WAF cleanup guide](https://github.com/TracecatHQ/tracecat/pull/4145) for migration, manual setup, and troubleshooting. ## Database login The migrations init container in the API task runs `alembic upgrade head` as the stack's database user on every API task start. [Database roles](/self-hosting/database-roles) aren't available on Fargate yet. ## Temporal DB SSL enforcement For the bundled Fargate `temporalio/auto-setup` deployment, `temporal_db_force_ssl` defaults to `false`: ```bash theme={null} export TF_VAR_temporal_db_force_ssl=false terraform apply ``` This setting applies only to the bundled Temporal RDS instance. It requires a DB reboot when changed and permits non-TLS connections to the Temporal database for compatibility with the current Fargate Temporal auto-setup flow. If you are using Temporal Cloud or another external Temporal cluster, set `disable_temporal_autosetup=true` and point `temporal_cluster_url` at your external cluster. In that setup, `temporal_db_force_ssl` is typically unused because the bundled Temporal RDS instance is not created. If you run your own external Temporal PostgreSQL and want SSL-only enforcement there, set `TF_VAR_temporal_db_force_ssl=true`. ## Database login The Fargate deployment logs Tracecat in to RDS with a password from Secrets Manager. [Database IAM login](/self-hosting/database-iam) describes RDS IAM token login, which the Fargate Terraform doesn't configure yet. ## AWS role assumption The executor assumes the role from the `AWS_ROLE_ARN` key in a workflow's protected `aws` or `amazon_s3` secret, or from an external secret store, using its ECS task role. By default, `executor_deny_same_account_assume_role` denies that `sts:AssumeRole` call for any role in the deployment's own AWS account. Create your AWS integration roles in a different account. If you run a single-account install and your integration roles must live in the same account as Tracecat, turn the Deny off: ```bash theme={null} export TF_VAR_executor_deny_same_account_assume_role=false terraform apply ``` With the Deny off, every workspace user can assume any role in that account whose trust policy names the account root or the executor task role and doesn't require a different `ExternalId`. Keep other roles in that account from trusting either. Cross-account roles are unaffected by this setting; their trust policy, including its `ExternalId` condition, still applies. ## FAQ > [accordion] Will updating the Fargate stack delete my existing WAF? > > A normal apply with the bundled handoff file forgets the legacy WAF state entries while preserving the live ACL and ALB association; no manual `terraform state rm` is required. Remove the retired WAF inputs and follow the [upgrade and error-recovery instructions](https://github.com/TracecatHQ/tracecat/pull/4145) before applying. > [accordion] Is untrusted code execution safe on Fargate? > > Fargate does not support the permissions model required by `nsjail`. Tracecat uses a fallback executor without `nsjail` isolation on Fargate. > If you need the highest isolation for untrusted code execution (like custom registry actions or `core.script.run_python`), [deploy Tracecat on Kubernetes](/self-hosting/kubernetes), where `nsjail` is enabled by default. > [accordion] What infrastructure does this stack create? > > The Terraform stack deploys: > > * Public ALB, Route53 records, and ACM certificates > * ECS cluster with Service Connect > * RDS instances (core database and optional Temporal database) > * ElastiCache Redis > * S3 buckets for attachments, registry, and workflow artifacts > * VPC endpoints for S3 and Secrets Manager > [accordion] Connecting a VPC-internal LiteLLM, vLLM, or Ollama fails with 'Host is not allowed' > > Tracecat rejects LLM provider and MCP endpoints that resolve to private addresses unless you allow them. > Set `outbound_allowed_private_cidrs` in your Terraform variables to the endpoint's IP or CIDR, e.g. `"10.0.12.34/32"`, and apply. > See [Private endpoints](/agents/llm-providers#private-endpoints). > [accordion] What happens if database migrations fail? > > Migrations run in an init container during the API task startup. The API container only starts if migrations succeed. If migrations fail, the deployment pauses and dependent services (`worker`, `executor`) will not update. # Database IAM login Source: https://docs.tracecat.com/self-hosting/database-iam Log Tracecat in to PostgreSQL with Amazon RDS IAM or Microsoft Entra ID tokens instead of a stored database password. With `TRACECAT__DB_AUTH_MODE` set to `aws_iam` or `azure_entra`, each Tracecat service signs a short-lived token with its own cloud identity and sends it as the database password. Every new connection gets a valid token, so no service holds a database password. The default, `password`, keeps the existing password login. ## Settings A token mode connects with these variables and refuses to start if `TRACECAT__DB_PASS`, `TRACECAT__DB_PASS__ARN` or `TRACECAT__DB_URI` is set: | Variable | Value | | - | - | | `TRACECAT__DB_AUTH_MODE` | `aws_iam` or `azure_entra` | | `TRACECAT__DB_USER` | The database user, such as `app` | | `TRACECAT__DB_ENDPOINT` | The host Tracecat connects to: the database, or PgDog | | `TRACECAT__DB_PORT` | Its port, such as `5432` (or `6432` for PgDog) | | `TRACECAT__DB_NAME` | The database name, such as `tracecat` | | `TRACECAT__DB_SSLMODE` | `require`, `verify-ca` or `verify-full` | `require` encrypts the connection without checking the server's certificate, and `verify-ca` checks the certificate's CA but not the host name, so any certificate from that CA passes. Only `verify-full` checks that the server is the host you named. For a direct connection to the database, use `verify-full` and point `PGSSLROOTCERT` at the CA bundle, such as the [RDS global bundle](https://truststore.pki.rds.amazonaws.com/global/global-bundle.pem) or `/etc/ssl/certs/ca-certificates.crt` for Azure. `aws_iam` also reads `TRACECAT__DB_AWS_REGION` (default `AWS_REGION`) and `TRACECAT__DB_AWS_IAM_HOST` / `TRACECAT__DB_AWS_IAM_PORT`, the RDS endpoint the token is signed for (default `TRACECAT__DB_ENDPOINT` / `TRACECAT__DB_PORT`). `azure_entra` reads `TRACECAT__DB_AZURE_CLIENT_ID`, the managed identity's client ID (default `AZURE_CLIENT_ID`). ## Amazon RDS **1. Turn on IAM database authentication** ```bash theme={null} aws rds modify-db-instance --db-instance-identifier \ --enable-iam-database-authentication --apply-immediately ``` **2. Create the database user** As the master user, create the login and grant it `rds_iam`: ```sql theme={null} CREATE ROLE app LOGIN; GRANT rds_iam TO app; ``` `rds_iam` turns off a role's password login, so never grant it to the master user. With [database roles](/self-hosting/database-roles), `tracecat db roles upgrade --login aws_iam` creates `app`, `migrator` and `agent_runtime` and grants them `rds_iam` for you. **3. Allow each service's IAM role to connect** Look up the instance's resource ID, which looks like `db-ABCDEFGHIJKLMNOPQRSTUVWXYZ`: ```bash theme={null} aws rds describe-db-instances --db-instance-identifier \ --query 'DBInstances[0].DbiResourceId' --output text ``` Attach this statement to every IAM role a Tracecat service runs as (IRSA or Pod Identity on EKS, the task role on ECS). The resource is the `rds-db` user ARN, not the instance ARN: ```json theme={null} { "Effect": "Allow", "Action": "rds-db:connect", "Resource": "arn:aws:rds-db:::dbuser:/app" } ``` Every pod or task on that role can then log in as `app`, including executors that run workflow actions. Never grant it to the node's instance role: every pod on the node could then log in as `app`. On EKS, set `AWS_EC2_METADATA_DISABLED=true` on Tracecat's pods so a pod without its own identity fails instead of signing with the node role (the Helm chart sets it). **4. Configure Tracecat** Download the RDS CA bundle and mount it into every Tracecat container, here at `/etc/tracecat/rds-global-bundle.pem` (a Kubernetes ConfigMap or Secret volume, or an ECS bind mount): ```bash theme={null} curl -fsSLo rds-global-bundle.pem https://truststore.pki.rds.amazonaws.com/global/global-bundle.pem ``` ```bash theme={null} TRACECAT__DB_AUTH_MODE=aws_iam TRACECAT__DB_USER=app TRACECAT__DB_ENDPOINT=...rds.amazonaws.com TRACECAT__DB_PORT=5432 TRACECAT__DB_NAME=tracecat TRACECAT__DB_SSLMODE=verify-full PGSSLROOTCERT=/etc/tracecat/rds-global-bundle.pem TRACECAT__DB_AWS_REGION= ``` Tracecat signs each token locally with the service's AWS credentials and reuses it for 10 minutes of its 15-minute life. RDS checks the token only at login, so open connections outlive it. ## Azure Database for PostgreSQL **1. Turn on Microsoft Entra authentication** On the flexible server, enable Microsoft Entra authentication and set an Entra administrator. **2. Create a managed identity for Tracecat** Create a user-assigned managed identity and federate it with each Kubernetes service account that Tracecat runs as (Workload Identity): Run this once per service account, with a credential name unique to each: ```bash theme={null} az identity federated-credential create --name \ --identity-name --resource-group \ --issuer \ --subject system:serviceaccount:: ``` Annotate those service accounts with `azure.workload.identity/client-id: ` and label the pods `azure.workload.identity/use: "true"`. **3. Create the database users** As the Entra administrator, connected to the `postgres` database, map each database role to the object ID of the identity that logs in as it: ```sql theme={null} SELECT * FROM pgaadauth_create_principal_with_oid('app', '', 'service', false, false); ``` With [database roles](/self-hosting/database-roles) (`tracecat db roles upgrade --login azure_entra`), create all three login roles first; role setup then grants their privileges. `migrator` maps to the migrations Job's identity, `app` to the services' identity, and `agent_runtime` to an identity of its own (Tracecat doesn't log in as it yet): ```sql theme={null} SELECT * FROM pgaadauth_create_principal_with_oid('migrator', '', 'service', false, false); SELECT * FROM pgaadauth_create_principal_with_oid('app', '', 'service', false, false); SELECT * FROM pgaadauth_create_principal_with_oid('agent_runtime', '', 'service', false, false); ``` **4. Configure Tracecat** ```bash theme={null} TRACECAT__DB_AUTH_MODE=azure_entra TRACECAT__DB_USER=app TRACECAT__DB_ENDPOINT=.postgres.database.azure.com TRACECAT__DB_PORT=5432 TRACECAT__DB_NAME=tracecat TRACECAT__DB_SSLMODE=verify-full PGSSLROOTCERT=/etc/ssl/certs/ca-certificates.crt TRACECAT__DB_AZURE_CLIENT_ID= ``` Tracecat gets tokens from `DefaultAzureCredential`, which caches each token and renews it before it expires. ## Kubernetes with PgDog With the Helm chart's `externalPostgres.auth.mode: awsIam`, the Tracecat services sign their own tokens and log in to PgDog, which passes the token through to RDS. Two connections keep other logins: the migrations Job (the admin, or `migrator` with [database roles](/self-hosting/database-roles)) and the agent runtime's own connections (below). PgDog's user takes `auth_type = "external_token"`: PgDog checks each new token once by logging in to RDS with it, as `pgdog.serverUser`. The chart signs the tokens for `externalPostgres.host`, so set it to the RDS endpoint. ```yaml theme={null} externalPostgres: host: ...rds.amazonaws.com sslMode: require auth: existingSecret: tracecat-postgres-credentials # the migrations Job's admin, without database roles appSecret: tracecat-db-runtime # the agent runtime's PgDog-only login mode: awsIam awsIam: username: app tls: verifyCA: true caCert: | ...RDS CA bundle... pgdog: enabled: true serverAuth: rds_iam serverUser: app serviceAccount: annotations: eks.amazonaws.com/role-arn: arn:aws:iam:::role/tracecat-pgdog ``` The agent runtime's own connections can't sign tokens, so they log in to a second PgDog database entry, `_runtime`, with `appSecret`'s password, which only PgDog accepts. Create `appSecret` for this purpose, with keys `username` (`app`), `password` and `dsn`, and point `agentRuntime.durable.database.dsnSecret` at it: ```text theme={null} postgresql://app:@-pgdog:6432/tracecat_runtime?sslmode=require ``` The two entries pool separately, so split `pgdog.pool.size` and `pgdog.passwordDatabase.poolSize` between them. PgDog needs a build with the token-cache fix from PgDog main (pgdog#1989). Clients reach PgDog over TLS that doesn't verify PgDog's certificate. A token taken from that hop is accepted by RDS until it expires, and PgDog accepts it for 15 minutes after it first sees it. ## Migrations Without database roles, the migrations Job logs in with `externalPostgres.auth.existingSecret`. With them, it logs in as `migrator` (`migrations.migrator`, with `login: aws_iam` for an IAM token of its own) and never as the admin; see [Database roles](/self-hosting/database-roles). The `tracecat-admin migrate` commands take a password URI only. ## Limitations * The AWS Fargate Terraform doesn't set `TRACECAT__DB_AUTH_MODE` yet; Fargate deployments keep password login. * The Helm chart configures `aws_iam` only. * Self-hosted Temporal still logs in to its own database with a password. ## Related pages * See [Kubernetes](/self-hosting/kubernetes) for the rest of the Helm chart's PostgreSQL settings. * See [Database roles](/self-hosting/database-roles) to set up `app`, `migrator` and read-only roles. * See [Environment variables](/self-hosting/environment-variables) for every database setting. # Database roles Source: https://docs.tracecat.com/self-hosting/database-roles Run Tracecat on separate PostgreSQL roles, set them up with `tracecat db roles`, and keep the admin login out of your deployment. By default Tracecat uses one PostgreSQL user for everything. With database roles, each part of Tracecat logs in as its own role, and the admin login (a superuser, or a `CREATEROLE` user such as the RDS master) stays with the person who manages the database. | Role | Logs in | Used by | | - | - | - | | `app` | Yes | Every Tracecat service | | `migrator` | Yes | Database migrations. It acts as `tracecat_owner`, so new tables belong to that role. | | `agent_runtime` | Yes | Reserved for the agent runtime | | `tracecat_owner` | No | Owns the tables in `public` | | `app_owner` | No | Owns the workspace table schemas (`tables_*`, `custom_fields_*`) | | `tracecat_readonly` | No | Read access for people, without credential columns | Setting up roles is provisioning: you run it as the admin, once per install and again before a release that changes roles. Migrations then run as `migrator` and never need the admin: once the roles are set up, the migrations container refuses any other login. ## Set up roles Run `tracecat db roles upgrade` as the admin, from the Tracecat image of the release you are about to deploy. It creates the roles, grants their access, and moves an existing install's objects to `tracecat_owner` and `app_owner`. It is safe to rerun. ```bash theme={null} docker run --rm -i \ -e TRACECAT__DB_ADMIN_URI \ -e TRACECAT__DB_MIGRATOR_PASSWORD \ -e TRACECAT__DB_APP_PASSWORD \ -e TRACECAT__DB_SSLMODE=verify-full \ -e PGSSLROOTCERT=/certs/ca.pem \ -v "$PWD/ca.pem:/certs/ca.pem:ro" \ ghcr.io/tracecathq/tracecat: \ tracecat db roles upgrade --login password ``` * `TRACECAT__DB_ADMIN_URI`: the admin's connection URI for the Tracecat database, for example `postgresql://postgres:@db.example.com:5432/tracecat`. * `ca.pem`: the CA bundle that signed the database's certificate, so `verify-full` can check it (for RDS, the [global bundle](https://truststore.pki.rds.amazonaws.com/global/global-bundle.pem)). * `--login`: how `app`, `migrator` and `agent_runtime` log in. `password` sets the passwords from `TRACECAT__DB_MIGRATOR_PASSWORD` and `TRACECAT__DB_APP_PASSWORD` (and `TRACECAT__DB_AGENT_RUNTIME_PASSWORD` if set). `aws_iam` grants `rds_iam` instead, so the roles log in with IAM tokens; leave the password variables unset. `azure_entra` expects you to create `migrator`, `app` and `agent_runtime` first, each mapped to the identity that logs in as it with `pgaadauth_create_principal_with_oid` (see [Database IAM login](/self-hosting/database-iam)); leave the password variables unset. Then give each part its login: 1. Point the migrations at `migrator`: `TRACECAT__DB_USER=migrator` and `TRACECAT__DB_PASS`, or `TRACECAT__DB_URI`. 2. Point every other service at `app`. 3. Deploy. On a new install, run `tracecat db roles upgrade` once more after the first deploy. It installs the guard that keeps row-level security on workspace tables, which needs the migrated schema and a superuser (`rds_superuser` on RDS). Until then, each migration run logs `the dynamic-table RLS guard isn't installed`. If the admin can't run commands against the database (no `CREATEROLE`, or a locked-down managed service), print the SQL and run it yourself: ```bash theme={null} tracecat db roles bootstrap --login password --sql ``` ## Before each release Release notes say when a release changes database roles. Check before you deploy: ```bash theme={null} tracecat db roles status ``` ```text theme={null} role setup: database 1, this release 2: behind public objects not owned by tracecat_owner: 0 dynamic-table RLS guard: installed ``` `status` exits with `1` when the database is behind. Run `tracecat db roles upgrade` from the new release's image, then deploy. If you deploy first, migrations stop before changing anything: ```text theme={null} error: database role setup is behind: the database has version 1, this release needs version 2 hint: run `tracecat db roles upgrade` as the database admin first, then rerun the deploy ``` Releases that only add tables don't need this step: the migrations grant `app` and `tracecat_readonly` access to new tables themselves. ## By deployment type ### Docker Compose Compose sets up roles for you, because the `postgres` superuser's password is already in `.env`. Set these in `.env`, then restart: ```bash theme={null} TRACECAT__DB_ROLE_LOGIN=password TRACECAT__DB_ADMIN_URI=postgresql://${TRACECAT__POSTGRES_USER}:${TRACECAT__POSTGRES_PASSWORD}@postgres_db:5432/postgres TRACECAT__DB_MIGRATOR_PASSWORD= TRACECAT__DB_APP_PASSWORD= TRACECAT__DB_MIGRATOR_URI=postgresql+psycopg://migrator:${TRACECAT__DB_MIGRATOR_PASSWORD}@postgres_db:5432/postgres ``` On each start, the `migrations` container runs `tracecat db roles upgrade` as the admin, the migrations as `migrator`, then `upgrade` again (it installs the RLS guard once the schema exists). Until you change `TRACECAT__DB_URI`, the services keep logging in as the admin. Once the roles exist, move them to `app` with `TRACECAT__DB_URI=postgresql+psycopg://app:${TRACECAT__DB_APP_PASSWORD}@postgres_db:5432/postgres`, and keep the variables above set: the next start needs them for role setup. ### Kubernetes Run `tracecat db roles upgrade` yourself, from a machine or a one-off pod that can reach the database, with the admin's credentials. Don't store the admin's credentials in the cluster. Then give the chart's migrations Job the `migrator` login (`migrations.migrator` in the chart's values, with a password Secret or `aws_iam`) and the services the `app` login (`externalPostgres.auth.appSecret`). ### AWS Fargate The Fargate stack runs Tracecat as one database user. Database roles aren't available there yet. ## Personal read-only access Give people their own login and the `tracecat_readonly` role. As the admin: On RDS, with IAM login: ```sql theme={null} CREATE ROLE alice LOGIN; GRANT rds_iam TO alice; GRANT tracecat_readonly TO alice; ``` Elsewhere, with a password: ```sql theme={null} CREATE ROLE alice LOGIN; GRANT tracecat_readonly TO alice; ``` Then set her password in psql with `\password alice`, which hashes it on the client so the plaintext never reaches the server. `tracecat_readonly` can read every workspace's data in `public` except credential columns such as tokens and password hashes. Row-level security still applies to it on workspace-scoped tables, so a session sees their rows only after it opts in: run `SET app.rls_bypass = 'on';` first (or `SET app.current_workspace_id = '';` for one workspace). Tables without a policy, such as organization-wide ones like `user`, are readable without it. The role stays read-only either way. ## Break-glass access The admin login keeps full access: it is a member of `tracecat_owner` (or a superuser). Use it only for repairs, then rotate its password. Don't hand it to a Tracecat service or the migrations. ## Roll back To return to a single database user, point every service and the migrations back at the admin login, then run this as the admin in the Tracecat database (replace `` with its name): ```sql theme={null} REASSIGN OWNED BY tracecat_owner, app_owner TO ; DROP OWNED BY tracecat_owner; DROP OWNED BY app_owner; DROP OWNED BY tracecat_readonly; DROP OWNED BY migrator; DROP OWNED BY app; DROP OWNED BY agent_runtime; DROP ROLE app, agent_runtime, migrator, tracecat_readonly, tracecat_owner, app_owner; ``` `REASSIGN OWNED` gives the tables back to the admin. Each `DROP OWNED` then only removes that role's grants and default privileges; run them one role at a time, since one statement for several roles fails on their shared default privileges. `DROP ROLE` removes the roles, including people's `tracecat_readonly` membership. # Docker Compose Source: https://docs.tracecat.com/self-hosting/docker-compose Deploy self-hosted Tracecat using Docker Compose: bring up the API, executor, worker, frontend, Postgres, and Temporal stack on a single host in minutes. > [!WARNING] > > Docker Compose deployments default to basic email / password authentication. > Production deployments should use [OIDC](/authentication/oidc) or [SAML](/authentication/saml) SSO. > See [Security](/self-hosting/security) for additional production hardening recommendations. > Tracecat SAML SSO always requires signed assertions and signed responses. ## Prerequisites * [Docker](https://docs.docker.com/engine/install/) version 26.0.0+ * [Docker Compose](https://docs.docker.com/compose/install/) version 2.29.0+ * [openssl](https://www.openssl.org/source/) ## Core secrets The `env.sh` script (next step) generates these automatically. If you need to generate them manually: Tracecat requires four secrets. Generate them with `openssl`: ```bash theme={null} # Service key (hex, 32 bytes) — used for internal service-to-service JWT signing openssl rand -hex 32 # Signing secret (hex, 32 bytes) — used for webhook URL signing and HMAC operations openssl rand -hex 32 # User auth secret (hex, 32 bytes) — used for password reset, email verification, OAuth state, and OIDC key derivation openssl rand -hex 32 # DB encryption key (Fernet-compatible base64, 32 bytes) — used for encrypting secrets at rest openssl rand 32 | base64 | tr -d '\n' | tr '+/' '-_' ``` > [!WARNING] > > Store these securely. Losing `TRACECAT__DB_ENCRYPTION_KEY` makes encrypted credentials unrecoverable. > Losing `TRACECAT__SIGNING_SECRET` invalidates existing webhook URLs and agent channel endpoint URLs. See [Where to store them](/self-hosting/security#where-to-store-them) for the recommended storage on each deployment target, and which of these secrets can be rotated. ## Download configuration files ```bash theme={null} # 1. Download the env.sh installation script curl -fL -o env.sh https://github.com/TracecatHQ/tracecat/releases/latest/download/env.sh # 2. Download the .env.example template file (env.sh needs this to generate your .env file) curl -fL -o .env.example https://github.com/TracecatHQ/tracecat/releases/latest/download/env.example # 3. Make the env.sh script executable and run it chmod +x env.sh && ./env.sh ``` After running `env.sh`, you'll be prompted to input the following: * Set `PUBLIC_APP_URL`. Defaults to `localhost`. * Require PostgreSQL SSL mode? Defaults to `n`. * Required field: Enter email address for the first user (superadmin). ## Download Caddyfile Tracecat uses Caddy as a reverse proxy. You'll need to download the following `Caddyfile` to configure this service. ```bash theme={null} curl -fL -o Caddyfile https://github.com/TracecatHQ/tracecat/releases/latest/download/Caddyfile ``` ## Download Docker Compose file ```bash theme={null} curl -fL -o docker-compose.yml https://github.com/TracecatHQ/tracecat/releases/latest/download/docker-compose.yml ``` These links download the files from the latest stable release, and its `docker-compose.yml` runs that release's images. To pin a version, download each file from `https://github.com/TracecatHQ/tracecat/releases/download//`, where the env template is `env.example`. For releases that have no attached files, use `https://raw.githubusercontent.com/TracecatHQ/tracecat//`, where it is `.env.example`. To override the image tag alone, set `TRACECAT__IMAGE_TAG=` in `.env`. > [!WARNING] > > Docker Compose defaults to the `direct` executor backend, which does not sandbox ordinary workflow actions. > For supported action isolation, set `TRACECAT__EXECUTOR_BACKEND=nsjail`, then start with the sandbox overlay described in [Security](/self-hosting/security#nsjail-sandbox-recommended-for-production). > The legacy `ephemeral` value remains a compatibility alias for `nsjail`. ## Start Tracecat For the direct backend, run the command below to start Tracecat and all related services. Make sure your `docker-compose.yml` and generated `.env` files are in the same directory. ```bash theme={null} docker compose up ``` For nsjail, download `docker-compose.sandbox.yml` from the same Tracecat release as your image and place it beside `docker-compose.yml`: ```bash theme={null} curl -fL -o docker-compose.sandbox.yml https://github.com/TracecatHQ/tracecat/releases/latest/download/docker-compose.sandbox.yml ``` Start with both files so the overlay supplies the container permissions and cgroup bootstrap: ```bash theme={null} TRACECAT__EXECUTOR_BACKEND=nsjail docker compose \ -f docker-compose.yml -f docker-compose.sandbox.yml up -d ``` If you build locally with `docker-compose.local.yml`, substitute that file for `docker-compose.yml` in the command. ## Access Tracecat Once deployed, access your instance at: * UI: `http://localhost:${PUBLIC_APP_PORT}` * API docs: `http://localhost:${PUBLIC_APP_PORT}/api/docs` * MCP: `http://localhost:${PUBLIC_APP_PORT}/mcp` > [!WARNING] > > Plain HTTP is fine for local development on `localhost`, but do not expose an HTTP-only deployment to a public domain. > Modern browsers upgrade requests to a public hostname to HTTPS, so the UI fails with `ERR_CONNECTION_REFUSED` even while `curl` over HTTP still works. > Enable TLS before going to production. See [TLS and certificates](/self-hosting/tls). ## First login Set the first superadmin's email before anyone signs in. Until it is set, nobody can register, and the first account must match it. It takes one case-sensitive email address, so use the exact casing your identity provider sends. | Deployment | Setting | | :- | :- | | Docker Compose | `TRACECAT__AUTH_SUPERADMIN_EMAIL` in `.env` | | AWS ECS Fargate | `TF_VAR_auth_superadmin_email`, or `auth_superadmin_email` in your `.tfvars` | | Kubernetes | `tracecat.auth.superadminEmail` in `values.yaml` | * Basic auth: sign up with that email, then log in. * SSO: log in through your identity provider. Tracecat creates the account on first login. The account becomes superadmin and owner of the default organization. ## Updating Tracecat > [!WARNING] > > Be careful when updating Tracecat. > Do not accidentally overwrite or lose your existing `TRACECAT__SERVICE_KEY`, `TRACECAT__SIGNING_SECRET`, `TRACECAT__DB_ENCRYPTION_KEY`, and `USER_AUTH_SECRET` secrets. > Losing these secrets will break your credentials and webhooks. ```bash theme={null} # 1. Download the latest env migration script and env template curl -fL -o env-migration.sh https://github.com/TracecatHQ/tracecat/releases/latest/download/env-migration.sh curl -fL -o .env.example https://github.com/TracecatHQ/tracecat/releases/latest/download/env.example # 2. Make the migration script executable and update your existing .env chmod +x env-migration.sh && ./env-migration.sh # 3. Download the latest Docker Compose file curl -fL -o docker-compose.yml https://github.com/TracecatHQ/tracecat/releases/latest/download/docker-compose.yml # 4. Download the latest Caddyfile curl -fL -o Caddyfile https://github.com/TracecatHQ/tracecat/releases/latest/download/Caddyfile # 5. If you use nsjail, back up and download the latest sandbox overlay if [ -f docker-compose.sandbox.yml ]; then cp docker-compose.sandbox.yml docker-compose.sandbox.yml.bak curl -fL -o docker-compose.sandbox.yml https://github.com/TracecatHQ/tracecat/releases/latest/download/docker-compose.sandbox.yml fi # 6. Pull the new images and restart Tracecat with the updated configuration docker compose pull docker compose up -d ``` With nsjail, run both commands in step 6 as `TRACECAT__EXECUTOR_BACKEND=nsjail docker compose -f docker-compose.yml -f docker-compose.sandbox.yml …`, the same as the start command. Without the inline variable, Compose reads `TRACECAT__EXECUTOR_BACKEND=direct` from `.env`, which overrides the overlay's `nsjail` default, so the executor runs the `direct` backend inside the privileged overlay. The migration script offers to back up your existing `.env` before rewriting it; answer `y`. It keeps only keys that exist in the new template, so add `TRACECAT__IMAGE_TAG` back to `.env` after step 2 if you set it. After the stack starts, verify that your containers are healthy and that you can sign in successfully. With [database roles](/self-hosting/database-roles) on (`TRACECAT__DB_ROLE_LOGIN=password` with `TRACECAT__DB_ADMIN_URI`, `TRACECAT__DB_MIGRATOR_PASSWORD`, `TRACECAT__DB_APP_PASSWORD` and `TRACECAT__DB_MIGRATOR_URI`), the `migrations` container brings the roles up to date as the `postgres` admin on each start, before it runs the migrations as `migrator`. ## Scaling Docker Compose runs all services on a single host. These are recommended minimums for different workload sizes. | Resource | Small | Standard | Production | | :- | :- | :- | :- | | CPU | 8 cores | 16 cores | 32+ cores | | RAM | 16 GB | 32 GB | 64+ GB | | Storage | 20 GB SSD | 50 GB SSD | 100+ GB SSD | | Docker | 26.0.0+ | 26.0.0+ | 26.0.0+ | | Workflow starts/sec | \~5 | \~15 | \~40 | | Concurrent seats | 1-10 | 10-50 | 50+ | | Concurrent agents/sec | 1-2 | 5-10 | 10+ | * Small: Development, testing, small teams (1-10 users) * Standard: Mid-size teams (10-50 users), moderate workflow execution * Production: Large teams (50+ users), high throughput Memory is typically the constraining factor. Workflow throughput is lower than dedicated Kubernetes deployments where services have guaranteed resources and can scale independently. To size executor replicas, concurrency settings, and PostgreSQL connections for a target of up to 256 actions per second, see [Scaling action throughput](/self-hosting/scaling). For production workloads that exceed single-host capacity, consider [converting to Docker Swarm](#convert-to-docker-swarm) or deploying on Kubernetes. ## Convert to Docker Swarm Docker Swarm lets you scale individual services with resource limits and replicas across one or more nodes. ### Service resource recommendations | Service | CPU (cores) | Memory | Replicas | | :- | -: | -: | -: | | caddy | 0.25 | 256 Mi | 1 | | api | 2 | 4 Gi | 2 | | worker | 2 | 2 Gi | 4 | | executor | 4 | 8 Gi | 4 | | agent-worker | 2 | 2 Gi | 2 | | agent-executor | 4 | 16 Gi | 2 | | ui | 0.5 | 1 Gi | 2 | | mcp | 1 | 1 Gi | 1 | | postgres_db | 2 | 4 Gi | 1 | | temporal | 4 | 8 Gi | 1 | | temporal_postgres_db | 2 | 4 Gi | 1 | | redis | 0.5 | 1 Gi | 1 | | minio | 0.5 | 1 Gi | 1 | | Total | \~25 | \~52 Gi | 23 | > [!NOTE] > > Stateful services (`postgres_db`, `temporal_postgres_db`, `minio`, `redis`) must remain at 1 replica. > Scaling these requires external managed services (e.g., RDS, ElastiCache) or specialized clustering. ### Deploy with Docker Swarm 1. Initialize Swarm: ```bash theme={null} docker swarm init ``` 2. Add `deploy` configuration to each service in your `docker-compose.yml`. For example, for the `api` service: ```yaml theme={null} services: api: # ... existing configuration ... deploy: replicas: 2 resources: limits: cpus: "2" memory: 4G reservations: cpus: "2" memory: 4G ``` 3. Deploy the stack: ```bash theme={null} docker stack deploy -c docker-compose.yml tracecat ``` 4. Verify services are running: ```bash theme={null} docker stack services tracecat ``` ## FAQ For an overview of all services and networking, see [Architecture](/self-hosting/architecture). > [accordion] Does Tracecat support Windows? > > Yes but don't forget to set `PUBLIC_APP_URL` to `127.0.0.1` instead of `localhost` in your `.env` file. > [accordion] Does Tracecat support WSL? > > Yes but you'll need to set `PUBLIC_APP_URL` to the WSL IP address instead of `localhost`. > Run `ip addr` to find your WSL IP address (usually 172.x.x.x). > [accordion] Connecting LiteLLM, vLLM, or Ollama fails with 'Host is not allowed' > > Tracecat rejects LLM provider and MCP endpoints that resolve to private addresses unless you allow them. > Set `TRACECAT__OUTBOUND_ALLOWED_PRIVATE_CIDRS` in your `.env` file to the gateway's IP or CIDR, e.g. `TRACECAT__OUTBOUND_ALLOWED_PRIVATE_CIDRS=10.0.12.34/32`, then run `docker compose up -d` to restart the services. > See [Private endpoints](/agents/llm-providers#private-endpoints). > [accordion] I can see the landing page but not the login page > > This suggests that the Tracecat UI is healthy but is unable to communicate with the Tracecat API. > > * Check that the `api` service is healthy > * Check that this is not a CORS issue (see next FAQ) > * Check that you changed `PUBLIC_APP_URL` and `PUBLIC_APP_PORT` to the correct address > * Check the Chrome developer console for any errors > [accordion] What is the CORS issue? > > You must configure `PUBLIC_APP_URL` and `PUBLIC_API_URL` to the same domain that your browser is accessing the Tracecat UI from. > Tracecat strictly enforces CORS to prevent XSS attacks. > > This error occurs when your browser cannot connect to Tracecat API via `PUBLIC_APP_URL`. > Please check the following: > > * Do not set `PUBLIC_APP_URL` to `0.0.0.0`. Browsers cannot connect to this address. Use `localhost`, `127.0.0.1`, or your machine's actual IP address instead. > * WSL users: Do not use `127.0.0.1`. Run `ip addr` to find your WSL IP address (usually `172.x.x.x`) and use that instead. > * If your frontend is running on a different machine than the API, set `NEXT_PUBLIC_API_URL` to an address your browser can reach. > * Run `docker compose ps` to verify all services are running. > * Check the temporal service is healthy. Worker connectivity issues can sometimes affect login. > * View container logs: `docker compose logs api` and `docker compose logs temporal`. > * Check firewall and port forwarding if using a reverse proxy. > > For example, if you've deployed Tracecat into a VM and exposed it to your browser as `https://my-tracecat-instance.com`, > you must set: > > * `PUBLIC_APP_URL` to `https://my-tracecat-instance.com` > * `PUBLIC_API_URL` to `https://my-tracecat-instance.com/api` > [accordion] What should PUBLIC_APP_URL and PUBLIC_API_URL be, and how do I fix login or CORS issues? > > Set both values to the exact browser-reachable URLs for your deployment, including the scheme: > > * Local example: > * `PUBLIC_APP_URL=http://localhost:8000` > * `PUBLIC_API_URL=http://localhost:8000/api` > * Reverse proxy or public domain example: > * `PUBLIC_APP_URL=https://tracecat.example.com` > * `PUBLIC_API_URL=https://tracecat.example.com/api` > > Use full URLs once. > Do not prepend `http://` or `https://` twice, and do not use addresses that only work inside Docker such as `0.0.0.0` or internal container hostnames. > > If sign-in still fails: > > * Verify that the domain in your browser exactly matches `PUBLIC_APP_URL`. > * Verify that `PUBLIC_API_URL` is the same origin plus `/api`. > * Run `docker compose ps` and check that `api`, `worker`, and `temporal` are healthy. > * Review `docker compose logs api` for startup, auth, or CORS errors. > [accordion] I'm seeing 'No hosts available' errors from Temporal > > Undersized Temporal clusters cause `No hosts available` errors and workflow execution failures. > Ensure the Temporal server has at least 4 CPU cores and 8 GB of memory. > > Temporal also requires a well-provisioned PostgreSQL backend for adequate query throughput. > The bundled `temporal_postgres_db` container is suitable for development and small deployments only. > For production workloads, use a managed PostgreSQL instance (e.g., Amazon Aurora Serverless) for better QPS and reliability. > [accordion] My browser shows ERR_CONNECTION_REFUSED but curl over HTTP works > > Your deployment is serving plain HTTP, but the browser is upgrading the request to HTTPS. > See [Browsers force HTTPS](/self-hosting/tls#browsers-force-https). > [accordion] How do I configure SSL for production? > > See [TLS and certificates](/self-hosting/tls) for automatic Let's Encrypt setup with Caddy, custom certificates, and trusting internal CAs for outbound connections. # Environment variables Source: https://docs.tracecat.com/self-hosting/environment-variables Reference for every self-hosted Tracecat environment variable: configure auth, storage, secrets, integrations, and runtime behavior across services. ## Required secrets | Secret | Purpose | | :- | :- | | `TRACECAT__DB_ENCRYPTION_KEY` | Fernet key for at-rest encryption in PostgreSQL. Losing it makes encrypted credentials unrecoverable. | | `TRACECAT__SERVICE_KEY` | HMAC key for service-to-service JWT signing. | | `TRACECAT__SIGNING_SECRET` | Signs webhook URLs and HMAC operations. Changing it invalidates existing webhook URLs and agent channel endpoint URLs. | | `USER_AUTH_SECRET` | Secures password reset tokens, email verification tokens, and OAuth state. Derives the MCP OIDC issuer keypair and the internal OIDC client secret. | Generate all four with `openssl`: ```bash theme={null} # TRACECAT__SERVICE_KEY openssl rand -hex 32 # TRACECAT__SIGNING_SECRET openssl rand -hex 32 # USER_AUTH_SECRET openssl rand -hex 32 # TRACECAT__DB_ENCRYPTION_KEY (Fernet-compatible base64) openssl rand 32 | base64 | tr -d '\n' | tr '+/' '-_' ``` ## Example `.env` ```bash theme={null} PUBLIC_APP_URL=https://tracecat.yourdomain.com PUBLIC_API_URL=https://tracecat.yourdomain.com/api TRACECAT__APP_ENV=production TRACECAT__DB_ENCRYPTION_KEY= TRACECAT__SERVICE_KEY= TRACECAT__SIGNING_SECRET= USER_AUTH_SECRET= TRACECAT__AUTH_SUPERADMIN_EMAIL=admin@yourdomain.com TRACECAT__DB_SSLMODE=require TRACECAT__POSTGRES_USER=postgres TRACECAT__POSTGRES_PASSWORD= ``` See [`.env.example`](https://github.com/TracecatHQ/tracecat/blob/main/.env.example) for all options. ## Variables ### Network | Variable | Default | Description | | :- | :- | :- | | `PUBLIC_APP_PORT` | `80` | Port the reverse proxy listens on. | | `PUBLIC_APP_URL` | `http://localhost:${PUBLIC_APP_PORT}` | Public URL users visit to reach the Tracecat UI. | | `PUBLIC_API_URL` | `${PUBLIC_APP_URL}/api` | Public URL for the Tracecat API, used by the browser and for webhook callbacks. | | `INTERNAL_API_URL` | `http://api:8000` | Internal URL that other services use to reach the API container. | | `TRACECAT__TRUSTED_PROXY_CIDRS` | `127.0.0.1/32` | Space-separated proxy CIDRs that Caddy trusts when deriving the client address from `X-Forwarded-For`. Set this when another proxy or load balancer runs in front of Caddy. | | `TRACECAT__OUTBOUND_ALLOWED_PRIVATE_CIDRS` | | Comma-separated IPs or CIDRs, e.g. `10.0.12.34/32,10.42.0.0/16`, that custom LLM providers (LiteLLM, vLLM, Ollama, custom sources), self-hosted embedding providers, and remote MCP servers may resolve to. Tracecat rejects private, loopback, and link-local destinations with `Host is not allowed` unless they are listed here. Set it on `api`, `agent-worker`, `litellm`, `agent-executor`, and `background-worker`. See [Private endpoints](/agents/llm-providers#private-endpoints). | | `TRACECAT__AUDIT_TRUSTED_PROXY_CIDRS` | loopback + private ranges | Comma-separated CIDRs of proxies behind which the API runs (Caddy, the UI container, a load balancer). `X-Forwarded-For` entries from these hops are skipped when resolving the client IP for audit logs. | | `TRACECAT__PLATFORM_ADMIN_IP_ALLOWLIST_BYPASS` | `false` | Break-glass override for the API service. When `true`, Tracecat skips the [platform admin IP allowlist](/manage-platform/ip-allowlist#platform-admin-ip-allowlist) so a locked-out platform admin can recover. Organization allowlists still apply. Remove it after recovery. | | `TRACECAT__PLATFORM_ADMIN_MFA_BYPASS` | `false` | Break-glass override for the API service. When `true`, Tracecat skips security key sign-in and step-up checks for platform admins so an admin who lost every key can recover. Organization MFA policies still apply. Remove it after recovery. | ### Application | Variable | Default | Description | | :- | :- | :- | | `TRACECAT__APP_ENV` | `development` | One of `development`, `staging`, or `production`. Controls logging detail and debug behavior. | | `TRACECAT__API_URL` | `${INTERNAL_API_URL}` | API URL used by backend services. Normally matches `INTERNAL_API_URL`. | | `TRACECAT__API_ROOT_PATH` | `/api` | Path prefix the API registers behind the reverse proxy. | | `TRACECAT__PUBLIC_APP_URL` | `${PUBLIC_APP_URL}` | Public frontend URL used for links in emails and notifications. | | `TRACECAT__PUBLIC_API_URL` | `${PUBLIC_API_URL}` | Public API URL used for incoming webhooks. If you expose webhooks through a tunnel (e.g. ngrok), set this to the tunnel URL. | | `TRACECAT__ALLOW_ORIGINS` | `http://localhost:3000,${PUBLIC_APP_URL}` | Comma-separated list of allowed CORS origins. | ### PostgreSQL | Variable | Default | Description | | :- | :- | :- | | `TRACECAT__POSTGRES_USER` | `postgres` | PostgreSQL username. | | `TRACECAT__POSTGRES_PASSWORD` | `postgres` | PostgreSQL password. Change this in production. | | `TRACECAT__DB_URI` | `postgresql+psycopg://${TRACECAT__POSTGRES_USER}:${TRACECAT__POSTGRES_PASSWORD}@postgres_db:5432/postgres` | Full database connection URI. Override this when using an external database. | | `TRACECAT__DB_SSLMODE` | `disable` | PostgreSQL SSL mode. Set to `require` or `verify-full` for remote databases. | | `TRACECAT__DB_USER` | | Database user. Used instead of `TRACECAT__DB_URI` together with `TRACECAT__DB_ENDPOINT`, `TRACECAT__DB_PORT` and `TRACECAT__DB_NAME`; required in the token modes. | | `TRACECAT__DB_ENDPOINT` | | Database host (in the token modes, the host the app connects to, such as PgDog). | | `TRACECAT__DB_PORT` | | Database port. | | `TRACECAT__DB_NAME` | | Database name. | | `TRACECAT__DB_PASS` | | Database password, with `TRACECAT__DB_USER`. Not allowed in the token modes. | | `TRACECAT__DB_AUTH_MODE` | `password` | How the app logs in to Postgres: `password` (`TRACECAT__DB_URI`, or `TRACECAT__DB_USER` with `TRACECAT__DB_PASS` or the AWS Secrets Manager ARN `TRACECAT__DB_PASS__ARN`), `aws_iam` (an RDS IAM token per login) or `azure_entra` (an Entra ID token per login). The token modes log in as `TRACECAT__DB_USER` to `TRACECAT__DB_ENDPOINT`, `TRACECAT__DB_PORT` and `TRACECAT__DB_NAME`, refuse to start with `TRACECAT__DB_PASS`, `TRACECAT__DB_PASS__ARN` or `TRACECAT__DB_URI` set, and need `TRACECAT__DB_SSLMODE` `require`, `verify-ca` or `verify-full`. The `tracecat-admin migrate` commands take a password URI only. See [Database IAM login](/self-hosting/database-iam). | | `TRACECAT__DB_AWS_IAM_HOST` | `TRACECAT__DB_ENDPOINT` | `aws_iam` only. RDS endpoint the token is signed for. Set it when the app connects through a pooler that passes the token on to RDS (PgDog with `auth_type = "external_token"`). | | `TRACECAT__DB_AWS_IAM_PORT` | `TRACECAT__DB_PORT` | `aws_iam` only. Port of `TRACECAT__DB_AWS_IAM_HOST`. | | `TRACECAT__DB_AWS_REGION` | `AWS_REGION`, then `AWS_DEFAULT_REGION` | `aws_iam` only. Region of the database. | | `TRACECAT__DB_AZURE_CLIENT_ID` | `AZURE_CLIENT_ID` | `azure_entra` only. Client ID of the managed or workload identity. `TRACECAT__DB_USER` is that identity's Postgres role name. | | `TRACECAT__DB_ROLE_LOGIN` | Empty | Docker Compose only. Set to `password` to set up [database roles](/self-hosting/database-roles) on each start: the `migrations` container runs `tracecat db roles upgrade --login password` as `TRACECAT__DB_ADMIN_URI`, then the migrations as `TRACECAT__DB_MIGRATOR_URI`, then `upgrade` again. Needs `TRACECAT__DB_ADMIN_URI`, `TRACECAT__DB_MIGRATOR_PASSWORD`, `TRACECAT__DB_APP_PASSWORD` and `TRACECAT__DB_MIGRATOR_URI`; keep them all set after moving the services to `app`. Empty (the default) keeps a single database user. | | `TRACECAT__DB_ADMIN_URI` | Empty | Admin connection for `tracecat db roles` (`upgrade`, `bootstrap`, `status`), for example `postgresql://postgres:@postgres_db:5432/postgres`. Point it at the same database as `TRACECAT__DB_URI`. Only role setup uses it: the migrations and the services never do. | | `TRACECAT__DB_MIGRATOR_PASSWORD` | Empty | Password that `tracecat db roles upgrade --login password` sets on `migrator`. Use letters and digits. Password login only: with `aws_iam` or `azure_entra`, `migrator` logs in with its cloud token and role setup refuses a password. | | `TRACECAT__DB_APP_PASSWORD` | Empty | Password that `tracecat db roles upgrade --login password` sets on `app` (password login only). Use letters and digits. To run the services as `app`, point `TRACECAT__DB_URI` at it, for example `postgresql+psycopg://app:${TRACECAT__DB_APP_PASSWORD}@postgres_db:5432/postgres`; keep `TRACECAT__DB_ROLE_LOGIN` and `TRACECAT__DB_ADMIN_URI` set so each start can run role setup. | | `TRACECAT__DB_MIGRATOR_URI` | Empty | Docker Compose only. The migrations' login once roles are set up: it must log in as `migrator`, for example `postgresql+psycopg://migrator:${TRACECAT__DB_MIGRATOR_PASSWORD}@postgres_db:5432/postgres`. Empty uses `TRACECAT__DB_URI`, which the migrations refuse once roles are set up unless it already logs in as `migrator`. | | `TRACECAT__RLS_MODE` | `off` | PostgreSQL row-level security mode for every Tracecat service: `off`, `shadow` or `enforce`. `off` and `shadow` run every session with the RLS bypass on. `enforce` scopes each tenant session to its tenant (platform admin and cross-tenant system sessions keep the bypass) and needs a login that can't skip RLS, such as `app`; services refuse to start otherwise. Any other value falls back to `off` with a warning. The bundled Compose files don't pass this variable to the services, so set it in each service's `environment` (for example in a Compose override file). See [Tenant isolation](/security/architecture#tenant-isolation). | ### Authentication | Variable | Default | Description | | :- | :- | :- | | `TRACECAT__AUTH_SUPERADMIN_EMAIL` | | Email promoted to superadmin when that account is created. Set it before the first user registers; until then, nobody can register. | | `TRACECAT__AUTH_TYPES` | `basic` | Comma-separated list of enabled auth methods: `basic`, `oidc`, `saml`. | | `TRACECAT__AUTH_ALLOWED_DOMAINS` | | Comma-separated email domains allowed to create an account and to sign in through OIDC, e.g. `example.com,example.org`. Leave blank to allow all. SAML uses the organization's configured domains when set; without them, single-tenant deployments fall back to this list and multi-tenant deployments reject the sign-in. Membership in an organization still comes from an invitation or admin provisioning. | | `TRACECAT__AUTH_MIN_PASSWORD_LENGTH` | `12` | Minimum password length for basic auth. | ### OIDC / OAuth | Variable | Default | Description | | :- | :- | :- | | `OIDC_ISSUER` | | OIDC issuer URL (e.g. `https://accounts.google.com`). | | `OIDC_CLIENT_ID` | | OAuth client ID from your identity provider. | | `OIDC_CLIENT_SECRET` | | OAuth client secret from your identity provider. | | `OIDC_CREDENTIALS__ARN` | | AWS Secrets Manager ARN of a JSON secret with `clientId` and `clientSecret`. Takes precedence over `OIDC_CLIENT_ID` and `OIDC_CLIENT_SECRET`. | | `OIDC_SCOPES` | `openid profile email` | Space-separated OAuth scopes to request. | ### SAML | Variable | Default | Description | | :- | :- | :- | | `SAML_IDP_METADATA_URL` | | URL to your SAML IdP metadata XML. | | `SAML_ACCEPTED_TIME_DIFF` | `3` | Maximum clock skew in seconds accepted when validating SAML assertions. | | `SAML_ALLOW_UNSOLICITED` | `false` | Whether to allow unsolicited SAML responses. | | `SAML_VERIFY_SSL_ENTITY` | `true` | Whether to verify SSL certificates for general SAML entity operations. | | `SAML_VERIFY_SSL_METADATA` | `true` | Whether to verify SSL certificates when fetching SAML metadata. | | `SAML_CA_CERTS` | | Optional base64-encoded CA bundle for validating self-signed IdP metadata TLS certificates. | ### Temporal | Variable | Default | Description | | :- | :- | :- | | `TEMPORAL__CLUSTER_URL` | `temporal:7233` | Temporal cluster gRPC endpoint. | | `TEMPORAL__CLUSTER_QUEUE` | `tracecat-task-queue` | Temporal task queue name. | | `TEMPORAL__CLUSTER_NAMESPACE` | `default` | Temporal namespace. | | `TEMPORAL__API_KEY` | | API key for Temporal Cloud. Leave empty for self-hosted Temporal. | ### Executor | Variable | Default | Description | | :- | :- | :- | | `TRACECAT__EXECUTOR_BACKEND` | `direct` | Execution mode for actions, agents, registry sync, and Python scripts. `direct` runs without nsjail; `nsjail` requires nsjail isolation. `ephemeral` is a compatibility alias for `nsjail`. | | `TRACECAT__EXECUTOR_CLIENT_TIMEOUT` | `300` | Maximum seconds one action function call may run. The `executor` service caps each call at this value and uses it as the action's timeout when `timeout` is `0`. A template action's total runtime and `core.script.run_python` scripts follow the action's own `timeout` instead. The Compose files and the Fargate module do not pass this variable to the `executor` service, so set it on that container directly to raise the cap. | | `TRACECAT__SANDBOX_DEFAULT_MEMORY_MB` | `2048` | Aggregate cgroup v2 memory limit in MiB per `core.script.run_python`, dependency-install, and custom action sandbox, shared by its processes. Applied by the nsjail backend. Exceeding it during script or action execution fails as `sandbox.resource_limit_exceeded`; an over-budget dependency installation fails as a package installation failure. The container memory limit still applies on top. See [Resource limits](/self-hosting/security#resource-limits). | | `TRACECAT__SANDBOX_ADDRESS_SPACE_MB` | Uncapped | Per-process virtual address-space cap in MiB for action, Python, and dependency-install sandboxes. Requires nsjail. The cgroup memory budget bounds RAM; set a positive integer to also cap address space. | | `TRACECAT__RESULT_EXTERNALIZATION_ENABLED` | `true` | Store large action results in blob storage instead of Temporal history. | | `TRACECAT__RESULT_EXTERNALIZATION_THRESHOLD_BYTES` | `128000` | Byte threshold above which payloads are externalized to blob storage. | | `TRACECAT__WORKFLOW_ARTIFACT_RETENTION_DAYS` | `30` | Retention period in days for workflow artifacts. Objects older than this are automatically deleted via S3 lifecycle rules. Set to `0` to disable. | | `TRACECAT__ACTIVITY_HEARTBEAT_TIMEOUT` | `60` | Seconds Temporal waits for a heartbeat from an executor activity before failing it and retrying on a healthy worker. Set to `0` to disable. Read by the `worker` service. The Compose files and the Fargate module do not pass this variable through, so set it on that container directly. To disable heartbeats, set this and `TRACECAT__ACTIVITY_HEARTBEAT_INTERVAL` to `0` together. | | `TRACECAT__ACTIVITY_HEARTBEAT_INTERVAL` | `30` | Seconds between heartbeats from executor activities. A value at or above `TRACECAT__ACTIVITY_HEARTBEAT_TIMEOUT` lets Temporal fail the activity between two heartbeats. Set to `0` to disable heartbeats. Read by the `executor` service and not passed through by the Compose files or the Fargate module, so set it on that container directly. `0` alone stops the executor heartbeating while the worker still expects one every `TRACECAT__ACTIVITY_HEARTBEAT_TIMEOUT` seconds, which fails actions that run longer than that. | ### Tunnels Set all four on the `api` service to enable [managed tunnels](/manage-platform/tunnels). Managed tunnels are off while any is unset. | Variable | Default | Description | | :- | :- | :- | | `TRACECAT__PANGOLIN_ENDPOINT` | | Pangolin server URL that site connectors and machine clients connect to, e.g. `https://app.pangolin.net` or `https://pangolin.example.com`. | | `TRACECAT__PANGOLIN_API_URL` | | Pangolin Integration API base URL ending in `/v1`, e.g. `https://api.pangolin.net/v1`. | | `TRACECAT__PANGOLIN_ORG_ID` | | Pangolin organization ID that holds every managed site, client, and resource. | | `TRACECAT__PANGOLIN_API_KEY` | | Pangolin organization API key with site, client, and private resource permissions. Store it in your secrets manager. | | `TRACECAT__PANGOLIN_API_KEY__ARN` | | AWS Secrets Manager ARN of the Pangolin API key, used instead of `TRACECAT__PANGOLIN_API_KEY`. Read by the `api` service only. | These settings control the [tunnel gateways](/self-hosting/kubernetes#tunnels) that the `api` service runs on Kubernetes. Executors read `TRACECAT__TUNNEL_GATEWAY_HOST_TEMPLATE` and `TRACECAT__TUNNEL_GATEWAY_PORT` to find a tunnel's gateway. | Variable | Default | Description | | :- | :- | :- | | `TRACECAT__TUNNEL_GATEWAY_BACKEND` | `none` | `kubernetes` to have the `api` service create and reconcile one gateway per tunnel. `none` disables tunnels: they can't be created and tunneled traffic fails. | | `TRACECAT__TUNNEL_GATEWAY_NAMESPACE` | `tracecat-tunnels` | Kubernetes namespace for gateway Secrets, Deployments, and Services. | | `TRACECAT__TUNNEL_GATEWAY_IMAGE` | `ghcr.io/tracecathq/tracecat-tunnel-gateway:` | Gateway image. Defaults to the running Tracecat version; set `repository@sha256:` to pin an immutable image. | | `TRACECAT__TUNNEL_GATEWAY_BLOCKED_CIDRS` | | Comma-separated CIDRs gateways never dial, such as the cluster's pod and service ranges. | | `TRACECAT__TUNNEL_GATEWAY_API_URL` | `TRACECAT__API_URL` | Internal API URL that gateways load their policy from. | | `TRACECAT__TUNNEL_GATEWAY_HOST_TEMPLATE` | `tunnel-{tunnel_id}..svc.cluster.local` | Gateway hostname, with `{tunnel_id}` filled in per tunnel. | | `TRACECAT__TUNNEL_GATEWAY_PORT` | `8080` | Gateway proxy port. | ### Agents | Variable | Default | Description | | :- | :- | :- | | `TRACECAT__AGENT_SANDBOX_TIMEOUT` | `10800` | Ceiling in seconds for the `timeout` of `ai.agent`, `ai.action`, and `ai.preset_agent`. Tracecat clamps explicit values between `1800` and this value, and unset means `7200`. A lower ceiling caps both the default and the minimum. Agent chat turns use the `7200` default, capped by this value. | | `TRACECAT__AGENT_EXECUTOR_GRACEFUL_SHUTDOWN_TIMEOUT` | `10860` | Seconds the agent executor worker waits for running agent activities to finish during a planned shutdown. Defaults to `TRACECAT__AGENT_SANDBOX_TIMEOUT` plus `60`. | | `TRACECAT__LLM_PROXY_READ_TIMEOUT` | `600` | Seconds the sandbox LLM proxy waits for the next byte from the model gateway before failing the request with `504`. Separate from the agent timeout. | | `TRACECAT__AGENT_SANDBOX_MEMORY_MB` | `4096` | Cgroup v2 memory budget in MiB shared by an agent sandbox and its child processes. Requires nsjail and cgroup delegation. The outer container memory limit still applies. See [Resource limits](/self-hosting/security#resource-limits). | | `TRACECAT__AGENT_SANDBOX_ADDRESS_SPACE_MB` | Uncapped | Per-process virtual address-space cap in MiB for agent sandboxes. Requires nsjail; this cap is not enforced in direct mode. The cgroup memory budget bounds RAM; set a positive integer to also cap address space. | ### Blob storage | Variable | Default | Description | | :- | :- | :- | | `TRACECAT__BLOB_STORAGE_BUCKET_WORKFLOW` | `tracecat-workflow` | S3 bucket for workflow artifacts. | | `TRACECAT__BLOB_STORAGE_BUCKET_ATTACHMENTS` | `tracecat-attachments` | S3 bucket for case attachments. | | `TRACECAT__BLOB_STORAGE_BUCKET_REGISTRY` | `tracecat-registry` | S3 bucket for registry packages. | | `TRACECAT__BLOB_STORAGE_PRESIGNED_URL_ENDPOINT` | | Public base URL substituted for `TRACECAT__BLOB_STORAGE_ENDPOINT` in presigned URLs. Leave unset for AWS S3. A proxy in front of the store must forward the `Host` of `TRACECAT__BLOB_STORAGE_ENDPOINT`, as the bundled Caddy does. | | `TRACECAT__BLOB_STORAGE_SSL_VERIFY` | `true` | Verify TLS certificates when connecting to blob storage. Set to `false` for self-hosted S3-compatible storage with a self-signed or unverifiable certificate. When `true`, botocore CA bundle settings such as `AWS_CA_BUNDLE` still apply. | | `TRACECAT__CSP_CONNECT_SRC_ORIGINS` | | Space- or comma-separated origins added to the UI's CSP `connect-src`. Set on the `ui` service to the presigned S3 bucket origins when the browser uploads or fetches blobs cross-origin. Compose defaults it to the presigned endpoint. | ### MinIO | Variable | Default | Description | | :- | :- | :- | | `MINIO_ROOT_USER` | `minio` | MinIO root username. Only used with the bundled MinIO instance. | | `MINIO_ROOT_PASSWORD` | `password` | MinIO root password. Change this in production. | ### Redis | Variable | Default | Description | | :- | :- | :- | | `REDIS_HOST` | `redis` | Redis hostname. | | `REDIS_PORT` | `6379` | Redis port. | | `REDIS_URL` | `redis://${REDIS_HOST}:${REDIS_PORT}` | Full Redis connection URL. Override this when using an external Redis instance. | | `REDIS_AUTH_MODE` | `password` | How Tracecat logs in to Redis: `password` (credentials from `REDIS_URL`), `aws_iam` (ElastiCache IAM token; replication groups only, not ElastiCache Serverless), or `azure_entra` (Azure Managed Redis Entra ID token). The IAM modes need a `rediss://` URL with no username or password, on the cloud's own endpoint (`*.cache.amazonaws.com` for `aws_iam`; `*.redis.azure.net` or `*.redis.cache.windows.net` for `azure_entra`), for example `rediss://master.my-cache.abc123.use1.cache.amazonaws.com:6379`. | | `REDIS_AWS_IAM_USER_ID` | | `aws_iam` only. ElastiCache user ID (equal to its user name) with IAM authentication, for example `tracecat-app`. | | `REDIS_AWS_IAM_REPLICATION_GROUP_ID` | | `aws_iam` only. Lowercase replication group ID the token is signed for, for example `my-cache`. Not the endpoint. | | `REDIS_AWS_REGION` | `AWS_REGION`, then `AWS_DEFAULT_REGION` | `aws_iam` only. Region of the cache, for example `us-east-1`. | | `REDIS_AZURE_CLIENT_ID` | `AZURE_CLIENT_ID` | `azure_entra` only. Client ID (a GUID) of the managed or workload identity that has a Redis access policy assignment. | # Kubernetes Source: https://docs.tracecat.com/self-hosting/kubernetes Deploy self-hosted Tracecat to Kubernetes with the OCI Helm chart: install Tracecat services and Temporal on EKS, GKE, or any conformant cluster. > [!NOTE] > > The Tracecat Helm chart is distributed as a private OCI artifact hosted in AWS ECR. > Please contact [customer success](https://cal.com/team/tracecat) for access for evaluations or internal enterprise use. ## Prerequisites * Kubernetes 1.27+ * Helm 3.12+ (with OCI support) * `kubectl` configured for your target cluster * Access to the Tracecat OCI Helm chart (see above) * External PostgreSQL 15 or newer instance (e.g., Amazon RDS, Cloud SQL, or [CloudNativePG](#cloudnativepg)) * External Redis instance (e.g., Amazon ElastiCache, Memorystore) * S3-compatible object storage (e.g., Amazon S3, MinIO) * `openssl` (for generating secrets) ## Background worker Case triggers, Git sync, and semantic-search indexing run on the background worker. Use the companion Helm chart with a released app image that contains `tracecat.background.worker`. The companion chart enables this worker by default and rejects app versions below its supported minimum. Keep `backgroundWorker.enabled: true`. ```yaml theme={null} backgroundWorker: enabled: true queue: shared-background-queue ``` The chart applies the queue name to both the API and worker. Case triggers and Git sync operations remain queued until this worker is running. ## Core secrets Tracecat requires four cryptographic secrets. Tracecat requires four secrets. Generate them with `openssl`: ```bash theme={null} # Service key (hex, 32 bytes) — used for internal service-to-service JWT signing openssl rand -hex 32 # Signing secret (hex, 32 bytes) — used for webhook URL signing and HMAC operations openssl rand -hex 32 # User auth secret (hex, 32 bytes) — used for password reset, email verification, OAuth state, and OIDC key derivation openssl rand -hex 32 # DB encryption key (Fernet-compatible base64, 32 bytes) — used for encrypting secrets at rest openssl rand 32 | base64 | tr -d '\n' | tr '+/' '-_' ``` > [!WARNING] > > Store these securely. Losing `TRACECAT__DB_ENCRYPTION_KEY` makes encrypted credentials unrecoverable. > Losing `TRACECAT__SIGNING_SECRET` invalidates existing webhook URLs and agent channel endpoint URLs. See [Where to store them](/self-hosting/security#where-to-store-them) for the recommended storage on each deployment target, and which of these secrets can be rotated. ## Secrets management The Helm chart supports three strategies for providing secrets to Tracecat pods. > [tab] External Secrets Operator (recommended) > > The chart creates `ExternalSecret` resources that sync from AWS Secrets Manager into Kubernetes secrets via a `ClusterSecretStore`. > You need [External Secrets Operator](https://external-secrets.io) installed and a `ClusterSecretStore` configured with IRSA. > > ```yaml theme={null} > externalSecrets: > enabled: true > clusterSecretStoreRef: "my-cluster-secret-store" > > coreSecrets: > enabled: true > secretArn: "arn:aws:secretsmanager:us-west-2:123456789012:secret:tracecat/core" > > postgres: > enabled: true > secretArn: "arn:aws:secretsmanager:us-west-2:123456789012:secret:tracecat/postgres" > > redis: > enabled: true > secretArn: "arn:aws:secretsmanager:us-west-2:123456789012:secret:tracecat/redis" > ``` > > Expected secret formats in AWS Secrets Manager: > > | Secret | Format | > | :- | :- | > | Core | JSON: `{ "dbEncryptionKey": "...", "serviceKey": "...", "signingSecret": "...", "userAuthSecret": "..." }` | > | PostgreSQL | JSON: `{ "username": "...", "password": "..." }` | > | Redis | Raw URL string, e.g. `rediss://:password@host:6379` | > | Temporal | Raw API key string | > > The chart refreshes secrets every `1m` by default. Override with `externalSecrets.refreshInterval`. > [tab] Existing Kubernetes secret > > Reference a secret you created with `kubectl` or your GitOps pipeline. > > ```bash theme={null} > kubectl create secret generic tracecat-secrets \ > --namespace tracecat \ > --from-literal=dbEncryptionKey="$(openssl rand 32 | base64 | tr -d '\n' | tr '+/' '-_')" \ > --from-literal=serviceKey="$(openssl rand -hex 32)" \ > --from-literal=signingSecret="$(openssl rand -hex 32)" \ > --from-literal=userAuthSecret="$(openssl rand -hex 32)" > ``` > > Then set `secrets.existingSecret` in your values: > > ```yaml theme={null} > secrets: > existingSecret: "tracecat-secrets" > ``` > > You also need separate secrets for PostgreSQL and Redis, referenced by `externalPostgres.auth.existingSecret` and `externalRedis.auth.existingSecret`. > [tab] Chart-managed secret templates > > > [!NOTE] > > > > Only use this approach if secret values are encrypted in your repository and injected at deploy time through a pipeline like ArgoCD with sealed secrets or SOPS. > > Storing plaintext secrets in version control is not safe. > > ```yaml theme={null} > secrets: > create: > tracecat: > enabled: true > dbEncryptionKey: "${DB_ENCRYPTION_KEY}" > serviceKey: "${SERVICE_KEY}" > signingSecret: "${SIGNING_SECRET}" > userAuthSecret: "${USER_AUTH_SECRET}" > > postgres: > enabled: true > username: "${DB_USERNAME}" > password: "${DB_PASSWORD}" > > redis: > enabled: true > url: "${REDIS_URL}" > ``` > > The chart renders these as Helm pre-install hooks so they exist before the migrations job runs. ## External services The Helm chart does not bundle databases. You must provide connection details for PostgreSQL, Redis, S3, and Temporal. ### PostgreSQL Use PostgreSQL 15 or newer for the Tracecat application database. [Set up pgvector](/self-hosting/pgvector) before running migrations. ```yaml theme={null} externalPostgres: host: "your-rds-instance.us-west-2.rds.amazonaws.com" port: 5432 database: tracecat sslMode: "require" auth: existingSecret: "tracecat-postgres-credentials" # keys: username, password tls: verifyCA: true caCert: | -----BEGIN CERTIFICATE----- ...RDS CA bundle... -----END CERTIFICATE----- ``` For Amazon RDS, download the global CA bundle from the [AWS trust store](https://truststore.pki.rds.amazonaws.com/global/global-bundle.pem). To log in with RDS IAM tokens instead of a password, set `externalPostgres.auth.mode: awsIam`. See [Database IAM login](/self-hosting/database-iam) for the database and IAM setup and the PgDog settings it needs. To run the services and the migrations Job on separate roles instead of this one login, see [Database roles](/self-hosting/database-roles). You set the roles up as the database admin, from a machine or a one-off pod that can reach the database, before you deploy a release that changes them; the Job then logs in as `migrator` (`migrations.migrator`). #### CloudNativePG To run PostgreSQL inside Kubernetes, we recommend the [CloudNativePG](https://cloudnative-pg.io) operator. Load pgvector as an [image volume extension](https://cloudnative-pg.io/docs/1.30/imagevolume_extensions/#directly-in-the-cluster), then let a `Database` resource enable it in the application database. Image volume extensions require PostgreSQL 18, Kubernetes 1.35 or newer (or 1.33+ with the `ImageVolume` feature gate), and containerd 2.1+ or CRI-O 1.31+. ```yaml theme={null} apiVersion: postgresql.cnpg.io/v1 kind: Cluster metadata: name: tracecat-postgres namespace: tracecat spec: instances: 3 imageName: ghcr.io/cloudnative-pg/postgresql:18-minimal-trixie storage: size: 50Gi bootstrap: initdb: database: tracecat owner: tracecat postgresql: extensions: - name: pgvector image: reference: ghcr.io/cloudnative-pg/pgvector:0.8.7-18-trixie --- apiVersion: postgresql.cnpg.io/v1 kind: Database metadata: name: tracecat-postgres-tracecat namespace: tracecat spec: name: tracecat owner: tracecat cluster: name: tracecat-postgres extensions: - name: vector schema: public ``` The pgvector image tag must match the cluster's PostgreSQL major version and OS (`18-trixie` above). The `Database` resource runs `CREATE EXTENSION` with operator privileges, so the `tracecat` role does not need superuser access. Point the chart at the read-write service and the `-app` secret that CloudNativePG generates: ```yaml theme={null} externalPostgres: host: "tracecat-postgres-rw.tracecat.svc" port: 5432 database: tracecat sslMode: "require" auth: existingSecret: "tracecat-postgres-app" # keys: username, password ``` ### Redis ```yaml theme={null} externalRedis: auth: existingSecret: "tracecat-redis-credentials" # key: url ``` The `url` key should be a full Redis connection string, e.g. `rediss://:password@host:6379`. Use `rediss://` (double s) for TLS. ### S3 ```yaml theme={null} externalS3: endpoint: "" # leave empty for AWS S3 region: "us-west-2" auth: existingSecret: "tracecat-s3-credentials" # keys: accessKeyId, secretAccessKey ``` When using IRSA for S3 access, omit `auth.existingSecret` and annotate the service account instead (see [Service accounts](#service-accounts)). ### Temporal > [tab] Self-hosted (bundled) > > The chart includes a Temporal subchart. Point it at your external PostgreSQL instance for persistence. > > ```yaml theme={null} > temporal: > enabled: true > server: > config: > persistence: > datastores: > default: > sql: > connectAddr: "your-rds-host:5432" > user: "temporal" > existingSecret: "tracecat-postgres-credentials" > visibility: > sql: > connectAddr: "your-rds-host:5432" > user: "temporal" > existingSecret: "tracecat-postgres-credentials" > ``` > > The Temporal schema setup job runs automatically and creates the `temporal` and `temporal_visibility` databases if they do not exist. > [tab] Temporal Cloud > > Disable the bundled subchart and point to your Temporal Cloud namespace. > > ```yaml theme={null} > temporal: > enabled: false > > externalTemporal: > enabled: true > clusterUrl: "your-namespace.tmprl.cloud:7233" > clusterNamespace: "your-namespace" > auth: > existingSecret: "tracecat-temporal-credentials" # key: apiKey > ``` ## Service accounts The chart creates a shared `tracecat-app` service account for most workloads (API, worker, migrations). Optionally create dedicated service accounts for executor, agent-executor, and litellm. ### IRSA (EKS) Annotate service accounts with an IAM role ARN for AWS API access (S3, Secrets Manager, Bedrock). ```yaml theme={null} serviceAccount: create: true annotations: eks.amazonaws.com/role-arn: "arn:aws:iam::123456789012:role/tracecat-app" executor: serviceAccount: create: true name: "tracecat-executor" annotations: eks.amazonaws.com/role-arn: "arn:aws:iam::123456789012:role/tracecat-executor" ``` Dedicated executor service accounts let you scope S3 and secret permissions separately from the main application role. > [!NOTE] > > Cross-account role assumption is supported. > Set `tracecat.aws.assumeRoleAccountId` and `tracecat.aws.assumeRolePrincipalArn` to assume roles in other AWS accounts from the executor. ## Networking The chart supports Kubernetes Ingress and Istio VirtualService for external traffic routing. > [tab] Ingress > > The chart creates a single Ingress resource with path-based routing. Set `ingress.split: true` to generate separate Ingress resources per service (useful when the API requires different annotations than the UI, such as longer timeouts). > > ```yaml theme={null} > ingress: > enabled: true > className: "alb" # or nginx, traefik, etc. > host: "tracecat.example.com" > annotations: > alb.ingress.kubernetes.io/scheme: internet-facing > tls: > - hosts: > - tracecat.example.com > secretName: tracecat-tls > ``` > > Default path routing: > > | Path | Service | Port | > | :- | :- | :- | > | `/api` | api | 8000 | > | `/mcp` | mcp | 8099 | > | `/` | ui | 3000 | > > MCP routes (`/mcp`, `/.well-known/oauth-*`, `/authorize`, `/token`, `/register`, `/consent`, `/auth/callback`) are included automatically when `mcp.enabled: true`. > [tab] Istio VirtualService > > Disable `ingress.enabled` when using VirtualServices to avoid conflicting resources. > > ```yaml theme={null} > ingress: > enabled: false > > virtualService: > enabled: true > tracecat: > enabled: true > configs: > - name: tracecat > hosts: > - "tracecat.example.com" > gateways: > - "istio-system/my-gateway" > ``` > > Optional webhook and Temporal Web UI VirtualServices are available via `virtualService.webhooks` and `virtualService.temporal`. ## Tunnels [Tunnels](/manage-platform/tunnels) need the `tunnels` Enterprise entitlement. With `tunnels.enabled: true`, the `api` service creates a `tunnel-` Secret, Deployment, and Service per tunnel in `tunnels.namespace`, and reconciles them every minute. ```yaml theme={null} api: serviceAccount: create: true tunnels: enabled: true gateway: blockedCidrs: - "10.0.0.0/16" # pod / VPC CIDR - "172.20.0.0/16" # service CIDR tracecat: pangolin: orgId: "" existingSecret: "tracecat-pangolin-credentials" # key: apiKey ``` * `tunnels.gateway.blockedCidrs` is required. List every pod and service CIDR in the cluster, including secondary VPC ranges. * For self-hosted Pangolin, also set `tracecat.pangolin.endpoint` and `tracecat.pangolin.apiUrl`. To read the key from AWS Secrets Manager, set `externalSecrets.pangolin.enabled` and `externalSecrets.pangolin.secretArn` instead of `existingSecret`. * Gateways need `NET_ADMIN` and `/dev/net/tun`, so the tunnels namespace enforces the `privileged` Pod Security level. The chart's admission policy (Kubernetes 1.30+) limits pods there to the gateway image, and its NetworkPolicy admits only executors and allows egress to Pangolin on TCP 443 and UDP 21820. * The gateway image follows the Tracecat image tag, so each upgrade restarts every gateway briefly. ## Installation **1. Add the OCI registry** ```bash theme={null} helm registry login ``` Use the credentials provided by the Tracecat team. **2. Create your values file** Combine secrets, external services, networking, and URL configuration from the sections above into a single `values.yaml`. ```yaml theme={null} secrets: existingSecret: "tracecat-secrets" urls: publicApp: "https://tracecat.example.com" publicApi: "https://tracecat.example.com/api" tracecat: auth: types: "oidc" superadminEmail: "admin@example.com" ingress: enabled: true className: "alb" host: "tracecat.example.com" externalPostgres: host: "your-db-host" auth: existingSecret: "tracecat-postgres-credentials" externalRedis: auth: existingSecret: "tracecat-redis-credentials" externalS3: region: "us-west-2" ``` **3. Install the chart** ```bash theme={null} helm install tracecat oci:///tracecat \ --version \ --namespace tracecat --create-namespace \ -f values.yaml \ --wait --timeout 10m ``` Replace `` with the version provided by the Tracecat team (e.g. `0.4.5`). The `--wait` flag blocks until all pods are ready. Initial provisioning takes a few minutes depending on Temporal schema setup. ## Access Tracecat Once deployed, access your instance at: * UI: `https://` * API docs: `https:///api/docs` * MCP: `https:///mcp` ## First login Set the first superadmin's email before anyone signs in. Until it is set, nobody can register, and the first account must match it. It takes one case-sensitive email address, so use the exact casing your identity provider sends. | Deployment | Setting | | :- | :- | | Docker Compose | `TRACECAT__AUTH_SUPERADMIN_EMAIL` in `.env` | | AWS ECS Fargate | `TF_VAR_auth_superadmin_email`, or `auth_superadmin_email` in your `.tfvars` | | Kubernetes | `tracecat.auth.superadminEmail` in `values.yaml` | * Basic auth: sign up with that email, then log in. * SSO: log in through your identity provider. Tracecat creates the account on first login. The account becomes superadmin and owner of the default organization. ## Upgrade the Helm chart ```bash theme={null} helm upgrade tracecat oci:///tracecat \ --version \ --namespace tracecat \ -f values.yaml \ --wait --timeout 10m ``` `--version` selects the chart version. If you set image tags in `values.yaml`, a chart upgrade keeps using those tags. Otherwise, it uses the new chart's `appVersion` and may also update Tracecat. > [!WARNING] > > Do not change or lose your `dbEncryptionKey`, `serviceKey`, `signingSecret`, or `userAuthSecret` values between upgrades. > Losing these secrets makes encrypted credentials unrecoverable and invalidates existing webhook URLs. ## Update Tracecat The chart version and Tracecat version are independent. You can use the chart's `appVersion` or set image tags explicitly. ### Use the chart `appVersion` Each chart version includes an `appVersion`. When image tags are unset, the chart uses `appVersion` for both the backend and UI images. ```bash theme={null} helm show chart oci:///tracecat \ --version ``` Choose a chart with the required `appVersion`, then run the chart upgrade command above. This updates the chart and Tracecat together. ### Set image tags For the unified execution backend configuration below, upgrade to chart `0.6.0` or newer together with Tracecat `1.1.0-alpha.9` or newer. Changing only the image tags on an older chart does not update its sandbox permissions or agent startup configuration. The new chart's version guard checks the app version only when you use that chart. When your chart supports the target Tracecat release, keep `--version` unchanged and set both image tags in `values.yaml`: ```yaml theme={null} image: tag: "" uiImage: tag: "" ``` `image.tag` sets the backend image and the default migrations image. `uiImage.tag` sets the UI image. Both override the chart's `appVersion`; keep them on the same compatible release. Run the chart upgrade command after updating `values.yaml`. If you set `migrations.image.tag` separately, it continues to override `image.tag` for migrations. ## Security ### Execution sandboxing With chart `0.6.0` or newer, choose the backend independently for the executor and agent-executor. Both default to `nsjail`: ```yaml theme={null} executor: backend: nsjail agentExecutor: backend: nsjail ``` nsjail requires privileged pods with `SYS_ADMIN` capability and an `Unconfined` seccomp profile. The chart applies these settings to each service configured with `nsjail`. To run both services without nsjail isolation, set: ```yaml theme={null} executor: backend: direct agentExecutor: backend: direct ``` You can also select different backends for the two services. Remove `tracecat.sandbox.disableNsjail` from your Helm values when upgrading; the chart rejects this removed setting even when it is `false`. Replace a previous `true` value with `direct` on both services. See [Security](/self-hosting/security) for backend choices (`nsjail`, `direct`) and isolation tradeoffs. ### Authentication Set `tracecat.auth.types` to `oidc` or `saml` for production deployments. See [OIDC](/authentication/oidc) and [SAML](/authentication/saml) for configuration details. ## Autoscaling The chart uses KEDA with a Temporal queue-based scaler to auto-scale worker, executor, and agent-executor deployments. Prerequisites: * `keda.enabled: true` (installs the KEDA subchart) * `metricsserver.enabled: true` (or an existing metrics-server in the cluster) ```yaml theme={null} keda: enabled: true metricsserver: enabled: true worker: autoscaling: enabled: true minReplicas: 1 maxReplicas: 8 targetQueueSize: 5 cooldownPeriod: 120 executor: autoscaling: enabled: true minReplicas: 1 maxReplicas: 8 ``` When autoscaling is enabled, the static `replicas` value is ignored. KEDA polls the Temporal task queue and scales based on queue depth. ## Minimum resources These are the default resource requests and limits from the chart. | Component | CPU request | Memory request | CPU limit | Memory limit | Default replicas | | :- | :- | :- | :- | :- | :- | | UI | 500m | 512Mi | 500m | 1024Mi | 1 | | API | 2000m | 4096Mi | 2000m | 4096Mi | 2 | | Worker | 2000m | 2048Mi | 2000m | 2048Mi | 4 | | Executor | 4000m | 8192Mi | 4000m | 8192Mi | 4 | | Agent executor | 2000m | 4096Mi | 4000m | 16384Mi | 2 | | Agent worker | 2000m | 2048Mi | 2000m | 2048Mi | 2 | | LiteLLM | 4000m | 8192Mi | 4000m | 8192Mi | 2 | | MCP | 1000m | 1024Mi | 1000m | 1024Mi | 2 | > [!NOTE] > > The agent executor uses burstable limits (requests 2000m/4096Mi, limits 4000m/16384Mi) to handle variable LLM response sizes. > All other services use guaranteed QoS where requests equal limits. ## Observability The chart bundles optional subcharts for Prometheus, Grafana, and Grafana Alloy (k8s-monitoring). ```yaml theme={null} tracecat: temporal: metrics: enabled: true monitoring: enabled: true prometheus: enabled: true grafana: enabled: true adminPassword: "change-me" ``` For Grafana Cloud or other external providers, enable only `tracecat.temporal.metrics.enabled` and configure your own scraping. See `values-eks-grafana-cloud.yaml` in the chart examples directory. > [!NOTE] > > For production observability with custom dashboards, OpenTelemetry export, and alerting, contact the Tracecat team for enterprise support. ## FAQ > [accordion] Can executors assume cross-account AWS roles? > > Yes. Set `tracecat.aws.assumeRoleAccountId` and `tracecat.aws.assumeRolePrincipalArn` in your values. > The executor uses STS `AssumeRole` to access resources in other AWS accounts. > Ensure the target account's trust policy allows the executor's IRSA role. > [accordion] I'm seeing 'No hosts available' errors from Temporal > > Undersized Temporal clusters cause this error. Ensure the Temporal server pods have at least 4 CPU cores and 8 GB of memory. > > If using self-hosted Temporal with an external PostgreSQL, verify the database can handle the query throughput. > Managed services like Amazon Aurora Serverless are recommended for production workloads. > [accordion] Connecting an in-cluster LiteLLM, vLLM, or Ollama fails with 'Host is not allowed' > > Tracecat rejects LLM provider and MCP endpoints that resolve to private addresses unless you allow them. > Set `tracecat.outboundAllowedPrivateCidrs` in your values to the service's cluster IP or CIDR, e.g. `"10.96.0.0/12"`, and upgrade the release. > See [Private endpoints](/agents/llm-providers#private-endpoints). > [accordion] Does the chart support autoscaling? > > Yes. The chart includes KEDA `ScaledObject` resources for worker, executor, and agent-executor. > Set `keda.enabled: true` and `.autoscaling.enabled: true`. > Scaling is driven by Temporal task queue depth, not CPU or memory utilization. > [accordion] Can I use non-AWS infrastructure? > > Yes. The chart requires PostgreSQL, Redis, and S3-compatible storage but does not require AWS. > Use any provider for these services. > For secrets management without AWS Secrets Manager, use the existing Kubernetes secret or chart-managed secret template strategies instead of External Secrets Operator. > [accordion] How do I pin workloads to a specific CPU architecture? > > Set `scheduling.architecture` to `arm64` or `amd64`. The chart adds a `kubernetes.io/arch` node selector to all pods. > Set it to an empty string to disable architecture pinning. # Set up pgvector Source: https://docs.tracecat.com/self-hosting/pgvector Install pgvector for the Tracecat application database and resolve migration errors. Tracecat requires pgvector 0.8.0 or newer in the `public` schema of your application database, even when semantic search is disabled. The Temporal database does not need pgvector. There are two setup steps: install the extension files on the PostgreSQL server, then enable the extension in the application database. Tracecat's migration performs the second step automatically if its database role has permission. ## Install the server files | Your deployment | What you need to do | | - | - | | Bundled Docker Compose database | The Tracecat PostgreSQL image includes pgvector. Run `docker compose up` as usual. | | Your own PostgreSQL server or custom image | Download and install pgvector on the database server using the instructions below. Match your PostgreSQL version, operating system, and CPU architecture. | | CloudNativePG on Kubernetes | Mount the CloudNativePG pgvector extension image and enable `vector` with a `Database` resource. See [CloudNativePG](/self-hosting/kubernetes#cloudnativepg). | | Managed PostgreSQL, including Amazon RDS | Choose an engine version that supplies pgvector 0.8.0 or newer. Use your provider's extension controls; you do not install operating-system packages yourself. | For your own server, follow the official pgvector instructions for your installation method: * [Debian and Ubuntu packages](https://github.com/pgvector/pgvector#apt). * [RPM packages](https://github.com/pgvector/pgvector#yum). * [Build from source](https://github.com/pgvector/pgvector#installation). * [Other installation methods](https://github.com/pgvector/pgvector#additional-installation-methods). For RDS, follow [AWS's PostgreSQL extension setup guidance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.PostgreSQL.CommonDBATasks.Extensions.html). Check that your engine supports the required version and that `rds.allowed_extensions` permits `vector`, if you use an allowlist. When upgrading an existing database, keep a backup and preserve a compatible PostgreSQL and OS base. Adding pgvector should not silently replace the libraries that your existing indexes depend on. ## Enable the extension Connect to the Tracecat application database and check what the server provides: ```sql theme={null} SELECT name, default_version, installed_version FROM pg_available_extensions WHERE name = 'vector'; ``` If the query returns no rows, install the server files or select a managed engine that supports pgvector. A null `installed_version` means the files are available but the extension is not enabled in this database. Tracecat's migration runs: ```sql theme={null} CREATE EXTENSION IF NOT EXISTS vector WITH SCHEMA public; ``` If your migration role cannot create extensions, have a database administrator run that command in the application database before retrying the migration. You can keep the application role's existing permissions. ## Resolve a migration error Pgvector setup failures include a link to this page in the migration logs. | Error | What to do | | - | - | | Extension is not available, or `vector.control` is missing | Install pgvector on the PostgreSQL server using the matching instructions above. | | Permission denied to create extension | Ask your database administrator to enable it in the application database. | | Version is below 0.8.0 | Follow the [pgvector upgrade instructions](https://github.com/pgvector/pgvector#upgrading), then retry. | | Extension is outside `public` | Ask your database administrator to review and correct the extension schema before retrying. | After correcting the prerequisite, rerun your deployment's migration step. The migration does not upgrade or relocate an existing extension, and downgrading Tracecat retains it. # Scaling action throughput Source: https://docs.tracecat.com/self-hosting/scaling Size a Docker Compose deployment for a target sustained action throughput: executor replicas, concurrency settings, PostgreSQL connections, Redis memory, and host hardware from the default settings up to 256 actions per second. Action throughput in Docker Compose is bounded by three independent budgets: executor CPU, executor action admission, and PostgreSQL capacity. This page gives you a sizing table and the exact Compose changes for each throughput tier. ## How throughput is calculated Tracecat benchmarks a reference workload of independent `core.table.insert_row` actions on three 4 vCPU executors. The measured coefficients for that workload are: | Coefficient | Measured value | Meaning | | :- | :- | :- | | CPU per action | 1.21 CPU-seconds | Executor CPU consumed by one action | | Wall time per action | 2.6 seconds | Mean start-to-close duration (p95: 4.0 seconds) | | Target utilization | 80% | Headroom to keep on both CPU and admission | Two formulas size the executor tier for a target of `λ` actions per second: ```text theme={null} executor vCPU needed = λ × 1.21 / 0.8 ≈ 1.5 × λ in-flight actions needed = λ × 2.6 / 0.8 ≈ 3.25 × λ ``` `TRACECAT__EXECUTOR_MAX_CONCURRENT_ACTIVITIES` controls in-flight actions per executor replica, not actions per second. A 4 vCPU replica completes about `0.8 × 4 / 1.21 ≈ 2.7` actions per second for the reference workload whether it admits 8 or 32 activities, so keep the default of 32 and add replicas to add throughput. The extra admission absorbs bursts; it does not add CPU. Your actions differ from the reference workload. HTTP actions that wait on remote APIs use less CPU and longer wall time, so they need more admission and fewer cores. Python and data-transform actions use more CPU per action. Measure both coefficients on your own workload before committing hardware, and re-run the formulas with your numbers. ## Sizing table Every tier uses the same executor replica shape: 4 vCPU, 4 GiB memory, the default 32 admitted activities, and a Postgres client pool of 8 + 8 connections. Host totals add roughly 8 vCPU and 16 GiB for the API, worker, UI, Temporal, both PostgreSQL instances, Redis, and MinIO. | Target | Executor replicas | `MAX_CONCURRENT_ACTIVITIES` | In-flight actions | Executor vCPU / RAM | Host total (approx.) | Postgres `max_connections` | Evidence | | :- | -: | -: | -: | :- | :- | -: | :- | | Default settings | 1 | 32 | 32 | Unlimited (shares host) | 8 vCPU / 16 GiB | 100 | \~3–5 actions/s on an 8-core host | | 8 actions/s | 3 | 32 | 96 | 12 vCPU / 12 GiB | 20 vCPU / 32 GiB | 200 | Measured: 8.4–8.5 actions/s (with 8 admitted per replica) | | 16 actions/s | 6 | 32 | 192 | 24 vCPU / 24 GiB | 32 vCPU / 48 GiB | 300 | Projected | | 32 actions/s | 12 | 32 | 384 | 48 vCPU / 48 GiB | 56 vCPU / 80 GiB | 400 | Projected | | 64 actions/s | 24 | 32 | 768 | 96 vCPU / 96 GiB | 104+ vCPU / 144 GiB | 600 or a pooler | Projected, multi-node | | 128 actions/s | 48 | 32 | 1536 | 192 vCPU / 192 GiB | 200+ vCPU / 256 GiB | Pooler required | Projected, multi-node | | 256 actions/s | 96 | 32 | 3072 | 384 vCPU / 384 GiB | 392+ vCPU / 512 GiB | Pooler required | Projected, multi-node | Only the 8 actions/s row is measured, on three 4 vCPU executors that admitted 8 activities each. The benchmark also showed that admitting more per replica did not raise throughput, so the rows keep the default 32 and change only the replica count: three executors per 8 actions per second, doubling with each tier. The in-flight column is the burst the tier can hold, not its sustained rate. The rows assume the reference action mix and that every replica gets its own physical cores. Validate any tier above 16 actions/s with the [benchmark suite](https://github.com/TracecatHQ/tracecat/tree/main/packages/tracecat-benchmark) on the target hardware before you commit to it. The default settings row is deliberately conservative. A single executor with 32 admitted activities could reach 32 / 2.6 ≈ 12 actions per second, but on an 8-core host shared with every other service it has roughly 4 cores available, which caps it at 0.8 × 4 / 1.21 ≈ 2.6 actions per second for the reference workload. Adding cores or replicas, not a higher `TRACECAT__EXECUTOR_MAX_CONCURRENT_ACTIVITIES`, raises sustained throughput on that host. ## Physical capacity is a hard limit Compose `cpus` limits and replica counts do not create capacity. Declaring six 4 vCPU executors on a 12-core host dropped measured throughput from 8.4 to 2.9 actions per second because the host was oversubscribed. Before adding a replica, confirm the host has 4 idle cores for it: `executor replicas × 4 + 8 ≤ host cores`. A single Docker Compose host tops out around 32 actions per second on commodity 64-core machines. Above that, [convert to Docker Swarm](/self-hosting/docker-compose#convert-to-docker-swarm) across several nodes or deploy on [Kubernetes](/self-hosting/kubernetes), and move PostgreSQL and Temporal to managed services. ## Configure a tier **1. Keep the default executor concurrency** Leave `TRACECAT__EXECUTOR_MAX_CONCURRENT_ACTIVITIES` and `TRACECAT__EXECUTOR_THREADPOOL_MAX_WORKERS` at their default of 32. Every tier scales by replica count, not by this value. Actions that use `for_each` multiply database concurrency by `TRACECAT__EXECUTOR_FOR_EACH_MAX_CONCURRENCY` (default 4), so one replica can queue 128 database-bound tasks against its 8 + 8 pool. If executor logs show pool timeouts, lower `TRACECAT__EXECUTOR_FOR_EACH_MAX_CONCURRENCY` to 1 or lower `TRACECAT__EXECUTOR_MAX_CONCURRENT_ACTIVITIES` to 8 rather than raising the pool, because the validated 8 + 8 pool is what the `max_connections` column budgets for. **2. Pin executor resources and Postgres pools** Create `docker-compose.override.yml` next to `docker-compose.yml`. Compose merges it automatically. ```yaml theme={null} services: executor: deploy: resources: limits: cpus: "4" memory: 4G environment: TRACECAT__DB_POOL_SIZE: 8 TRACECAT__DB_MAX_OVERFLOW: 8 TRACECAT__DB_POOL_TIMEOUT: 30 postgres_db: command: ["postgres", "-c", "max_connections=200", "-c", "shared_buffers=1GB"] deploy: resources: limits: cpus: "2" memory: 4G ``` Use the `max_connections` value from the table. Each executor replica can open at most `TRACECAT__DB_POOL_SIZE + TRACECAT__DB_MAX_OVERFLOW` connections per pool, and the API, worker, and agent services keep their default 10 + 60 pools. Budget `max_connections ≥ 16 × executor replicas + 150` so a burst cannot exhaust PostgreSQL connection slots. Set `shared_buffers` to about 25% of the PostgreSQL memory limit. **3. Start with the executor replica count** ```bash theme={null} docker compose up -d --scale executor=3 ``` Repeat the command with a new count to scale up or down. The `executor` service has no fixed `container_name`, so Compose can run several replicas behind the shared Temporal task queue with no other changes. **4. Verify against the target** Watch these signals while running a representative burst: * `docker stats`: executor containers should sit below 80% of their CPU limit. Sustained 100% means you need more replicas. * `SELECT count(*) FROM pg_stat_activity;` on `postgres_db`: peak connections should stay below `max_connections` with headroom for migrations and administration. * Temporal UI (uncomment the `temporal_ui` port mapping in `docker-compose.yml`, then open `http://localhost:8081`): a growing `shared-action-queue` backlog with idle executor CPU means admission is too low; a growing backlog with saturated CPU means you are out of cores. ## Add a connection pooler above 12 executors Client pools fan out with executor replicas while the useful number of PostgreSQL backends does not. In the reference benchmark, 16 physical executor backends behind PgDog preserved 99% of direct throughput while cutting peak PostgreSQL connections by 32%; 12 backends kept 90%. Twice as many executor backends did not raise throughput. From 12 executor replicas upward, place a transaction-mode pooler such as PgDog or PgBouncer between the executors and PostgreSQL, and size its executor backend pool at roughly 1.3 backends per executor vCPU (the benchmark's 16 backends for 12 vCPU). A pooler multiplexes connections; it does not add database CPU. If PostgreSQL CPU or I/O saturates while connections stay within budget, give PostgreSQL more vCPU or move it to a managed instance. ## Scale the supporting services The executor tier is measured; the other services are sized from defaults and operational experience. | Service | Default | 32 actions/s | 64+ actions/s | | :- | :- | :- | :- | | Worker (DSL) | 1 replica, 100 activity slots | 2 replicas (`--scale worker=2`) | 1 replica per 12 executors | | Application PostgreSQL | Container defaults | 2 vCPU / 4 GiB, `max_connections=400` | 4+ vCPU, managed instance, pooler | | Temporal + Temporal PostgreSQL | Container defaults | 4 vCPU / 8 GiB total | Temporal Cloud or dedicated node | | API | 1 replica | 2 vCPU / 2 GiB | 4 vCPU / 4 GiB | Add worker replicas when workflow-task schedule-to-start latency in the Temporal UI grows while executor CPU stays idle. Lower `TEMPORAL__THREADPOOL_MAX_WORKERS` and `TEMPORAL__MAX_CONCURRENT_WORKFLOW_TASKS` from 100 on workers with fewer than 4 cores. ## Size Redis Redis holds short-lived state: agent chat streams, case events, deduplication keys, and concurrency limits. Size it for memory, not CPU. ### What uses memory | Data | Keys | Bound | Grows with | | :- | :- | :- | :- | | Agent chat streams | `agent-stream:*` | About 10,000 events per turn. A turn's buffer expires 5 minutes after a connected reader sees it finish, otherwise `REDIS_CHAT_TTL_SECONDS` (default 3 days) after its last event | Agent turns per TTL window, events per turn, and event size | | Deduplication digests | `dedup:*` | One key per unique item, kept for the `expire_seconds` input of `core.transform.deduplicate` (default 1 hour) | Unique items per second and `expire_seconds` | | Case events | `case-events` stream | About 30,000 entries (`TRACECAT__CASE_TRIGGERS_MAXLEN`) | Fixed | | Case duration sync | `case-duration-sync` stream | Entries are deleted after processing | Grows only while the consumer is down | | Concurrency permits | `tier:org:*` | One member per running workflow or action | Concurrent workflows and actions | | Search windows, MFA, OAuth, and Slack approval state | `search:*` and others | TTLs from 5 minutes to 24 hours | Small at every tier | ### Redis tiers Here are the recommended Redis sizes. | Tier | Typical load | Docker Compose | Managed Redis (ElastiCache example) | | :- | :- | :- | :- | | Default | Up to 8 actions/s, a few agent users, short dedup windows | 1 GiB limit, `maxmemory 768mb` | `cache.t4g.small` (1.37 GiB), 1 node | | Standard | 16–32 actions/s, daily agent use across a team | 4 GiB limit, `maxmemory 3gb` | `cache.t4g.medium` (3.09 GiB), primary and 2 replicas, Multi-AZ | | Large | 64+ actions/s, or hundreds of agent turns a day | Move to managed Redis | `cache.m7g.large` (6.38 GiB), primary and 1+ replica, Multi-AZ | | Memory-bound | High agent volume or dedup windows of a day or more | Move to managed Redis | `cache.r7g.large` (13.07 GiB) or larger, primary and 1+ replica, Multi-AZ | ## Related pages * See [Docker Compose](/self-hosting/docker-compose) for the base deployment, general host sizing, and the Docker Swarm conversion. * See [Kubernetes](/self-hosting/kubernetes) for KEDA autoscaling of worker and executor deployments beyond a single host. * See [Architecture](/self-hosting/architecture) for how the API, worker, executor, Temporal, and PostgreSQL services fit together. # Security Source: https://docs.tracecat.com/self-hosting/security Harden your self-hosted Tracecat deployment: replace default infrastructure credentials, generate and store platform secrets, sandbox executor code, and set up SSO and TLS. ## Infrastructure credentials The default configuration ships with weak, well-known passwords for PostgreSQL, MinIO, and Redis. Replace them with strong, unique values before exposing Tracecat to production traffic. ```bash theme={null} # PostgreSQL TRACECAT__POSTGRES_USER=tracecat TRACECAT__POSTGRES_PASSWORD= # Temporal PostgreSQL TEMPORAL__POSTGRES_USER=temporal TEMPORAL__POSTGRES_PASSWORD= # MinIO / S3 MINIO_ROOT_USER= MINIO_ROOT_PASSWORD= # Redis — add a password and update the URL REDIS_URL=redis://:@redis:6379 ``` For Redis, also pass the password to the container. Add a `command` override in your `docker-compose.yml`: ```yaml theme={null} services: redis: command: ["redis-server", "--requirepass", ""] ``` In production, prefer managed services (e.g., Amazon RDS, ElastiCache) over self-hosted PostgreSQL and Redis: they handle encryption at rest, automated backups, and credential rotation. ## Platform secrets Tracecat requires four cryptographic secrets, plus an optional keyring if you enable Temporal payload encryption. | Secret | Protects | | - | - | | `TRACECAT__DB_ENCRYPTION_KEY` | Credentials and sensitive settings stored in PostgreSQL. A Fernet-format key. | | `TRACECAT__SERVICE_KEY` | Service-to-service JWT signing. | | `TRACECAT__SIGNING_SECRET` | Webhook URL signing and HMAC operations. | | `USER_AUTH_SECRET` | Password reset tokens, email verification, OAuth state, the MCP OIDC issuer keypair, and the internal OIDC client secret. | | `TEMPORAL__PAYLOAD_ENCRYPTION_KEYRING` | Versioned keyring for Temporal payload encryption. Optional. Tracecat reads it only when `TEMPORAL__PAYLOAD_ENCRYPTION_ENABLED` is true. | Tracecat requires four secrets. Generate them with `openssl`: ```bash theme={null} # Service key (hex, 32 bytes) — used for internal service-to-service JWT signing openssl rand -hex 32 # Signing secret (hex, 32 bytes) — used for webhook URL signing and HMAC operations openssl rand -hex 32 # User auth secret (hex, 32 bytes) — used for password reset, email verification, OAuth state, and OIDC key derivation openssl rand -hex 32 # DB encryption key (Fernet-compatible base64, 32 bytes) — used for encrypting secrets at rest openssl rand 32 | base64 | tr -d '\n' | tr '+/' '-_' ``` > [!WARNING] > > Store these securely. Losing `TRACECAT__DB_ENCRYPTION_KEY` makes encrypted credentials unrecoverable. > Losing `TRACECAT__SIGNING_SECRET` invalidates existing webhook URLs and agent channel endpoint URLs. See [Where to store them](/self-hosting/security#where-to-store-them) for the recommended storage on each deployment target, and which of these secrets can be rotated. ### Temporal payload keyring `TEMPORAL__PAYLOAD_ENCRYPTION_KEYRING` holds a JSON keyring rather than a single key. Each entry maps a key ID to a root secret, and `current_key_id` selects the key that encrypts new payloads: ```json theme={null} {"current_key_id": "v1", "keys": {"v1": ""}} ``` Generate each root secret the same way as the other secrets: ```bash theme={null} openssl rand -hex 32 ``` Tracecat derives a separate AES-256-GCM key per workspace from the root secret, and stamps the key ID into every payload it encrypts. That stamp is what lets you rotate the keyring while older histories stay readable. On AWS, supply `TEMPORAL__PAYLOAD_ENCRYPTION_KEYRING_ARN` instead, and Tracecat fetches the keyring from Secrets Manager at runtime. ### Database encryption `TRACECAT__DB_ENCRYPTION_ALGORITHM` picks the cipher Tracecat uses when it writes an encrypted value to PostgreSQL: | Value | Cipher | | - | - | | `fernet` (default) | Fernet: AES-128-CBC with an HMAC-SHA256 tag. | | `aes256gcm` | AES-256-GCM, keyed by HKDF-SHA256 from the 32 bytes of `TRACECAT__DB_ENCRYPTION_KEY`. | The setting controls writes only. Tracecat reads both formats whatever the setting is, so existing rows stay readable after a switch, and rows written before the switch stay Fernet until you re-encrypt them. Tracecat refuses to start when the value is anything else. `TRACECAT__DB_ENCRYPTION_PREVIOUS_KEYS` takes a comma-separated list of retired keys. Tracecat decrypts with `TRACECAT__DB_ENCRYPTION_KEY` first, then each previous key, and always encrypts with `TRACECAT__DB_ENCRYPTION_KEY`. Each AES-256-GCM value carries a key ID derived from its key, so Tracecat picks the right key without trying each one. Set both variables on every service that receives `TRACECAT__DB_ENCRYPTION_KEY`. The bundled Compose file, Helm chart, and Fargate module do not pass them through, so add them to each service's environment, for example in a `docker-compose.override.yml`. > [!WARNING] > > Once any service writes with `aes256gcm`, Tracecat versions without this setting cannot read those rows. To downgrade, set `TRACECAT__DB_ENCRYPTION_ALGORITHM=fernet`, run the re-encrypt command below, and only then deploy the older version. #### Re-encrypt stored values The re-encrypt command rewrites every encrypted value that is not yet in the current algorithm and key. Run it in the `api` container, with the same environment as the running services: ```bash theme={null} docker compose exec api python -m tracecat.secrets.reencrypt --dry-run docker compose exec api python -m tracecat.secrets.reencrypt ``` On Kubernetes or Fargate, run the same module in an `api` pod or task. * `--dry-run` prints per-column counts of Fernet values, AES-256-GCM values, values already current, and values no configured key can decrypt. It writes nothing. * Without `--dry-run`, the command scans first and refuses to write if any value fails to decrypt. Add the missing key to `TRACECAT__DB_ENCRYPTION_PREVIOUS_KEYS`, or pass `--skip-undecryptable` to leave those values unchanged. * Writes go in committed batches of `--batch-size` rows (default 200). The command skips values that are already current and leaves a value alone if the application rewrites it mid-run, so you can stop it and run it again at any time. The output reports counts only, never values. #### Rotate the database key 1. Generate a new key with `openssl rand 32 | base64 | tr -d '\n' | tr '+/' '-_'`. 2. Add the new key to `TRACECAT__DB_ENCRYPTION_PREVIOUS_KEYS` on every service and deploy. Every service can now read values written under it. 3. Set `TRACECAT__DB_ENCRYPTION_KEY` to the new key, move the old key to `TRACECAT__DB_ENCRYPTION_PREVIOUS_KEYS`, and deploy. New writes use the new key. 4. Confirm that every service that receives `TRACECAT__DB_ENCRYPTION_KEY` has restarted with the new values. In the bundled Compose file these are `api`, `worker`, `executor`, `agent-worker`, `agent-executor`, `litellm`, and `mcp`. Check each service's environment, with `docker compose config `, the ECS task definition, or the pod spec, and check that it started after step 3. A service still running with the old key keeps writing rows under it. 5. Run the re-encrypt command with `--dry-run` to check the counts, then without it to rewrite the values. Run `--dry-run` again and confirm every value counts as current. 6. Remove the old key from `TRACECAT__DB_ENCRYPTION_PREVIOUS_KEYS` and deploy. Keep a backup of it until you no longer need database backups taken before the final dry run in step 5. > [!WARNING] > > Removing the old key makes every row still encrypted under it unreadable, and Tracecat cannot recover those rows without the key. Remove it only after step 4 confirms that no service still uses it, and after the final dry run in step 5 shows every value as current. Rotating the key also resets MCP OAuth state that Tracecat keeps in Redis under `TRACECAT__DB_ENCRYPTION_KEY`, so MCP clients sign in again. To switch algorithms without rotating, set `TRACECAT__DB_ENCRYPTION_ALGORITHM` on every service and deploy. Confirm as in step 4 that every service restarted with the new value, then run step 5. A service still on the old algorithm keeps writing that format, which matters when you switch back to `fernet` before downgrading. ### Where to store them Keep these out of your application configuration and out of version control. Use the mechanism your platform already provides. | Deployment | Recommended storage | | - | - | | [AWS ECS Fargate](/self-hosting/aws-fargate) | AWS Secrets Manager. Pass secret ARNs to Terraform; ECS resolves the values at task launch, so they never appear in your `.tfvars`. | | [Kubernetes](/self-hosting/kubernetes#secrets-management) | External Secrets Operator syncing from your secret manager, or an existing Kubernetes Secret you create out of band. | | [Docker Compose](/self-hosting/docker-compose) | A `.env` file on the host. Restrict it to the service account that runs Tracecat and exclude it from version control. | On Kubernetes, prefer External Secrets Operator over a hand-created Secret. Your secret manager stays the source of truth, the operator re-syncs values rather than copying them, and no plaintext passes through a shell history or a manifest. Reserve chart-managed secret templates for pipelines that encrypt values at rest with Sealed Secrets or SOPS. ### Rotation Rotation support differs by secret. Check the differences before you plan a rotation window. > [!WARNING] > > Losing `TRACECAT__DB_ENCRYPTION_KEY` makes every stored credential > unrecoverable. Back it up, and control access to it at least as tightly as the > credentials it encrypts. | Secret | Overlap window | Rotation procedure | Blast radius | | - | - | - | - | | `TEMPORAL__PAYLOAD_ENCRYPTION_KEYRING` | Yes | Add the new key to `keys` and let every service pick it up, then point `current_key_id` at it. Keep retired keys as long as you retain their histories. | None for existing histories, which stay readable under the key they were written with. Between the two steps, a service still on the old keyring cannot decrypt payloads written under the new key. In ARN mode that gap lasts up to `TEMPORAL__PAYLOAD_ENCRYPTION_CACHE_TTL_SECONDS`. | | `TRACECAT__DB_ENCRYPTION_KEY` | Yes | Follow [Rotate the database key](#rotate-the-database-key). | MCP clients sign in again. Removing the old key before every service has restarted with the new key, and before re-encryption finishes, makes rows still encrypted under the old key unreadable. | | `TRACECAT__SIGNING_SECRET` | No | Rotate, then reissue every affected URL. | Every webhook URL and agent channel endpoint URL. Breaks in-flight Slack OAuth installs, and pending Slack approval buttons for up to 24 hours. | | `TRACECAT__SERVICE_KEY` | No | Restart every service that holds it in one window, including `ui`, which uses it for the SAML ACS proxy. | While services disagree, in-flight agent turns fail their next tool or LLM call, executor calls fail, and service-to-service requests return `401`. Miss `ui` and SSO login breaks. | | `USER_AUTH_SECRET` | No | Restart `api` and `mcp` together. | Active MCP access tokens (1-hour lifetime), and in-flight password reset and verification links. Sessions are database-backed, so users stay logged in. MCP refresh tokens are hashed and survive. | ## Isolation Tracecat executes user-defined Python scripts, custom actions, and agents inside the executor service. You choose between nsjail isolation and no isolation. Defaults differ by deployment target. | Deployment | Default | | - | - | | [Kubernetes](/self-hosting/kubernetes#security) | nsjail sandbox. The chart applies the required security context to the executor pods. | | [Docker Compose](/self-hosting/docker-compose) | No isolation. `TRACECAT__EXECUTOR_BACKEND=direct`. | | [AWS Fargate](/self-hosting/aws-fargate) | No isolation. Fargate cannot grant the capabilities nsjail requires. | ### nsjail sandbox (recommended for production) For production, enable [nsjail](https://github.com/google/nsjail) — a process isolation tool from Google that enforces: * **Filesystem isolation** — scripts reach only their job directory and explicitly mounted paths. The host filesystem stays invisible. * **Resource limits** — nsjail caps CPU time, memory, file size, and process count per execution, so a runaway script cannot starve the host. * **User namespace separation** — scripts run as unprivileged users even when the container runs as root. * **Network access** — scripts keep network access, since they need to reach databases, APIs, and S3, but nsjail confines it to the container's network namespace. To enable nsjail, set the following in your `.env`: ```bash theme={null} TRACECAT__EXECUTOR_BACKEND=nsjail ``` The legacy `ephemeral` value remains an alias for `nsjail`. For Docker Compose, use the sandbox overlay in the [startup instructions](/self-hosting/docker-compose#start-tracecat) to supply container permissions and cgroup delegation. > [!WARNING] > > The `direct` backend does not sandbox ordinary workflow actions. > Set `TRACECAT__EXECUTOR_BACKEND=nsjail` for supported action isolation. nsjail requires: * Linux with kernel 4.6+ * Docker privileged mode or `CAP_SYS_ADMIN` capability on the executor container * The nsjail binary and sandbox rootfs (included in Tracecat images) > [!NOTE] > > nsjail is not supported on macOS or Windows. Use the `direct` backend on those platforms. ### Resource limits When you enable nsjail, each agent, Python script, custom action, and dependency-install sandbox gets a cgroup v2 memory budget shared by its child processes. | Sandbox | Memory cap | Configure with | CPU time | File size | Processes | | :- | :- | :- | :- | :- | :- | | `core.script.run_python` and custom actions | 2048 MB | `TRACECAT__SANDBOX_DEFAULT_MEMORY_MB` | 300 s | 256 MB | 64 | | Dependency installation for `core.script.run_python` | 2048 MB | `TRACECAT__SANDBOX_DEFAULT_MEMORY_MB` | 300 s | 256 MB | 64 | | Agents | 4096 MB | `TRACECAT__AGENT_SANDBOX_MEMORY_MB` | Agent timeout ceiling | 256 MB | 128 | Pass `TRACECAT__SANDBOX_DEFAULT_MEMORY_MB` to your action executor and `TRACECAT__AGENT_SANDBOX_MEMORY_MB` to `agent-executor`. Docker Compose forwards both settings. Helm chart 0.7.0 or newer exposes them as `executor.sandboxMemoryMib` and `agentExecutor.sandboxMemoryMib` and provides the required executor cgroup bootstrap. Sandboxes have no per-process address-space cap (`rlimit_as`) by default, because the cgroup memory budget already bounds RAM. Set `TRACECAT__SANDBOX_ADDRESS_SPACE_MB=8192` or `TRACECAT__AGENT_SANDBOX_ADDRESS_SPACE_MB=16384` to add one. Size this cap well above your workload's peak virtual size, since runtimes such as DuckDB reserve far more address space than the RAM they use. Stdio MCP connection probes use the same policy with a memory budget capped at 1024 MiB. NsJail requires a writable cgroup v2 subtree with the memory controller enabled. The Compose sandbox overlay starts `python -m tracecat.sandbox.bootstrap` for executors and `python -m tracecat.agent.sandbox.cgroup` for agent executors as root to prepare the container's subtree, then drops privileges to `apiuser` before starting the worker. Other deployments must use that bootstrap with an isolated, writable container cgroup namespace, or delegate a subtree and set `TRACECAT__SANDBOX_CGROUP_PATH=/sys/fs/cgroup/action-sandboxes` for executors or `TRACECAT__AGENT_SANDBOX_CGROUP_PATH=/sys/fs/cgroup/agent-sandboxes` for agent executors. Both workers reject missing delegation before accepting activities. Set concurrency so all sandbox budgets plus worker overhead fit within the outer container limit. Tracecat does not resize concurrency automatically. A per-sandbox limit cannot prevent a container OOM when the sum of concurrent workloads exceeds that outer limit. Tracecat reports an action or agent run that exceeds the memory, CPU time, or file size limit as `sandbox.resource_limit_exceeded`. The failure is attributed to the workload, is not retried, and the error names the env var that controls the cap. Two limits fall outside that guarantee. Exceeding the process count fails process creation inside the sandbox with an ordinary error instead of killing the workload, so it surfaces as whatever the script or agent does with that error. Dependency installation is reported as a package installation failure whichever limit it hits. These limits apply only when nsjail is enabled. Without it Tracecat installs no rlimits, so a failure of the same shape is reported as an ordinary workload or platform failure. ### No isolation Without nsjail, scripts, custom actions, and agents run as regular subprocesses in the executor. This is a supported production configuration when you trust everything that runs. That means your own workflow and custom registry code, the third-party dependencies those actions install, and the agents, tools, and MCP servers you enable. Review that code and pin those dependencies as you would any code with direct access to your systems. Choose nsjail instead when you run code you have not reviewed, such as untrusted third-party packages or agents that generate and execute their own code. ### Choosing a backend | Backend | Isolation | Latency | Use case | | :- | :- | :- | :- | | `direct` | Does not support sandboxing | \~50ms | Trusted code, dependencies, and agents | | `nsjail` (`ephemeral` alias) | nsjail sandbox (cold per action) | \~4000ms | Untrusted code, dependencies, and agents | ## Authentication Docker Compose deployments default to basic email/password authentication. For production, configure [OIDC](/authentication/oidc) or [SAML](/authentication/saml) SSO. To require a hardware security key or passkey at sign-in, set `TRACECAT__PUBLIC_APP_URL` to an HTTPS URL and turn on [multi-factor authentication](/authentication/mfa). Browsers only offer security keys on HTTPS or `localhost`, and each key stays bound to that host. See [Roles and permissions](/manage-platform/rbac) for the roles you assign to users and groups once they can sign in. ## TLS Never run production traffic over plain HTTP. See [TLS and certificates](/self-hosting/tls) for Caddy-based automatic TLS setup, custom certificates, and trusting internal CAs. ## Related pages * See [Architecture](/security/architecture) for the platform and AI agent trust model. # Get support Source: https://docs.tracecat.com/self-hosting/support Information to collect before you ask the Tracecat team to help debug a self-hosted deployment. Collect the details below before you contact us on [Discord](https://discord.gg/n3GF4qxFU8), open a [GitHub issue](https://github.com/TracecatHQ/tracecat/issues/new?template=bug_report.md), or email [founders@tracecat.com](mailto:founders@tracecat.com). We need your Tracecat version, and your Helm chart version if you deploy with Helm, before we can start debugging. ## Required information ### Tracecat version Get the version from the running API: ```bash theme={null} curl -s https:///api/info | jq -r .version ``` You can also read it from your deployment configuration: * Docker Compose: use the `/api/info` command above, or run `docker compose images api ui`. * Kubernetes: run the command below. `image.tag` and `uiImage.tag` override the chart's `appVersion`, so check the running images rather than the `APP VERSION` column in `helm list`. ```bash theme={null} kubectl get deploy -n tracecat \ -o jsonpath='{range .items[*]}{.metadata.name}{"\t"}{.spec.template.spec.containers[0].image}{"\n"}{end}' ``` * AWS ECS Fargate: check the `tracecat_image_tag` Terraform variable. ### Helm chart version If you deploy with Helm, send the chart version from the `CHART` column: ```bash theme={null} helm list -n tracecat ``` `tracecat-0.6.0` means chart version `0.6.0`. Also tell us which values you changed from the defaults, with secrets removed. ### Latest release Check the [changelog](https://www.tracecat.com/changelog) for a fix to your issue, then update to the latest Tracecat image, Helm chart, or Docker Compose files: * Docker Compose: follow [Updating Tracecat](/self-hosting/docker-compose#updating-tracecat). * Kubernetes: follow [Upgrade the Helm chart](/self-hosting/kubernetes#upgrade-the-helm-chart). * AWS ECS Fargate: follow [Updating Tracecat](/self-hosting/aws-fargate#updating-tracecat). Tell us whether you updated and whether the issue still happens on the latest release. If you can't update yet, say so and include the version you plan to move to. ## Details that speed up debugging * Exact error: the full message and where it appeared (UI, workflow run event, agent chat, API response, or service log). Add a screenshot for UI issues. * Time: when the issue happened, with timezone, so we can match it to logs. * Reproduction steps: the smallest workflow, agent preset, or API call that reproduces the issue. Export the workflow definition as YAML and remove secrets. * Regression: whether this worked on an earlier Tracecat version, and which one. * Recent changes: upgrades, environment variable or Helm value changes, infrastructure, proxy, or network changes made before the issue started. * Scope: whether the issue affects every workflow, user, and workspace, or only some. * Service health: output of `docker compose ps` or `kubectl get pods -n tracecat`, including restart counts. * Logs: logs from `api`, `worker`, `executor`, `agent-worker`, and `agent-executor` around the time of the issue. For UI issues, add errors from the browser console. ```bash theme={null} # Docker Compose docker compose logs --since 1h api worker executor agent-worker agent-executor # Kubernetes kubectl logs -n tracecat deploy/tracecat-api --since=1h ``` * Deployment setup: your execution backend (`TRACECAT__EXECUTOR_BACKEND`), Temporal (bundled, self-hosted, or Temporal Cloud), PostgreSQL (bundled or external), authentication type, and whether you run behind a reverse proxy, a custom CA, or in an [air-gapped](/self-hosting/air-gapped) environment. Remove secrets, API keys, tokens, and customer data from everything you send. Never share your `.env` file or `TRACECAT__DB_ENCRYPTION_KEY`. # Temporal retention Source: https://docs.tracecat.com/self-hosting/temporal-retention Increase Temporal workflow history retention for self-hosted Tracecat on Docker Compose, AWS ECS Fargate, and Kubernetes, and archive closed workflow histories to S3. Temporal keeps the event history of a closed workflow execution for the retention period of its namespace, then deletes it. Tracecat workflow logs read from that history, so the retention period sets how far back you can inspect past runs in the UI. The bundled Temporal in Docker Compose and Fargate creates its namespace with 24 hours of retention. The Helm chart creates it with 720 hours (30 days). Temporal applies retention when it creates the namespace, so raising the setting only affects new deployments. Existing deployments need a namespace update through the Temporal CLI, shown in each section below. Retention values use Go duration strings such as `24h`, `720h`, or `2160h`, with a minimum of one day. Longer retention grows the Temporal PostgreSQL database in proportion to the history you keep, so size that database before you raise the setting. ## Docker Compose Set the retention period in your `.env` file, then recreate the Temporal service. ```bash theme={null} TEMPORAL__DEFAULT_NAMESPACE_RETENTION=720h ``` ```bash theme={null} docker compose up -d temporal ``` For an existing deployment, update the namespace directly. Use the namespace in `TEMPORAL__CLUSTER_NAMESPACE`, which is `default` unless you changed it. ```bash theme={null} docker compose exec temporal \ temporal operator namespace update --namespace default --retention 720h ``` Confirm the new value: ```bash theme={null} docker compose exec temporal \ temporal operator namespace describe -n default | grep RetentionTtl ``` ``` Config.WorkflowExecutionRetentionTtl 720h0m0s ``` ## AWS ECS Fargate Set the `temporal_default_namespace_retention` Terraform variable and apply. ```bash theme={null} export TF_VAR_temporal_default_namespace_retention=720h terraform apply ``` Raise `temporal_db_allocated_storage` in the same apply if the Temporal database needs more room for the longer history. For an existing deployment, run the Temporal CLI from inside the VPC, because the Temporal service is only reachable on the private subnets. Run a one-off ECS task with the `temporalio/admin-tools` image on the same subnets and security groups as the `temporal` service, with `TEMPORAL_ADDRESS` set to `temporal-service:7233`, then run: ```bash theme={null} temporal operator namespace update --namespace default --retention 720h ``` ## Kubernetes Set the retention period on the namespace the chart creates. ```yaml theme={null} temporal: server: config: namespaces: create: true namespace: - name: default retention: 2160h ``` The chart's `temporal-setup` post-install hook creates the namespace with this retention. It does not change retention on a namespace that already exists. For an existing deployment, update the namespace from the admin tools pod: ```bash theme={null} kubectl exec -n tracecat deploy/tracecat-temporal-admintools -- \ temporal operator namespace update --namespace default --retention 2160h ``` Replace `tracecat` with your release name and namespace if they differ. ## S3 archival Archival copies closed workflow event histories and visibility records to S3 so they outlive the retention period. This keeps history available for compliance and audits while your retention period stays short enough to keep the Temporal database small. Archived history is available through the Temporal CLI and Temporal Web UI, not through Tracecat workflow logs. Archival is available on the Kubernetes deployment only, because [Temporal does not support archival when running through Docker](https://docs.temporal.io/self-hosted-guide/archival). Temporal treats archival as an experimental feature. **1. Create the bucket and grant access** Create an S3 bucket for archival, then grant the Temporal server pods `s3:PutObject`, `s3:GetObject`, and `s3:ListBucket` on it. On EKS, create a service account for Temporal and annotate it with the IAM role ARN. ```yaml theme={null} temporal: serviceAccount: create: true name: "tracecat-temporal" extraAnnotations: eks.amazonaws.com/role-arn: "arn:aws:iam::123456789012:role/tracecat-temporal-archival" ``` **2. Enable archival on the Temporal cluster** Enable the `s3store` provider at the cluster level and set the namespace archival URIs. ```yaml theme={null} temporal: server: archival: history: state: "enabled" enableRead: true provider: s3store: region: "us-west-2" visibility: state: "enabled" enableRead: true provider: s3store: region: "us-west-2" namespaceDefaults: archival: history: state: "enabled" URI: "s3://my-tracecat-archival/temporal-history" visibility: state: "enabled" URI: "s3://my-tracecat-archival/temporal-visibility" ``` `enableRead: true` lets the Temporal CLI and Web UI read archived history. **3. Apply the values** ```bash theme={null} helm upgrade tracecat oci:///tracecat \ --version \ --namespace tracecat \ -f values.yaml \ --wait --timeout 10m ``` The `temporal-setup` hook enables archival on the Tracecat namespace and sets the URIs. A namespace archival URI is immutable once archival is enabled, so pick the bucket and prefix before the first upgrade. **4. Verify archival** ```bash theme={null} kubectl exec -n tracecat deploy/tracecat-temporal-admintools -- \ temporal operator namespace describe -n default ``` `Config.HistoryArchivalState` and `Config.VisibilityArchivalState` report `Enabled` with the URIs you set. Temporal archives a closed workflow asynchronously, up to five minutes after it closes, so run a workflow and wait before checking the bucket. Read an archived history by workflow and run ID: ```bash theme={null} kubectl exec -n tracecat deploy/tracecat-temporal-admintools -- \ temporal workflow show --workflow-id --run-id -n default ``` ## Related pages * See [Docker Compose](/self-hosting/docker-compose) for the full single-host deployment, including the `.env` file this page edits. * See [AWS ECS Fargate](/self-hosting/aws-fargate) for the Terraform variables and apply workflow. * See [Kubernetes](/self-hosting/kubernetes) for the Helm values structure and upgrade commands. # TLS and certificates Source: https://docs.tracecat.com/self-hosting/tls Configure HTTPS for self-hosted Tracecat: automatic Let's Encrypt certificates with Caddy, custom certificates, and trusting internal CAs for outbound connections. This page covers Docker Compose deployments. On [Kubernetes](/self-hosting/kubernetes) and [AWS Fargate](/self-hosting/aws-fargate), terminate TLS at your ingress controller or load balancer instead. ## Inbound HTTPS with Caddy Tracecat ships with [Caddy](https://caddyserver.com/) as a reverse proxy. Caddy automatically provisions and renews TLS certificates from Let's Encrypt when configured with a domain name. **1. Update environment variables** In your `.env` file, set `BASE_DOMAIN` to your domain and switch every public URL and the allowed origins to HTTPS: ```bash theme={null} BASE_DOMAIN=tracecat.example.com PUBLIC_APP_URL=https://tracecat.example.com PUBLIC_API_URL=https://tracecat.example.com/api TRACECAT__ALLOW_ORIGINS=https://tracecat.example.com ``` Mixing HTTP and HTTPS across these values causes CORS failures. Keep the scheme consistent everywhere. **2. Expose ports 80 and 443** Update the `caddy` service ports in your `docker-compose.yml`: ```yaml theme={null} services: caddy: ports: - "80:80" - "443:443" ``` Port 80 must remain open for the ACME HTTP-01 challenge. Port 443 serves HTTPS traffic. **3. Restart the stack** ```bash theme={null} docker compose up -d ``` Caddy will automatically obtain and renew certificates on startup. ### Bring your own certificate If your domain is internal or cannot use Let's Encrypt, supply your own certificate and private key with Caddy's [`tls` directive](https://caddyserver.com/docs/caddyfile/directives/tls). Mount the files into the `caddy` service and reference them in your `Caddyfile`: ```caddyfile theme={null} {$BASE_DOMAIN} { tls /etc/caddy/certs/tls.crt /etc/caddy/certs/tls.key # ... existing reverse_proxy configuration ... } ``` ### Cloud VMs If you deploy into a cloud VM (for example an EC2 instance), we recommend placing a managed load balancer such as an AWS Application Load Balancer in front of Caddy. Terminate TLS at the load balancer with an ACM certificate and forward traffic to Caddy, so certificates and public HTTPS are handled by managed infrastructure instead of the VM. With TLS terminated at the load balancer, keep Caddy in HTTP-only mode. Do not set `BASE_DOMAIN` to a bare domain as in the Let's Encrypt setup above — that enables Caddy's automatic HTTPS, which redirects the load balancer's forwarded HTTP requests back to HTTPS and creates a redirect loop. Keep the default port-only `BASE_DOMAIN` and set only the public URLs to HTTPS: ```bash theme={null} BASE_DOMAIN=:80 PUBLIC_APP_URL=https://tracecat.example.com PUBLIC_API_URL=https://tracecat.example.com/api TRACECAT__ALLOW_ORIGINS=https://tracecat.example.com TRACECAT__TRUSTED_PROXY_CIDRS="10.0.1.0/24 10.0.2.0/24" ``` Set `TRACECAT__TRUSTED_PROXY_CIDRS` to the load balancer subnet CIDRs so Caddy can derive the client address from `X-Forwarded-For` without trusting requests from other networks. Separate multiple CIDRs with spaces. You must configure the VM firewall or security group so only the load balancer can reach Caddy's port 80. On AWS, set the instance security group's inbound source to the Application Load Balancer's security group. Do not allow the full load balancer subnets to reach port 80 because another host in a trusted subnet could forge `X-Forwarded-For`. Point the load balancer's HTTPS listener at Caddy's HTTP port (80), and redirect HTTP to HTTPS at the load balancer. ## Browsers force HTTPS If the browser fails with `ERR_CONNECTION_REFUSED` while `curl` over HTTP works, your deployment is serving plain HTTP but the browser is trying to reach it over HTTPS. This is expected browser behavior, not a Tracecat or Caddy error: modern browsers automatically upgrade requests to a public hostname to HTTPS (through HSTS, the "Always use secure connections" setting, or a prior HTTPS visit). Because the default stack exposes only port 80 with no TLS, the HTTPS request is refused. The Caddy logs confirm HTTP-only mode: ```text theme={null} server is listening only on the HTTP port, so no automatic HTTPS will be applied to this server ``` Serving a public deployment over plain HTTP is not supported. Configure [inbound HTTPS](#inbound-https-with-caddy) instead. ## Trust an internal CA for outbound connections Tracecat containers do not inherit the host's trust store. If Tracecat calls services with certificates signed by an internal CA — a custom LLM provider, an internal Jira, an on-prem API — those connections fail TLS verification even when `curl` on the host succeeds. ### Per-action: CA certificate secret For HTTP actions, create a workspace secret named `ca_cert` with the key `CA_CERTIFICATE` set to your CA certificate as PEM text. `core.http` picks it up automatically and verifies servers against it without any deployment changes. HTTP actions also accept `verify_ssl: false`, but only use this as a temporary workaround — it disables certificate verification entirely. See [HTTP actions](/automations/core-actions/request-actions/http). ### Deployment-wide: inject the CA into service trust stores To make every service trust your CA — including custom LLM providers and Python integrations — append it to the certifi bundle with a one-shot init container. **1. Add your CA certificates** Create a `certs/` directory next to your `docker-compose.yml` and place your CA certificates in it as `.crt` files in PEM format (not DER). Include the full chain: root and any intermediate CAs. **2. Create a Compose override** Create `docker-compose.override.yml` next to your `docker-compose.yml`, replacing `` with the image tag in your `docker-compose.yml`: ```yaml theme={null} x-custom-ca: &custom-ca environment: SSL_CERT_FILE: /custom-ca/bundle.crt REQUESTS_CA_BUNDLE: /custom-ca/bundle.crt CURL_CA_BUNDLE: /custom-ca/bundle.crt volumes: - custom-ca:/custom-ca:ro depends_on: cert-init: condition: service_completed_successfully services: cert-init: image: ghcr.io/tracecathq/tracecat:${TRACECAT__IMAGE_TAG:-} restart: "no" user: root volumes: - ./certs:/certs:ro - custom-ca:/custom-ca command: - python - -c - | import certifi, shutil from pathlib import Path shutil.copy(certifi.where(), '/custom-ca/bundle.crt') with open('/custom-ca/bundle.crt', 'a') as bundle: for cert in sorted(Path('/certs').rglob('*.crt')): bundle.write(cert.read_text()) print(f'Appended {cert}') api: *custom-ca executor: *custom-ca agent-executor: *custom-ca agent-worker: *custom-ca litellm: *custom-ca volumes: custom-ca: ``` The `cert-init` service copies the default certifi bundle into a shared volume and appends your CA certificates. When you update Tracecat, set `` in the override to the new image tag. Docker Compose merges the override with each service's existing configuration. Apply the same `*custom-ca` block to any other service that makes outbound HTTPS calls. **3. Restart the stack** ```bash theme={null} docker compose up -d ``` Compose picks up `docker-compose.override.yml` automatically. Check the init container output with `docker compose logs cert-init`. > [!NOTE] > > The injected bundle does not reach actions running inside the [nsjail sandbox](/self-hosting/security#isolation) (`TRACECAT__EXECUTOR_BACKEND=nsjail`). > The sandbox strips these environment variables and does not mount `/custom-ca`. > For sandboxed HTTP actions, use the per-action `ca_cert` secret instead. # 1Password Events Source: https://docs.tracecat.com/tools/1password Reference for the Tracecat 1Password Events integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Introspect Events API token Action ID: `tools.1password.introspect_events_token` Return the event features and 1Password account authorized for an Events Reporting bearer token. Calls GET /api/v2/auth/introspect directly. Reference: [https://www.1password.dev/events-api/reference/introspect](https://www.1password.dev/events-api/reference/introspect) ### Secrets Required secrets: * `onepassword_events`: required values `OP_EVENTS_API_TOKEN`. ### Input fields **base_url** `string | null` 1Password Events API base URL for the account. Default: `null`. ## List audit events Action ID: `tools.1password.list_audit_events` Retrieve actions performed by team members in a 1Password account. Calls POST /api/v2/auditevents directly and requires the token's auditevents feature. The response cursor is a persistent checkpoint for the next call. Reference: [https://www.1password.dev/events-api/reference/audit-events](https://www.1password.dev/events-api/reference/audit-events) ### Secrets Required secrets: * `onepassword_events`: required values `OP_EVENTS_API_TOKEN`. ### Input fields **payload** `object` *required* API-native cursor request body. For a first or reset request, pass any combination of limit (1-1000, default 100), start_time (RFC 3339), and end_time (RFC 3339), or pass an empty object. For a continuing request, pass only cursor from the previous response. **base_url** `string | null` 1Password Events API base URL for the account. Default: `null`. ## List item usages Action ID: `tools.1password.list_item_usages` Retrieve events for items in shared 1Password vaults that were modified, accessed, or used. Calls POST /api/v2/itemusages directly and requires the token's itemusages feature. The response cursor is a persistent checkpoint for the next call. Reference: [https://www.1password.dev/events-api/reference/items-usage](https://www.1password.dev/events-api/reference/items-usage) ### Secrets Required secrets: * `onepassword_events`: required values `OP_EVENTS_API_TOKEN`. ### Input fields **payload** `object` *required* API-native cursor request body. For a first or reset request, pass any combination of limit (1-1000, default 100), start_time (RFC 3339), and end_time (RFC 3339), or pass an empty object. For a continuing request, pass only cursor from the previous response. **base_url** `string | null` 1Password Events API base URL for the account. Default: `null`. ## List sign-in attempts Action ID: `tools.1password.list_sign_in_attempts` Retrieve successful and failed 1Password account sign-in attempts. Calls POST /api/v2/signinattempts directly and requires the token's signinattempts feature. The response cursor is a persistent checkpoint for the next call. Reference: [https://www.1password.dev/events-api/reference/sign-in-attempt](https://www.1password.dev/events-api/reference/sign-in-attempt) ### Secrets Required secrets: * `onepassword_events`: required values `OP_EVENTS_API_TOKEN`. ### Input fields **payload** `object` *required* API-native cursor request body. For a first or reset request, pass any combination of limit (1-1000, default 100), start_time (RFC 3339), and end_time (RFC 3339), or pass an empty object. For a continuing request, pass only cursor from the previous response. **base_url** `string | null` 1Password Events API base URL for the account. Default: `null`. # 1Password SDK Source: https://docs.tracecat.com/tools/1password_sdk Reference for the Tracecat 1Password SDK integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Call method Action ID: `tools.1password_sdk.call_method` Authenticate a 1Password service-account client and call a public SDK service method. Reference: [https://github.com/1Password/onepassword-sdk-python](https://github.com/1Password/onepassword-sdk-python) ### Secrets Required secrets: * `onepassword`: required values `OP_SERVICE_ACCOUNT_TOKEN`. ### Input fields **method_name** `string` *required* Public 1Password SDK method name. **service** `string` *required* 1Password Client service path, for example `items`, `vaults`, `groups`, `secrets`, `environments`, or `items.files`. **params** `object | null` 1Password SDK method parameters. Dictionaries are validated against the SDK's generated Pydantic parameter types; values, including nulls, are otherwise forwarded unchanged. For a variadic SDK parameter such as `filters`, pass its values as a list. Default: `null`. # AbuseIPDB Source: https://docs.tracecat.com/tools/abuseipdb Reference for the Tracecat AbuseIPDB integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Lookup IP address Action ID: `tools.abuseipdb.lookup_ip_address` Lookup an IP address in AbuseIPDB. Reference: [https://docs.abuseipdb.com/#check-endpoint](https://docs.abuseipdb.com/#check-endpoint) ### Secrets Required secrets: * `abuseipdb`: required values `ABUSEIPDB_API_KEY`. ### Input fields **ip_address** `string` *required* IP address to lookup. **max_age_in_days** `integer` Maximum age of the IP address in days. Default: `30`. # AlertMedia Source: https://docs.tracecat.com/tools/alertmedia Reference for the Tracecat AlertMedia integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Create trip Action ID: `tools.alertmedia.create_trip` Create a trip in AlertMedia. Reference: [https://docs.alertmedia.com/reference/steps-create-a-trip-and-itinerary](https://docs.alertmedia.com/reference/steps-create-a-trip-and-itinerary) ### Secrets Required secrets: * `alertmedia`: required values `ALERTMEDIA_API_KEY`. ### Input fields **city** `string` *required* City of the trip. **country_code** `string` *required* Country code of the trip. For example, US, CA, GB, etc. **end_date** `string` *required* End date of the trip. Example 2025-06-26 23:59:59 **latitude** `string` *required* Latitude of the trip. **longitude** `string` *required* Longitude of the trip. **name** `string` *required* Name of the trip. **start_date** `string` *required* Start date of the trip. Example 2025-06-26 00:00:00 **user_id** `string` *required* User ID of the user to create the trip for. **base_url** `string | null` AlertMedia base URL (e.g. [https://tracecat.alertmedia.com](https://tracecat.alertmedia.com)) Default: `null`. **end_time_zone** `string` Time zone of the trip. Default: `"America/New_York"`. **start_time_zone** `string` Time zone of the trip. Default: `"America/New_York"`. ## Delete trip Action ID: `tools.alertmedia.delete_trip` Delete a trip from AlertMedia. Reference: [https://docs.alertmedia.com/reference/steps-deleting-a-trip-or-itinerary](https://docs.alertmedia.com/reference/steps-deleting-a-trip-or-itinerary) ### Secrets Required secrets: * `alertmedia`: required values `ALERTMEDIA_API_KEY`. ### Input fields **trip_id** `string` *required* ID of the trip to delete. **user_id** `string` *required* User ID of the user to delete the trip for. **base_url** `string | null` AlertMedia base URL (e.g. [https://tracecat.alertmedia.com](https://tracecat.alertmedia.com)) Default: `null`. ## Get Travel Events Action ID: `tools.alertmedia.get_travel_events` Get travel events and concerns for users traveling. This can be traffic, weather, or other events that may affect the user's travel. This returns a list of events and an item range header. The item range header of 0-2/3 means that the first 3 events (0-2) have been returned and there are a total of 3 events. Reference: [https://docs.alertmedia.com/reference/get-list-events](https://docs.alertmedia.com/reference/get-list-events) ### Secrets Required secrets: * `alertmedia`: required values `ALERTMEDIA_API_KEY`. ### Input fields **active** `boolean` Whether to get active trips. Default: `null`. **base_url** `string | null` AlertMedia base URL (e.g. [https://tracecat.alertmedia.com](https://tracecat.alertmedia.com)) Default: `null`. **item_range** `string` Item-Range header value. Default is 0-25. Default: `"0-25"`. **since** `string` Start date of the trips to get. Example 2025-06-26 00:00:00 Default: `""`. ## Get user trip by ID Action ID: `tools.alertmedia.get_user_trip_by_id` Get a trip by ID from AlertMedia. Reference: [https://docs.alertmedia.com/reference/get-list-a-users-travel-itinerary](https://docs.alertmedia.com/reference/get-list-a-users-travel-itinerary) ### Secrets Required secrets: * `alertmedia`: required values `ALERTMEDIA_API_KEY`. ### Input fields **trip_id** `string` *required* ID of the trip to get. **user_id** `string` *required* User ID of the user to get the trip for. **base_url** `string | null` AlertMedia base URL (e.g. [https://tracecat.alertmedia.com](https://tracecat.alertmedia.com)) Default: `null`. ## Get user trips Action ID: `tools.alertmedia.get_user_trips` Get a list of trips for a user from AlertMedia. This returns a list of trips and an item range header. The item range header of 0-2/3 means that the first 3 trips (0-2) have been returned and there are a total of 3 trips. Reference: [https://docs.alertmedia.com/reference/get-list-a-users-travel-itinerary](https://docs.alertmedia.com/reference/get-list-a-users-travel-itinerary) ### Secrets Required secrets: * `alertmedia`: required values `ALERTMEDIA_API_KEY`. ### Input fields **user_id** `string` *required* User ID of the user to get the trips for. **base_url** `string | null` AlertMedia base URL (e.g. [https://tracecat.alertmedia.com](https://tracecat.alertmedia.com)) Default: `null`. **item_range** `string` Item-Range header value. Default is 0-25. Default: `"0-25"`. ## Search trips Action ID: `tools.alertmedia.search_trips` Search for trips in AlertMedia. This returns a list of trips and an item range header. The item range header of 0-2/3 means that the first 3 trips (0-2) have been returned and there are a total of 3 trips. Reference: [https://docs.alertmedia.com/reference/get-list-a-users-travel-itinerary](https://docs.alertmedia.com/reference/get-list-a-users-travel-itinerary) ### Secrets Required secrets: * `alertmedia`: required values `ALERTMEDIA_API_KEY`. ### Input fields **base_url** `string | null` AlertMedia base URL (e.g. [https://tracecat.alertmedia.com](https://tracecat.alertmedia.com)) Default: `null`. **item_range** `string` Item-Range header value. Default is 0-25. Default: `"0-25"`. **ordering** `string` Sort trips in response by one of start_date, end_date, name, city, country, state, country_code. Add - before the field name to reverse the order (e.g. ?ordering=-start_date returns trips sorted by start date Z-A). Default is -active_date. Default: `"-active_date"`. **status** `string` Filter trips by status, this is a comma separated list of statuses. Valid values are upcoming, active, past. Default is upcoming,active,past. (all statuses) Default: `"upcoming,active,past"`. ## Search users Action ID: `tools.alertmedia.search_users` Search for users in AlertMedia. This returns a list of users and an item range header. The item range header of 0-2/3 means that the first 3 users (0-2) have been returned and there are a total of 3 users. Reference: [https://docs.alertmedia.com/reference/get-list-users](https://docs.alertmedia.com/reference/get-list-users) ### Secrets Required secrets: * `alertmedia`: required values `ALERTMEDIA_API_KEY`. ### Input fields **base_url** `string | null` AlertMedia base URL (e.g. [https://tracecat.alertmedia.com](https://tracecat.alertmedia.com)) Default: `null`. **email** `string` Email of the user to search for. Default: `""`. **has_device** `boolean | null` Whether the user has an registered device. Default: `null`. **has_email** `boolean | null` Whether the user has an email. Default: `null`. **has_phone** `boolean | null` Whether the user has a phone number. Default: `null`. **item_range** `string` Item-Range header value. Default is 0-25. Default: `"0-25"`. **name** `string` Name of the user to search for. Default: `""`. **ordering** `string` Sort users in response by one of last_name, first_name, last_login, email, mobile_phone, date_updated. Add - before the field name to reverse the order (e.g. ?ordering=-last_name returns users sorted by last name Z-A) Default: `""`. **phone** `string` Phone number of the user to search for. Default: `""`. ## Update trip Action ID: `tools.alertmedia.update_trip` Update a trip in AlertMedia. Reference: [https://docs.alertmedia.com/reference/steps-create-a-trip-and-itinerary](https://docs.alertmedia.com/reference/steps-create-a-trip-and-itinerary) ### Secrets Required secrets: * `alertmedia`: required values `ALERTMEDIA_API_KEY`. ### Input fields **trip_id** `string` *required* Trip ID of the trip to update. **user_id** `string` *required* User ID of the user to create the trip for. **base_url** `string | null` AlertMedia base URL (e.g. [https://tracecat.alertmedia.com](https://tracecat.alertmedia.com)) Default: `null`. **city** `string | null` City of the trip. Default: `null`. **country_code** `string | null` Country code of the trip. For example, US, CA, GB, etc. Default: `null`. **end_date** `string | null` End date of the trip. Example 2025-06-26 23:59:59 Default: `null`. **end_time_zone** `string | null` Time zone of the trip. Default: `null`. **latitude** `string | null` Latitude of the trip. Default: `null`. **longitude** `string | null` Longitude of the trip. Default: `null`. **name** `string | null` Name of the trip. Default: `null`. **start_date** `string | null` Start date of the trip. Example 2025-06-26 00:00:00 Default: `null`. **start_time_zone** `string | null` Time zone of the trip. Default: `null`. # Amazon S3 Source: https://docs.tracecat.com/tools/amazon_s3 Reference for the Tracecat Amazon S3 integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Call S3 method Action ID: `tools.amazon_s3.call_method` Instantiate a S3 client and call a S3 method. Reference: [https://docs.aws.amazon.com/boto3/latest/guide/s3-example-download-file.html](https://docs.aws.amazon.com/boto3/latest/guide/s3-example-download-file.html) ### Secrets Optional secrets: * `amazon_s3`: optional values `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_SESSION_TOKEN`, `AWS_REGION`, `AWS_ROLE_ARN`, `AWS_ROLE_SESSION_NAME`. ### Input fields **method_name** `string` *required* S3 method name. **params** `object` *required* S3 method parameters. **endpoint_url** `string | null` Endpoint URL for the AWS S3 service. Default: `null`. **region_name** `string | null` AWS service region to use for this request. Overrides the AWS_REGION secret for the service client. Default: `null`. ## Copy S3 objects Action ID: `tools.amazon_s3.copy_objects` Copy S3 objects from one bucket to another. Reference: [https://docs.aws.amazon.com/boto3/latest/reference/services/s3.html#S3.Client.copy_object](https://docs.aws.amazon.com/boto3/latest/reference/services/s3.html#S3.Client.copy_object) ### Secrets Optional secrets: * `amazon_s3`: optional values `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_SESSION_TOKEN`, `AWS_REGION`, `AWS_ROLE_ARN`, `AWS_ROLE_SESSION_NAME`. ### Input fields **dst_bucket** `string` *required* Destination S3 bucket name. **prefix** `string` *required* Prefix to filter objects (e.g., 'manuals\_' for keys starting with 'manuals\_'). **src_bucket** `string` *required* Source S3 bucket name. **endpoint_url** `string | null` Endpoint URL for the AWS S3 service. Default: `null`. **region_name** `string | null` AWS service region to use for this request. Overrides the AWS_REGION secret for the service client. Default: `null`. ## Delete S3 object Action ID: `tools.amazon_s3.delete_object` Delete an object from S3. Reference: [https://docs.aws.amazon.com/boto3/latest/reference/services/s3.html#S3.Client.delete_object](https://docs.aws.amazon.com/boto3/latest/reference/services/s3.html#S3.Client.delete_object) ### Secrets Optional secrets: * `amazon_s3`: optional values `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_SESSION_TOKEN`, `AWS_REGION`, `AWS_ROLE_ARN`, `AWS_ROLE_SESSION_NAME`. ### Input fields **bucket** `string` *required* S3 bucket name. **key** `string` *required* S3 object key. **endpoint_url** `string | null` Endpoint URL for the AWS S3 service. Default: `null`. **region_name** `string | null` AWS service region to use for this request. Overrides the AWS_REGION secret for the service client. Default: `null`. ## Get S3 object Action ID: `tools.amazon_s3.get_object` Download an object from S3 and return its body as a string. Reference: [https://docs.aws.amazon.com/boto3/latest/reference/services/s3.html#S3.Client.get_object](https://docs.aws.amazon.com/boto3/latest/reference/services/s3.html#S3.Client.get_object) ### Secrets Optional secrets: * `amazon_s3`: optional values `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_SESSION_TOKEN`, `AWS_REGION`, `AWS_ROLE_ARN`, `AWS_ROLE_SESSION_NAME`. ### Input fields **bucket** `string` *required* S3 bucket name. **key** `string` *required* S3 object key. **endpoint_url** `string | null` Endpoint URL for the AWS S3 service. Default: `null`. **region_name** `string | null` AWS service region to use for this request. Overrides the AWS_REGION secret for the service client. Default: `null`. ## Get S3 objects Action ID: `tools.amazon_s3.get_objects` Download multiple S3 objects and return their bodies as strings. Reference: [https://docs.aws.amazon.com/boto3/latest/reference/services/s3.html#S3.Client.get_object](https://docs.aws.amazon.com/boto3/latest/reference/services/s3.html#S3.Client.get_object) ### Secrets Optional secrets: * `amazon_s3`: optional values `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_SESSION_TOKEN`, `AWS_REGION`, `AWS_ROLE_ARN`, `AWS_ROLE_SESSION_NAME`. ### Input fields **bucket** `string` *required* S3 bucket name. **keys** `array[string]` *required* S3 object keys. **endpoint_url** `string | null` Endpoint URL for the AWS S3 service. Default: `null`. **region_name** `string | null` AWS service region to use for this request. Overrides the AWS_REGION secret for the service client. Default: `null`. ## List S3 objects Action ID: `tools.amazon_s3.list_objects` List objects in an S3 bucket. Reference: [https://docs.aws.amazon.com/boto3/latest/reference/services/s3.html#S3.Client.list_objects_v2](https://docs.aws.amazon.com/boto3/latest/reference/services/s3.html#S3.Client.list_objects_v2) ### Secrets Optional secrets: * `amazon_s3`: optional values `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_SESSION_TOKEN`, `AWS_REGION`, `AWS_ROLE_ARN`, `AWS_ROLE_SESSION_NAME`. ### Input fields **bucket** `string` *required* S3 bucket name. **endpoint_url** `string | null` Endpoint URL for the AWS S3 service. Default: `null`. **limit** `integer` Maximum number of objects to return. Default: `1000`. **prefix** `string | null` S3 object key prefix. Default: `null`. **region_name** `string | null` AWS service region to use for this request. Overrides the AWS_REGION secret for the service client. Default: `null`. ## Parse S3 URI Action ID: `tools.amazon_s3.parse_uri` Parse an S3 URI into bucket name and object key. Reference: [https://docs.aws.amazon.com/boto3/latest/guide/s3-example-download-file.html](https://docs.aws.amazon.com/boto3/latest/guide/s3-example-download-file.html) ### Secrets Optional secrets: * `amazon_s3`: optional values `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_SESSION_TOKEN`, `AWS_REGION`, `AWS_ROLE_ARN`, `AWS_ROLE_SESSION_NAME`. ### Input fields **uri** `string` *required* ## Put S3 object Action ID: `tools.amazon_s3.put_object` Uploads an object to S3. The object key is validated and content decoded. Reference: [https://docs.aws.amazon.com/boto3/latest/reference/services/s3.html#S3.Client.put_object](https://docs.aws.amazon.com/boto3/latest/reference/services/s3.html#S3.Client.put_object) ### Secrets Optional secrets: * `amazon_s3`: optional values `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_SESSION_TOKEN`, `AWS_REGION`, `AWS_ROLE_ARN`, `AWS_ROLE_SESSION_NAME`. ### Input fields **bucket** `string` *required* S3 bucket name. **file_data** `string` *required* Base64 encoded content of the file to upload. **key** `string` *required* S3 object key. **endpoint_url** `string | null` Endpoint URL for the AWS S3 service. Default: `null`. **region_name** `string | null` AWS service region to use for this request. Overrides the AWS_REGION secret for the service client. Default: `null`. # Ansible Source: https://docs.tracecat.com/tools/ansible Reference for the Tracecat Ansible integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Run Ansible playbook Action ID: `tools.ansible.run_playbook` Run Ansible playbook on a single host given a list of plays in JSON format. Supports SSH host-connection mode only. Reference: [https://docs.ansible.com/ansible/latest/index.html](https://docs.ansible.com/ansible/latest/index.html) ### Secrets Required secrets: * `ansible`: required values `PRIVATE_KEY`. ### Input fields **host** `string` *required* Host to SSH into and run the playbook on **host_name** `string` *required* Host name to use in the inventory **playbook** `array[object]` *required* List of plays to run. Plays run only on the inventory host, so use `hosts: all`. **user** `string` *required* SSH user to connect as **envvars** `object | null` Environment variables to be used when running Ansible Default: `null`. **error_patterns** `array[string] | null` Text that marks the run as failed when raise_on_failure is enabled. The action raises if the playbook output contains any item exactly as written: case-sensitive, and characters like `*`, `.` or `^` match themselves (no wildcards or regex). Example: `["FAILED!", "UNREACHABLE!"]`. Up to 20 items, each 1-256 characters. Default: `null`. **extravars** `object | null` Extra variables to pass to Ansible using `-e` Default: `null`. **ignore_events** `array[string] | null` List of events to ignore from the playbook. Returns all events by default. Default: `null`. **passwords** `map[string, string] | null` Optional mapping from password prompt to value. Example: \{"SSH password:": "\$\{\{ SECRETS.your_secret_name.some_password }}"}. Default: `null`. **raise_on_failure** `boolean` Raise an error when the playbook fails, times out, is canceled, or its output contains any error_patterns. Defaults to returning the events. Default: `false`. **runner_kwargs** `object | null` Additional keyword arguments to pass to the runner Default: `null`. **timeout** `integer` Timeout for the playbook execution in seconds Default: `60`. # ANY.RUN Source: https://docs.tracecat.com/tools/anyrun Reference for the Tracecat ANY.RUN integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Get analysis Action ID: `tools.anyrun.get_analysis` Retrieve details for an ANY.RUN analysis by ID. Reference: [https://any.run/api-documentation/#tag/analysis/GET/v1/analysis/\{analysis_id}](https://any.run/api-documentation/#tag/analysis/GET/v1/analysis/\{analysis_id}) ### Secrets Required secrets: * `anyrun`: required values `ANYRUN_API_KEY`. ### Input fields **analysis_id** `string` *required* Identifier of the analysis task. ## List analyses Action ID: `tools.anyrun.list_analyses` List ANY.RUN analyses with optional status filtering. Reference: [https://any.run/api-documentation/#tag/analysis/GET/v1/analysis/](https://any.run/api-documentation/#tag/analysis/GET/v1/analysis/) ### Secrets Required secrets: * `anyrun`: required values `ANYRUN_API_KEY`. ### Input fields **limit** `integer` Maximum number of analyses to return. Default: `50`. **offset** `integer` Pagination offset. Default: `0`. **status** `string | null` Optional analysis status to filter by (e.g. finished, running). Default: `null`. ## Submit analysis Action ID: `tools.anyrun.submit_analysis` Create an ANY.RUN analysis task for a file hash, URL, or file reference. Reference: [https://any.run/api-documentation/#tag/analysis/POST/v1/analysis/](https://any.run/api-documentation/#tag/analysis/POST/v1/analysis/) ### Secrets Required secrets: * `anyrun`: required values `ANYRUN_API_KEY`. ### Input fields **object_value** `string` *required* Value of the object to analyze (URL, hash, or file UUID). **interactive** `boolean` Whether to run the analysis in interactive mode. Default: `false`. **object_type** `string` Type of object to analyze (url, hash, or file). Default: `"url"`. **platform** `string` Execution environment to use (e.g. win10). Default: `"win10"`. # AWS Boto3 Source: https://docs.tracecat.com/tools/aws_boto3 Reference for the Tracecat AWS Boto3 integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Call method Action ID: `tools.aws_boto3.call_api` Instantiate a Boto3 client and call an AWS Boto3 API method. Reference: [https://docs.aws.amazon.com/boto3/latest/guide/clients.html](https://docs.aws.amazon.com/boto3/latest/guide/clients.html) ### Secrets Required secrets: * `aws`: optional values `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_SESSION_TOKEN`, `AWS_REGION`, `AWS_ROLE_ARN`, `AWS_ROLE_SESSION_NAME`. ### Input fields **method_name** `string` *required* Method name e.g. 'list_buckets', 'list_instances' **service_name** `string` *required* AWS service name e.g. 's3', 'ec2', 'guardduty'. **endpoint_url** `string | null` Endpoint URL for the AWS service. Default: `null`. **params** `object | null` Parameters for the API method. Default: `null`. **region_name** `string | null` AWS service region to use for this request. Overrides the AWS_REGION secret for the service client. Default: `null`. ## Call paginator Action ID: `tools.aws_boto3.call_paginated_api` Instantiate a Boto3 paginator and call a paginated AWS API method. Reference: [https://docs.aws.amazon.com/boto3/latest/guide/paginators.html](https://docs.aws.amazon.com/boto3/latest/guide/paginators.html) ### Secrets Required secrets: * `aws`: optional values `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_SESSION_TOKEN`, `AWS_REGION`, `AWS_ROLE_ARN`, `AWS_ROLE_SESSION_NAME`. ### Input fields **paginator_name** `string` *required* Paginator name e.g. 'list_objects_v2', 'describe_instances'. **service_name** `string` *required* AWS service name e.g. 's3', 'ec2', 'guardduty'. **endpoint_url** `string | null` Endpoint URL for the AWS service. Default: `null`. **params** `object | null` Parameters for the API paginator. Default: `null`. **region_name** `string | null` AWS service region to use for this request. Overrides the AWS_REGION secret for the service client. Default: `null`. # Azure DevOps Source: https://docs.tracecat.com/tools/azure_devops Reference for the Tracecat Azure DevOps integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Add work item comment Action ID: `tools.azure_devops.add_work_item_comment` Add a comment to a work item. Reference: [https://learn.microsoft.com/en-us/rest/api/azure/devops/wit/comments/add?view=azure-devops-rest-7.2](https://learn.microsoft.com/en-us/rest/api/azure/devops/wit/comments/add?view=azure-devops-rest-7.2) ### Secrets Optional secrets: * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_USER_TOKEN`. * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_SERVICE_TOKEN`. ### Input fields **organization** `string` *required* Azure DevOps organization name. **project** `string` *required* Project ID or project name. **text** `string` *required* Comment text (HTML supported). **work_item_id** `integer` *required* Work item ID. **base_url** `string | null` Azure DevOps base URL. Defaults to `https://dev.azure.com` (Azure DevOps Services). For Azure DevOps Server, set this to the collection URL. Default: `null`. ## Create pull request comment thread Action ID: `tools.azure_devops.create_pull_request_thread` Create a comment thread on a pull request. Reference: [https://learn.microsoft.com/en-us/rest/api/azure/devops/git/pull-request-threads/create?view=azure-devops-rest-7.2](https://learn.microsoft.com/en-us/rest/api/azure/devops/git/pull-request-threads/create?view=azure-devops-rest-7.2) ### Secrets Optional secrets: * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_USER_TOKEN`. * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_SERVICE_TOKEN`. ### Input fields **comments** `array[object]` *required* Comments in the thread, each as `{"content": "...", "commentType": "text"}`. **organization** `string` *required* Azure DevOps organization name. **project** `string` *required* Project ID or project name. **pull_request_id** `integer` *required* Pull request ID. **repository_id** `string` *required* Repository ID or name. **base_url** `string | null` Azure DevOps base URL. Defaults to `https://dev.azure.com` (Azure DevOps Services). For Azure DevOps Server, set this to the collection URL. Default: `null`. **status** `string | null` Thread status. One of `active`, `fixed`, `wontFix`, `closed`, `byDesign`, `pending`. Default: `null`. **thread_context** `object | null` File/line context, e.g. `{"filePath": "/src/app.py", "rightFileStart": {"line": 1, "offset": 1}, "rightFileEnd": {"line": 1, "offset": 1}}`. Default: `null`. ## Create work item Action ID: `tools.azure_devops.create_work_item` Create a work item of the given type (for example `Bug` or `Task`) from a mapping of field reference names to values. Reference: [https://learn.microsoft.com/en-us/rest/api/azure/devops/wit/work-items/create?view=azure-devops-rest-7.2](https://learn.microsoft.com/en-us/rest/api/azure/devops/wit/work-items/create?view=azure-devops-rest-7.2) ### Secrets Optional secrets: * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_USER_TOKEN`. * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_SERVICE_TOKEN`. ### Input fields **fields** `object` *required* Field reference names mapped to values, e.g. `{"System.Title": "Investigate alert", "System.Description": "..."}`. **organization** `string` *required* Azure DevOps organization name. **project** `string` *required* Project ID or project name. **type** `string` *required* Work item type name (e.g. `Bug`, `Task`, `User Story`). **base_url** `string | null` Azure DevOps base URL. Defaults to `https://dev.azure.com` (Azure DevOps Services). For Azure DevOps Server, set this to the collection URL. Default: `null`. **bypass_rules** `boolean | null` Bypass work item type rules. Default: `null`. **expand** `string | null` Expand parameters for work item attributes. One of `none`, `relations`, `fields`, `links`, `all`. Default: `null`. **suppress_notifications** `boolean | null` Do not fire notifications for this change. Default: `null`. **validate_only** `boolean | null` Validate the changes without saving the work item. Default: `null`. ## Get Advanced Security alert Action ID: `tools.azure_devops.get_alert` Get a GitHub Advanced Security for Azure DevOps alert by ID. Reference: [https://learn.microsoft.com/en-us/rest/api/azure/devops/advancedsecurity/alerts/get?view=azure-devops-rest-7.2](https://learn.microsoft.com/en-us/rest/api/azure/devops/advancedsecurity/alerts/get?view=azure-devops-rest-7.2) ### Secrets Optional secrets: * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_USER_TOKEN`. * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_SERVICE_TOKEN`. ### Input fields **alert_id** `integer` *required* Alert ID. **organization** `string` *required* Azure DevOps organization name. **project** `string` *required* Project ID or project name. **repository_id** `string` *required* Repository ID or name. **base_url** `string | null` Azure DevOps base URL. Defaults to `https://advsec.dev.azure.com` (Azure DevOps Services). For Azure DevOps Server, set this to the collection URL. Default: `null`. **ref** `string | null` Branch ref the alert is on (e.g. `refs/heads/main`). Default: `null`. ## Get pipeline run Action ID: `tools.azure_devops.get_pipeline_run` Get a pipeline run by ID. Reference: [https://learn.microsoft.com/en-us/rest/api/azure/devops/pipelines/runs/get?view=azure-devops-rest-7.2](https://learn.microsoft.com/en-us/rest/api/azure/devops/pipelines/runs/get?view=azure-devops-rest-7.2) ### Secrets Optional secrets: * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_USER_TOKEN`. * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_SERVICE_TOKEN`. ### Input fields **organization** `string` *required* Azure DevOps organization name. **pipeline_id** `integer` *required* Pipeline ID. **project** `string` *required* Project ID or project name. **run_id** `integer` *required* Run ID. **base_url** `string | null` Azure DevOps base URL. Defaults to `https://dev.azure.com` (Azure DevOps Services). For Azure DevOps Server, set this to the collection URL. Default: `null`. ## Get pull request Action ID: `tools.azure_devops.get_pull_request` Get a pull request by ID. Reference: [https://learn.microsoft.com/en-us/rest/api/azure/devops/git/pull-requests/get-pull-request?view=azure-devops-rest-7.2](https://learn.microsoft.com/en-us/rest/api/azure/devops/git/pull-requests/get-pull-request?view=azure-devops-rest-7.2) ### Secrets Optional secrets: * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_USER_TOKEN`. * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_SERVICE_TOKEN`. ### Input fields **organization** `string` *required* Azure DevOps organization name. **project** `string` *required* Project ID or project name. **pull_request_id** `integer` *required* Pull request ID. **repository_id** `string` *required* Repository ID or name. **base_url** `string | null` Azure DevOps base URL. Defaults to `https://dev.azure.com` (Azure DevOps Services). For Azure DevOps Server, set this to the collection URL. Default: `null`. **include_commits** `boolean | null` Include commits associated with the pull request. Default: `null`. **include_work_item_refs** `boolean | null` Include linked work item references. Default: `null`. **max_comment_length** `integer | null` Not used. Default: `null`. ## Get repository Action ID: `tools.azure_devops.get_repository` Get a Git repository by ID or name. Reference: [https://learn.microsoft.com/en-us/rest/api/azure/devops/git/repositories/get-repository?view=azure-devops-rest-7.2](https://learn.microsoft.com/en-us/rest/api/azure/devops/git/repositories/get-repository?view=azure-devops-rest-7.2) ### Secrets Optional secrets: * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_USER_TOKEN`. * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_SERVICE_TOKEN`. ### Input fields **organization** `string` *required* Azure DevOps organization name. **project** `string` *required* Project ID or project name. **repository_id** `string` *required* Repository ID or name. **base_url** `string | null` Azure DevOps base URL. Defaults to `https://dev.azure.com` (Azure DevOps Services). For Azure DevOps Server, set this to the collection URL. Default: `null`. ## Get work item Action ID: `tools.azure_devops.get_work_item` Get a single work item by ID. Reference: [https://learn.microsoft.com/en-us/rest/api/azure/devops/wit/work-items/get-work-item?view=azure-devops-rest-7.2](https://learn.microsoft.com/en-us/rest/api/azure/devops/wit/work-items/get-work-item?view=azure-devops-rest-7.2) ### Secrets Optional secrets: * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_USER_TOKEN`. * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_SERVICE_TOKEN`. ### Input fields **id** `integer` *required* Work item ID. **organization** `string` *required* Azure DevOps organization name. **project** `string` *required* Project ID or project name. **as_of** `string | null` Return the work item as of this UTC date time (ISO 8601). Default: `null`. **base_url** `string | null` Azure DevOps base URL. Defaults to `https://dev.azure.com` (Azure DevOps Services). For Azure DevOps Server, set this to the collection URL. Default: `null`. **expand** `string | null` Expand parameters for work item attributes. One of `none`, `relations`, `fields`, `links`, `all`. Default: `null`. **fields** `string | null` Comma-separated list of field reference names to return. Cannot be combined with `expand`. Default: `null`. ## List Advanced Security alerts Action ID: `tools.azure_devops.list_alerts` List GitHub Advanced Security for Azure DevOps alerts (secret, dependency, code scanning) for a repository. Returns one page; pass `continuation_token` to fetch the next page. Reference: [https://learn.microsoft.com/en-us/rest/api/azure/devops/advancedsecurity/alerts/list?view=azure-devops-rest-7.2](https://learn.microsoft.com/en-us/rest/api/azure/devops/advancedsecurity/alerts/list?view=azure-devops-rest-7.2) ### Secrets Optional secrets: * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_USER_TOKEN`. * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_SERVICE_TOKEN`. ### Input fields **organization** `string` *required* Azure DevOps organization name. **project** `string` *required* Project ID or project name. **repository_id** `string` *required* Repository ID or name. **alert_type** `string | null` Alert type. One of `unknown`, `dependency`, `secret`, `code`, `license`. Default: `null`. **base_url** `string | null` Azure DevOps base URL. Defaults to `https://advsec.dev.azure.com` (Azure DevOps Services). For Azure DevOps Server, set this to the collection URL. Default: `null`. **confidence_levels** `string | null` Comma-separated confidence levels (`high`, `other`). Default: `null`. **continuation_token** `string | null` Continuation token from the previous page. Default: `null`. **from_date** `string | null` Only alerts first seen after this time (ISO 8601). Default: `null`. **is_triaged** `boolean | null` Filter by triage status. Default: `null`. **keywords** `string | null` Keyword filter on title, rule, or dependency. Default: `null`. **modified_since** `string | null` Only alerts modified after this time (ISO 8601). Default: `null`. **only_default_branch** `boolean | null` Only alerts on the default branch. Default: `null`. **order_by** `string | null` Sort order, e.g. `severity`, `firstSeen`, `lastSeen`, `id`. Default: `null`. **ref** `string | null` Filter by branch ref (e.g. `refs/heads/main`). Default: `null`. **rule_id** `string | null` Filter by rule ID. Default: `null`. **rule_name** `string | null` Filter by rule name. Default: `null`. **severities** `string | null` Comma-separated severities (e.g. `critical,high`). Default: `null`. **states** `string | null` Comma-separated states (e.g. `active`, `dismissed`, `fixed`, `autoDismissed`). Default: `null`. **to_date** `string | null` Only alerts first seen before this time (ISO 8601). Default: `null`. **tool_name** `string | null` Filter by tool name. Default: `null`. **top** `integer | null` Maximum number of alerts to return. Default: `null`. **validity** `string | null` Comma-separated secret validity statuses. Default: `null`. ## List builds Action ID: `tools.azure_devops.list_builds` List builds in a project matching optional filters. Returns one page; pass `continuation_token` to fetch the next page. Reference: [https://learn.microsoft.com/en-us/rest/api/azure/devops/build/builds/list?view=azure-devops-rest-7.2](https://learn.microsoft.com/en-us/rest/api/azure/devops/build/builds/list?view=azure-devops-rest-7.2) ### Secrets Optional secrets: * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_USER_TOKEN`. * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_SERVICE_TOKEN`. ### Input fields **organization** `string` *required* Azure DevOps organization name. **project** `string` *required* Project ID or project name. **base_url** `string | null` Azure DevOps base URL. Defaults to `https://dev.azure.com` (Azure DevOps Services). For Azure DevOps Server, set this to the collection URL. Default: `null`. **branch_name** `string | null` Filter by branch ref (e.g. `refs/heads/main`). Default: `null`. **build_ids** `string | null` Comma-separated list of build IDs. Default: `null`. **build_number** `string | null` Filter by build number (supports trailing `*` wildcard). Default: `null`. **continuation_token** `string | null` Continuation token from the previous page. Default: `null`. **definitions** `string | null` Comma-separated list of definition IDs. Default: `null`. **max_builds_per_definition** `integer | null` Maximum number of builds to return per definition. Default: `null`. **max_time** `string | null` Only builds finished/started before this time (ISO 8601). Default: `null`. **min_time** `string | null` Only builds finished/started after this time (ISO 8601). Default: `null`. **query_order** `string | null` Result order (e.g. `finishTimeDescending`, `queueTimeDescending`, `startTimeDescending`). Default: `null`. **reason_filter** `string | null` Filter by build reason (e.g. `manual`, `individualCI`, `schedule`, `pullRequest`). Default: `null`. **repository_id** `string | null` Filter by repository ID. Default: `null`. **repository_type** `string | null` Filter by repository type. Default: `null`. **requested_for** `string | null` Filter by the user who requested the build. Default: `null`. **result_filter** `string | null` Filter by result (e.g. `succeeded`, `partiallySucceeded`, `failed`, `canceled`). Default: `null`. **status_filter** `string | null` Filter by status (e.g. `inProgress`, `completed`, `cancelling`, `postponed`, `notStarted`, `all`). Default: `null`. **tag_filters** `string | null` Comma-separated list of tags. Default: `null`. **top** `integer | null` Maximum number of builds to return. Default: `null`. ## List pipeline runs Action ID: `tools.azure_devops.list_pipeline_runs` List the top 10000 runs for a pipeline. Reference: [https://learn.microsoft.com/en-us/rest/api/azure/devops/pipelines/runs/list?view=azure-devops-rest-7.2](https://learn.microsoft.com/en-us/rest/api/azure/devops/pipelines/runs/list?view=azure-devops-rest-7.2) ### Secrets Optional secrets: * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_USER_TOKEN`. * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_SERVICE_TOKEN`. ### Input fields **organization** `string` *required* Azure DevOps organization name. **pipeline_id** `integer` *required* Pipeline ID. **project** `string` *required* Project ID or project name. **base_url** `string | null` Azure DevOps base URL. Defaults to `https://dev.azure.com` (Azure DevOps Services). For Azure DevOps Server, set this to the collection URL. Default: `null`. ## List pipelines Action ID: `tools.azure_devops.list_pipelines` List pipelines in a project. Returns one page; pass `continuation_token` to fetch the next page. Reference: [https://learn.microsoft.com/en-us/rest/api/azure/devops/pipelines/pipelines/list?view=azure-devops-rest-7.2](https://learn.microsoft.com/en-us/rest/api/azure/devops/pipelines/pipelines/list?view=azure-devops-rest-7.2) ### Secrets Optional secrets: * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_USER_TOKEN`. * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_SERVICE_TOKEN`. ### Input fields **organization** `string` *required* Azure DevOps organization name. **project** `string` *required* Project ID or project name. **base_url** `string | null` Azure DevOps base URL. Defaults to `https://dev.azure.com` (Azure DevOps Services). For Azure DevOps Server, set this to the collection URL. Default: `null`. **continuation_token** `string | null` Continuation token from the previous page. Default: `null`. **order_by** `string | null` Sort order, e.g. `name asc`. Default: `null`. **top** `integer | null` Maximum number of pipelines to return. Default: `null`. ## List projects Action ID: `tools.azure_devops.list_projects` List projects in an Azure DevOps organization. Returns one page; pass `continuation_token` to fetch the next page. Reference: [https://learn.microsoft.com/en-us/rest/api/azure/devops/core/projects/list?view=azure-devops-rest-7.2](https://learn.microsoft.com/en-us/rest/api/azure/devops/core/projects/list?view=azure-devops-rest-7.2) ### Secrets Optional secrets: * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_USER_TOKEN`. * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_SERVICE_TOKEN`. ### Input fields **organization** `string` *required* Azure DevOps organization name. **base_url** `string | null` Azure DevOps base URL. Defaults to `https://dev.azure.com` (Azure DevOps Services). For Azure DevOps Server, set this to the collection URL. Default: `null`. **continuation_token** `integer | null` Continuation token (number of projects already fetched) from the previous page. Default: `null`. **get_default_team_image_url** `boolean | null` Include the default team image URL. Default: `null`. **skip** `integer | null` Number of projects to skip. Default: `null`. **state_filter** `string | null` Filter on team project state. One of `all`, `createPending`, `deleted`, `deleting`, `new`, `unchanged`, `wellFormed`. Default: `null`. **top** `integer | null` Maximum number of projects to return. Default: `null`. ## List pull requests Action ID: `tools.azure_devops.list_pull_requests` List pull requests in a repository matching optional search criteria. Reference: [https://learn.microsoft.com/en-us/rest/api/azure/devops/git/pull-requests/get-pull-requests?view=azure-devops-rest-7.2](https://learn.microsoft.com/en-us/rest/api/azure/devops/git/pull-requests/get-pull-requests?view=azure-devops-rest-7.2) ### Secrets Optional secrets: * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_USER_TOKEN`. * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_SERVICE_TOKEN`. ### Input fields **organization** `string` *required* Azure DevOps organization name. **project** `string` *required* Project ID or project name. **repository_id** `string` *required* Repository ID or name. **base_url** `string | null` Azure DevOps base URL. Defaults to `https://dev.azure.com` (Azure DevOps Services). For Azure DevOps Server, set this to the collection URL. Default: `null`. **creator_id** `string | null` Only pull requests created by this user ID. Default: `null`. **include_links** `boolean | null` Include reference links. Default: `null`. **max_time** `string | null` Only pull requests created or closed before this time (ISO 8601). Default: `null`. **min_time** `string | null` Only pull requests created or closed after this time (ISO 8601). Default: `null`. **query_time_range_type** `string | null` Which time to filter on with `min_time`/`max_time`. One of `created`, `closed`. Default: `null`. **reviewer_id** `string | null` Only pull requests with this reviewer user ID. Default: `null`. **skip** `integer | null` Number of pull requests to skip. Default: `null`. **source_ref_name** `string | null` Only pull requests from this source branch (e.g. `refs/heads/feature`). Default: `null`. **status** `string | null` Pull request status. One of `active`, `abandoned`, `completed`, `all`, `notSet`. Default: `null`. **target_ref_name** `string | null` Only pull requests into this target branch (e.g. `refs/heads/main`). Default: `null`. **title** `string | null` Only pull requests whose title contains this text. Default: `null`. **top** `integer | null` Maximum number of pull requests to return. Default: `null`. ## List repositories Action ID: `tools.azure_devops.list_repositories` List Git repositories in a project. Reference: [https://learn.microsoft.com/en-us/rest/api/azure/devops/git/repositories/list?view=azure-devops-rest-7.2](https://learn.microsoft.com/en-us/rest/api/azure/devops/git/repositories/list?view=azure-devops-rest-7.2) ### Secrets Optional secrets: * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_USER_TOKEN`. * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_SERVICE_TOKEN`. ### Input fields **organization** `string` *required* Azure DevOps organization name. **project** `string` *required* Project ID or project name. **base_url** `string | null` Azure DevOps base URL. Defaults to `https://dev.azure.com` (Azure DevOps Services). For Azure DevOps Server, set this to the collection URL. Default: `null`. **include_all_urls** `boolean | null` Include all remote URLs. Default: `null`. **include_hidden** `boolean | null` Include hidden repositories. Default: `null`. **include_links** `boolean | null` Include reference links. Default: `null`. ## List teams Action ID: `tools.azure_devops.list_teams` List teams in a project. Reference: [https://learn.microsoft.com/en-us/rest/api/azure/devops/core/teams/get-teams?view=azure-devops-rest-7.2](https://learn.microsoft.com/en-us/rest/api/azure/devops/core/teams/get-teams?view=azure-devops-rest-7.2) ### Secrets Optional secrets: * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_USER_TOKEN`. * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_SERVICE_TOKEN`. ### Input fields **organization** `string` *required* Azure DevOps organization name. **project** `string` *required* Project ID or project name. **base_url** `string | null` Azure DevOps base URL. Defaults to `https://dev.azure.com` (Azure DevOps Services). For Azure DevOps Server, set this to the collection URL. Default: `null`. **expand_identity** `boolean | null` Expand identity information in the result. Default: `null`. **mine** `boolean | null` Return only teams the authenticated user is a member of. Default: `null`. **skip** `integer | null` Number of teams to skip. Default: `null`. **top** `integer | null` Maximum number of teams to return. Default: `null`. ## List work item comments Action ID: `tools.azure_devops.list_work_item_comments` List comments on a work item. Returns one page; pass `continuation_token` to fetch the next page. Reference: [https://learn.microsoft.com/en-us/rest/api/azure/devops/wit/comments/get-comments?view=azure-devops-rest-7.2](https://learn.microsoft.com/en-us/rest/api/azure/devops/wit/comments/get-comments?view=azure-devops-rest-7.2) ### Secrets Optional secrets: * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_USER_TOKEN`. * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_SERVICE_TOKEN`. ### Input fields **organization** `string` *required* Azure DevOps organization name. **project** `string` *required* Project ID or project name. **work_item_id** `integer` *required* Work item ID. **base_url** `string | null` Azure DevOps base URL. Defaults to `https://dev.azure.com` (Azure DevOps Services). For Azure DevOps Server, set this to the collection URL. Default: `null`. **continuation_token** `string | null` Continuation token from the previous page. Default: `null`. **expand** `string | null` Additional data to include. One of `none`, `reactions`, `renderedText`, `renderedTextOnly`, `all`. Default: `null`. **include_deleted** `boolean | null` Include deleted comments. Default: `null`. **order** `string | null` Order of comments. One of `asc`, `desc`. Default: `null`. **top** `integer | null` Maximum number of comments to return. Default: `null`. ## List work items Action ID: `tools.azure_devops.list_work_items` Get a batch of work items by IDs (maximum 200). Reference: [https://learn.microsoft.com/en-us/rest/api/azure/devops/wit/work-items/list?view=azure-devops-rest-7.2](https://learn.microsoft.com/en-us/rest/api/azure/devops/wit/work-items/list?view=azure-devops-rest-7.2) ### Secrets Optional secrets: * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_USER_TOKEN`. * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_SERVICE_TOKEN`. ### Input fields **ids** `string` *required* Comma-separated list of work item IDs (maximum 200). **organization** `string` *required* Azure DevOps organization name. **project** `string` *required* Project ID or project name. **as_of** `string | null` Return the work items as of this UTC date time (ISO 8601). Default: `null`. **base_url** `string | null` Azure DevOps base URL. Defaults to `https://dev.azure.com` (Azure DevOps Services). For Azure DevOps Server, set this to the collection URL. Default: `null`. **error_policy** `string | null` Behavior when a work item is not found. One of `fail`, `omit`. Default: `null`. **expand** `string | null` Expand parameters for work item attributes. One of `none`, `relations`, `fields`, `links`, `all`. Default: `null`. **fields** `string | null` Comma-separated list of field reference names to return. Cannot be combined with `expand`. Default: `null`. ## Query work items (WIQL) Action ID: `tools.azure_devops.query_work_items` Run a WIQL query and return matching work item references. Reference: [https://learn.microsoft.com/en-us/rest/api/azure/devops/wit/wiql/query-by-wiql?view=azure-devops-rest-7.2](https://learn.microsoft.com/en-us/rest/api/azure/devops/wit/wiql/query-by-wiql?view=azure-devops-rest-7.2) ### Secrets Optional secrets: * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_USER_TOKEN`. * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_SERVICE_TOKEN`. ### Input fields **organization** `string` *required* Azure DevOps organization name. **project** `string` *required* Project ID or project name. **query** `string` *required* WIQL query text, e.g. `SELECT [System.Id] FROM WorkItems WHERE [System.State] = 'Active'`. **base_url** `string | null` Azure DevOps base URL. Defaults to `https://dev.azure.com` (Azure DevOps Services). For Azure DevOps Server, set this to the collection URL. Default: `null`. **team** `string | null` Team ID or name to scope the query to. Default: `null`. **time_precision** `boolean | null` Use time precision in date comparisons. Default: `null`. **top** `integer | null` Maximum number of results to return. Default: `null`. ## Run pipeline Action ID: `tools.azure_devops.run_pipeline` Run a YAML pipeline, optionally overriding the branch, template parameters, and variables. Reference: [https://learn.microsoft.com/en-us/rest/api/azure/devops/pipelines/runs/run-pipeline?view=azure-devops-rest-7.2](https://learn.microsoft.com/en-us/rest/api/azure/devops/pipelines/runs/run-pipeline?view=azure-devops-rest-7.2) ### Secrets Optional secrets: * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_USER_TOKEN`. * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_SERVICE_TOKEN`. ### Input fields **organization** `string` *required* Azure DevOps organization name. **pipeline_id** `integer` *required* Pipeline ID. **project** `string` *required* Project ID or project name. **base_url** `string | null` Azure DevOps base URL. Defaults to `https://dev.azure.com` (Azure DevOps Services). For Azure DevOps Server, set this to the collection URL. Default: `null`. **pipeline_version** `integer | null` Pipeline version to run. Default: `null`. **preview_run** `boolean | null` Preview the final YAML without running the pipeline. Default: `null`. **resources** `object | null` Run resources, e.g. `{"repositories": {"self": {"refName": "refs/heads/main"}}}` to pick the branch. Default: `null`. **stages_to_skip** `array[string] | null` Stage names to skip. Default: `null`. **template_parameters** `object | null` Runtime template parameter values. Default: `null`. **variables** `object | null` Variable overrides, e.g. `{"env": {"value": "prod"}}`. Default: `null`. **yaml_override** `string | null` YAML to use instead of the pipeline's YAML (preview runs only). Default: `null`. ## Update work item Action ID: `tools.azure_devops.update_work_item` Update fields on an existing work item from a mapping of field reference names to values. Reference: [https://learn.microsoft.com/en-us/rest/api/azure/devops/wit/work-items/update?view=azure-devops-rest-7.2](https://learn.microsoft.com/en-us/rest/api/azure/devops/wit/work-items/update?view=azure-devops-rest-7.2) ### Secrets Optional secrets: * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_USER_TOKEN`. * `azure_devops_oauth`: OAuth token `AZURE_DEVOPS_SERVICE_TOKEN`. ### Input fields **fields** `object` *required* Field reference names mapped to new values, e.g. `{"System.State": "Closed"}`. **id** `integer` *required* Work item ID. **organization** `string` *required* Azure DevOps organization name. **project** `string` *required* Project ID or project name. **base_url** `string | null` Azure DevOps base URL. Defaults to `https://dev.azure.com` (Azure DevOps Services). For Azure DevOps Server, set this to the collection URL. Default: `null`. **bypass_rules** `boolean | null` Bypass work item type rules. Default: `null`. **expand** `string | null` Expand parameters for work item attributes. One of `none`, `relations`, `fields`, `links`, `all`. Default: `null`. **suppress_notifications** `boolean | null` Do not fire notifications for this change. Default: `null`. **validate_only** `boolean | null` Validate the changes without saving the work item. Default: `null`. # Azure Log Analytics Source: https://docs.tracecat.com/tools/azure_log_analytics Reference for the Tracecat Azure Log Analytics integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Execute cross-workspace KQL query Action ID: `tools.azure_log_analytics.execute_cross_workspace_kql_query` Execute a KQL query across multiple Log Analytics workspaces for federated Azure Log Analytics queries. Reference: [https://learn.microsoft.com/en-us/rest/api/logsquery/query/execute?view=rest-logsquery-v1](https://learn.microsoft.com/en-us/rest/api/logsquery/query/execute?view=rest-logsquery-v1) ### Secrets Optional secrets: * `azure_log_analytics_oauth`: OAuth token `AZURE_LOG_ANALYTICS_USER_TOKEN`. * `azure_log_analytics_oauth`: OAuth token `AZURE_LOG_ANALYTICS_SERVICE_TOKEN`. ### Input fields **additional_workspaces** `array[string]` *required* List of additional workspace IDs to query. **query** `string` *required* KQL query to execute across workspaces. **workspace_id** `string` *required* Primary Log Analytics workspace ID (GUID). **base_url** `string` Base URL for the Azure Log Analytics API. Default: `"https://api.loganalytics.io"`. Allowed values: `https://api.loganalytics.io`, `https://api.loganalytics.us`. **timespan** `string | null` ISO8601 time period to limit query results (e.g., "P7D" for 7 days). Default: `null`. ## Execute KQL query Action ID: `tools.azure_log_analytics.execute_kql_query` Execute a KQL query against Azure Log Analytics workspace. Reference: [https://learn.microsoft.com/en-us/rest/api/logsquery/query/execute?view=rest-logsquery-v1](https://learn.microsoft.com/en-us/rest/api/logsquery/query/execute?view=rest-logsquery-v1) ### Secrets Optional secrets: * `azure_log_analytics_oauth`: OAuth token `AZURE_LOG_ANALYTICS_USER_TOKEN`. * `azure_log_analytics_oauth`: OAuth token `AZURE_LOG_ANALYTICS_SERVICE_TOKEN`. ### Input fields **query** `string` *required* KQL query to execute (e.g., "SecurityIncident | take 10"). **workspace_id** `string` *required* Log Analytics workspace ID (GUID). **base_url** `string` Base URL for the Azure Log Analytics API. Default: `"https://api.loganalytics.io"`. Allowed values: `https://api.loganalytics.io`, `https://api.loganalytics.us`. **timespan** `string | null` ISO8601 time period to limit query results (e.g., "P7D" for 7 days, "PT1H" for 1 hour). Default: `null`. # MITRE Caldera Source: https://docs.tracecat.com/tools/caldera Reference for the Tracecat MITRE Caldera integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Add link to operation Action ID: `tools.caldera.add_operation_link` Queue an ability on an existing Caldera operation. Reference: [https://caldera.readthedocs.io/en/latest/The-REST-API.html](https://caldera.readthedocs.io/en/latest/The-REST-API.html) ### Secrets Required secrets: * `caldera`: required values `CALDERA_API_KEY`. ### Input fields **ability_executor** `string` *required* Executor name to run the ability with (e.g. windows, linux, darwin). **ability_id** `string` *required* Ability ID to add to the operation. **operation_id** `string` *required* Operation ID to update. **paw** `string` *required* Agent PAW that should run the ability. **base_url** `string | null` Caldera API base URL (e.g. [http://localhost:8888/api/v2](http://localhost:8888/api/v2)). Default: `null`. ## Caldera health check Action ID: `tools.caldera.health_check` Query the Caldera REST API health endpoint. Reference: [https://caldera.readthedocs.io/en/latest/The-REST-API.html](https://caldera.readthedocs.io/en/latest/The-REST-API.html) ### Secrets Required secrets: * `caldera`: required values `CALDERA_API_KEY`. ### Input fields **base_url** `string | null` Caldera API base URL (e.g. [http://localhost:8888/api/v2](http://localhost:8888/api/v2)). Default: `null`. ## Create adversary Action ID: `tools.caldera.create_adversary` Create a new Caldera adversary profile. Reference: [https://caldera.readthedocs.io/en/latest/The-REST-API.html](https://caldera.readthedocs.io/en/latest/The-REST-API.html) ### Secrets Required secrets: * `caldera`: required values `CALDERA_API_KEY`. ### Input fields **description** `string` *required* Description of the adversary. **name** `string` *required* Name for the adversary. **atomic_ordering** `array[string]` Ordered list of ability IDs for the adversary playbook. Default: `[]`. **base_url** `string | null` Caldera API base URL (e.g. [http://localhost:8888/api/v2](http://localhost:8888/api/v2)). Default: `null`. **plugin** `string` Plugin that owns the adversary. Default: `"stockpile"`. **tags** `array[string]` Optional tags to assign. Default: `[]`. ## Create Linux ability Action ID: `tools.caldera.create_linux_ability` Create a Caldera stockpile ability that runs on Linux agents. Reference: [https://caldera.readthedocs.io/en/latest/The-REST-API.html](https://caldera.readthedocs.io/en/latest/The-REST-API.html) ### Secrets Required secrets: * `caldera`: required values `CALDERA_API_KEY`. ### Input fields **command** `string` *required* Shell command to execute on the agent. **description** `string` *required* Ability description. **name** `string` *required* Ability name. **tactic** `string` *required* MITRE ATT\&CK tactic (e.g. discovery, collection). **technique_name** `string` *required* MITRE ATT\&CK technique name. **base_url** `string | null` Caldera API base URL (e.g. [http://localhost:8888/api/v2](http://localhost:8888/api/v2)). Default: `null`. **delete_payload** `boolean` Delete payloads from the agent after execution. Default: `true`. **payloads** `array[string]` Optional payload files required by the ability. Default: `[]`. **privilege** `string` Privilege level required to run the ability (blank for default). Default: `""`. **repeatable** `boolean` Whether the ability can run repeatedly on the same agent. Default: `false`. **technique_id** `string | null` Optional MITRE ATT\&CK technique ID (e.g. T1059.004). Default: `null`. **timeout** `integer` Command timeout in seconds. Default: `60`. ## Create operation Action ID: `tools.caldera.create_operation` Create a Caldera operation from an existing adversary profile. Reference: [https://caldera.readthedocs.io/en/latest/The-REST-API.html](https://caldera.readthedocs.io/en/latest/The-REST-API.html) ### Secrets Required secrets: * `caldera`: required values `CALDERA_API_KEY`. ### Input fields **adversary_id** `string` *required* Adversary ID whose abilities should be executed. **name** `string` *required* Operation name. **auto_close** `boolean` Whether to automatically close the operation when finished. Default: `false`. **autonomous** `integer` Autonomous mode value (0 = manual, 1 = full autonomous). Default: `1`. **base_url** `string | null` Caldera API base URL (e.g. [http://localhost:8888/api/v2](http://localhost:8888/api/v2)). Default: `null`. **group** `string` Optional group assignment for the operation. Default: `""`. **jitter** `string` Sleep jitter value (format min/max seconds). Default: `"2/4"`. **obfuscator** `string` Obfuscator to use for commands. Default: `"plain-text"`. **objective_id** `string` Objective ID the operation should satisfy. Default: `"495a9828-cab1-44dd-a0ca-66e58177d8cc"`. **planner_id** `string` Planner ID to use when scheduling the operation. Default: `"aaa7c857-37a0-4c4a-85f7-4e9f7f30e31a"`. **source_id** `string` Source ID for fact collection. Default: `"ed32b9c3-9593-4c33-b0db-e2007315096b"`. **state** `string` Initial operation state (e.g. running, paused, finished). Default: `"paused"`. **use_learning_parsers** `boolean` Whether to enable learning parsers during the run. Default: `true`. **visibility** `integer` Visibility score for the operation. Default: `51`. ## Create Windows ability Action ID: `tools.caldera.create_windows_ability` Create a Caldera stockpile ability that runs on Windows agents. Reference: [https://caldera.readthedocs.io/en/latest/The-REST-API.html](https://caldera.readthedocs.io/en/latest/The-REST-API.html) ### Secrets Required secrets: * `caldera`: required values `CALDERA_API_KEY`. ### Input fields **command** `string` *required* Exact PowerShell command to execute. **description** `string` *required* Ability description. **name** `string` *required* Ability name. **tactic** `string` *required* MITRE ATT\&CK tactic (e.g. discovery, execution). **technique_name** `string` *required* MITRE ATT\&CK technique name. **base_url** `string | null` Caldera API base URL (e.g. [http://localhost:8888/api/v2](http://localhost:8888/api/v2)). Default: `null`. **delete_payload** `boolean` Delete payloads from the agent after execution. Default: `true`. **payloads** `array[string]` Optional payload files required by the ability. Default: `[]`. **privilege** `string` Privilege level required to run the ability (blank for default). Default: `""`. **repeatable** `boolean` Whether the ability can run repeatedly on the same agent. Default: `false`. **technique_id** `string | null` Optional MITRE ATT\&CK technique ID (e.g. T1059.001). Default: `null`. **timeout** `integer` Command timeout in seconds. Default: `60`. ## Get ability Action ID: `tools.caldera.get_ability` Retrieve a Caldera ability by ID. Reference: [https://caldera.readthedocs.io/en/latest/The-REST-API.html](https://caldera.readthedocs.io/en/latest/The-REST-API.html) ### Secrets Required secrets: * `caldera`: required values `CALDERA_API_KEY`. ### Input fields **ability_id** `string` *required* Ability ID to fetch. **base_url** `string | null` Caldera API base URL (e.g. [http://localhost:8888/api/v2](http://localhost:8888/api/v2)). Default: `null`. ## Get adversary Action ID: `tools.caldera.get_adversary` Retrieve a Caldera adversary by ID. Reference: [https://caldera.readthedocs.io/en/latest/The-REST-API.html](https://caldera.readthedocs.io/en/latest/The-REST-API.html) ### Secrets Required secrets: * `caldera`: required values `CALDERA_API_KEY`. ### Input fields **adversary_id** `string` *required* Adversary ID to fetch. **base_url** `string | null` Caldera API base URL (e.g. [http://localhost:8888/api/v2](http://localhost:8888/api/v2)). Default: `null`. ## Get agent Action ID: `tools.caldera.get_agent` Retrieve a Caldera agent by PAW. Reference: [https://caldera.readthedocs.io/en/latest/The-REST-API.html](https://caldera.readthedocs.io/en/latest/The-REST-API.html) ### Secrets Required secrets: * `caldera`: required values `CALDERA_API_KEY`. ### Input fields **paw** `string` *required* Agent PAW identifier. **base_url** `string | null` Caldera API base URL (e.g. [http://localhost:8888/api/v2](http://localhost:8888/api/v2)). Default: `null`. ## Get link result Action ID: `tools.caldera.get_operation_link_result` Retrieve the result payload for a specific Caldera link. Reference: [https://caldera.readthedocs.io/en/latest/The-REST-API.html](https://caldera.readthedocs.io/en/latest/The-REST-API.html) ### Secrets Required secrets: * `caldera`: required values `CALDERA_API_KEY`. ### Input fields **link_id** `string` *required* Link ID to fetch. **operation_id** `string` *required* Operation ID that contains the link. **base_url** `string | null` Caldera API base URL (e.g. [http://localhost:8888/api/v2](http://localhost:8888/api/v2)). Default: `null`. ## Get operation Action ID: `tools.caldera.get_operation` Retrieve a Caldera operation by ID. Reference: [https://caldera.readthedocs.io/en/latest/The-REST-API.html](https://caldera.readthedocs.io/en/latest/The-REST-API.html) ### Secrets Required secrets: * `caldera`: required values `CALDERA_API_KEY`. ### Input fields **operation_id** `string` *required* Operation ID to fetch. **base_url** `string | null` Caldera API base URL (e.g. [http://localhost:8888/api/v2](http://localhost:8888/api/v2)). Default: `null`. ## Get operation link Action ID: `tools.caldera.get_operation_link` Retrieve a specific link from a Caldera operation. Reference: [https://caldera.readthedocs.io/en/latest/The-REST-API.html](https://caldera.readthedocs.io/en/latest/The-REST-API.html) ### Secrets Required secrets: * `caldera`: required values `CALDERA_API_KEY`. ### Input fields **link_id** `string` *required* Link ID to fetch. **operation_id** `string` *required* Operation ID that contains the link. **base_url** `string | null` Caldera API base URL (e.g. [http://localhost:8888/api/v2](http://localhost:8888/api/v2)). Default: `null`. ## List abilities Action ID: `tools.caldera.list_abilities` List all Caldera abilities. Reference: [https://caldera.readthedocs.io/en/latest/The-REST-API.html](https://caldera.readthedocs.io/en/latest/The-REST-API.html) ### Secrets Required secrets: * `caldera`: required values `CALDERA_API_KEY`. ### Input fields **base_url** `string | null` Caldera API base URL (e.g. [http://localhost:8888/api/v2](http://localhost:8888/api/v2)). Default: `null`. ## List adversaries Action ID: `tools.caldera.list_adversaries` List Caldera adversaries. Reference: [https://caldera.readthedocs.io/en/latest/The-REST-API.html](https://caldera.readthedocs.io/en/latest/The-REST-API.html) ### Secrets Required secrets: * `caldera`: required values `CALDERA_API_KEY`. ### Input fields **base_url** `string | null` Caldera API base URL (e.g. [http://localhost:8888/api/v2](http://localhost:8888/api/v2)). Default: `null`. ## List agents Action ID: `tools.caldera.list_agents` List all Caldera agents (alive or dead). Reference: [https://caldera.readthedocs.io/en/latest/The-REST-API.html](https://caldera.readthedocs.io/en/latest/The-REST-API.html) ### Secrets Required secrets: * `caldera`: required values `CALDERA_API_KEY`. ### Input fields **base_url** `string | null` Caldera API base URL (e.g. [http://localhost:8888/api/v2](http://localhost:8888/api/v2)). Default: `null`. ## List operation links Action ID: `tools.caldera.list_operation_links` List links for a specific Caldera operation. Reference: [https://caldera.readthedocs.io/en/latest/The-REST-API.html](https://caldera.readthedocs.io/en/latest/The-REST-API.html) ### Secrets Required secrets: * `caldera`: required values `CALDERA_API_KEY`. ### Input fields **operation_id** `string` *required* Operation ID to inspect. **base_url** `string | null` Caldera API base URL (e.g. [http://localhost:8888/api/v2](http://localhost:8888/api/v2)). Default: `null`. ## List operations Action ID: `tools.caldera.list_operations` List all Caldera operations. Reference: [https://caldera.readthedocs.io/en/latest/The-REST-API.html](https://caldera.readthedocs.io/en/latest/The-REST-API.html) ### Secrets Required secrets: * `caldera`: required values `CALDERA_API_KEY`. ### Input fields **base_url** `string | null` Caldera API base URL (e.g. [http://localhost:8888/api/v2](http://localhost:8888/api/v2)). Default: `null`. ## List payloads Action ID: `tools.caldera.list_payloads` List uploaded payloads from Caldera. Reference: [https://caldera.readthedocs.io/en/latest/The-REST-API.html](https://caldera.readthedocs.io/en/latest/The-REST-API.html) ### Secrets Required secrets: * `caldera`: required values `CALDERA_API_KEY`. ### Input fields **base_url** `string | null` Caldera API base URL (e.g. [http://localhost:8888/api/v2](http://localhost:8888/api/v2)). Default: `null`. # Censys Source: https://docs.tracecat.com/tools/censys Reference for the Tracecat Censys integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Aggregate search Action ID: `tools.censys.aggregate_search` Aggregate search results. Calls POST /v3/global/search/aggregate directly. Reference: [https://docs.censys.com/reference/v3-globaldata-search-aggregate](https://docs.censys.com/reference/v3-globaldata-search-aggregate) ### Secrets Required secrets: * `censys`: required values `CENSYS_API_TOKEN`. ### Input fields **field** `string` *required* Field to aggregate by. **number_of_buckets** `integer` *required* Number of buckets to split results into, from 1 to 2000. **query** `string` *required* CenQL query string to search upon. **base_url** `string | null` Base URL of the Censys Platform API. Default: `null`. **count_by_level** `string | null` Specifies which document level's count is returned per term bucket, primarily for nested fields. This is the same functionality available in the Count By dropdown in the Report Builder UI. Default: `null`. **filter_by_query** `boolean | null` Controls whether aggregation results are limited to values that match the query. When true, only field values that satisfy the query constraints are included in aggregation counts. Default: `null`. **organization_id** `string | null` The ID of a Censys organization to associate the request with. If omitted, the request will be processed using the authenticated user's free wallet where applicable. Default: `null`. ## Get certificate Action ID: `tools.censys.get_certificate` Get a certificate. Calls GET /v3/global/asset/certificate/\{certificate_id} directly. Reference: [https://docs.censys.com/reference/v3-globaldata-asset-certificate](https://docs.censys.com/reference/v3-globaldata-asset-certificate) ### Secrets Required secrets: * `censys`: required values `CENSYS_API_TOKEN`. ### Input fields **certificate_id** `string` *required* The SHA-256 certificate fingerprint. **base_url** `string | null` Base URL of the Censys Platform API. Default: `null`. **organization_id** `string | null` The ID of a Censys organization to associate the request with. If omitted, the request will be processed using the authenticated user's free wallet where applicable. Default: `null`. ## Get certificate raw Action ID: `tools.censys.get_certificate_raw` Get a raw certificate. Calls GET /v3/global/asset/certificate/\{certificate_id}/raw directly. Reference: [https://docs.censys.com/reference/v3-globaldata-asset-certificate-raw](https://docs.censys.com/reference/v3-globaldata-asset-certificate-raw) ### Secrets Required secrets: * `censys`: required values `CENSYS_API_TOKEN`. ### Input fields **certificate_id** `string` *required* The SHA-256 certificate fingerprint. **base_url** `string | null` Base URL of the Censys Platform API. Default: `null`. **organization_id** `string | null` The ID of a Censys organization to associate the request with. If omitted, the request will be processed using the authenticated user's free wallet where applicable. Default: `null`. ## Get certificates Action ID: `tools.censys.get_certificates` Get multiple certificates. Calls POST /v3/global/asset/certificate directly. Reference: [https://docs.censys.com/reference/v3-globaldata-asset-certificate-list-post](https://docs.censys.com/reference/v3-globaldata-asset-certificate-list-post) ### Secrets Required secrets: * `censys`: required values `CENSYS_API_TOKEN`. ### Input fields **certificate_ids** `array[string]` *required* A list of SHA-256 certificate fingerprints. Up to 1,000 per call. **base_url** `string | null` Base URL of the Censys Platform API. Default: `null`. **organization_id** `string | null` The ID of a Censys organization to associate the request with. If omitted, the request will be processed using the authenticated user's free wallet where applicable. Default: `null`. ## Get host Action ID: `tools.censys.get_host` Get a host. Calls GET /v3/global/asset/host/\{host_id} directly. Reference: [https://docs.censys.com/reference/v3-globaldata-asset-host](https://docs.censys.com/reference/v3-globaldata-asset-host) ### Secrets Required secrets: * `censys`: required values `CENSYS_API_TOKEN`. ### Input fields **host_id** `string` *required* The IP address of a host. **at_time** `string | null` RFC3339 Timestamp to view a host at a specific point in time. Must be a valid RFC3339 string. Ensure that you suffix the date with T00:00:00Z or a specific time. Default: `null`. **base_url** `string | null` Base URL of the Censys Platform API. Default: `null`. **organization_id** `string | null` The ID of a Censys organization to associate the request with. If omitted, the request will be processed using the authenticated user's free wallet where applicable. Default: `null`. ## Get host timeline Action ID: `tools.censys.get_host_timeline` Get a host timeline. Calls GET /v3/global/asset/host/\{host_id}/timeline directly. Reference: [https://docs.censys.com/reference/v3-globaldata-asset-host-timeline](https://docs.censys.com/reference/v3-globaldata-asset-host-timeline) ### Secrets Required secrets: * `censys`: required values `CENSYS_API_TOKEN`. ### Input fields **end_time** `string` *required* End time of the host timeline. Equivalent to the From field in the event history UI. This must be the timestamp furthest from the current time. For example, if you want events from January 1, 2025 to the start of January 2, 2025, input the January 1 timestamp here. Must be a valid RFC3339 string. Ensure that you suffix the date with T00:00:00Z or a specific time. **host_id** `string` *required* The IP address of a host. **start_time** `string` *required* Start time of the host timeline. Equivalent to the To field in the event history UI. This must be the timestamp closest to the current time. For example, if you want events from January 1, 2025 to the start of January 2, 2025, input the January 2 timestamp here. Must be a valid RFC3339 string. Ensure that you suffix the date with T00:00:00Z or a specific time. **base_url** `string | null` Base URL of the Censys Platform API. Default: `null`. **organization_id** `string | null` The ID of a Censys organization to associate the request with. If omitted, the request will be processed using the authenticated user's free wallet where applicable. Default: `null`. ## Get hosts Action ID: `tools.censys.get_hosts` Get multiple hosts. Calls POST /v3/global/asset/host directly. Reference: [https://docs.censys.com/reference/v3-globaldata-asset-host-list-post](https://docs.censys.com/reference/v3-globaldata-asset-host-list-post) ### Secrets Required secrets: * `censys`: required values `CENSYS_API_TOKEN`. ### Input fields **host_ids** `array[string]` *required* A list of host IP addresses. Up to 100 per call. **at_time** `string | null` RFC3339 Timestamp to view all requested hosts at a specific point in time. Must be a valid RFC3339 string. Ensure that you suffix the date with T00:00:00Z or a specific time. Default: `null`. **base_url** `string | null` Base URL of the Censys Platform API. Default: `null`. **organization_id** `string | null` The ID of a Censys organization to associate the request with. If omitted, the request will be processed using the authenticated user's free wallet where applicable. Default: `null`. ## Get web properties Action ID: `tools.censys.get_web_properties` Get multiple web properties. Calls POST /v3/global/asset/webproperty directly. Reference: [https://docs.censys.com/reference/v3-globaldata-asset-webproperty-list-post](https://docs.censys.com/reference/v3-globaldata-asset-webproperty-list-post) ### Secrets Required secrets: * `censys`: required values `CENSYS_API_TOKEN`. ### Input fields **webproperty_ids** `array[string]` *required* A list of web property identifiers, such as platform.censys.io:80. Up to 100 per call. **at_time** `string | null` RFC3339 Timestamp to view all requested webproperties at a specific point in time. Must be a valid RFC3339 string. Ensure that you suffix the date with T00:00:00Z or a specific time. Default: `null`. **base_url** `string | null` Base URL of the Censys Platform API. Default: `null`. **organization_id** `string | null` The ID of a Censys organization to associate the request with. If omitted, the request will be processed using the authenticated user's free wallet where applicable. Default: `null`. ## Get web property Action ID: `tools.censys.get_web_property` Get a web property. Calls GET /v3/global/asset/webproperty/\{webproperty_id} directly. Reference: [https://docs.censys.com/reference/v3-globaldata-asset-webproperty](https://docs.censys.com/reference/v3-globaldata-asset-webproperty) ### Secrets Required secrets: * `censys`: required values `CENSYS_API_TOKEN`. ### Input fields **webproperty_id** `string` *required* A web property identifier. Web properties are identified using a combination of a hostname and port joined with a colon, such as platform.censys.io:80. **at_time** `string | null` RFC3339 Timestamp to view a webproperty at a specific point in time. Must be a valid RFC3339 string. Ensure that you suffix the date with T00:00:00Z or a specific time. Default: `null`. **base_url** `string | null` Base URL of the Censys Platform API. Default: `null`. **organization_id** `string | null` The ID of a Censys organization to associate the request with. If omitted, the request will be processed using the authenticated user's free wallet where applicable. Default: `null`. ## Search assets Action ID: `tools.censys.search_assets` Search assets. Calls POST /v3/global/search/query directly. Reference: [https://docs.censys.com/reference/v3-globaldata-search-query](https://docs.censys.com/reference/v3-globaldata-search-query) ### Secrets Required secrets: * `censys`: required values `CENSYS_API_TOKEN`. ### Input fields **query** `string` *required* CenQL query string to search upon. **base_url** `string | null` Base URL of the Censys Platform API. Default: `null`. **fields** `array[string] | null` Specify fields to only return in the response. If you provide fields and omit host.services.port, host.services.transport_protocol, and host.services.protocol, then matched_services will not be returned in the response. Default: `null`. **organization_id** `string | null` The ID of a Censys organization to associate the request with. If omitted, the request will be processed using the authenticated user's free wallet where applicable. Default: `null`. **page_size** `integer | null` Number of results to return per page. The default and maximum is 100. Default: `null`. **page_token** `string | null` Page token for the requested page of search results. Default: `null`. # CISA KEV Source: https://docs.tracecat.com/tools/cisa_kev Reference for the Tracecat CISA KEV integration: registered actions, required secrets, expected inputs, and example workflow usage. ## List known exploited vulnerabilities Action ID: `tools.cisa_kev.list_known_exploited_vulnerabilities` List known exploited vulnerabilities. Calls GET /sites/default/files/feeds/known_exploited_vulnerabilities.json directly. Reference: [https://www.cisa.gov/known-exploited-vulnerabilities-catalog](https://www.cisa.gov/known-exploited-vulnerabilities-catalog) ### Input fields **base_url** `string | null` Base URL of the CISA website. Default: `null`. # Cloudflare SDK Source: https://docs.tracecat.com/tools/cloudflare_sdk Reference for the Tracecat Cloudflare SDK integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Call method Action ID: `tools.cloudflare_sdk.call_method` Instantiate a Cloudflare client and call a Cloudflare SDK method. Reference: [https://github.com/cloudflare/cloudflare-python](https://github.com/cloudflare/cloudflare-python) ### Secrets Required secrets: * `cloudflare`: required values `CLOUDFLARE_API_TOKEN`. ### Input fields **method_name** `string` *required* Cloudflare SDK method name, e.g. `list` or `create`. **params** `object | null` Parameters for the Cloudflare SDK method. Default: `null`. **resource** `string | null` Cloudflare SDK resource path, e.g. `zones` or `dns.records`. Default: `null`. ## Call paginated method Action ID: `tools.cloudflare_sdk.call_paginated_method` Instantiate a Cloudflare client and call a paginated Cloudflare SDK method. Reference: [https://github.com/cloudflare/cloudflare-python](https://github.com/cloudflare/cloudflare-python) ### Secrets Required secrets: * `cloudflare`: required values `CLOUDFLARE_API_TOKEN`. ### Input fields **method_name** `string` *required* Paginated Cloudflare SDK method name, e.g. `list`. **limit** `integer | null` Maximum number of items to return across all pages. If null, fetches every page. Default: `null`. **params** `object | null` Parameters for the Cloudflare SDK method. Default: `null`. **resource** `string | null` Cloudflare SDK resource path, e.g. `zones` or `dns.records`. Default: `null`. # Confluence Source: https://docs.tracecat.com/tools/confluence Reference for the Tracecat Confluence integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Add comment Action ID: `tools.confluence.add_page_comment` Add a comment to a Confluence page. Reference: [https://docs.atlassian.com/atlassian-confluence/REST/6.6.0/#content/\{id}/child-commentsOfContent](https://docs.atlassian.com/atlassian-confluence/REST/6.6.0/#content/\{id}/child-commentsOfContent) ### Secrets Optional secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. * `confluence`: required values `CONFLUENCE_USERNAME`, `CONFLUENCE_API_TOKEN`. ### Input fields **content** `string` *required* Comment content in Confluence storage (XHTML) or wiki markup. Convert Markdown to storage before sending if needed. **page_id** `string` *required* The ID of the page to comment on. **base_url** `string | null` Confluence site base URL (e.g. [https://example.atlassian.net/wiki](https://example.atlassian.net/wiki)). With Atlassian OAuth, use [https://api.atlassian.com/ex/confluence/\{cloudId\}](https://api.atlassian.com/ex/confluence/\{cloudId\});. Do not append /rest/api. Default: `null`. **content_representation** `string` Content representation for the comment body (storage or wiki). Default: `"storage"`. ## Add page label Action ID: `tools.confluence.add_page_label` Add a label to a Confluence page. Reference: [https://docs.atlassian.com/atlassian-confluence/REST/6.6.0/#label-addLabelsToContent](https://docs.atlassian.com/atlassian-confluence/REST/6.6.0/#label-addLabelsToContent) ### Secrets Optional secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. * `confluence`: required values `CONFLUENCE_USERNAME`, `CONFLUENCE_API_TOKEN`. ### Input fields **name** `string` *required* Label name to apply. **page_id** `string` *required* The ID of the page to label. **base_url** `string | null` Confluence site base URL (e.g. [https://example.atlassian.net/wiki](https://example.atlassian.net/wiki)). With Atlassian OAuth, use [https://api.atlassian.com/ex/confluence/\{cloudId\}](https://api.atlassian.com/ex/confluence/\{cloudId\});. Do not append /rest/api. Default: `null`. **prefix** `string` Label prefix (global, my, or team). Default: `"global"`. ## Create page Action ID: `tools.confluence.create_page` Create a new Confluence page in a space, optionally under a parent. Reference: [https://docs.atlassian.com/atlassian-confluence/REST/6.6.0/#content-createContent](https://docs.atlassian.com/atlassian-confluence/REST/6.6.0/#content-createContent) ### Secrets Optional secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. * `confluence`: required values `CONFLUENCE_USERNAME`, `CONFLUENCE_API_TOKEN`. ### Input fields **content** `string` *required* Page body in Confluence storage (XHTML) or wiki markup. Convert Markdown to storage before sending if needed. **space_key** `string` *required* Space key for the page (e.g., DEV, TEAM). **title** `string` *required* Title of the new page. **base_url** `string | null` Confluence site base URL (e.g. [https://example.atlassian.net/wiki](https://example.atlassian.net/wiki)). With Atlassian OAuth, use [https://api.atlassian.com/ex/confluence/\{cloudId\}](https://api.atlassian.com/ex/confluence/\{cloudId\});. Do not append /rest/api. Default: `null`. **content_representation** `string` Content representation for the body (storage or wiki). Default: `"storage"`. **parent_id** `string | null` Optional parent page ID to nest under. Default: `null`. ## Delete page Action ID: `tools.confluence.delete_page` Delete a Confluence page by ID. Reference: [https://docs.atlassian.com/atlassian-confluence/REST/6.6.0/#content-delete](https://docs.atlassian.com/atlassian-confluence/REST/6.6.0/#content-delete) ### Secrets Optional secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. * `confluence`: required values `CONFLUENCE_USERNAME`, `CONFLUENCE_API_TOKEN`. ### Input fields **page_id** `string` *required* The ID of the page to delete. **base_url** `string | null` Confluence site base URL (e.g. [https://example.atlassian.net/wiki](https://example.atlassian.net/wiki)). With Atlassian OAuth, use [https://api.atlassian.com/ex/confluence/\{cloudId\}](https://api.atlassian.com/ex/confluence/\{cloudId\});. Do not append /rest/api. Default: `null`. ## Get child pages Action ID: `tools.confluence.get_page_children` List child pages for a parent Confluence page with pagination and optional content expansion. Reference: [https://docs.atlassian.com/atlassian-confluence/REST/6.6.0/#content/\{id}/child-childrenOfType](https://docs.atlassian.com/atlassian-confluence/REST/6.6.0/#content/\{id}/child-childrenOfType) ### Secrets Optional secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. * `confluence`: required values `CONFLUENCE_USERNAME`, `CONFLUENCE_API_TOKEN`. ### Input fields **parent_id** `string` *required* The ID of the parent page whose children you want to retrieve. **base_url** `string | null` Confluence site base URL (e.g. [https://example.atlassian.net/wiki](https://example.atlassian.net/wiki)). With Atlassian OAuth, use [https://api.atlassian.com/ex/confluence/\{cloudId\}](https://api.atlassian.com/ex/confluence/\{cloudId\});. Do not append /rest/api. Default: `null`. **expand** `string` Fields to expand on each child (e.g., version, body.storage, body.view). Default: `"version"`. **include_content** `boolean` Whether to force body.storage expansion for child content. Default: `false`. **limit** `integer` Maximum number of child pages to return (1-50). Default: `25`. **start** `integer` Starting index for pagination (0-based). Default: `0`. ## Get page by ID Action ID: `tools.confluence.get_page` Retrieve a Confluence page by its numeric ID with optional expanded fields. Reference: [https://docs.atlassian.com/atlassian-confluence/REST/6.6.0/#content-getContentById](https://docs.atlassian.com/atlassian-confluence/REST/6.6.0/#content-getContentById) ### Secrets Optional secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. * `confluence`: required values `CONFLUENCE_USERNAME`, `CONFLUENCE_API_TOKEN`. ### Input fields **page_id** `string` *required* Confluence page ID (numeric). In URLs like [https://example.atlassian.net/wiki/spaces/TEAM/pages/123456789/Page+Title](https://example.atlassian.net/wiki/spaces/TEAM/pages/123456789/Page+Title) the ID is 123456789. **base_url** `string | null` Confluence site base URL (e.g. [https://example.atlassian.net/wiki](https://example.atlassian.net/wiki)). With Atlassian OAuth, use [https://api.atlassian.com/ex/confluence/\{cloudId\}](https://api.atlassian.com/ex/confluence/\{cloudId\});. Do not append /rest/api. Default: `null`. **expand** `string` Comma-separated fields to expand (e.g., body.storage, body.view, version, space, ancestors, children.attachment). Default: `"body.storage,version,space"`. ## Get page by title Action ID: `tools.confluence.get_page_by_title` Find a Confluence page by title within a space. Reference: [https://docs.atlassian.com/atlassian-confluence/REST/6.6.0/#content-getContent](https://docs.atlassian.com/atlassian-confluence/REST/6.6.0/#content-getContent) ### Secrets Optional secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. * `confluence`: required values `CONFLUENCE_USERNAME`, `CONFLUENCE_API_TOKEN`. ### Input fields **space_key** `string` *required* Space key containing the page (e.g., DEV, TEAM). **title** `string` *required* Exact page title to retrieve. **base_url** `string | null` Confluence site base URL (e.g. [https://example.atlassian.net/wiki](https://example.atlassian.net/wiki)). With Atlassian OAuth, use [https://api.atlassian.com/ex/confluence/\{cloudId\}](https://api.atlassian.com/ex/confluence/\{cloudId\});. Do not append /rest/api. Default: `null`. **expand** `string` Comma-separated fields to expand (e.g., body.storage, body.view, version, space, ancestors, children.attachment). Default: `"body.storage,version,space"`. ## Get page comments Action ID: `tools.confluence.get_page_comments` Retrieve comments for a Confluence page with pagination support. Use start/limit to iterate through all comments. Reference: [https://docs.atlassian.com/atlassian-confluence/REST/6.6.0/#content/\{id}/child-commentsOfContent](https://docs.atlassian.com/atlassian-confluence/REST/6.6.0/#content/\{id}/child-commentsOfContent) ### Secrets Optional secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. * `confluence`: required values `CONFLUENCE_USERNAME`, `CONFLUENCE_API_TOKEN`. ### Input fields **page_id** `string` *required* Confluence page ID to fetch comments for. **base_url** `string | null` Confluence site base URL (e.g. [https://example.atlassian.net/wiki](https://example.atlassian.net/wiki)). With Atlassian OAuth, use [https://api.atlassian.com/ex/confluence/\{cloudId\}](https://api.atlassian.com/ex/confluence/\{cloudId\});. Do not append /rest/api. Default: `null`. **depth** `string` Depth of comments to return (e.g., all, root). Default: `"all"`. **expand** `string` Fields to expand on each comment (e.g., body.view, body.storage, version). Default: `"body.view,version"`. **limit** `integer` Maximum number of comments to return per request (1-50). Default: `25`. **start** `integer` Starting index for pagination (0-based). Use \_links.next from response to get next page. Default: `0`. ## Get page labels Action ID: `tools.confluence.get_page_labels` List labels applied to a Confluence page. Reference: [https://docs.atlassian.com/atlassian-confluence/REST/6.6.0/#label-getLabelsForContent](https://docs.atlassian.com/atlassian-confluence/REST/6.6.0/#label-getLabelsForContent) ### Secrets Optional secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. * `confluence`: required values `CONFLUENCE_USERNAME`, `CONFLUENCE_API_TOKEN`. ### Input fields **page_id** `string` *required* The ID of the page to fetch labels for. **base_url** `string | null` Confluence site base URL (e.g. [https://example.atlassian.net/wiki](https://example.atlassian.net/wiki)). With Atlassian OAuth, use [https://api.atlassian.com/ex/confluence/\{cloudId\}](https://api.atlassian.com/ex/confluence/\{cloudId\});. Do not append /rest/api. Default: `null`. ## Search content Action ID: `tools.confluence.search_content` Search Confluence content with Confluence Query Language (CQL) and optional space filters. Reference: [https://docs.atlassian.com/atlassian-confluence/REST/6.6.0/#search-search](https://docs.atlassian.com/atlassian-confluence/REST/6.6.0/#search-search) ### Secrets Optional secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. * `confluence`: required values `CONFLUENCE_USERNAME`, `CONFLUENCE_API_TOKEN`. ### Input fields **query** `string` *required* Search query in CQL. Examples: 'type=page AND space=DEV', 'title\~"Runbook"', or 'text \~ "incident response"'. CQL supports operators like AND/OR, ranges, and exact matches. **base_url** `string | null` Confluence site base URL (e.g. [https://example.atlassian.net/wiki](https://example.atlassian.net/wiki)). With Atlassian OAuth, use [https://api.atlassian.com/ex/confluence/\{cloudId\}](https://api.atlassian.com/ex/confluence/\{cloudId\});. Do not append /rest/api. Default: `null`. **limit** `integer` Maximum number of results to return (1-50). Default: `10`. **spaces_filter** `string | null` Optional comma-separated space keys to filter results (adds OR space clauses to the query). Default: `null`. ## Update page Action ID: `tools.confluence.update_page` Update an existing Confluence page, incrementing the version automatically. Reference: [https://docs.atlassian.com/atlassian-confluence/REST/6.6.0/#content-update](https://docs.atlassian.com/atlassian-confluence/REST/6.6.0/#content-update) ### Secrets Optional secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. * `confluence`: required values `CONFLUENCE_USERNAME`, `CONFLUENCE_API_TOKEN`. ### Input fields **content** `string` *required* Updated page body in Confluence storage (XHTML) or wiki markup. Convert Markdown to storage before sending if needed. **page_id** `string` *required* ID of the page to update. **title** `string` *required* New title for the page. **base_url** `string | null` Confluence site base URL (e.g. [https://example.atlassian.net/wiki](https://example.atlassian.net/wiki)). With Atlassian OAuth, use [https://api.atlassian.com/ex/confluence/\{cloudId\}](https://api.atlassian.com/ex/confluence/\{cloudId\});. Do not append /rest/api. Default: `null`. **content_representation** `string` Content representation for the body (storage or wiki). Default: `"storage"`. **is_minor_edit** `boolean` Whether this is a minor edit for versioning purposes. Default: `false`. **parent_id** `string | null` Optional new parent page ID to set on update. Default: `null`. **version_comment** `string` Optional version comment to record with the update. Default: `""`. # CrowdSec Source: https://docs.tracecat.com/tools/crowdsec Reference for the Tracecat CrowdSec integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Lookup IP address Action ID: `tools.crowdsec.lookup_ip_address` Get threat intel report for an IP address from CrowdSec. Reference: [https://docs.crowdsec.net/u/cti_api/getting_started/](https://docs.crowdsec.net/u/cti_api/getting_started/) ### Secrets Required secrets: * `crowdsec_cti`: required values `CTI_API_KEY`. ### Input fields **ip_address** `string` *required* IPv4 or IPv6 address to analyze or scan. # CrowdStrike Source: https://docs.tracecat.com/tools/crowdstrike Reference for the Tracecat CrowdStrike integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Add case alert evidence Action ID: `tools.crowdstrike.add_case_alert_evidence` Attach alerts to a Falcon case as evidence. Requires the Cases: Write API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/case-management/#entitiesalert-evidencepostv1](https://developer.crowdstrike.com/api-reference/collections/case-management/#entitiesalert-evidencepostv1) ### Input fields **alerts** `array[map[string, string]]` *required* Alerts to attach, as `{"id": "<alert composite ID>"}` objects. **id** `string` *required* Case ID. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. ## Contain hosts Action ID: `tools.crowdstrike.contain_hosts` Network-contain hosts, stopping network communications except to the CrowdStrike cloud and IPs allowed by the containment policy. Requires the Hosts: Write API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/hosts/#performactionv2](https://developer.crowdstrike.com/api-reference/collections/hosts/#performactionv2) ### Input fields **ids** `array[string]` *required* Host agent IDs (AIDs) to contain. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. ## Create case Action ID: `tools.crowdstrike.create_case` Create a Falcon case. Requires the Cases: Write API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/case-management/#entitiescasesputv2](https://developer.crowdstrike.com/api-reference/collections/case-management/#entitiescasesputv2) ### Input fields **payload** `object` *required* API-native case body, passed through unchanged because optional fields may not accept null. Documented fields: name, severity, description, description_format, status (new, in_progress), assigned_to_user_uuid, tags, template (`{"id": ...}`), evidence (`{"alerts": [{"id": ...}], "events": [{"id": ...}]}`), access_tags. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. ## Create IOCs Action ID: `tools.crowdstrike.create_iocs` Create custom IOCs. Requires the IOC Management: Write API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/ioc/#indicatorcreatev1](https://developer.crowdstrike.com/api-reference/collections/ioc/#indicatorcreatev1) ### Input fields **indicators** `array[object]` *required* Indicators to create. Documented fields: type (sha256, md5, domain, ipv4, ipv6), value, action (no_action, allow, prevent_no_ui, detect, prevent), severity, platforms, applied_globally, host_groups, description, expiration, tags, source, mobile_action, metadata. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **ignore_warnings** `boolean | null` Set to true to ignore warnings and add all IOCs. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. **retrodetects** `boolean | null` Whether to submit the indicators to retrodetects. Default: `null`. ## Delete IOCs Action ID: `tools.crowdstrike.delete_iocs` Delete custom IOCs by ID or FQL filter. If both are provided, `filter` takes precedence and `ids` is ignored. Requires the IOC Management: Write API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/ioc/#indicatordeletev1](https://developer.crowdstrike.com/api-reference/collections/ioc/#indicatordeletev1) ### Input fields **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **comment** `string | null` Reason the indicators were deleted. Default: `null`. **filter** `string | null` FQL filter to delete indicators in bulk. Default: `null`. **ids** `array[string] | null` Indicator IDs to delete. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. ## Delete RTR session Action ID: `tools.crowdstrike.delete_rtr_session` Close a Real Time Response session. Requires the Real time response: Read API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/real-time-response/#rtr-deletesession](https://developer.crowdstrike.com/api-reference/collections/real-time-response/#rtr-deletesession) ### Input fields **session_id** `string` *required* RTR session ID. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. ## Get alerts Action ID: `tools.crowdstrike.get_alerts` Retrieve Falcon alerts by composite ID. Requires the Alerts: Read API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/alerts/#postentitiesalertsv2](https://developer.crowdstrike.com/api-reference/collections/alerts/#postentitiesalertsv2) ### Input fields **composite_ids** `array[string]` *required* Alert composite IDs, for example from `tools.crowdstrike.list_alerts`. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. ## Get cases Action ID: `tools.crowdstrike.get_cases` Retrieve Falcon cases by ID. Requires the Cases: Read API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/case-management/#entitiescasespostv2](https://developer.crowdstrike.com/api-reference/collections/case-management/#entitiescasespostv2) ### Input fields **ids** `array[string]` *required* Case IDs to retrieve. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. ## Get host online state Action ID: `tools.crowdstrike.get_host_online_state` Get the online status of one or more hosts. Requires the Hosts: Read API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/hosts/#getonlinestatev1](https://developer.crowdstrike.com/api-reference/collections/hosts/#getonlinestatev1) ### Input fields **ids** `array[string]` *required* Host agent IDs (AIDs) to check. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. ## Get hosts Action ID: `tools.crowdstrike.get_hosts` Get details on one or more hosts by host ID. Requires the Hosts: Read API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/hosts/#getdevicedetails](https://developer.crowdstrike.com/api-reference/collections/hosts/#getdevicedetails) ### Input fields **ids** `array[string]` *required* Host agent IDs (AIDs) to retrieve. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. ## Get IOCs Action ID: `tools.crowdstrike.get_iocs` Get custom IOCs by ID. Requires the IOC Management: Read API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/ioc/#indicatorgetv1](https://developer.crowdstrike.com/api-reference/collections/ioc/#indicatorgetv1) ### Input fields **ids** `array[string]` *required* Indicator IDs to retrieve. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. ## Get NGSIEM search status Action ID: `tools.crowdstrike.get_ngsiem_search_status` Get the status and results of a Falcon Next-Gen SIEM query job. Requires the NGSIEM: Read API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/ngsiem/#getsearchstatusv1](https://developer.crowdstrike.com/api-reference/collections/ngsiem/#getsearchstatusv1) ### Input fields **id** `string` *required* Query job ID from `tools.crowdstrike.start_ngsiem_search`. **repository** `string` *required* Repository the search was started in. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. ## Get quarantined files Action ID: `tools.crowdstrike.get_quarantined_files` Get quarantined file metadata by ID. Requires the Quarantined Files: Read API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/quarantine/#getquarantinefiles](https://developer.crowdstrike.com/api-reference/collections/quarantine/#getquarantinefiles) ### Input fields **ids** `array[string]` *required* Quarantined file IDs. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. ## Get RTR active responder command status Action ID: `tools.crowdstrike.get_rtr_active_responder_command_status` Get the status and output of an executed RTR active responder command. Requires the Real time response: Write API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/real-time-response/#rtr-checkactiverespondercommandstatus](https://developer.crowdstrike.com/api-reference/collections/real-time-response/#rtr-checkactiverespondercommandstatus) ### Input fields **cloud_request_id** `string` *required* Cloud request ID returned when the command was run. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. **sequence_id** `integer` Sequence ID to retrieve. Command responses are chunked across sequences. Default: `0`. ## Get RTR admin command status Action ID: `tools.crowdstrike.get_rtr_admin_command_status` Get the status and output of an executed RTR administrator command. Requires the Real time response (admin): Write API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/real-time-response-admin/#rtr-checkadmincommandstatus](https://developer.crowdstrike.com/api-reference/collections/real-time-response-admin/#rtr-checkadmincommandstatus) ### Input fields **cloud_request_id** `string` *required* Cloud request ID returned when the command was run. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. **sequence_id** `integer` Sequence ID to retrieve. Command responses are chunked across sequences. Default: `0`. ## Get RTR batch get command status Action ID: `tools.crowdstrike.get_rtr_batch_get_command_status` Get the status of an RTR batch get command, including the session ID and SHA256 of each retrieved file. Requires the Real time response: Write API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/real-time-response/#batchgetcmdstatus](https://developer.crowdstrike.com/api-reference/collections/real-time-response/#batchgetcmdstatus) ### Input fields **batch_get_cmd_req_id** `string` *required* Batch get command request ID from `run_rtr_batch_get_command`. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. **timeout** `integer | null` Seconds to wait for the request. Defaults to 30, maximum 600. Default: `null`. **timeout_duration** `string | null` Timeout as a duration, for example `30s`. Maximum `10m`. Default: `null`. ## Get RTR command status Action ID: `tools.crowdstrike.get_rtr_command_status` Get the status and output of an executed RTR read-only command. Requires the Real time response: Read API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/real-time-response/#rtr-checkcommandstatus](https://developer.crowdstrike.com/api-reference/collections/real-time-response/#rtr-checkcommandstatus) ### Input fields **cloud_request_id** `string` *required* Cloud request ID returned when the command was run. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. **sequence_id** `integer` Sequence ID to retrieve. Command responses are chunked across sequences. Default: `0`. ## Get RTR extracted file Action ID: `tools.crowdstrike.get_rtr_extracted_file` Download a file retrieved with the RTR `get` command. Returns `{"content_base64": ...}` containing the 7-Zip archive CrowdStrike returns. Files larger than the Tracecat file size limit are rejected. Requires the Real time response: Write API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/real-time-response/#rtr-getextractedfilecontents](https://developer.crowdstrike.com/api-reference/collections/real-time-response/#rtr-getextractedfilecontents) ### Input fields **session_id** `string` *required* RTR session ID the file was retrieved in. **sha256** `string` *required* SHA256 of the retrieved file. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **filename** `string | null` Name for the archive and the file inside it. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. ## Get sandbox reports Action ID: `tools.crowdstrike.get_sandbox_reports` Get full Falcon Sandbox reports by report ID. Requires the Sandbox (Falcon Intelligence): Read API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/falconx-sandbox/#getreports](https://developer.crowdstrike.com/api-reference/collections/falconx-sandbox/#getreports) ### Input fields **ids** `array[string]` *required* Report IDs, for example from `tools.crowdstrike.submit_sandbox_analysis`. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. ## Lift host containment Action ID: `tools.crowdstrike.lift_host_containment` Lift network containment on hosts, returning their network communications to normal. Requires the Hosts: Write API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/hosts/#performactionv2](https://developer.crowdstrike.com/api-reference/collections/hosts/#performactionv2) ### Input fields **ids** `array[string]` *required* Host agent IDs (AIDs) to release from containment. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. ## List alerts Action ID: `tools.crowdstrike.list_alerts` Query for Crowdstrike alerts via the Falcon SIEM API. Reference: [https://falconpy.io/Service-Collections/Alerts.html#uber-class-example-7](https://falconpy.io/Service-Collections/Alerts.html#uber-class-example-7) ### Input fields **end_time** `string` *required* End time for the query (exclusive). **start_time** `string` *required* Start time for the query (inclusive). **limit** `integer` Maximum number of alerts to return. Default: `100`. **member_cid** `string | null` Crowdstrike member CID. Default: `null`. **query** `string | null` Falcon Query Language (FQL) filter to apply to alerts. If specified, overrides `start_time` and `end_time`. Default: `null`. ## List cases Action ID: `tools.crowdstrike.list_cases` Retrieve the IDs of Falcon cases that match an FQL filter. Use `tools.crowdstrike.get_cases` for details. Requires the Cases: Read API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/case-management/#queriescasesgetv1](https://developer.crowdstrike.com/api-reference/collections/case-management/#queriescasesgetv1) ### Input fields **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **filter** `string | null` FQL filter, for example `status:'new'+created_timestamp:>='2026-01-01T00:00:00Z'`. Default: `null`. **limit** `integer | null` Maximum number of case IDs to return. Maximum 10000. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. **offset** `integer | null` Offset to start retrieving records from. Default: `null`. **q** `string | null` Free-text search across case fields. Default: `null`. **sort** `string | null` Property to sort by, for example `created_timestamp|desc`. Default: `null`. ## List detects Action ID: `tools.crowdstrike.list_detects` Deprecated. Query legacy CrowdStrike detects through the Detects API, which CrowdStrike has deprecated in favour of Alerts. Use `tools.crowdstrike.list_alerts` instead. Reference: [https://falconpy.io/Service-Collections/Detects.html](https://falconpy.io/Service-Collections/Detects.html) **Deprecated:** Use `tools.crowdstrike.list_alerts` instead. ### Input fields **end_time** `string` *required* End time for the query (exclusive). **start_time** `string` *required* Start time for the query (inclusive). **limit** `integer` Maximum number of alerts to return. Default: `100`. **member_cid** `string | null` Crowdstrike member CID. Default: `null`. **query** `string | null` Falcon Query Language (FQL) filter to apply to alerts. If specified, overrides `start_time` and `end_time`. Default: `null`. ## List host group members Action ID: `tools.crowdstrike.list_host_group_members` Search for the hosts in a host group. Requires the Host groups: Read API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/host-group/#querycombinedgroupmembers](https://developer.crowdstrike.com/api-reference/collections/host-group/#querycombinedgroupmembers) ### Input fields **id** `string` *required* Host group ID. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **filter** `string | null` FQL filter to narrow the members returned. Default: `null`. **limit** `integer | null` Maximum number of hosts to return. Maximum 5000. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. **offset** `integer | null` Offset to start retrieving records from. Default: `null`. **sort** `string | null` Property to sort by, for example `hostname.asc`. Default: `null`. ## List host groups Action ID: `tools.crowdstrike.list_host_groups` Search for host groups by FQL filter. Requires the Host groups: Read API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/host-group/#querycombinedhostgroups](https://developer.crowdstrike.com/api-reference/collections/host-group/#querycombinedhostgroups) ### Input fields **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **filter** `string | null` FQL filter, for example `name:'Servers'`. Default: `null`. **limit** `integer | null` Maximum number of host groups to return. Maximum 5000. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. **offset** `integer | null` Offset to start retrieving records from. Default: `null`. **sort** `string | null` Property to sort by, for example `name.asc`. Default: `null`. ## List hosts Action ID: `tools.crowdstrike.list_hosts` Search for host IDs by platform, hostname, IP, and other criteria. Returns host IDs; use `tools.crowdstrike.get_hosts` for details. Requires the Hosts: Read API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/hosts/#querydevicesbyfilter](https://developer.crowdstrike.com/api-reference/collections/hosts/#querydevicesbyfilter) ### Input fields **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **filter** `string | null` FQL filter, for example `hostname:'WIN-*'+platform_name:'Windows'`. Default: `null`. **limit** `integer | null` Maximum number of host IDs to return. Maximum 5000. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. **offset** `integer | null` Offset to start retrieving records from. Default: `null`. **sort** `string | null` Property to sort by, for example `hostname.asc`. Default: `null`. ## List hosts for IOC Action ID: `tools.crowdstrike.list_hosts_for_ioc` Get the IDs of hosts that observed an indicator. Requires the IOC Management: Read API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/ioc/#indicatorgetdevices_ran_onv1](https://developer.crowdstrike.com/api-reference/collections/ioc/#indicatorgetdevices_ran_onv1) ### Input fields **type** `string` *required* Indicator type: sha256, md5, domain, ipv4, or ipv6. **value** `string` *required* Indicator value. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **limit** `integer | null` Maximum number of host IDs to return. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. **offset** `string | null` Pagination offset from the previous response. Default: `null`. ## List incidents Action ID: `tools.crowdstrike.list_incidents` Deprecated. Query legacy CrowdStrike incidents through the Incidents API, which CrowdStrike is retiring. Use Case Management actions such as `tools.crowdstrike.list_cases` instead; cases use a different data model. Reference: [https://falconpy.io/Service-Collections/Incidents.html](https://falconpy.io/Service-Collections/Incidents.html) **Deprecated:** Use `tools.crowdstrike.list_cases` instead. CrowdStrike is retiring the Incidents API; cases are not a drop-in replacement for incidents. ### Input fields **end_time** `string` *required* End time for the query (exclusive). **start_time** `string` *required* Start time for the query (inclusive). **limit** `integer` Maximum number of incidents to return. Default: `100`. **member_cid** `string | null` Crowdstrike member CID. Default: `null`. **query** `string | null` Falcon Query Language (FQL) filter to apply to cases. If specified, overrides `start_time` and `end_time`. Default: `null`. ## List IOCs Action ID: `tools.crowdstrike.list_iocs` Search custom IOCs and return the full indicator records. Requires the IOC Management: Read API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/ioc/#indicatorcombinedv1](https://developer.crowdstrike.com/api-reference/collections/ioc/#indicatorcombinedv1) ### Input fields **after** `string | null` Pagination token from the previous response's `meta.pagination.after`. Default: `null`. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **filter** `string | null` FQL filter, for example `type:'domain'+action:'detect'`. Default: `null`. **limit** `integer | null` Maximum number of indicators to return. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. **offset** `integer | null` Offset to start from. Mutually exclusive with `after`; use `after` beyond 10,000 results. Default: `null`. **sort** `string | null` Property to sort by, for example `modified_on.desc`. Default: `null`. ## List quarantined files Action ID: `tools.crowdstrike.list_quarantined_files` Search quarantined files and return their IDs. Use `get_quarantined_files` for details. Requires the Quarantined Files: Read API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/quarantine/#queryquarantinefiles](https://developer.crowdstrike.com/api-reference/collections/quarantine/#queryquarantinefiles) ### Input fields **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **filter** `string | null` FQL filter. Default: `null`. **limit** `integer | null` Maximum number of results to return. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. **offset** `string | null` Offset to start from. Default: `null`. **q** `string | null` Free-text search across all indexed fields. Default: `null`. **sort** `string | null` Property and direction to sort by, for example `name.asc`. Default: `null`. ## List RTR session files Action ID: `tools.crowdstrike.list_rtr_session_files` List the files retrieved with `get` in an RTR session, including their SHA256s. Requires the Real time response: Write API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/real-time-response/#rtr-listfilesv2](https://developer.crowdstrike.com/api-reference/collections/real-time-response/#rtr-listfilesv2) ### Input fields **session_id** `string` *required* RTR session ID. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. ## List vulnerabilities Action ID: `tools.crowdstrike.list_vulnerabilities` Search Falcon Spotlight vulnerabilities and return full records. Requires the Vulnerabilities: Read API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/spotlight-vulnerabilities/#combinedqueryvulnerabilities](https://developer.crowdstrike.com/api-reference/collections/spotlight-vulnerabilities/#combinedqueryvulnerabilities) ### Input fields **filter** `string` *required* FQL filter, for example `status:'open'+cve.severity:'CRITICAL'`. Wildcards and empty filters are not supported. **after** `string | null` Pagination token from the previous response's `meta.pagination.after`. Default: `null`. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **facet** `array[string] | null` Extra detail to include, for example `cve`, `host_info`, `remediation`, `evaluation_logic`. Default: `null`. **limit** `integer | null` Maximum number of vulnerabilities to return. Maximum 5000. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. **sort** `string | null` Property to sort by, for example `created_timestamp|desc`. Default: `null`. ## Run RTR active responder command Action ID: `tools.crowdstrike.run_rtr_active_responder_command` Run a Real Time Response active responder command (for example `get`, `kill`, `rm`) on a host in an open session. Returns a `cloud_request_id` to poll for output. Requires the Real time response: Write API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/real-time-response/#rtr-executeactiverespondercommand](https://developer.crowdstrike.com/api-reference/collections/real-time-response/#rtr-executeactiverespondercommand) ### Input fields **base_command** `string` *required* Base command to run, for example `kill`. **command_string** `string` *required* Full command string, including the base command and its arguments. **session_id** `string` *required* RTR session ID from `tools.crowdstrike.start_rtr_session`. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. **persist** `boolean` Run the command when an offline host returns to service. Default: `false`. ## Run RTR admin command Action ID: `tools.crowdstrike.run_rtr_admin_command` Run a Real Time Response administrator command (for example `runscript`, `put`) on a host in an open session. Returns a `cloud_request_id` to poll for output. Requires the Real time response (admin): Write API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/real-time-response-admin/#rtr-executeadmincommand](https://developer.crowdstrike.com/api-reference/collections/real-time-response-admin/#rtr-executeadmincommand) ### Input fields **base_command** `string` *required* Base command to run, for example `runscript`. **command_string** `string` *required* Full command string, including the base command and its arguments. **session_id** `string` *required* RTR session ID from `tools.crowdstrike.start_rtr_session`. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. **persist** `boolean` Run the command when an offline host returns to service. Default: `false`. ## Run RTR batch active responder command Action ID: `tools.crowdstrike.run_rtr_batch_active_responder_command` Run an active responder RTR command on every host in an RTR batch session and return each host's output. Requires the Real time response: Write API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/real-time-response/#batchactiverespondercmd](https://developer.crowdstrike.com/api-reference/collections/real-time-response/#batchactiverespondercmd) ### Input fields **base_command** `string` *required* Base command to run, for example `kill`. **batch_id** `string` *required* Batch ID from `tools.crowdstrike.start_rtr_batch_session`. **command_string** `string` *required* Full command string, including the base command and its arguments. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **host_timeout_duration** `string | null` How long each host has to finish, for example `20s`. Must be less than the overall timeout. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. **optional_hosts** `array[string] | null` Subset of host AIDs in the batch to run the command on. Defaults to every host. Default: `null`. **persist_all** `boolean` Queue the command for hosts that are offline. Default: `false`. **timeout** `integer | null` Seconds to wait for the request. Defaults to 30, maximum 600. Default: `null`. **timeout_duration** `string | null` Timeout as a duration, for example `30s`. Maximum `10m`. Default: `null`. ## Run RTR batch admin command Action ID: `tools.crowdstrike.run_rtr_batch_admin_command` Run an admin RTR command on every host in an RTR batch session and return each host's output. Requires the Real time response (admin): Write API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/real-time-response-admin/#batchadmincmd](https://developer.crowdstrike.com/api-reference/collections/real-time-response-admin/#batchadmincmd) ### Input fields **base_command** `string` *required* Base command to run, for example `runscript`. **batch_id** `string` *required* Batch ID from `tools.crowdstrike.start_rtr_batch_session`. **command_string** `string` *required* Full command string, including the base command and its arguments. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **host_timeout_duration** `string | null` How long each host has to finish, for example `20s`. Must be less than the overall timeout. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. **optional_hosts** `array[string] | null` Subset of host AIDs in the batch to run the command on. Defaults to every host. Default: `null`. **persist_all** `boolean` Queue the command for hosts that are offline. Default: `false`. **timeout** `integer | null` Seconds to wait for the request. Defaults to 30, maximum 600. Default: `null`. **timeout_duration** `string | null` Timeout as a duration, for example `30s`. Maximum `10m`. Default: `null`. ## Run RTR batch command Action ID: `tools.crowdstrike.run_rtr_batch_command` Run a read-only RTR command on every host in an RTR batch session and return each host's output. Requires the Real time response: Read API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/real-time-response/#batchcmd](https://developer.crowdstrike.com/api-reference/collections/real-time-response/#batchcmd) ### Input fields **base_command** `string` *required* Base command to run, for example `ls`. **batch_id** `string` *required* Batch ID from `tools.crowdstrike.start_rtr_batch_session`. **command_string** `string` *required* Full command string, including the base command and its arguments. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **host_timeout_duration** `string | null` How long each host has to finish, for example `20s`. Must be less than the overall timeout. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. **optional_hosts** `array[string] | null` Subset of host AIDs in the batch to run the command on. Defaults to every host. Default: `null`. **persist_all** `boolean` Queue the command for hosts that are offline. Default: `false`. **timeout** `integer | null` Seconds to wait for the request. Defaults to 30, maximum 600. Default: `null`. **timeout_duration** `string | null` Timeout as a duration, for example `30s`. Maximum `10m`. Default: `null`. ## Run RTR batch get command Action ID: `tools.crowdstrike.run_rtr_batch_get_command` Retrieve a file from every host in an RTR batch session. Poll `get_rtr_batch_get_command_status` for the uploaded file SHA256s. Requires the Real time response: Write API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/real-time-response/#batchgetcmd](https://developer.crowdstrike.com/api-reference/collections/real-time-response/#batchgetcmd) ### Input fields **batch_id** `string` *required* Batch ID from `tools.crowdstrike.start_rtr_batch_session`. **file_path** `string` *required* Full path of the file to retrieve from each host. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **host_timeout_duration** `string | null` How long each host has to finish, for example `20s`. Must be less than the overall timeout. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. **optional_hosts** `array[string] | null` Subset of host AIDs in the batch to retrieve from. Defaults to every host. Default: `null`. **timeout** `integer | null` Seconds to wait for the request. Defaults to 30, maximum 600. Default: `null`. **timeout_duration** `string | null` Timeout as a duration, for example `30s`. Maximum `10m`. Default: `null`. ## Run RTR command Action ID: `tools.crowdstrike.run_rtr_command` Run a read-only Real Time Response command (for example `ls`, `ps`, `netstat`) on a host in an open session. Returns a `cloud_request_id` to poll for output. Requires the Real time response: Read API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/real-time-response/#rtr-executecommand](https://developer.crowdstrike.com/api-reference/collections/real-time-response/#rtr-executecommand) ### Input fields **base_command** `string` *required* Base command to run, for example `ls`. **command_string** `string` *required* Full command string, including the base command and its arguments. **session_id** `string` *required* RTR session ID from `tools.crowdstrike.start_rtr_session`. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. **persist** `boolean` Run the command when an offline host returns to service. Default: `false`. ## Search intel actors Action ID: `tools.crowdstrike.search_intel_actors` Search Falcon Intelligence threat actors by FQL filter or free text. Requires the Actors (Falcon Intelligence): Read API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/intel/#queryintelactorentities](https://developer.crowdstrike.com/api-reference/collections/intel/#queryintelactorentities) ### Input fields **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **filter** `string | null` FQL filter, for example `name:'FANCY BEAR'`. Default: `null`. **limit** `integer | null` Maximum number of threat actors to return. Maximum 5000. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. **offset** `integer | null` Offset to start retrieving records from. Default: `null`. **q** `string | null` Free-text search across all fields. Default: `null`. **sort** `string | null` Property to sort by, for example `created_date|desc`. Default: `null`. ## Search intel indicators Action ID: `tools.crowdstrike.search_intel_indicators` Search Falcon Intelligence intelligence indicators by FQL filter or free text. Requires the Indicators (Falcon Intelligence): Read API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/intel/#queryintelindicatorentities](https://developer.crowdstrike.com/api-reference/collections/intel/#queryintelindicatorentities) ### Input fields **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **filter** `string | null` FQL filter, for example `indicator:'example.com'`. Default: `null`. **limit** `integer | null` Maximum number of intelligence indicators to return. Maximum 10000. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. **offset** `integer | null` Offset to start retrieving records from. Default: `null`. **q** `string | null` Free-text search across all fields. Default: `null`. **sort** `string | null` Property to sort by, for example `created_date|desc`. Default: `null`. ## Search intel reports Action ID: `tools.crowdstrike.search_intel_reports` Search Falcon Intelligence intelligence reports by FQL filter or free text. Requires the Reports (Falcon Intelligence): Read API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/intel/#queryintelreportentities](https://developer.crowdstrike.com/api-reference/collections/intel/#queryintelreportentities) ### Input fields **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **filter** `string | null` FQL filter, for example `actors.name:'FANCY BEAR'`. Default: `null`. **limit** `integer | null` Maximum number of intelligence reports to return. Maximum 5000. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. **offset** `integer | null` Offset to start retrieving records from. Default: `null`. **q** `string | null` Free-text search across all fields. Default: `null`. **sort** `string | null` Property to sort by, for example `created_date|desc`. Default: `null`. ## Start NGSIEM search Action ID: `tools.crowdstrike.start_ngsiem_search` Start an asynchronous Falcon Next-Gen SIEM (LogScale) query job. Returns a job ID to poll with `tools.crowdstrike.get_ngsiem_search_status`. Requires the NGSIEM: Write API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/ngsiem/#startsearchv1](https://developer.crowdstrike.com/api-reference/collections/ngsiem/#startsearchv1) ### Input fields **query_string** `string` *required* CrowdStrike Query Language (CQL) query. **repository** `string` *required* Repository to search, for example `search-all` or `investigate_view`. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. **start** `string` Search start, as a relative time such as `1d` or epoch milliseconds. The search ends now. Default: `"1d"`. ## Start RTR batch session Action ID: `tools.crowdstrike.start_rtr_batch_session` Start Real Time Response sessions on many hosts at once and return a batch ID for the batch command actions. Keep it alive with `refresh_rtr_batch_session`. Requires the Real time response: Read API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/real-time-response/#batchinitsessions](https://developer.crowdstrike.com/api-reference/collections/real-time-response/#batchinitsessions) ### Input fields **host_ids** `array[string]` *required* Host AIDs to start sessions on. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **existing_batch_id** `string | null` Existing batch ID to add the hosts to. Default: `null`. **host_timeout_duration** `string | null` How long each host has to finish, for example `20s`. Must be less than the overall timeout. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. **queue_offline** `boolean` Queue commands for hosts that are offline. Default: `false`. **timeout** `integer | null` Seconds to wait for the request. Defaults to 30, maximum 600. Default: `null`. **timeout_duration** `string | null` Timeout as a duration, for example `30s`. Maximum `10m`. Default: `null`. ## Start RTR session Action ID: `tools.crowdstrike.start_rtr_session` Initialize a Real Time Response session on a host. Returns the session ID used by the RTR command actions. Requires the Real time response: Read API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/real-time-response/#rtr-initsession](https://developer.crowdstrike.com/api-reference/collections/real-time-response/#rtr-initsession) ### Input fields **device_id** `string` *required* Host agent ID (AID) to open the session on. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. **queue_offline** `boolean` Queue commands to run when an offline host comes back online. Default: `false`. ## Submit sandbox analysis Action ID: `tools.crowdstrike.submit_sandbox_analysis` Submit an uploaded file or a URL for Falcon Sandbox analysis. Requires the Sandbox (Falcon Intelligence): Write API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/falconx-sandbox/#submit](https://developer.crowdstrike.com/api-reference/collections/falconx-sandbox/#submit) ### Input fields **sandbox** `array[object]` *required* Submissions. Documented fields: sha256 (of an uploaded sample) or url, environment_id (for example 160 for Windows 10 64-bit), action_script, command_line, document_password, network_settings, submit_name, system_date, system_time. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. ## Update alerts Action ID: `tools.crowdstrike.update_alerts` Perform actions on Falcon alerts identified by composite ID, such as changing status, assigning, tagging, or commenting. Requires the Alerts: Write API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/alerts/#patchentitiesalertsv3](https://developer.crowdstrike.com/api-reference/collections/alerts/#patchentitiesalertsv3) ### Input fields **action_parameters** `array[map[string, string]]` *required* Actions to apply, as `{"name": ..., "value": ...}` objects. Documented names: update_status (new, in_progress, closed, reopened), assign_to_uuid, assign_to_name, assign_to_user_id, unassign, append_comment, add_tag, remove_tag, remove_tags_by_prefix, show_in_ui, new_behavior_processed. **composite_ids** `array[string]` *required* Composite IDs of the alerts to update. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. ## Update case Action ID: `tools.crowdstrike.update_case` Update fields on a Falcon case. Requires the Cases: Write API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/case-management/#entitiescasespatchv2](https://developer.crowdstrike.com/api-reference/collections/case-management/#entitiescasespatchv2) ### Input fields **fields** `object` *required* Fields to update. Documented fields include name, description, description_format, status, severity, assigned_to_user_uuid, remove_user_assignment, and template. **id** `string` *required* Case ID. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. ## Update host group members Action ID: `tools.crowdstrike.update_host_group_members` Add hosts to, or remove hosts from, static host groups. Requires the Host groups: Write API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/host-group/#performgroupaction](https://developer.crowdstrike.com/api-reference/collections/host-group/#performgroupaction) ### Input fields **action_name** `string` *required* Action to perform: `add-hosts` or `remove-hosts`. **action_parameters** `array[map[string, string]]` *required* Action parameters, as `{"name": ..., "value": ...}` objects. Use name `filter` with an FQL host filter, for example `{"name": "filter", "value": "(device_id:['<aid>'])"}`. **ids** `array[string]` *required* Host group IDs to update. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. ## Update host tags Action ID: `tools.crowdstrike.update_host_tags` Add or remove Falcon Grouping Tags on one or more hosts. Requires the Hosts: Write API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/hosts/#updatedevicetags](https://developer.crowdstrike.com/api-reference/collections/hosts/#updatedevicetags) ### Input fields **action** `string` *required* Action to perform: `add` or `remove`. **device_ids** `array[string]` *required* Host agent IDs (AIDs) to update. **tags** `array[string]` *required* Falcon Grouping Tags, for example `FalconGroupingTags/quarantine`. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. ## Update quarantined files Action ID: `tools.crowdstrike.update_quarantined_files` Release, unrelease or permanently delete quarantined files by ID. Requires the Quarantined Files: Write API scope. Reference: [https://developer.crowdstrike.com/api-reference/collections/quarantine/#updatequarantineddetectsbyids](https://developer.crowdstrike.com/api-reference/collections/quarantine/#updatequarantineddetectsbyids) ### Input fields **action** `string` *required* Action: `release`, `unrelease` or `delete`. **ids** `array[string]` *required* Quarantined file IDs. **base_url** `string | null` Falcon API base URL. Defaults to the `crowdstrike.base_url` workspace variable, then FalconPy's US-1 default. Default: `null`. **comment** `string | null` Audit log comment. Default: `null`. **member_cid** `string | null` CrowdStrike child CID to act on, for Flight Control (MSSP) parent tenants. Default: `null`. # Databricks Source: https://docs.tracecat.com/tools/databricks Reference for the Tracecat Databricks integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Cancel job run Action ID: `tools.databricks.cancel_run` Cancel a job run asynchronously. Reference: [https://databricks-sdk-py.readthedocs.io/en/latest/workspace/jobs/jobs.html#databricks.sdk.service.jobs.JobsExt.cancel_run](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/jobs/jobs.html#databricks.sdk.service.jobs.JobsExt.cancel_run) ### Input fields **run_id** `integer` *required* Canonical identifier of the run to cancel. **base_url** `string | null` Databricks workspace URL. Default: `null`. ## Cancel SQL statement Action ID: `tools.databricks.cancel_statement` Cancel execution of a SQL statement. Reference: [https://databricks-sdk-py.readthedocs.io/en/latest/workspace/sql/statement_execution.html#databricks.sdk.service.sql.StatementExecutionAPI.cancel_execution](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/sql/statement_execution.html#databricks.sdk.service.sql.StatementExecutionAPI.cancel_execution) ### Input fields **statement_id** `string` *required* Identifier of the SQL statement to cancel. **base_url** `string | null` Databricks workspace URL. Default: `null`. ## Execute SQL statement Action ID: `tools.databricks.execute_statement` Execute a SQL statement on a Databricks SQL warehouse. Reference: [https://databricks-sdk-py.readthedocs.io/en/latest/workspace/sql/statement_execution.html#databricks.sdk.service.sql.StatementExecutionAPI.execute_statement](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/sql/statement_execution.html#databricks.sdk.service.sql.StatementExecutionAPI.execute_statement) ### Input fields **statement** `string` *required* SQL statement to execute. **warehouse_id** `string` *required* Identifier of the SQL warehouse. **base_url** `string | null` Databricks workspace URL. Default: `null`. **byte_limit** `integer | null` Maximum number of result bytes to return inline. Default: `null`. **catalog** `string | null` Default catalog for statement execution. Default: `null`. **row_limit** `integer | null` Maximum number of result rows to return inline. Default: `null`. **schema** `string | null` Default schema for statement execution. Default: `null`. **wait_timeout** `string | null` Time to wait for a result, from 0s through 50s. Default: `null`. ## Get cluster Action ID: `tools.databricks.get_cluster` Retrieve information for a cluster by identifier. Reference: [https://databricks-sdk-py.readthedocs.io/en/latest/workspace/compute/clusters.html#databricks.sdk.service.compute.ClustersExt.get](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/compute/clusters.html#databricks.sdk.service.compute.ClustersExt.get) ### Input fields **cluster_id** `string` *required* Cluster about which to retrieve information. **base_url** `string | null` Databricks workspace URL. Default: `null`. ## Get job Action ID: `tools.databricks.get_job` Retrieve a single job by identifier. Reference: [https://databricks-sdk-py.readthedocs.io/en/latest/workspace/jobs/jobs.html#databricks.sdk.service.jobs.JobsExt.get](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/jobs/jobs.html#databricks.sdk.service.jobs.JobsExt.get) ### Input fields **job_id** `integer` *required* Canonical identifier of the job. **base_url** `string | null` Databricks workspace URL. Default: `null`. **include_trigger_state** `boolean | null` Whether to include trigger state in the response. Default: `null`. **page_token** `string | null` Token for a subsequent page of job arrays. Default: `null`. ## Get job run Action ID: `tools.databricks.get_run` Retrieve metadata for a job run. Reference: [https://databricks-sdk-py.readthedocs.io/en/latest/workspace/jobs/jobs.html#databricks.sdk.service.jobs.JobsExt.get_run](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/jobs/jobs.html#databricks.sdk.service.jobs.JobsExt.get_run) ### Input fields **run_id** `integer` *required* Canonical identifier of the run. **base_url** `string | null` Databricks workspace URL. Default: `null`. **include_history** `boolean | null` Whether to include the repair history in the response. Default: `null`. **include_resolved_values** `boolean | null` Whether to include resolved parameter values. Default: `null`. **page_token** `string | null` Token for a subsequent page of run arrays. Default: `null`. ## Get SQL statement Action ID: `tools.databricks.get_statement` Retrieve the status and result of a SQL statement. Reference: [https://databricks-sdk-py.readthedocs.io/en/latest/workspace/sql/statement_execution.html#databricks.sdk.service.sql.StatementExecutionAPI.get_statement](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/sql/statement_execution.html#databricks.sdk.service.sql.StatementExecutionAPI.get_statement) ### Input fields **statement_id** `string` *required* Identifier of the SQL statement. **base_url** `string | null` Databricks workspace URL. Default: `null`. ## Get SQL warehouse Action ID: `tools.databricks.get_warehouse` Retrieve information about a SQL warehouse. Reference: [https://databricks-sdk-py.readthedocs.io/en/latest/workspace/sql/warehouses.html#databricks.sdk.service.sql.WarehousesAPI.get](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/sql/warehouses.html#databricks.sdk.service.sql.WarehousesAPI.get) ### Input fields **id** `string` *required* Identifier of the SQL warehouse. **base_url** `string | null` Databricks workspace URL. Default: `null`. ## List clusters Action ID: `tools.databricks.list_clusters` Return pinned and active clusters and recently terminated clusters. Reference: [https://databricks-sdk-py.readthedocs.io/en/latest/workspace/compute/clusters.html#databricks.sdk.service.compute.ClustersExt.list](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/compute/clusters.html#databricks.sdk.service.compute.ClustersExt.list) ### Input fields **base_url** `string | null` Databricks workspace URL. Default: `null`. **limit** `integer` Maximum number of clusters to return across SDK pages. Default: `1000`. **page_size** `integer | null` Maximum number of results for each server response. Default: `null`. **page_token** `string | null` Token from a previous response for the next or previous page. Default: `null`. ## List job runs Action ID: `tools.databricks.list_runs` List job runs in descending start-time order. Reference: [https://databricks-sdk-py.readthedocs.io/en/latest/workspace/jobs/jobs.html#databricks.sdk.service.jobs.JobsExt.list_runs](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/jobs/jobs.html#databricks.sdk.service.jobs.JobsExt.list_runs) ### Input fields **active_only** `boolean | null` Whether to include only active runs. Default: `null`. **base_url** `string | null` Databricks workspace URL. Default: `null`. **completed_only** `boolean | null` Whether to include only completed runs. Default: `null`. **expand_tasks** `boolean | null` Whether to include task and cluster details. Default: `null`. **job_id** `integer | null` Job identifier used to filter runs. Default: `null`. **limit** `integer | null` Number of runs returned per server page. Default: `null`. **max_items** `integer` Maximum number of runs to return across SDK pages. Default: `1000`. **page_token** `string | null` Token for a subsequent page. Default: `null`. **start_time_from** `integer | null` Earliest run start time in epoch milliseconds. Default: `null`. **start_time_to** `integer | null` Latest run start time in epoch milliseconds. Default: `null`. ## List jobs Action ID: `tools.databricks.list_jobs` Retrieve jobs visible to the authenticated identity. Reference: [https://databricks-sdk-py.readthedocs.io/en/latest/workspace/jobs/jobs.html#databricks.sdk.service.jobs.JobsExt.list](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/jobs/jobs.html#databricks.sdk.service.jobs.JobsExt.list) ### Input fields **base_url** `string | null` Databricks workspace URL. Default: `null`. **expand_tasks** `boolean | null` Whether to include task and cluster details in each job. Default: `null`. **limit** `integer | null` Number of jobs returned per server page. Default: `null`. **max_items** `integer` Maximum number of jobs to return across SDK pages. Default: `1000`. **name** `string | null` Filter jobs by a case-insensitive name match. Default: `null`. **page_token** `string | null` Token for a subsequent page. Default: `null`. ## List SQL warehouses Action ID: `tools.databricks.list_warehouses` List SQL warehouses in the workspace. Reference: [https://databricks-sdk-py.readthedocs.io/en/latest/workspace/sql/warehouses.html#databricks.sdk.service.sql.WarehousesAPI.list](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/sql/warehouses.html#databricks.sdk.service.sql.WarehousesAPI.list) ### Input fields **base_url** `string | null` Databricks workspace URL. Default: `null`. **limit** `integer` Maximum number of warehouses to return across SDK pages. Default: `1000`. **page_size** `integer | null` Maximum number of warehouses returned per server page. Default: `null`. **page_token** `string | null` Token for a subsequent page. Default: `null`. ## Run job Action ID: `tools.databricks.run_job` Start a run of an existing job. Reference: [https://databricks-sdk-py.readthedocs.io/en/latest/workspace/jobs/jobs.html#databricks.sdk.service.jobs.JobsExt.run_now](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/jobs/jobs.html#databricks.sdk.service.jobs.JobsExt.run_now) ### Input fields **job_id** `integer` *required* Identifier of the job to run. **base_url** `string | null` Databricks workspace URL. Default: `null`. **idempotency_token** `string | null` Token used to guarantee idempotency of the run request. Default: `null`. **job_parameters** `map[string, string] | null` Job-level parameter values for the run. Default: `null`. **notebook_params** `map[string, string] | null` Parameters to pass to notebook tasks. Default: `null`. **python_named_params** `map[string, string] | null` Named parameters to pass to Python wheel tasks. Default: `null`. **python_params** `array[string] | null` Parameters to pass to Python tasks. Default: `null`. **sql_params** `map[string, string] | null` Parameters to pass to SQL tasks. Default: `null`. ## Start cluster Action ID: `tools.databricks.start_cluster` Start a terminated all-purpose cluster. Reference: [https://databricks-sdk-py.readthedocs.io/en/latest/workspace/compute/clusters.html#databricks.sdk.service.compute.ClustersExt.start](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/compute/clusters.html#databricks.sdk.service.compute.ClustersExt.start) ### Input fields **cluster_id** `string` *required* Cluster to start. **base_url** `string | null` Databricks workspace URL. Default: `null`. ## Start SQL warehouse Action ID: `tools.databricks.start_warehouse` Start a SQL warehouse. Reference: [https://databricks-sdk-py.readthedocs.io/en/latest/workspace/sql/warehouses.html#databricks.sdk.service.sql.WarehousesAPI.start](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/sql/warehouses.html#databricks.sdk.service.sql.WarehousesAPI.start) ### Input fields **id** `string` *required* Identifier of the SQL warehouse to start. **base_url** `string | null` Databricks workspace URL. Default: `null`. ## Stop SQL warehouse Action ID: `tools.databricks.stop_warehouse` Stop a SQL warehouse. Reference: [https://databricks-sdk-py.readthedocs.io/en/latest/workspace/sql/warehouses.html#databricks.sdk.service.sql.WarehousesAPI.stop](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/sql/warehouses.html#databricks.sdk.service.sql.WarehousesAPI.stop) ### Input fields **id** `string` *required* Identifier of the SQL warehouse to stop. **base_url** `string | null` Databricks workspace URL. Default: `null`. ## Terminate cluster Action ID: `tools.databricks.terminate_cluster` Terminate a cluster asynchronously. Reference: [https://databricks-sdk-py.readthedocs.io/en/latest/workspace/compute/clusters.html#databricks.sdk.service.compute.ClustersExt.delete](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/compute/clusters.html#databricks.sdk.service.compute.ClustersExt.delete) ### Input fields **cluster_id** `string` *required* Cluster to terminate. **base_url** `string | null` Databricks workspace URL. Default: `null`. # Databricks SDK Source: https://docs.tracecat.com/tools/databricks_sdk Reference for the Tracecat Databricks SDK integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Call method Action ID: `tools.databricks_sdk.call_method` Instantiate a Databricks workspace client and call an SDK method. Reference: [https://databricks-sdk-py.readthedocs.io/en/latest/workspace/](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/) ### Secrets Optional secrets: * `databricks_oauth`: OAuth token `DATABRICKS_USER_TOKEN`. * `databricks_oauth`: OAuth token `DATABRICKS_SERVICE_TOKEN`. * `databricks`: required values `DATABRICKS_CLIENT_ID`, `DATABRICKS_CLIENT_SECRET`. ### Input fields **base_url** `string` *required* Databricks workspace URL. **method_name** `string` *required* Public Databricks SDK method name. **service** `string` *required* WorkspaceClient service name, for example `clusters`, `jobs`, `warehouses`, or `statement_execution`. **params** `object | null` Databricks SDK method parameters. Values, including nulls, are forwarded unchanged. Default: `null`. ## Call paginated method Action ID: `tools.databricks_sdk.call_paginated_method` Instantiate a Databricks workspace client and collect a bounded number of items from an SDK iterator method. Reference: [https://github.com/databricks/databricks-sdk-py#paginated-responses](https://github.com/databricks/databricks-sdk-py#paginated-responses) ### Secrets Optional secrets: * `databricks_oauth`: OAuth token `DATABRICKS_USER_TOKEN`. * `databricks_oauth`: OAuth token `DATABRICKS_SERVICE_TOKEN`. * `databricks`: required values `DATABRICKS_CLIENT_ID`, `DATABRICKS_CLIENT_SECRET`. ### Input fields **base_url** `string` *required* Databricks workspace URL. **method_name** `string` *required* Public Databricks SDK iterator method name. **service** `string` *required* WorkspaceClient service name. **limit** `integer` Maximum number of items to return across SDK pages. Default: `1000`. **params** `object | null` Databricks SDK method parameters. Values, including nulls, are forwarded unchanged. Default: `null`. # Datadog Source: https://docs.tracecat.com/tools/datadog Reference for the Tracecat Datadog integration: registered actions, required secrets, expected inputs, and example workflow usage. ## List security signals Action ID: `tools.datadog.list_security_signals` Query for Datadog security signals. Reference: [https://docs.datadoghq.com/api/latest/security-monitoring/#get-a-list-of-security-signals](https://docs.datadoghq.com/api/latest/security-monitoring/#get-a-list-of-security-signals) ### Secrets Required secrets: * `datadog`: required values `DATADOG_API_KEY`, `DATADOG_APP_KEY`. ### Input fields **end_time** `string` *required* End time for the query (exclusive). **start_time** `string` *required* Start time for the query (inclusive). **base_url** `string | null` Datadog site API URL. Default: `null`. **limit** `integer` Maximum number of alerts to return. Default: `100`. **query** `string | object | null` Datadog search query. Default: `null`. # DeHashed Source: https://docs.tracecat.com/tools/dehashed Reference for the Tracecat DeHashed integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Check password hash Action ID: `tools.dehashed.check_password_hash` Check a password hash. Calls POST /v2/search-password directly with a SHA-256 password hash. Reference: [https://app.dehashed.com/documentation/api](https://app.dehashed.com/documentation/api) ### Secrets Required secrets: * `dehashed`: required values `DEHASHED_API_KEY`. ### Input fields **sha256_hashed_password** `string` *required* SHA-256 hash of the password to check. **base_url** `string | null` Base URL of the DeHashed API. Default: `null`. ## List data wells Action ID: `tools.dehashed.list_data_wells` List data wells. Calls GET /data-wells directly. This endpoint does not require an API key. Reference: [https://app.dehashed.com/documentation/api](https://app.dehashed.com/documentation/api) ### Input fields **base_url** `string | null` Base URL of the DeHashed API. Default: `null`. **count** `integer | null` Number of data wells to return. DeHashed supports 20 or 50. Default: `20`. **page** `integer | null` Result page number. Must be 1 or greater. Default: `1`. **sort** `string | null` Sort by added, name, date, or records. Append -ASC or -DESC for direction. Default: `null`. ## Search breaches Action ID: `tools.dehashed.search_breaches` Search breaches. Calls POST /v2/search directly with a DeHashed API-native payload. Reference: [https://app.dehashed.com/documentation/api](https://app.dehashed.com/documentation/api) ### Secrets Required secrets: * `dehashed`: required values `DEHASHED_API_KEY`. ### Input fields **query** `string` *required* DeHashed search query. Use DeHashed search syntax, such as email:"[user@example.com](mailto:user@example.com)", username:"someuser", or a bare quoted value to match across fields. **base_url** `string | null` Base URL of the DeHashed API. Default: `null`. **de_dupe** `boolean` Whether DeHashed should remove duplicate results. Default: `false`. **page** `integer` Result page number. Must be 1 or greater. Default: `1`. **regex** `boolean` Whether to use regex matching. Cannot be true when wildcard is true. Default: `false`. **size** `integer` Results per page. Must be between 1 and 10000. Default: `100`. **wildcard** `boolean` Whether to use wildcard matching. Cannot be true when regex is true. Default: `false`. # DomScan Source: https://docs.tracecat.com/tools/domscan Reference for the Tracecat DomScan integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Check DNS security Action ID: `tools.domscan.check_dns_security` Check DNS security. Calls GET /v1/dns/security directly. Reference: [https://domscan.net/docs/dns-security](https://domscan.net/docs/dns-security) ### Secrets Required secrets: * `domscan`: required values `DOMSCAN_API_KEY`. ### Input fields **domain** `string` *required* Domain to analyze. **base_url** `string | null` Base URL of the DomScan API. Default: `null`. ## Check domain availability Action ID: `tools.domscan.check_domain_availability` Check domain availability. Calls GET /v1/status directly. Reference: [https://domscan.net/docs/check-availability](https://domscan.net/docs/check-availability) ### Secrets Required secrets: * `domscan`: required values `DOMSCAN_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the DomScan API. Default: `null`. **domain** `string | null` Single-domain shortcut for one TLD, for example "mycompany.com". Default: `null`. **name** `string | null` Domain name without TLD. Use together with tlds (e.g., "example" for example.com). Default: `null`. **prefer_cache** `boolean | null` Return cached results if available (faster). Default: `null`. **tlds** `string | null` Comma-separated list of TLDs to check (max 50). Use together with name. Default: `null`. ## Check domain health Action ID: `tools.domscan.check_domain_health` Check domain health. Calls GET /v1/health directly. Reference: [https://domscan.net/docs/health](https://domscan.net/docs/health) ### Secrets Required secrets: * `domscan`: required values `DOMSCAN_API_KEY`. ### Input fields **domain** `string` *required* Domain or subdomain to analyze (e.g. example.com or blog.example.com). **base_url** `string | null` Base URL of the DomScan API. Default: `null`. **details** `boolean | null` Include detailed breakdown. DomScan defaults to true. Default: `null`. ## Check social handles Action ID: `tools.domscan.check_social_handles` Check social handles. Calls GET /v1/social directly. Reference: [https://domscan.net/docs/social](https://domscan.net/docs/social) ### Secrets Required secrets: * `domscan`: required values `DOMSCAN_API_KEY`. ### Input fields **handle** `string` *required* Social handle to check, without a leading @. **base_url** `string | null` Base URL of the DomScan API. Default: `null`. **platforms** `string | null` Comma-separated platforms to check. Defaults to all known social platforms. Aliases listed by GET /v1/social/info are accepted. Default: `null`. **resources** `string | null` Optional comma-separated resource types. If platforms is omitted, the request checks only these resources. Aliases listed by GET /v1/social/info are accepted. Default: `null`. ## Detect typosquatting Action ID: `tools.domscan.detect_typosquatting` Detect typosquatting. Calls GET /v1/typos directly. Reference: [https://domscan.net/docs/typosquatting](https://domscan.net/docs/typosquatting) ### Secrets Required secrets: * `domscan`: required values `DOMSCAN_API_KEY`. ### Input fields **domain** `string` *required* Domain to analyze for typosquatting risks. **base_url** `string | null` Base URL of the DomScan API. Default: `null`. **check_registered** `boolean | null` Check if generated typos are actually registered. Disabled by default and capped for faster responses. Default: `null`. **include_tld_swap** `boolean | null` Include TLD variation permutations (e.g., .co instead of .com). DomScan defaults to true. Default: `null`. **limit** `integer | null` Maximum permutations to generate and check. DomScan defaults to 100. Default: `null`. ## Find subdomains Action ID: `tools.domscan.find_subdomains` Find subdomains. Calls GET /v1/subdomains directly. Reference: [https://domscan.net/docs/subdomains](https://domscan.net/docs/subdomains) ### Secrets Required secrets: * `domscan`: required values `DOMSCAN_API_KEY`. ### Input fields **domain** `string` *required* Root domain to search. **base_url** `string | null` Base URL of the DomScan API. Default: `null`. **include_wildcards** `boolean | null` Return wildcard certificate SAN patterns in the separate wildcards array. Wildcards are never mixed into the concrete hostname list. DomScan defaults to false. Default: `null`. **limit** `integer | null` Maximum number of concrete hostname entries to return, from 1 through 2000. DomScan defaults to 500. Default: `null`. **prefer_cache** `boolean | null` Serve cached results only. If no fresh or stale cache is available, the API returns 202, queues a background refresh, and refunds the request credits. DomScan defaults to false. Default: `null`. **sources** `string | null` Compatibility selector. Only ct is accepted. It starts the passive discovery pipeline, but response entries identify the provider that supplied their evidence. Default: `null`. **verify** `boolean | null` Check DNS only for the returned names. Verification does not discover additional names. DomScan defaults to false. Default: `null`. ## Get certificates Action ID: `tools.domscan.get_certificates` Get certificates. Calls GET /v1/certificates directly. Reference: [https://domscan.net/docs/ssl-certificates](https://domscan.net/docs/ssl-certificates) ### Secrets Required secrets: * `domscan`: required values `DOMSCAN_API_KEY`. ### Input fields **domain** `string` *required* Domain to search certificate transparency logs for. **base_url** `string | null` Base URL of the DomScan API. Default: `null`. **cursor** `string | null` Offset cursor from pagination.next_cursor in the previous page. Default: `null`. **include_expired** `boolean | null` Include certificates that have already expired. Default: `null`. **include_subdomains** `boolean | null` Include certificates issued for subdomains of the requested domain. DomScan defaults to true. Default: `null`. **limit** `integer | null` Maximum certificates to return on this page. DomScan defaults to 100. Default: `null`. ## Get coverage Action ID: `tools.domscan.get_coverage` Get coverage. Calls GET /v1/coverage directly. Reference: [https://domscan.net/docs/coverage](https://domscan.net/docs/coverage) ### Input fields **base_url** `string | null` Base URL of the DomScan API. Default: `null`. **live** `string | null` Set to 1 to include live RDAP endpoint health checks. Default: `null`. ## Get DNS records Action ID: `tools.domscan.get_dns_records` Get DNS records. Calls GET /v1/dns directly. Reference: [https://domscan.net/docs/dns-lookup](https://domscan.net/docs/dns-lookup) ### Secrets Required secrets: * `domscan`: required values `DOMSCAN_API_KEY`. ### Input fields **domain** `string` *required* Domain to query DNS records for. **base_url** `string | null` Base URL of the DomScan API. Default: `null`. **type** `string | null` DNS record type to query, one of A, AAAA, MX, NS, TXT, SOA, CNAME, CAA, PTR, or SRV. DomScan defaults to A. Default: `null`. ## Get domain overview Action ID: `tools.domscan.get_domain_overview` Get a domain overview. Calls GET /v1/overview directly. Reference: [https://domscan.net/docs](https://domscan.net/docs) ### Secrets Required secrets: * `domscan`: required values `DOMSCAN_API_KEY`. ### Input fields **domain** `string` *required* Domain to analyze. **base_url** `string | null` Base URL of the DomScan API. Default: `null`. ## Get domain reputation Action ID: `tools.domscan.get_domain_reputation` Get domain reputation. Calls GET /v1/reputation directly. Reference: [https://domscan.net/docs/reputation](https://domscan.net/docs/reputation) ### Secrets Required secrets: * `domscan`: required values `DOMSCAN_API_KEY`. ### Input fields **domain** `string` *required* Domain to score for reputation. **base_url** `string | null` Base URL of the DomScan API. Default: `null`. ## Suggest domains Action ID: `tools.domscan.suggest_domains` Suggest domains. Calls GET /v1/suggest directly. Reference: [https://domscan.net/docs/suggestions](https://domscan.net/docs/suggestions) ### Secrets Required secrets: * `domscan`: required values `DOMSCAN_API_KEY`. ### Input fields **keywords** `string` *required* Comma-separated keywords (max 10). **base_url** `string | null` Base URL of the DomScan API. Default: `null`. **check** `boolean | null` Check availability of suggestions. DomScan defaults to true. Default: `null`. **industry** `string | null` Industry for targeted suggestions, one of tech, finance, health, ecommerce, education, media, saas, crypto, ai, or gaming. Default: `null`. **language** `string | null` Language for prefixes/suffixes (romanized for non-Latin scripts). 30 languages supported. DomScan defaults to en. Default: `null`. **limit** `integer | null` Max suggestions (1-100). DomScan defaults to 20. Default: `null`. **style** `string | null` Suggestion style preference, one of brandable, keyword-rich, short, pronounceable, techy, playful, professional, or minimal. DomScan defaults to brandable. Default: `null`. **tlds** `string | null` Target TLDs. DomScan defaults to com,io,ai,co,app. Default: `null`. # Elastic Security Source: https://docs.tracecat.com/tools/elastic_security Reference for the Tracecat Elastic Security integration: registered actions, required secrets, expected inputs, and example workflow usage. ## (Deprecated) List detection alerts Action ID: `tools.elastic_security.list_detection_signals` Deprecated compatibility action. Use `tools.elastic_security.search_detection_alerts` for API-native alert searches. Reference: [https://www.elastic.co/docs/api/doc/kibana/v8/operation/operation-searchalerts](https://www.elastic.co/docs/api/doc/kibana/v8/operation/operation-searchalerts) **Deprecated:** Use `tools.elastic_security.search_detection_alerts` for API-native alert searches. ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **end_time** `string` *required* End time for the query (exclusive). **start_time** `string` *required* Start time for the query (inclusive). **base_url** `string | null` Kibana endpoint URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **limit** `integer` Maximum number of alerts to return. Default: `100`. **query** `string | object | null` Elastic JSON query DSL. If specified, overrides `start_time` and `end_time`. Default: `null`. **source_fields** `array[string] | object | null` Source field filter applied to each alert. Pass a list of dotted field names to include only those fields, or a dict of `includes` / `excludes` for fine-grained control. Maps directly to the Kibana `_source` request body parameter. When `null` (default), every field is returned. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Assign attack users Action ID: `tools.elastic_security.assign_attack_users` Assign or unassign users on Attack Discovery attack alerts. Requires Kibana 9.5+. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-setattacksassignees](https://www.elastic.co/docs/api/doc/kibana/operation/operation-setattacksassignees) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **assignees** `object` *required* Object with `add` and `remove`, each a list of user profile UIDs. **ids** `array[string]` *required* A list of attack alert `id`s. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **update_related_alerts** `boolean` When `true`, the change is also applied to detection alerts related to the attacks. Default: `false`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Assign detection alert users Action ID: `tools.elastic_security.assign_detection_alert_users` Assign or unassign users on Elastic Security detection alerts. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-setalertassignees](https://www.elastic.co/docs/api/doc/kibana/operation/operation-setalertassignees) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **assignees** `object` *required* Details about the assignees to assign and unassign. Requires `add` and `remove`, each a list of user profile `uid`s to assign or unassign. Users need to activate their user profile by logging into Kibana at least once. **ids** `array[string]` *required* A list of alerts `id`s. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Bulk action detection rules Action ID: `tools.elastic_security.bulk_action_detection_rules` Apply a bulk action to Elastic Security detection rules. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-performrulesbulkaction](https://www.elastic.co/docs/api/doc/kibana/operation/operation-performrulesbulkaction) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **payload** `object` *required* API-native JSON request body. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **dry_run** `boolean | null` Enables dry run mode for the request call. Enable dry run mode to verify that bulk actions can be applied to specified rules. Certain rules, such as prebuilt Elastic rules on a Basic subscription, can't be edited and will return errors in the request response. Rules specified in the request will be temporarily updated. These updates won't be written to Elasticsearch. Dry run mode is not supported for the `export` bulk action. Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Cancel response action Action ID: `tools.elastic_security.cancel_response_action` Cancel an Elastic Endpoint response action. Requires Kibana 9.2+. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-cancelaction](https://www.elastic.co/docs/api/doc/kibana/operation/operation-cancelaction) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **payload** `object` *required* API-native request body. Documented fields: endpoint_ids (required), parameters (required), agent_type, alert_ids, case_ids, comment. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Create detection rule Action ID: `tools.elastic_security.create_detection_rule` Create an Elastic Security detection rule. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-createrule](https://www.elastic.co/docs/api/doc/kibana/operation/operation-createrule) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **payload** `object` *required* API-native JSON request body. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Create endpoint script Action ID: `tools.elastic_security.create_endpoint_script` Create a script in the Elastic Endpoint response script library. Requires Kibana 9.4+. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-endpointscriptlibrarycreatescript](https://www.elastic.co/docs/api/doc/kibana/operation/operation-endpointscriptlibrarycreatescript) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **base64_content** `string` *required* Base64-encoded script file. **filename** `string` *required* Script filename sent to Elastic. **payload** `object` *required* API-native multipart script metadata fields. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **content_type** `string` MIME type of the script file. Default: `"application/octet-stream"`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Create exception list Action ID: `tools.elastic_security.create_exception_list` Create an Elastic Security exception list. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-createexceptionlist](https://www.elastic.co/docs/api/doc/kibana/operation/operation-createexceptionlist) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **payload** `object` *required* API-native JSON request body. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Create exception list item Action ID: `tools.elastic_security.create_exception_list_item` Create an item in an Elastic Security exception list. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-createexceptionlistitem](https://www.elastic.co/docs/api/doc/kibana/operation/operation-createexceptionlistitem) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **payload** `object` *required* API-native JSON request body. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Create or update note Action ID: `tools.elastic_security.create_or_update_note` Add a note to an alert/event or Timeline, or update an existing note. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-persistnoteroute](https://www.elastic.co/docs/api/doc/kibana/operation/operation-persistnoteroute) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **payload** `object` *required* API-native JSON request body. Requires `note` (e.g. `note` text, `eventId` for an alert/event, `timelineId`); pass `noteId` and `version` to update an existing note. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Create timeline Action ID: `tools.elastic_security.create_timeline` Create an Elastic Security Timeline or Timeline template. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-createtimelines](https://www.elastic.co/docs/api/doc/kibana/operation/operation-createtimelines) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **payload** `object` *required* API-native JSON request body. Requires `timeline` (e.g. `title`, `description`, `dataProviders`, `kqlQuery`, `dateRange`); optional `status`, `timelineId`, `timelineType`, `templateTimelineId`, `templateTimelineVersion`, `version`. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Create value list Action ID: `tools.elastic_security.create_value_list` Create an Elastic Security value list, e.g. an IP or keyword blocklist referenced by exception items. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-createlist](https://www.elastic.co/docs/api/doc/kibana/operation/operation-createlist) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **payload** `object` *required* API-native JSON request body. Requires `name`, `description`, and `type` (e.g. `ip`, `ip_range`, `keyword`, `text`); optional `id`, `meta`, `version`. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Create value list item Action ID: `tools.elastic_security.create_value_list_item` Add a value (e.g. an IOC) to an Elastic Security value list. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-createlistitem](https://www.elastic.co/docs/api/doc/kibana/operation/operation-createlistitem) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **payload** `object` *required* API-native JSON request body. Requires `list_id` and `value`; optional `id`, `meta`, and `refresh` (`true`, `false`, or `wait_for`). **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Delete detection rule Action ID: `tools.elastic_security.delete_detection_rule` Delete an Elastic Security detection rule by `id` or `rule_id`. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-deleterule](https://www.elastic.co/docs/api/doc/kibana/operation/operation-deleterule) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **id** `string | null` The rule's `id` value. Required if `rule_id` is not specified. Default: `null`. **rule_id** `string | null` The rule's `rule_id` value. Required if `id` is not specified. Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Delete exception list item Action ID: `tools.elastic_security.delete_exception_list_item` Delete an Elastic Security exception list item. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-deleteexceptionlistitem](https://www.elastic.co/docs/api/doc/kibana/operation/operation-deleteexceptionlistitem) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **id** `string | null` Exception item's identifier. Either `id` or `item_id` must be specified. Default: `null`. **item_id** `string | null` Human readable exception item string identifier, e.g. `trusted-linux-processes`. Either `id` or `item_id` must be specified. Default: `null`. **namespace_type** `string | null` `single` deletes the item in the current Kibana space; `agnostic` deletes an item in a space-agnostic list. Must match the list that owns the item. Defaults to single. Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Delete value list item Action ID: `tools.elastic_security.delete_value_list_item` Delete an Elastic Security value list item by `id`, or by `list_id` and `value`. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-deletelistitem](https://www.elastic.co/docs/api/doc/kibana/operation/operation-deletelistitem) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **id** `string | null` Value list item identifier. Required if `list_id` and `value` are not specified. Default: `null`. **list_id** `string | null` Value list `id`. Required if `id` is not specified. Default: `null`. **refresh** `string | null` Determines when changes are visible to search. Possible values: true, false, wait_for. Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **value** `string | null` The item value. Required if `id` is not specified. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Download response file Action ID: `tools.elastic_security.download_response_file` Download a response-action file as base64. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-endpointfiledownload](https://www.elastic.co/docs/api/doc/kibana/operation/operation-endpointfiledownload) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **action_id** `string` *required* Response action ID. **file_id** `string` *required* Response file ID. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Export detection rules Action ID: `tools.elastic_security.export_detection_rules` Export Elastic Security detection rules as NDJSON text. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-exportrules](https://www.elastic.co/docs/api/doc/kibana/operation/operation-exportrules) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **payload** `object` *required* API-native JSON request body. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **exclude_export_details** `boolean | null` Determines whether a summary of the exported rules is returned. Defaults to `false`. Default: `null`. **file_name** `string | null` File name for saving the exported rules. Defaults to `export.ndjson`. Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Generate endpoint memory dump Action ID: `tools.elastic_security.generate_endpoint_memory_dump` Generate a memory dump on an Elastic Endpoint. Requires Kibana 9.3+. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-endpointgeneratememorydump](https://www.elastic.co/docs/api/doc/kibana/operation/operation-endpointgeneratememorydump) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **payload** `object` *required* API-native request body. Documented fields: endpoint_ids (required), parameters (required), agent_type, alert_ids, case_ids, comment. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Get detection rule Action ID: `tools.elastic_security.get_detection_rule` Get an Elastic Security detection rule by `id` or `rule_id`. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-readrule](https://www.elastic.co/docs/api/doc/kibana/operation/operation-readrule) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **id** `string | null` The rule's `id` value. Required if `rule_id` is not specified. Default: `null`. **rule_id** `string | null` The rule's `rule_id` value. Required if `id` is not specified. Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Get endpoint Action ID: `tools.elastic_security.get_endpoint` Get Elastic Endpoint metadata by endpoint ID. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-getendpointmetadata](https://www.elastic.co/docs/api/doc/kibana/operation/operation-getendpointmetadata) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **endpoint_id** `string` *required* Endpoint ID. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Get endpoint file Action ID: `tools.elastic_security.get_endpoint_file` Request a file from one or more Elastic Endpoints. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-endpointgetfileaction](https://www.elastic.co/docs/api/doc/kibana/operation/operation-endpointgetfileaction) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **payload** `object` *required* API-native request body. Documented fields: endpoint_ids (required), path (required), agent_type, alert_ids, case_ids, comment. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Get endpoint processes Action ID: `tools.elastic_security.get_endpoint_processes` Get running processes from one or more Elastic Endpoints. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-endpointgetprocessesaction](https://www.elastic.co/docs/api/doc/kibana/operation/operation-endpointgetprocessesaction) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **payload** `object` *required* API-native request body. Documented fields: endpoint_ids (required), agent_type, alert_ids, case_ids, comment. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Get osquery live query Action ID: `tools.elastic_security.get_osquery_live_query` Get an osquery live query's details, including the action ID of each query in the pack, to use with get_osquery_live_query_results. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-osquerygetlivequerydetails](https://www.elastic.co/docs/api/doc/kibana/operation/operation-osquerygetlivequerydetails) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **id** `string` *required* The ID of the live query. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Get osquery live query results Action ID: `tools.elastic_security.get_osquery_live_query_results` Get the result rows of one query in an osquery live query. One page per call. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-osquerygetlivequeryresults](https://www.elastic.co/docs/api/doc/kibana/operation/operation-osquerygetlivequeryresults) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **action_id** `string` *required* The ID of the query action (`queries[].action_id` from get_osquery_live_query). **id** `string` *required* The ID of the live query. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **kuery** `string | null` A KQL search string to filter results. Default: `null`. **page** `integer | null` The page number to return. Default: `null`. **page_size** `integer | null` The number of results to return per page. Default: `null`. **sort** `string | null` The field to sort results by. Default: `null`. **sort_order** `string | null` The sort order. Possible values: asc, desc. Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Get response action Action ID: `tools.elastic_security.get_response_action` Get an Elastic Endpoint response action by ID. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-endpointgetactionsdetails](https://www.elastic.co/docs/api/doc/kibana/operation/operation-endpointgetactionsdetails) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **action_id** `string` *required* Response action ID. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Get response file info Action ID: `tools.elastic_security.get_response_file_info` Get information about a file returned by an Endpoint response action. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-endpointfileinfo](https://www.elastic.co/docs/api/doc/kibana/operation/operation-endpointfileinfo) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **action_id** `string` *required* Response action ID. **file_id** `string` *required* Response file ID. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Get timeline Action ID: `tools.elastic_security.get_timeline` Get an Elastic Security Timeline by `id`, or a Timeline template by `template_timeline_id`. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-gettimeline](https://www.elastic.co/docs/api/doc/kibana/operation/operation-gettimeline) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **id** `string | null` The `savedObjectId` of the Timeline to retrieve. Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **template_timeline_id** `string | null` The `savedObjectId` of the Timeline template to retrieve. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Get value list Action ID: `tools.elastic_security.get_value_list` Get an Elastic Security value list by ID. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-readlist](https://www.elastic.co/docs/api/doc/kibana/operation/operation-readlist) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **id** `string` *required* Value list identifier (`id`) returned when the list was created. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Get value list item Action ID: `tools.elastic_security.get_value_list_item` Get an Elastic Security value list item by `id`, or by `list_id` and `value`. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-readlistitem](https://www.elastic.co/docs/api/doc/kibana/operation/operation-readlistitem) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **id** `string | null` Value list item identifier. Required if `list_id` and `value` are not specified. Default: `null`. **list_id** `string | null` Value list `id`. Required if `id` is not specified. Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **value** `string | null` The item value. Required if `id` is not specified. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Import detection rules Action ID: `tools.elastic_security.import_detection_rules` Import Elastic Security detection rules from an NDJSON file. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-importrules](https://www.elastic.co/docs/api/doc/kibana/operation/operation-importrules) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **base64_content** `string` *required* Base64-encoded NDJSON rules file. **as_new_list** `boolean | null` Generates a new list ID for each imported exception list. Defaults to `false`. Default: `null`. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **filename** `string` Filename sent to Elastic. Default: `"rules.ndjson"`. **overwrite** `boolean | null` Determines whether existing rules with the same `rule_id` are overwritten. Defaults to `false`. Default: `null`. **overwrite_action_connectors** `boolean | null` Determines whether existing actions with the same `kibana.alert.rule.actions.id` are overwritten. Defaults to `false`. Default: `null`. **overwrite_exceptions** `boolean | null` Determines whether existing exception lists with the same `list_id` are overwritten. Both the exception list container and its items are overwritten. Defaults to `false`. Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Isolate endpoint Action ID: `tools.elastic_security.isolate_endpoint` Isolate one or more Elastic Endpoints from the network. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-endpointisolateaction](https://www.elastic.co/docs/api/doc/kibana/operation/operation-endpointisolateaction) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **payload** `object` *required* API-native request body. Documented fields: endpoint_ids (required), agent_type, alert_ids, case_ids, comment. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## List detection rules Action ID: `tools.elastic_security.list_detection_rules` List Elastic Security detection rules. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-findrules](https://www.elastic.co/docs/api/doc/kibana/operation/operation-findrules) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **fields** `array[string] | null` List of `alert.attributes` field names to return for each rule (for example `name`, `enabled`). If omitted, the default field set is returned. Default: `null`. **filter** `string | null` Search query. Filters the returned results according to the value of the specified field, using the `alert.attributes.<field name>:<field value>` syntax, where `<field name>` can be: name, enabled, tags, createdBy, interval, updatedBy. Even though the JSON rule object uses `created_by` and `updated_by` fields, you must use `createdBy` and `updatedBy` fields in the filter. Default: `null`. **gap_auto_fill_scheduler_id** `string | null` Gap auto fill scheduler ID used to determine gap fill status for rules. Default: `null`. **gap_fill_statuses** `array[string] | null` Gap fill statuses. Possible values: unfilled, in_progress, filled, error. Default: `null`. **gaps_range_end** `string | null` Gaps range end. Default: `null`. **gaps_range_start** `string | null` Gaps range start. Default: `null`. **page** `integer | null` Page number. Defaults to 1. Default: `null`. **per_page** `integer | null` Rules per page. Defaults to 20. Default: `null`. **sort_field** `string | null` Field to sort by. Possible values: created_at, createdAt, enabled, execution_summary.last_execution.date, execution_summary.last_execution.metrics.execution_gap_duration_s, execution_summary.last_execution.metrics.total_indexing_duration_ms, execution_summary.last_execution.metrics.total_search_duration_ms, execution_summary.last_execution.status, name, risk_score, riskScore, severity, updated_at, updatedAt. Default: `null`. **sort_order** `string | null` Sort order. Possible values: asc, desc. Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## List endpoint scripts Action ID: `tools.elastic_security.list_endpoint_scripts` List scripts in the Elastic Endpoint response script library. Requires Kibana 9.3+. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-endpointscriptlibrarylistscripts](https://www.elastic.co/docs/api/doc/kibana/operation/operation-endpointscriptlibrarylistscripts) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **kuery** `string | null` A KQL query string to filter the list of scripts. Nearly all fields in the script object are searchable. Default: `null`. **page** `integer | null` Page number of the results to return. Defaults to 1. Default: `null`. **pageSize** `integer | null` Number of results to return per page. Defaults to 10. Max value is 1000. Default: `null`. **sortDirection** `string | null` The direction to sort the results by. Defaults to asc (ascending). Allowed values are `asc`, `desc`. Default: `null`. **sortField** `string | null` The field to sort the results by. Defaults to name. Allowed values are `name`, `createdAt`, `createdBy`, `updatedAt`, `updatedBy`, `fileSize`. Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## List endpoints Action ID: `tools.elastic_security.list_endpoints` List Elastic Endpoint metadata. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-getendpointmetadatalist](https://www.elastic.co/docs/api/doc/kibana/operation/operation-getendpointmetadatalist) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **hostStatuses** `array[string]` *required* A set of host statuses to filter the results by (for example, `healthy`, `updating`). Allowed values are `healthy`, `offline`, `updating`, `inactive`, `unenrolled`. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **kuery** `string | null` A KQL string to filter the endpoint metadata results. Default: `null`. **page** `integer | null` The page number to return. Default: `null`. **pageSize** `integer | null` The number of endpoints to return per page. Default: `null`. **sortDirection** `string | null` The sort order, either `asc` or `desc`. Default: `null`. **sortField** `string | null` The field used to sort the results. Allowed values are `enrolled_at`, `metadata.host.hostname`, `host_status`, `metadata.Endpoint.policy.applied.name`, `metadata.Endpoint.policy.applied.status`, `metadata.host.os.name`, `metadata.host.ip`, `metadata.agent.version`, `last_checkin`. Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## List exception list items Action ID: `tools.elastic_security.list_exception_list_items` List exception conditions within exception-list containers. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-findexceptionlistitems](https://www.elastic.co/docs/api/doc/kibana/operation/operation-findexceptionlistitems) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **list_id** `array[string]` *required* The `list_id`s of the items to fetch. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **filter** `array[string] | null` Filters the returned results according to the value of the specified field, using the `<field name>:<field value>` syntax. Default: `null`. **namespace_type** `array[string] | null` Determines whether the returned containers are Kibana associated with a Kibana space or available in all spaces. Possible values: agnostic, single. Default: `null`. **page** `integer | null` The page number to return. Default: `null`. **per_page** `integer | null` The number of exception list items to return per page. Default: `null`. **search** `string | null` Free-text search term applied to exception list item fields (for example a hostname or file path fragment). Default: `null`. **sort_field** `string | null` Determines which field is used to sort the results. Default: `null`. **sort_order** `string | null` Determines the sort order, which can be `desc` or `asc`. Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## List exception lists Action ID: `tools.elastic_security.list_exception_lists` List exception-list containers and metadata. This does not return their exception items. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-findexceptionlists](https://www.elastic.co/docs/api/doc/kibana/operation/operation-findexceptionlists) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **filter** `string | null` Filters the returned results according to the value of the specified field. Uses the `so type.field name:field` value syntax, where `so type` can be: exception-list (specify a space-aware exception list) or exception-list-agnostic (specify an exception list that is shared across spaces). Default: `null`. **namespace_type** `array[string] | null` Determines whether the returned containers are Kibana associated with a Kibana space or available in all spaces. Possible values: agnostic, single. Default: `null`. **page** `integer | null` The page number to return. Default: `null`. **per_page** `integer | null` The number of exception lists to return per page. Default: `null`. **sort_field** `string | null` Determines which field is used to sort the results. Default: `null`. **sort_order** `string | null` Determines the sort order, which can be `desc` or `asc`. Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## List notes Action ID: `tools.elastic_security.list_notes` List Elastic Security notes, or get the notes attached to specific alerts/events or Timelines. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-getnotes](https://www.elastic.co/docs/api/doc/kibana/operation/operation-getnotes) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **associated_filter** `string | null` How notes relate to a Timeline and/or event (list mode only). Possible values: all, document_only, saved_object_only, document_and_saved_object, orphan. Default: `null`. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **created_by_filter** `string | null` Kibana user profile UID of the note author (list mode only). Default: `null`. **document_ids** `array[string] | null` Event/alert document `_id` values whose notes to return. Default: `null`. **filter** `string | null` KQL filter string (list mode only). Default: `null`. **page** `integer | null` Page number (list mode only). Default: `null`. **per_page** `integer | null` Page size (list mode only). Default: `null`. **saved_object_ids** `array[string] | null` Timeline `savedObjectId` values whose notes to return. Default: `null`. **search** `string | null` Search string (list mode only). Default: `null`. **sort_field** `string | null` Field to sort by (list mode only). Default: `null`. **sort_order** `string | null` Possible values: asc, desc (list mode only). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## List response actions Action ID: `tools.elastic_security.list_response_actions` List Elastic Endpoint response actions. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-endpointgetactionslist](https://www.elastic.co/docs/api/doc/kibana/operation/operation-endpointgetactionslist) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **agentIds** `array[string] | null` A list of Elastic Agent IDs to filter the response actions by. Default: `null`. **agentTypes** `string | null` The agent type to filter response actions by. Defaults to `endpoint`. Allowed values are `endpoint`, `sentinel_one`, `crowdstrike`, `microsoft_defender_endpoint`. Default: `null`. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **commands** `array[string] | null` A list of response action command names to filter by. Allowed values are `isolate`, `unisolate`, `kill-process`, `suspend-process`, `running-processes`, `get-file`, `execute`, `upload`, `scan`, `runscript`, `cancel`, `memory-dump`. Default: `null`. **endDate** `string | null` An end date in ISO 8601 format or Date Math format (for example, `now`). Default: `null`. **page** `integer | null` The page number to return. Default: `null`. **pageSize** `integer | null` The number of response actions to return per page. Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **startDate** `string | null` A start date in ISO 8601 format or Date Math format (for example, `now-24h`). Default: `null`. **types** `array[string] | null` A list of response action types to filter by (`automated`, `manual`). Default: `null`. **userIds** `array[string] | null` A list of user IDs that submitted the response actions. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. **withOutputs** `array[string] | null` A list of response action IDs whose outputs should be included in the response. Default: `null`. ## List timelines Action ID: `tools.elastic_security.list_timelines` List Elastic Security Timelines or Timeline templates. One page per call. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-gettimelines](https://www.elastic.co/docs/api/doc/kibana/operation/operation-gettimelines) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **only_user_favorite** `boolean | null` If `true`, only Timelines the current user marked as favorite are returned. Default: `null`. **page_index** `integer | null` How many pages to skip. Default: `null`. **page_size** `integer | null` How many results to return at once. Default: `null`. **search** `string | null` Search Timelines by title. Default: `null`. **sort_field** `string | null` Possible values: title, description, updated, created. Default: `null`. **sort_order** `string | null` Possible values: asc, desc. Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **status** `string | null` Possible values: active, draft, immutable. Default: `null`. **timeline_type** `string | null` Possible values: default, template. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## List value list items Action ID: `tools.elastic_security.list_value_list_items` List the items in an Elastic Security value list. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-findlistitems](https://www.elastic.co/docs/api/doc/kibana/operation/operation-findlistitems) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **list_id** `string` *required* Parent value list's `id` to page through items for. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **cursor** `string | null` Cursor returned by a previous call; pass it to continue listing from the next page. Default: `null`. **filter** `string | null` Filters the returned results according to the value of the specified field, using the `<field name>:<field value>` syntax. Default: `null`. **page** `integer | null` The page number to return. Default: `null`. **per_page** `integer | null` The number of results to return per page. Default: `null`. **sort_field** `string | null` Determines which field is used to sort the results. Default: `null`. **sort_order** `string | null` Determines the sort order. Possible values: asc, desc. Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## List value lists Action ID: `tools.elastic_security.list_value_lists` List Elastic Security value lists (used by exceptions and indicator-match rules). Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-findlists](https://www.elastic.co/docs/api/doc/kibana/operation/operation-findlists) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **cursor** `string | null` Cursor returned by a previous call; pass it to continue listing from the next page. Default: `null`. **filter** `string | null` Filters the returned results according to the value of the specified field, using the `<field name>:<field value>` syntax. Default: `null`. **page** `integer | null` The page number to return. Default: `null`. **per_page** `integer | null` The number of results to return per page. Default: `null`. **sort_field** `string | null` Determines which field is used to sort the results. Default: `null`. **sort_order** `string | null` Determines the sort order. Possible values: asc, desc. Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Patch detection rule Action ID: `tools.elastic_security.patch_detection_rule` Partially update an Elastic Security detection rule. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-patchrule](https://www.elastic.co/docs/api/doc/kibana/operation/operation-patchrule) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **payload** `object` *required* API-native JSON request body. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Preview detection rule Action ID: `tools.elastic_security.preview_detection_rule` Preview alerts generated by an Elastic Security detection rule. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-rulepreview](https://www.elastic.co/docs/api/doc/kibana/operation/operation-rulepreview) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **payload** `object` *required* API-native JSON request body. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **enable_logged_requests** `boolean | null` Enables logging and returning in response ES queries, performed during rule execution. Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Release endpoint Action ID: `tools.elastic_security.release_endpoint` Release one or more isolated Elastic Endpoints. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-endpointunisolateaction](https://www.elastic.co/docs/api/doc/kibana/operation/operation-endpointunisolateaction) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **payload** `object` *required* API-native request body. Documented fields: endpoint_ids (required), agent_type, alert_ids, case_ids, comment. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Run endpoint command Action ID: `tools.elastic_security.run_endpoint_command` Run a command on one or more Elastic Endpoints. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-endpointexecuteaction](https://www.elastic.co/docs/api/doc/kibana/operation/operation-endpointexecuteaction) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **payload** `object` *required* API-native request body. Documented fields: command (required), endpoint_ids (required), agent_type, alert_ids, case_ids, comment, timeout. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Run endpoint script Action ID: `tools.elastic_security.run_endpoint_script` Run a response script on one or more Elastic Endpoints. Requires Kibana 8.18+. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-runscriptaction](https://www.elastic.co/docs/api/doc/kibana/operation/operation-runscriptaction) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **payload** `object` *required* API-native request body. Documented fields: endpoint_ids (required), parameters (required), agent_type, alert_ids, case_ids, comment. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Run Osquery live query Action ID: `tools.elastic_security.run_osquery_live_query` Run an API-native Osquery live query against Elastic Agents for host investigation. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-osquerycreatelivequery](https://www.elastic.co/docs/api/doc/kibana/operation/operation-osquerycreatelivequery) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **payload** `object` *required* API-native live query JSON request body, including targets and query or pack details. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Scan endpoint path Action ID: `tools.elastic_security.scan_endpoint_path` Scan a file or directory on one or more Elastic Endpoints. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-endpointscanaction](https://www.elastic.co/docs/api/doc/kibana/operation/operation-endpointscanaction) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **payload** `object` *required* API-native request body. Documented fields: endpoint_ids (required), path (required), agent_type, alert_ids, case_ids, comment. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Search attack discoveries Action ID: `tools.elastic_security.search_attack_discoveries` Search existing Elastic Attack Discovery results using native filters and pagination. Requires Kibana 9.2+. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-attackdiscoveryfind](https://www.elastic.co/docs/api/doc/kibana/operation/operation-attackdiscoveryfind) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **alert_ids** `array[string] | null` Filter results to Attack discoveries that include any of the provided alert IDs. Default: `null`. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **connector_names** `array[string] | null` Filter results to Attack discoveries created by any of the provided human readable connector names. Note that values must match the human readable `connector_name` property of an Attack discovery, which are distinct from `connector_id` values used to generate Attack discoveries. Default: `null`. **enable_field_rendering** `boolean | null` Enables a markdown syntax used to render pivot fields. This is primarily used for Attack Discovery views within Kibana. Defaults to `false`. Default: `null`. **end** `string | null` End of the time range for the search. Accepts absolute timestamps (ISO 8601) or relative date math (e.g. "now", "now-24h"). Default: `null`. **ids** `array[string] | null` Filter results to the Attack discoveries with the specified IDs. Default: `null`. **include_all_authors** `boolean | null` If `true`, the response will include all attack discoveries matching other criteria regardless of who created them. Mutually exclusive with `shared`. Default: `null`. **include_unique_alert_ids** `boolean | null` If `true`, the response will include `unique_alert_ids` and `unique_alert_ids_count` aggregated across the matched Attack discoveries. Default: `null`. **page** `integer | null` Page number to return (used for pagination). Defaults to 1. Default: `null`. **per_page** `integer | null` Number of Attack discoveries to return per page (used for pagination). Defaults to 10. Default: `null`. **scheduled** `boolean | null` Whether to filter by scheduled or ad-hoc attack discoveries. If omitted, both types of attack discoveries are returned. Use `true` to return only scheduled discoveries or `false` to return only ad-hoc discoveries. Default: `null`. **search** `string | null` Free-text search query applied to relevant text fields of Attack discoveries (title, description, tags, etc.). Default: `null`. **shared** `boolean | null` Whether to filter by shared visibility. If omitted, both shared and privately visible Attack discoveries are returned. Use `true` to return only shared discoveries, `false` to return only those visible to the current user. Mutually exclusive with `include_all_authors`. Default: `null`. **sort_field** `string | null` Field used to sort results. Possible values: @timestamp. Defaults to @timestamp. Default: `null`. **sort_order** `string | null` Sort order direction, `asc` for ascending or `desc` for descending. Possible values: asc, desc. Defaults to desc. Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **start** `string | null` Start of the time range for the search. Accepts absolute timestamps (ISO 8601) or relative date math (e.g. "now-7d"). Default: `null`. **status** `array[string] | null` Filter by alert workflow status. Provide one or more of the allowed workflow states. Possible values: acknowledged, closed, open. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. **with_replacements** `boolean | null` When true, return the created Attack discoveries with text replacements applied to the detailsMarkdown, entitySummaryMarkdown, summaryMarkdown, and title fields. Defaults to `true`. Default: `null`. ## Search attacks Action ID: `tools.elastic_security.search_attacks` Find and/or aggregate Attack Discovery attack alerts with Elasticsearch Query DSL. Requires Kibana 9.5+. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-searchattacks](https://www.elastic.co/docs/api/doc/kibana/operation/operation-searchattacks) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **payload** `object` *required* API-native JSON request body. Optional `query`, `aggs`, `size`, `sort`, `_source`, `fields`, `runtime_mappings`, `track_total_hits`. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Search detection alerts Action ID: `tools.elastic_security.search_detection_alerts` Find or aggregate Elastic Security detection alerts using the API-native search body. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-searchalerts](https://www.elastic.co/docs/api/doc/kibana/operation/operation-searchalerts) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **payload** `object` *required* API-native JSON request body. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Search entities Action ID: `tools.elastic_security.search_entities` Search Elastic Entity Store records for investigation context, including entity risk and asset data. On Kibana 8.18 to 9.3, set `use_legacy_endpoint` to true. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-get-security-entity-store-entities](https://www.elastic.co/docs/api/doc/kibana/operation/operation-get-security-entity-store-entities) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **entity_types** `array[string] | null` Entity types to include in the results. Possible values: user, host, service, generic. Default: `null`. **fields** `array[string] | null` Fields to include in the response. Default: `null`. **filter** `string | null` A Kibana Query Language (KQL) filter for the search-after mode. Default: `null`. **filterQuery** `string | null` An Elasticsearch query string to filter entities in page mode. Default: `null`. **page** `integer | null` Page number to return (1-indexed) in page mode. Default: `null`. **per_page** `integer | null` Number of entities per page in page mode. Default: `null`. **searchAfter** `string | null` JSON-encoded search_after value for cursor-based pagination. Default: `null`. **size** `integer | null` Number of entities to return in search-after mode. Default: `null`. **sort_field** `string | null` Field to sort results by in page mode. Default: `null`. **sort_order** `string | null` Sort order in page mode. Possible values: asc, desc. Default: `null`. **source** `array[string] | null` Fields to include in the response source. Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **use_legacy_endpoint** `boolean` Set to true on Kibana 8.18 to 9.3, which serve this list at GET /api/entity_store/entities/list (Kibana 9.4+ uses /api/security/entity_store/entities; legacy docs: [https://www.elastic.co/docs/api/doc/kibana/v8/operation/operation-listentities](https://www.elastic.co/docs/api/doc/kibana/v8/operation/operation-listentities)). The legacy endpoint requires `entity_types` and only accepts `sort_field`, `sort_order`, `page`, `per_page`, and `filterQuery`. Default: `false`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Set attack status Action ID: `tools.elastic_security.set_attack_status` Set the workflow status of Attack Discovery attack alerts. Requires Kibana 9.5+. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-setattacksstatus](https://www.elastic.co/docs/api/doc/kibana/operation/operation-setattacksstatus) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **payload** `object` *required* API-native JSON request body. Requires `ids` and `status` (`open`, `acknowledged`, `in-progress`, or `closed`); optional `update_related_alerts`, and `reason` when closing. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Set detection alert status Action ID: `tools.elastic_security.set_detection_alert_status` Set the status of Elastic Security detection alerts. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-setalertsstatus](https://www.elastic.co/docs/api/doc/kibana/operation/operation-setalertsstatus) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **payload** `object` *required* API-native JSON request body. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Suspend endpoint process Action ID: `tools.elastic_security.suspend_endpoint_process` Suspend a process on one or more Elastic Endpoints. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-endpointsuspendprocessaction](https://www.elastic.co/docs/api/doc/kibana/operation/operation-endpointsuspendprocessaction) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **payload** `object` *required* API-native request body. Documented fields: endpoint_ids (required), parameters (required), agent_type, alert_ids, case_ids, comment. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Terminate endpoint process Action ID: `tools.elastic_security.terminate_endpoint_process` Terminate a process on one or more Elastic Endpoints. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-endpointkillprocessaction](https://www.elastic.co/docs/api/doc/kibana/operation/operation-endpointkillprocessaction) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **payload** `object` *required* API-native request body. Documented fields: endpoint_ids (required), parameters (required), agent_type, alert_ids, case_ids, comment. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Update attack tags Action ID: `tools.elastic_security.update_attack_tags` Add or remove tags on Attack Discovery attack alerts. Requires Kibana 9.5+. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-setattackstags](https://www.elastic.co/docs/api/doc/kibana/operation/operation-setattackstags) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **ids** `array[string]` *required* A list of attack alert `id`s. **tags** `object` *required* Object with `tags_to_add` and `tags_to_remove`, each a list of tags. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **update_related_alerts** `boolean` When `true`, the change is also applied to detection alerts related to the attacks. Default: `false`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Update detection alert tags Action ID: `tools.elastic_security.update_detection_alert_tags` Add or remove tags on Elastic Security detection alerts. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-setalerttags](https://www.elastic.co/docs/api/doc/kibana/operation/operation-setalerttags) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **ids** `array[string]` *required* A list of alerts `id`s. **tags** `object` *required* Object with list of tags to add and remove. Requires `tags_to_add` and `tags_to_remove`, each a list of keywords to organize related alerts into categories that you can filter and group. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Upload endpoint file Action ID: `tools.elastic_security.upload_endpoint_file` Upload a file to one or more Elastic Endpoints. Reference: [https://www.elastic.co/docs/api/doc/kibana/operation/operation-endpointuploadaction](https://www.elastic.co/docs/api/doc/kibana/operation/operation-endpointuploadaction) ### Secrets Required secrets: * `elastic_security`: required values `ELASTIC_API_KEY`. ### Input fields **base64_content** `string` *required* Base64-encoded file content. **filename** `string` *required* Filename sent to Elastic. **payload** `object` *required* API-native multipart fields, such as endpoint_ids and parameters. **base_url** `string | null` Kibana base URL (e.g. [https://localhost:5601](https://localhost:5601)). Default: `null`. **content_type** `string` MIME type of the uploaded file. Default: `"application/octet-stream"`. **space_id** `string | null` Optional Kibana space ID. Omit for the default space. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. # Elasticsearch Source: https://docs.tracecat.com/tools/elasticsearch Reference for the Tracecat Elasticsearch integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Count documents Action ID: `tools.elasticsearch.count_documents` Count documents matching an optional Query DSL query. Reference: [https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-count](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-count) ### Secrets Required secrets: * `elasticsearch`: required values `ELASTIC_API_KEY`. ### Input fields **index** `string` *required* Comma-separated index, data stream, or alias names. Use `_all` or `*` for all. **base_url** `string | null` Elasticsearch base URL (e.g. [https://localhost:9200](https://localhost:9200)). Default: `null`. **params** `object | null` Optional native Elasticsearch query parameters. Default: `null`. **payload** `object | null` Optional JSON request body, e.g. `{"query": {...}}`. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Delete document Action ID: `tools.elasticsearch.delete_document` Delete an Elasticsearch document by ID. Reference: [https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-delete](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-delete) ### Secrets Required secrets: * `elasticsearch`: required values `ELASTIC_API_KEY`. ### Input fields **document_id** `string` *required* Document ID. **index** `string` *required* Index, data stream, or alias name. **base_url** `string | null` Elasticsearch base URL (e.g. [https://localhost:9200](https://localhost:9200)). Default: `null`. **params** `object | null` Optional native Elasticsearch query parameters. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Get document Action ID: `tools.elasticsearch.get_document` Get an Elasticsearch document by ID. Reference: [https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-get](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-get) ### Secrets Required secrets: * `elasticsearch`: required values `ELASTIC_API_KEY`. ### Input fields **document_id** `string` *required* Document ID. **index** `string` *required* Index name. **base_url** `string | null` Elasticsearch base URL (e.g. [https://localhost:9200](https://localhost:9200)). Default: `null`. **params** `object | null` Optional native Elasticsearch query parameters. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Get field capabilities Action ID: `tools.elasticsearch.get_field_capabilities` Get the type and searchable/aggregatable capabilities of fields across indices. Reference: [https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-field-caps](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-field-caps) ### Secrets Required secrets: * `elasticsearch`: required values `ELASTIC_API_KEY`. ### Input fields **fields** `string` *required* Comma-separated field names or wildcard patterns (e.g. `*`). **index** `string` *required* Comma-separated index, data stream, or alias names. Use `_all` or `*` for all. **base_url** `string | null` Elasticsearch base URL (e.g. [https://localhost:9200](https://localhost:9200)). Default: `null`. **payload** `object | null` Optional JSON request body, e.g. `index_filter` or `runtime_mappings`. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Get mapping Action ID: `tools.elasticsearch.get_mapping` Get mapping definitions for an Elasticsearch index. Reference: [https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-get-mapping](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-get-mapping) ### Secrets Required secrets: * `elasticsearch`: required values `ELASTIC_API_KEY`. ### Input fields **index** `string` *required* Index name or pattern. **base_url** `string | null` Elasticsearch base URL (e.g. [https://localhost:9200](https://localhost:9200)). Default: `null`. **params** `object | null` Optional native Elasticsearch query parameters. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Index document Action ID: `tools.elasticsearch.index_document` Create or replace a document in an Elasticsearch index or data stream. Omit `document_id` to let Elasticsearch generate one. Reference: [https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-index](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-index) ### Secrets Required secrets: * `elasticsearch`: required values `ELASTIC_API_KEY`. ### Input fields **document** `object` *required* The document source as JSON. **index** `string` *required* Index, data stream, or alias name. **base_url** `string | null` Elasticsearch base URL (e.g. [https://localhost:9200](https://localhost:9200)). Default: `null`. **document_id** `string | null` Document ID. Omit to auto-generate. Default: `null`. **params** `object | null` Optional native Elasticsearch query parameters. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## List indexes Action ID: `tools.elasticsearch.list_indexes` List indexes in the Elasticsearch cluster as JSON. Reference: [https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cat-indices](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cat-indices) ### Secrets Required secrets: * `elasticsearch`: required values `ELASTIC_API_KEY`. ### Input fields **base_url** `string | null` Elasticsearch base URL (e.g. [https://localhost:9200](https://localhost:9200)). Default: `null`. **index** `string | null` Optional index name or pattern to filter the response. Default: `null`. **params** `object | null` Optional native cat indices query parameters. The format parameter is always set to json. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Run EQL query Action ID: `tools.elasticsearch.eql` Run an API-native Event Query Language query for event correlation and threat hunting. Reference: [https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-eql-search](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-eql-search) ### Secrets Required secrets: * `elasticsearch`: required values `ELASTIC_API_KEY`. ### Input fields **index** `string` *required* Index, data stream, alias, or comma-separated target pattern to search. **payload** `object` *required* API-native EQL JSON request body, including the query string. **base_url** `string | null` Elasticsearch base URL (e.g. [https://localhost:9200](https://localhost:9200)). Default: `null`. **params** `object | null` Optional native EQL query parameters. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Run ES|QL query Action ID: `tools.elasticsearch.esql` Run an API-native ES|QL query for security investigation and threat hunting. Reference: [https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-esql-query](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-esql-query) ### Secrets Required secrets: * `elasticsearch`: required values `ELASTIC_API_KEY`. ### Input fields **payload** `object` *required* API-native ES|QL JSON request body, including the query string. **base_url** `string | null` Elasticsearch base URL (e.g. [https://localhost:9200](https://localhost:9200)). Default: `null`. **params** `object | null` Optional native ES|QL query parameters, such as response format. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Search events Action ID: `tools.elasticsearch.search_events` Search Elasticsearch events with a query DSL body and result limit. Reference: [https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search) ### Secrets Required secrets: * `elasticsearch`: required values `ELASTIC_API_KEY`. ### Input fields **query** `object` *required* Elasticsearch query DSL. **base_url** `string | null` Elasticsearch base URL (e.g. [https://localhost:9200](https://localhost:9200)). Default: `null`. **index** `string | null` Index name to search. If not specified, searches all indices. Default: `null`. **limit** `integer` Maximum number of events to return. Default: `100`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## SQL query Action ID: `tools.elasticsearch.sql_query` Run an Elasticsearch SQL query. Pass `cursor` from a previous response to fetch the next page. Reference: [https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-sql-query](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-sql-query) ### Secrets Required secrets: * `elasticsearch`: required values `ELASTIC_API_KEY`. ### Input fields **payload** `object` *required* API-native JSON request body, e.g. `query`, `fetch_size`, `filter`, `params`, `time_zone`, or `cursor`. **base_url** `string | null` Elasticsearch base URL (e.g. [https://localhost:9200](https://localhost:9200)). Default: `null`. **params** `object | null` Optional native Elasticsearch query parameters. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Update document Action ID: `tools.elasticsearch.update_document` Partially update an Elasticsearch document by ID (`doc`), with a script, or as an upsert. Reference: [https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-update](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-update) ### Secrets Required secrets: * `elasticsearch`: required values `ELASTIC_API_KEY`. ### Input fields **document_id** `string` *required* Document ID. **index** `string` *required* Index, data stream, or alias name. **payload** `object` *required* API-native JSON request body, e.g. `doc` (partial document), `script`, `upsert`, `doc_as_upsert`, `detect_noop`. **base_url** `string | null` Elasticsearch base URL (e.g. [https://localhost:9200](https://localhost:9200)). Default: `null`. **params** `object | null` Optional native Elasticsearch query parameters. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. # EmailRep Source: https://docs.tracecat.com/tools/emailrep Reference for the Tracecat EmailRep integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Lookup email Action ID: `tools.emailrep.lookup_email` Lookup an email address in the EmailRep database. Reference: [https://docs.sublime.security/reference/get\_-email](https://docs.sublime.security/reference/get_-email) ### Secrets Required secrets: * `emailrep`: required values `EMAILREP_API_KEY`. ### Input fields **email** `string` *required* Email to lookup. **include_summary** `boolean` Whether to include the summary of the email. Default: `true`. ## Report email address Action ID: `tools.emailrep.report_email_address` Report a malicious or suspicious email address to EmailRep. Reference: [https://docs.sublime.security/reference/post_report](https://docs.sublime.security/reference/post_report) ### Secrets Required secrets: * `emailrep`: required values `EMAILREP_API_KEY`. ### Input fields **payload** `object` *required* API-native request body. Documented fields: email (required), tags (required), description, expires, timestamp. # Exa Source: https://docs.tracecat.com/tools/exa Reference for the Tracecat Exa integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Answer Action ID: `tools.exa.answer` Answer a question with Exa search-grounded citations. Reference: [https://exa.ai/docs/reference/answer](https://exa.ai/docs/reference/answer) ### Secrets Required secrets: * `exa`: required values `EXA_API_KEY`. ### Input fields **query** `string` *required* Natural-language question or instructions for the request. **outputSchema** `object | null` JSON Schema Draft 7 object for structured answer output. Default: `null`. **text** `boolean | null` Return full page text in citations when true. Default: `null`. ## Deep research Action ID: `tools.exa.deep_research` Run Exa deep-reasoning search for research-style discovery and synthesis. Reference: [https://exa.ai/docs/changelog/may-2026-api-deprecations](https://exa.ai/docs/changelog/may-2026-api-deprecations) ### Secrets Required secrets: * `exa`: required values `EXA_API_KEY`. ### Input fields **query** `string` *required* Natural language research query or instructions. **additionalQueries** `array[string] | null` Additional query variations used alongside the main query. Default: `null`. **compliance** `string | null` Optional Exa enterprise compliance mode. Default: `null`. **contents** `object | null` Optional Exa contents options nested under the search request contents field. Default: `null`. **numResults** `integer | null` Number of results to return. Exa supports 1 to 100. Default: `null`. **outputSchema** `object | null` JSON schema for synthesized output. Supported root types are text and object. Default: `null`. **systemPrompt** `string | null` Additional instructions that guide synthesized output or search planning. Default: `null`. ## Get contents Action ID: `tools.exa.get_contents` Get clean page contents, highlights, summaries, and metadata for URLs or Exa result IDs. Reference: [https://exa.ai/docs/reference/contents-api-guide-for-coding-agents](https://exa.ai/docs/reference/contents-api-guide-for-coding-agents) ### Secrets Required secrets: * `exa`: required values `EXA_API_KEY`. ### Input fields **urls** `array[string]` *required* URLs or Exa result IDs to extract content from. **compliance** `string | null` Optional Exa enterprise compliance mode. Default: `null`. **extras** `object | null` Optional Exa extras options, such as links or imageLinks. Default: `null`. **highlights** `boolean | object | null` Return extractive key excerpts, or Exa highlight options. Default: `null`. **livecrawlTimeout** `integer | null` Timeout for livecrawling in milliseconds. Default: `null`. **maxAgeHours** `integer | null` Maximum age of cached content in hours. Use 0 to always livecrawl or -1 for cache-only. Default: `null`. **subpageTarget** `string | array[string] | null` Keywords to prioritize when selecting subpages. Default: `null`. **subpages** `integer | null` Number of subpages to crawl for each URL. Default: `null`. **summary** `boolean | object | null` Return LLM-generated summaries, or Exa summary options. Default: `null`. **text** `boolean | object | null` Return full page text as markdown, or Exa text options. Default: `true`. ## Search companies Action ID: `tools.exa.search_companies` Search Exa's company index for company profiles and typed company metadata as a second opinion for company-enrichment workflows. Reference: [https://exa.ai/docs/reference/verticals/company-for-coding-agents](https://exa.ai/docs/reference/verticals/company-for-coding-agents) ### Secrets Required secrets: * `exa`: required values `EXA_API_KEY`. ### Input fields **query** `string` *required* Natural language company search query. Encode industry, funding stage, headcount, geography, technology, similarity, and timing constraints in the query string. **contents** `object | null` Optional Exa contents options nested under the search request contents field, such as highlights, text, or summary. Default: `null`. **numResults** `integer | null` Number of company results to return. Exa supports 1 to 100. Default: `null`. **outputSchema** `object | null` Optional JSON schema for structured output when using deep search modes. Default: `null`. **type** `string | null` Search method. Exa recommends auto; deep and deep-reasoning also work. Default: `"auto"`. ## Search news Action ID: `tools.exa.search_news` Search Exa's news index for current events, journalism, campaign chatter, and executive-protection monitoring. Reference: [https://exa.ai/docs/reference/verticals/news-for-coding-agents](https://exa.ai/docs/reference/verticals/news-for-coding-agents) ### Secrets Required secrets: * `exa`: required values `EXA_API_KEY`. ### Input fields **query** `string` *required* Natural language news query for a topic, company, person, event, domain, product, vulnerability, or campaign artifact. **compliance** `string | null` Optional Exa enterprise compliance mode. Default: `null`. **contents** `object | null` Optional Exa contents options nested under the search request contents field, such as highlights, text, summary, maxAgeHours, subpages, or extras. Default: `null`. **endPublishedDate** `string | null` ISO 8601 upper bound for published date. Default: `null`. **excludeDomains** `array[string] | null` Exclude news results from these domains. Default: `null`. **includeDomains** `array[string] | null` Only return news results from these domains. Default: `null`. **numResults** `integer | null` Number of news results to return. Exa supports 1 to 100. Default: `null`. **outputSchema** `object | null` Optional JSON schema for structured output when using Exa synthesis. Default: `null`. **startPublishedDate** `string | null` ISO 8601 lower bound for published date. Default: `null`. **type** `string | null` Search method. Exa recommends auto for news; use fast or instant when latency matters. Default: `"auto"`. ## Search people Action ID: `tools.exa.search_people` Search Exa's people index for professional profiles as a second opinion for people-enrichment workflows. Reference: [https://exa.ai/docs/reference/verticals/people-for-coding-agents](https://exa.ai/docs/reference/verticals/people-for-coding-agents) ### Secrets Required secrets: * `exa`: required values `EXA_API_KEY`. ### Input fields **query** `string` *required* Natural language people search query. Encode role, skill, company, location, seniority, and other constraints in the query string. **contents** `object | null` Optional Exa contents options nested under the search request contents field, such as highlights, text, or summary. Default: `null`. **numResults** `integer | null` Number of people results to return. Exa supports 1 to 100. Default: `null`. **outputSchema** `object | null` Optional JSON schema for structured output when using deep search modes. Default: `null`. **type** `string | null` Search method. Exa recommends auto; deep and deep-reasoning also work. Default: `"auto"`. ## Search the web Action ID: `tools.exa.search` Search the web with Exa, with optional advanced filters and content extraction. Reference: [https://exa.ai/docs/reference/search-api-guide-for-coding-agents](https://exa.ai/docs/reference/search-api-guide-for-coding-agents) ### Secrets Required secrets: * `exa`: required values `EXA_API_KEY`. ### Input fields **query** `string` *required* Natural language search query. Supports long, semantically rich descriptions. **additionalQueries** `array[string] | null` Additional query variations for deep-search variants. Default: `null`. **category** `string | null` Optional content category. Known categories include company, people, research paper, news, personal site, and financial report; Exa also accepts other category hints. Default: `null`. **compliance** `string | null` Optional Exa enterprise compliance mode. Default: `null`. **contents** `object | null` Optional Exa contents options nested under the search request contents field, such as highlights, text, summary, maxAgeHours, subpages, or extras. Default: `null`. **endPublishedDate** `string | null` ISO 8601 upper bound for published date. Not supported for company or people category searches. Default: `null`. **excludeDomains** `array[string] | null` Exclude results from these domains. Not supported for company or people category searches. Default: `null`. **includeDomains** `array[string] | null` Only return results from these domains. Exa supports domain path filters and subdomain wildcards. Default: `null`. **moderation** `boolean | null` Filter unsafe content from search results. Default: `null`. **numResults** `integer | null` Number of results to return. Exa supports 1 to 100. Default: `null`. **outputSchema** `object | null` JSON schema for synthesized output. Supported root types are text and object. Default: `null`. **startPublishedDate** `string | null` ISO 8601 lower bound for published date. Not supported for company or people category searches. Default: `null`. **systemPrompt** `string | null` Additional instructions that guide synthesized output or deep-search planning. Default: `null`. **type** `string | null` Search method. Exa supports auto, instant, fast, deep-lite, deep, and deep-reasoning. Default: `"auto"`. **userLocation** `string | null` Two-letter ISO country code used to bias search results. Default: `null`. # FalconPy Source: https://docs.tracecat.com/tools/falconpy Reference for the Tracecat FalconPy integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Call command Action ID: `tools.falconpy.call_command` Binary responses are returned as `{"content_base64": ...}`. Reference: [https://falconpy.io/Usage/Basic-Uber-Class-usage.html](https://falconpy.io/Usage/Basic-Uber-Class-usage.html) ### Secrets Required secrets: * `crowdstrike`: required values `CROWDSTRIKE_CLIENT_ID`, `CROWDSTRIKE_CLIENT_SECRET`. ### Input fields **operation_id** `string` *required* Operation ID from [https://www.falconpy.io/Operations/All-Operations.html](https://www.falconpy.io/Operations/All-Operations.html) **base_url** `string | null` Base URL for the Falcon API Default: `null`. **extra_kwargs** `object | null` Extra keyword arguments to pass to the Falcon API Default: `null`. **member_cid** `string | null` Multi-tenant customer ID Default: `null`. **params** `object | null` Parameters to pass into the command Default: `null`. # FIRST EPSS Source: https://docs.tracecat.com/tools/first_epss Reference for the Tracecat FIRST EPSS integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Get time series Action ID: `tools.first_epss.get_time_series` Get an EPSS time series. Calls GET /data/v1/epss directly with scope=time-series for one CVE. Reference: [https://api.first.org/epss/](https://api.first.org/epss/) ### Input fields **cve** `string` *required* Filters by EPSS CVE ID. Multiple values are supported separated by commas. The maximum size accepted for this parameter is 2000 characters (including commas). **base_url** `string | null` Base URL of the FIRST API. Default: `null`. **date** `string | null` Date in the format YYYY-MM-DD (since April 14, 2021), shows the historic values for epss and percentile attributes. Default: `null`. ## Lookup CVE scores Action ID: `tools.first_epss.lookup_cve_scores` Look up CVE scores. Calls GET /data/v1/epss directly for one or more CVE identifiers. Reference: [https://api.first.org/epss/](https://api.first.org/epss/) ### Input fields **cve** `string` *required* Filters by EPSS CVE ID. Multiple values are supported separated by commas. The maximum size accepted for this parameter is 2000 characters (including commas). **base_url** `string | null` Base URL of the FIRST API. Default: `null`. **date** `string | null` Date in the format YYYY-MM-DD (since April 14, 2021), shows the historic values for epss and percentile attributes. Default: `null`. **limit** `integer | null` Limits the maximun number of records to be shown. Should be an integer number between 0 and 10,000. Default: `null`. **offset** `integer | null` Offsets the list of records by this number. The first item is 0. Default: `null`. ## Search scores Action ID: `tools.first_epss.search_scores` Search EPSS scores. Calls GET /data/v1/epss directly with FIRST API-native filters. Reference: [https://api.first.org/epss/](https://api.first.org/epss/) ### Input fields **base_url** `string | null` Base URL of the FIRST API. Default: `null`. **date** `string | null` Date in the format YYYY-MM-DD (since April 14, 2021), shows the historic values for epss and percentile attributes. Default: `null`. **days** `integer | null` Number of days since the EPSS score was added to the database (starting at 1, not affected by the date parameter). Default: `null`. **epss_gt** `number | null` Only display CVEs with EPSS score greater or equal than the parameter. Default: `null`. **epss_lt** `number | null` Only display CVEs with EPSS score lower or equal than the parameter. Default: `null`. **limit** `integer | null` Limits the maximun number of records to be shown. Should be an integer number between 0 and 10,000. Default: `null`. **offset** `integer | null` Offsets the list of records by this number. The first item is 0. Default: `null`. **percentile_gt** `number | null` Only display CVEs with percentile greater or equal than the parameter. Default: `null`. **percentile_lt** `number | null` Only display CVEs with percentile lower or equal than the parameter. Default: `null`. **q** `string | null` Free text search at the CVE ID (allows partial matches). Default: `null`. # Fleet Source: https://docs.tracecat.com/tools/fleetdm Reference for the Tracecat Fleet integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Count hosts Action ID: `tools.fleetdm.count_hosts` Count hosts matching the given filters without returning host records. Reference: [https://fleetdm.com/docs/rest-api/rest-api#count-hosts](https://fleetdm.com/docs/rest-api/rest-api#count-hosts) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **after** `string | null` The value to get results after. This needs `order_key` defined, as that's the column that would be used. Default: `null`. **bootstrap_package** `string | null` *Available in Fleet Premium*. Filters the hosts by the status of the MDM bootstrap package on the host. Valid options are 'installed', 'pending', or 'failed'. **Note: If this filter is used in Fleet Premium without a fleet ID filter, the results include only "Unassigned" hosts.** Default: `null`. **fleet_id** `integer | null` Scope the count to a fleet (team) ID. Default: `null`. **label_id** `integer | null` A valid label ID. Can only be used in combination with `order_key`, `order_direction`, `after`, `status`, `query` and `fleet_id`. Default: `null`. **low_disk_space** `integer | null` Only count hosts with less than this many GB of disk space. Default: `null`. **mdm_enrollment_status** `string | null` MDM enrollment filter (manual, automatic, enrolled, pending, unenrolled). Default: `null`. **mdm_id** `integer | null` The ID of the *mobile device management* (MDM) solution to filter hosts by (that is, filter hosts that use a specific MDM provider and URL). Default: `null`. **mdm_name** `string | null` The name of the *mobile device management* (MDM) solution to filter hosts by (that is, filter hosts that use a specific MDM provider). Default: `null`. **munki_issue_id** `integer | null` The ID of the *munki issue* (a Munki-reported error or warning message) to filter hosts by (that is, filter hosts that are affected by that corresponding error or warning message). Default: `null`. **order_direction** `string | null` **Requires `order_key`**. The direction of the order given the order key. Options include `"asc"` and `"desc"`. Default is `"asc"`. Default: `null`. **order_key** `string | null` What to order results by. Can be any column in the hosts table. Default: `null`. **os_name** `string | null` The name of the operating system to filter hosts by. `os_version` must also be specified with `os_name` Default: `null`. **os_settings** `string | null` Filters the hosts by the status of the operating system settings applied to the hosts. Valid options are 'verified', 'verifying', 'pending', or 'failed'. **Note: If this filter is used in Fleet Premium without a fleet ID filter, the results include only "Unassigned" hosts.** Default: `null`. **os_settings_disk_encryption** `string | null` Disk encryption status filter (verified, verifying, action_required, enforcing, failed, removing_enforcement). Default: `null`. **os_version** `string | null` The version of the operating system to filter hosts by. `os_name` must also be specified with `os_version` Default: `null`. **os_version_id** `integer | null` The ID of the operating system version to filter hosts by. Default: `null`. **policy_id** `integer | null` Filter by hosts evaluated against this policy ID (pair with policy_response). Default: `null`. **policy_response** `string | null` Policy compliance filter for policy_id (passing or failing). Default: `null`. **query** `string | null` Search string matched against hostname, IP, serial, and UUID. Default: `null`. **software_title_id** `integer | null` The ID of the software title to filter hosts by. Default: `null`. **software_version_id** `integer | null` Only count hosts that have this software version installed. Default: `null`. **status** `string | null` Host status filter (online, offline, new, mia, missing). Default: `null`. **vulnerability** `string | null` Only count hosts affected by this CVE (e.g. CVE-2024-1234). Default: `null`. ## Create global policy Action ID: `tools.fleetdm.create_global_policy` Create a global compliance policy from an osquery SQL check. Reference: [https://fleetdm.com/docs/rest-api/rest-api#create-policy](https://fleetdm.com/docs/rest-api/rest-api#create-policy) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **name** `string` *required* Name of the policy. **query** `string` *required* The osquery SQL statement that hosts must satisfy to pass. **critical** `boolean | null` Mark the policy as critical (Fleet Premium). Default: `null`. **description** `string | null` Human-readable description of the policy. Default: `null`. **platform** `string | null` Comma-separated platforms the policy targets (e.g. darwin,windows,linux). Default: `null`. **resolution** `string | null` Remediation guidance shown for failing hosts. Default: `null`. ## Create report Action ID: `tools.fleetdm.create_report` Create a saved report (saved query) in Fleet. Reference: [https://fleetdm.com/docs/rest-api/rest-api#create-report](https://fleetdm.com/docs/rest-api/rest-api#create-report) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **name** `string` *required* Name of the saved report. **query** `string` *required* The SQL query the report collects data with. **description** `string | null` Human-readable description of the report. Default: `null`. **fleet_id** `integer | null` Fleet (team) ID to scope the report to. Default: `null`. **interval** `integer | null` Schedule interval in seconds (0 or null for an unscheduled report). Default: `null`. **platform** `string | null` Comma-separated platforms the report targets (e.g. darwin,windows,linux). Default: `null`. ## Delete host Action ID: `tools.fleetdm.delete_host` Delete a host from Fleet by its numeric ID. Reference: [https://fleetdm.com/docs/rest-api/rest-api#delete-host](https://fleetdm.com/docs/rest-api/rest-api#delete-host) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **host_id** `integer` *required* Numeric Fleet host ID. ## Get current user Action ID: `tools.fleetdm.get_me` Get the authenticated Fleet user and its roles and accessible fleets. Reference: [https://fleetdm.com/docs/rest-api/rest-api#me](https://fleetdm.com/docs/rest-api/rest-api#me) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string | null` Fleet server base URL. Uses VARS.fleetdm.base_url when omitted. Default: `null`. **include_ui_settings** `boolean | null` If set to true, includes the columns the user hides on the **Hosts** page (default: `false`). Default: `null`. ## Get disk encryption summary Action ID: `tools.fleetdm.get_disk_encryption_summary` Get aggregate disk encryption (FileVault and BitLocker) status counts by OS. Reference: [https://fleetdm.com/docs/rest-api/rest-api#get-disk-encryption-status](https://fleetdm.com/docs/rest-api/rest-api#get-disk-encryption-status) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **fleet_id** `integer | null` Scope the summary to a fleet (team) ID. Default: `null`. ## Get fleet policy Action ID: `tools.fleetdm.get_fleet_policy` Get a fleet-level policy with its passing and failing host counts. Reference: [https://fleetdm.com/docs/rest-api/rest-api#get-fleet-level-policy](https://fleetdm.com/docs/rest-api/rest-api#get-fleet-level-policy) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **fleet_id** `integer` *required* Defines what fleet ID to operate on **policy_id** `integer` *required* The policy's ID. **base_url** `string | null` Fleet server base URL. Uses VARS.fleetdm.base_url when omitted. Default: `null`. ## Get global policy Action ID: `tools.fleetdm.get_global_policy` Get a single global policy including its pass and fail host counts. Reference: [https://fleetdm.com/docs/rest-api/rest-api#get-policy](https://fleetdm.com/docs/rest-api/rest-api#get-policy) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **policy_id** `integer` *required* Numeric Fleet policy ID. ## Get host Action ID: `tools.fleetdm.get_host` Get full details for a single host by its numeric Fleet ID, including inventoried users and per-host policy responses. Reference: [https://fleetdm.com/docs/rest-api/rest-api#get-host](https://fleetdm.com/docs/rest-api/rest-api#get-host) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **host_id** `integer` *required* Numeric Fleet host ID. **exclude_fleet_maintained_policies** `boolean | null` If true, omit Fleet-maintained policies from the host's policy list. Default: `null`. **exclude_software** `boolean | null` If true, omit the host's installed software from the response. Default: `null`. ## Get host activities Action ID: `tools.fleetdm.get_host_activities` List the past activity audit trail for a single host. Reference: [https://fleetdm.com/docs/rest-api/rest-api#get-hosts-past-activity](https://fleetdm.com/docs/rest-api/rest-api#get-hosts-past-activity) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **host_id** `integer` *required* Numeric Fleet host ID. **after** `string | null` The value to get results after. This needs `order_key` defined, as that's the column that would be used. Default: `null`. **order_direction** `string | null` **Requires `order_key`**. The direction of the order given the order key. Options include `"asc"` and `"desc"`. Default is `"asc"`. Default: `null`. **order_key** `string | null` What to order results by. Allowed fields are `id`, `created_at`, `user_id`, `activity_type`, `user_name`, `user_email`, and `fleet_initiated`. Default: `null`. **page** `integer` Page number to retrieve (0-indexed). Default: `0`. **per_page** `integer` Activities per page. Maximum is 10,000 records. Default: `50`. ## Get host by identifier Action ID: `tools.fleetdm.get_host_by_identifier` Get full details for a single host by hostname, UUID, or hardware serial, including inventoried users and per-host policy responses. Reference: [https://fleetdm.com/docs/rest-api/rest-api#get-host-by-identifier](https://fleetdm.com/docs/rest-api/rest-api#get-host-by-identifier) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **identifier** `string` *required* The host's hostname, UUID, or hardware serial. **exclude_fleet_maintained_policies** `boolean | null` If true, omit Fleet-maintained policies from the host's policy list. Default: `null`. **exclude_software** `boolean | null` If true, omit the host's installed software from the response. Default: `null`. ## Get host configuration profiles Action ID: `tools.fleetdm.get_host_configuration_profiles` Get the OS settings and configuration profiles applied to a host. Reference: [https://fleetdm.com/docs/rest-api/rest-api#get-hosts-os-settings-configuration-profile](https://fleetdm.com/docs/rest-api/rest-api#get-hosts-os-settings-configuration-profile) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **host_id** `integer` *required* Numeric Fleet host ID. ## Get host encryption key Action ID: `tools.fleetdm.get_host_encryption_key` Get a host's disk encryption recovery key (FileVault or BitLocker). Reference: [https://fleetdm.com/docs/rest-api/rest-api#get-hosts-disk-encryption-key](https://fleetdm.com/docs/rest-api/rest-api#get-hosts-disk-encryption-key) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **host_id** `integer` *required* Numeric Fleet host ID. ## Get host MDM Action ID: `tools.fleetdm.get_host_mdm` Get the MDM enrollment status and server URL for a host. Reference: [https://fleetdm.com/docs/rest-api/rest-api#get-hosts-mobile-device-management-mdm-information](https://fleetdm.com/docs/rest-api/rest-api#get-hosts-mobile-device-management-mdm-information) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **host_id** `integer` *required* Numeric Fleet host ID. ## Get host report data Action ID: `tools.fleetdm.get_host_report_data` Get a specific report's saved data for a single host. Reference: [https://fleetdm.com/docs/rest-api/rest-api#get-hosts-report-data](https://fleetdm.com/docs/rest-api/rest-api#get-hosts-report-data) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **id** `integer` *required* The ID of the desired host. **report_id** `integer` *required* The ID of the desired report. **base_url** `string | null` Fleet server base URL. Uses VARS.fleetdm.base_url when omitted. Default: `null`. ## Get host summary Action ID: `tools.fleetdm.get_host_summary` Get aggregate host counts grouped by status and platform. Reference: [https://fleetdm.com/docs/rest-api/rest-api#get-hosts-summary](https://fleetdm.com/docs/rest-api/rest-api#get-hosts-summary) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **fleet_id** `integer | null` Scope the summary to a fleet (team) ID. Default: `null`. **low_disk_space** `integer | null` Count hosts with less than this many GB of disk space. Default: `null`. **platform** `string | null` Platform filter (darwin, windows, linux, chrome, ios, ipados). Default: `null`. ## Get label Action ID: `tools.fleetdm.get_label` Get the specified label. Reference: [https://fleetdm.com/docs/rest-api/rest-api#get-label](https://fleetdm.com/docs/rest-api/rest-api#get-label) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **id** `integer` *required* The label's id. **base_url** `string | null` Fleet server base URL. Uses VARS.fleetdm.base_url when omitted. Default: `null`. ## Get labels summary Action ID: `tools.fleetdm.get_labels_summary` Get basic information for global and accessible fleet labels. Reference: [https://fleetdm.com/docs/rest-api/rest-api#get-labels-summary](https://fleetdm.com/docs/rest-api/rest-api#get-labels-summary) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string | null` Fleet server base URL. Uses VARS.fleetdm.base_url when omitted. Default: `null`. **fleet_id** `string | null` *Available in Fleet Premium.* Filters to labels belonging to the specified fleet, plus global labels. Specify `"global"` to show only globally-available labels. If omitted, Fleet returns all global labels, plus all labels for fleets to which the requestor has access. Default: `null`. ## Get MDM command results Action ID: `tools.fleetdm.get_mdm_command_results` Get the execution results and status for a previously enqueued MDM command. Reference: [https://fleetdm.com/docs/rest-api/rest-api#get-mdm-command-results](https://fleetdm.com/docs/rest-api/rest-api#get-mdm-command-results) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **command_uuid** `string` *required* UUID of the MDM command returned when it was enqueued. **host_identifier** `string | null` The host's `hostname`, `uuid`, or `hardware_serial`. Returns only results for the specified host. Default: `null`. ## Get OS settings summary Action ID: `tools.fleetdm.get_os_settings_summary` Get aggregate OS settings status counts (verified, verifying, pending, failed). Reference: [https://fleetdm.com/docs/rest-api/rest-api#get-os-settings-configuration-profiles-status](https://fleetdm.com/docs/rest-api/rest-api#get-os-settings-configuration-profiles-status) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **fleet_id** `integer | null` Scope the summary to a fleet (team) ID. Default: `null`. ## Get report Action ID: `tools.fleetdm.get_report` Get a single saved report (saved query) by its ID. Reference: [https://fleetdm.com/docs/rest-api/rest-api#get-report](https://fleetdm.com/docs/rest-api/rest-api#get-report) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **report_id** `integer` *required* Numeric Fleet report ID. ## Get report data Action ID: `tools.fleetdm.get_report_data` Get the most recent saved (scheduled) results for a report. Reference: [https://fleetdm.com/docs/rest-api/rest-api#get-report-data](https://fleetdm.com/docs/rest-api/rest-api#get-report-data) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **report_id** `integer` *required* Numeric Fleet report ID. **fleet_id** `integer | null` Filter the report to only include hosts that are associated with the fleet specified. Default: `null`. **order_direction** `string | null` **Requires `order_key`**. The direction of the order given the order key. Options include `"asc"` and `"desc"`. Default is `"desc"`. Default: `null`. **order_key** `string | null` What to order results by. Valid options are `"last_fetched"`, `"host_name"`, `"host_id"`, or the name of a result column. Result column values are sorted as strings, and the built-in options take precedence over a result column with the same name. Default is `"last_fetched"`. Default: `null`. **page** `integer | null` Page number of the results to fetch. Only applies when `per_page` is set. Default: `null`. **per_page** `integer | null` Results per page. If omitted, all results are returned and `meta` is not included. Default: `null`. **query** `string | null` Search query keywords. Matches the host's display name and any result column value. Default: `null`. ## Get software title Action ID: `tools.fleetdm.get_software_title` Get a single software title with its versions, vulnerabilities, and host counts. Reference: [https://fleetdm.com/docs/rest-api/rest-api#get-software](https://fleetdm.com/docs/rest-api/rest-api#get-software) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **software_title_id** `integer` *required* Numeric Fleet software title ID. **fleet_id** `integer | null` Scope host counts to a fleet (team) ID. Default: `null`. ## Get software version Action ID: `tools.fleetdm.get_software_version` Get a software version with its vulnerabilities and host counts. Reference: [https://fleetdm.com/docs/rest-api/rest-api#get-software-version](https://fleetdm.com/docs/rest-api/rest-api#get-software-version) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **id** `integer` *required* The software version's ID. **base_url** `string | null` Fleet server base URL. Uses VARS.fleetdm.base_url when omitted. Default: `null`. **fleet_id** `integer | null` *Available in Fleet Premium*. Filters response data to the specified fleet. Use `0` to filter by "Unassigned" hosts. Default: `null`. ## Get vulnerability Action ID: `tools.fleetdm.get_vulnerability` Get details for a single CVE including affected software, CVSS, EPSS, and CISA status. Reference: [https://fleetdm.com/docs/rest-api/rest-api#get-vulnerability](https://fleetdm.com/docs/rest-api/rest-api#get-vulnerability) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **cve** `string` *required* CVE identifier (e.g. CVE-2024-1234). **fleet_id** `integer | null` Scope affected hosts and software to a fleet (team) ID. Default: `null`. ## List activities Action ID: `tools.fleetdm.list_activities` List the global audit log of actions performed in Fleet. Reference: [https://fleetdm.com/docs/rest-api/rest-api#list-activities](https://fleetdm.com/docs/rest-api/rest-api#list-activities) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **activity_type** `string | null` Indicates the activity type to filter by. See the available types in Fleet's audit logs documentation. Default: `null`. **after** `string | null` The value to get results after. This needs `order_key` defined, as that's the column that would be used. Default: `null`. **end_created_at** `string | null` Filters to include only activities that happened before this date. If not specified, set to now. Default: `null`. **order_direction** `string | null` Sort direction (asc or desc). Default: `null`. **order_key** `string | null` Field to order by (e.g. created_at). Default: `null`. **page** `integer` Page number to retrieve (0-indexed). Default: `0`. **per_page** `integer` Results per page. Maximum is 10,000 records. Default: `50`. **query** `string | null` Search string matched against actor name and email. Default: `null`. **start_created_at** `string | null` Filters to include only activities that happened after this date. If not specified, set to the earliest possible date. Default: `null`. ## List configuration profiles Action ID: `tools.fleetdm.list_configuration_profiles` List the MDM configuration profiles defined in Fleet. Reference: [https://fleetdm.com/docs/rest-api/rest-api#list-configuration-profiles](https://fleetdm.com/docs/rest-api/rest-api#list-configuration-profiles) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **after** `string | null` The value to get results after. This needs `order_key` defined, as that's the column that would be used. Default: `null`. **fleet_id** `integer | null` Scope profiles to a fleet (team) ID. Default: `null`. **order_direction** `string | null` **Requires `order_key`**. The direction of the order given the order key. Options include `"asc"` and `"desc"`. Default is `"asc"`. Default: `null`. **order_key** `string | null` What to order results by. Can be ordered by `name`, `created_at`, or `uploaded_at`. Default: `null`. **page** `integer` Page number to retrieve (0-indexed). Default: `0`. **per_page** `integer` Profiles per page. Default: `50`. ## List fleet policies Action ID: `tools.fleetdm.list_fleet_policies` List the compliance policies scoped to a single fleet (team). Reference: [https://fleetdm.com/docs/rest-api/rest-api#list-fleet-level-policies](https://fleetdm.com/docs/rest-api/rest-api#list-fleet-level-policies) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **fleet_id** `integer` *required* Numeric Fleet (team) ID. **after** `string | null` The value to get results after. This needs `order_key` defined, as that's the column that would be used. Default: `null`. **automation_type** `string | null` Filters by automation type. Supported values are "software", "scripts", "calendar", "conditional_access", and "other". Default: `null`. **merge_inherited** `boolean | null` Include global policies inherited by the fleet. Default: `null`. **order_direction** `string | null` **Requires `order_key`**. The direction of the order given the order key. Options include `"asc"` and `"desc"`. Default is `"asc"`. Default: `null`. **order_key** `string | null` What to order results by. Allowed fields are `id`, `name`, `team_id`, `created_at`, `updated_at`, `failing_host_count`, and `passing_host_count`. Default: `null`. **page** `integer | null` Page number of the results to fetch. Default: `null`. **per_page** `integer | null` Results per page. Default: `null`. **platform** `string | null` Filters policies by targeted platform. Accepts `"darwin"`, `"windows"`, `"linux"`, or `"chrome"`. Policies that target all platforms (empty `platform` field) are always included. Default: `null`. **query** `string | null` Search query keywords. Searchable fields include `name`. Default: `null`. ## List fleets Action ID: `tools.fleetdm.list_fleets` List fleets (teams) used to scope hosts, policies, and queries. Reference: [https://fleetdm.com/docs/rest-api/rest-api#list-fleets](https://fleetdm.com/docs/rest-api/rest-api#list-fleets) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **after** `string | null` The value to get results after. This needs `order_key` defined, as that's the column that would be used. Default: `null`. **order_direction** `string | null` **Requires `order_key`**. The direction of the order given the order key. Options include `"asc"` and `"desc"`. Default is `"asc"`. Default: `null`. **order_key** `string | null` What to order results by. Can be any column in the `fleets` table. Default: `null`. **page** `integer` Page number to retrieve (0-indexed). Default: `0`. **per_page** `integer` Fleets per page. Default: `50`. **query** `string | null` Search string matched against fleet name. Default: `null`. ## List global policies Action ID: `tools.fleetdm.list_global_policies` List global compliance policies with their passing and failing host counts. Reference: [https://fleetdm.com/docs/rest-api/rest-api#list-policies](https://fleetdm.com/docs/rest-api/rest-api#list-policies) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **after** `string | null` The value to get results after. This needs `order_key` defined, as that's the column that would be used. Default: `null`. **order_direction** `string | null` Sort direction (asc or desc); requires order_key. Default: `null`. **order_key** `string | null` Field to order policies by (e.g. name, failing_host_count). Default: `null`. **page** `integer` Page number to retrieve (0-indexed). Default: `0`. **per_page** `integer` Policies per page. Default: `50`. **platform** `string | null` Filters policies by targeted platform. Accepts `"darwin"`, `"windows"`, `"linux"`, or `"chrome"`. Policies that target all platforms (empty `platform` field) are always included. Default: `null`. ## List host reports Action ID: `tools.fleetdm.list_host_reports` List the saved reports for a host, including when results were last fetched. Reference: [https://fleetdm.com/docs/rest-api/rest-api#list-hosts-reports](https://fleetdm.com/docs/rest-api/rest-api#list-hosts-reports) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **id** `integer` *required* The host's ID. **base_url** `string | null` Fleet server base URL. Uses VARS.fleetdm.base_url when omitted. Default: `null`. **exclude_no_results** `boolean | null` If `true`, exclude reports that don't save results. Default is `false`. Default: `null`. **order_direction** `string | null` **Requires `order_key`**. The direction of the order given the order key. Options include `"asc"` and `"desc"`. Default is `"asc"`. Default: `null`. **order_key** `string | null` What to order results by. Valid options are `"name"` and `"last_fetched"`. Default is `"name"`. Default: `null`. **page** `integer | null` Page number of the results to fetch. Default: `null`. **per_page** `integer | null` Results per page. Default: `null`. **query** `string | null` Search query keywords. Searchable fields include `name`. Default: `null`. ## List host software Action ID: `tools.fleetdm.list_host_software` List the software installed on a host along with detected vulnerabilities. Reference: [https://fleetdm.com/docs/rest-api/rest-api#get-hosts-software](https://fleetdm.com/docs/rest-api/rest-api#get-hosts-software) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **host_id** `integer` *required* Numeric Fleet host ID. **ai_tool** `boolean | null` If true, only include AI tools. Requires Fleet Premium and server support for AI tools inventory; unavailable in Fleet 4.93.0. Older servers can ignore this filter. Default: `null`. **available_for_install** `boolean | null` If `true` or `1`, only list software that is available for install (added by the user). Default is `false`. Default: `null`. **exploit** `boolean | null` Only include software with a CISA known-exploited vulnerability. Default: `null`. **extension_for** `string | null` Filter extensions by their browser or IDE. Requires source and server support for software type filters; unavailable in Fleet 4.93.0. Older servers can ignore this filter. Default: `null`. **macos_applications** `boolean | null` If `true`, filters to only include software at the top level of the `/Applications` folder. This parameter applies only to macOS hosts, and is ignored for hosts on other platforms. Default is `false`. Default: `null`. **max_cvss_score** `number | null` Only include software with a vulnerability at or below this CVSS score. Default: `null`. **min_cvss_score** `number | null` Only include software with a vulnerability at or above this CVSS score. Default: `null`. **order_direction** `string | null` **Requires `order_key`**. The direction of the order given the order key. Options include `"asc"` and `"desc"`. Default is `"asc"`. Default: `null`. **order_key** `string | null` What to order results by. Options include `"name"`. Default is `"name"`. Default: `null`. **page** `integer` Page number to retrieve (0-indexed). Default: `0`. **per_page** `integer` Software entries per page. Default: `50`. **query** `string | null` Search string matched against software name. Default: `null`. **self_service** `boolean | null` If `true` or `1`, only lists self-service software. Default is `false`. Default: `null`. **source** `string | null` Filter by the osquery software source (for example, apps, npm_packages, chrome_extensions, ai_clis, mcp_servers, or ai_skills). Requires server support for software type filters; unavailable in Fleet 4.93.0. Older servers can ignore this filter. Default: `null`. **vulnerable** `boolean | null` Only include software with known vulnerabilities. Default: `null`. ## List hosts Action ID: `tools.fleetdm.list_hosts` List and search hosts enrolled in Fleet with server-side filters. Reference: [https://fleetdm.com/docs/rest-api/rest-api#list-hosts](https://fleetdm.com/docs/rest-api/rest-api#list-hosts) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **additional_info_filters** `string | null` A comma-delimited list of fields to include in each host's `additional` object. This query is populated by the `additional_queries` in the `features` section of the configuration YAML. Default: `null`. **after** `string | null` The value to get results after. This needs `order_key` defined, as that's the column that would be used. **Note:** Use `page` instead of `after` Default: `null`. **bootstrap_package** `string | null` *Available in Fleet Premium*. Filters the hosts by the status of the MDM bootstrap package on the host. Valid options are 'installed', 'pending', or 'failed'. Default: `null`. **connected_to_fleet** `boolean | null` Filter hosts that are talking to this Fleet server for MDM features. In rare cases, hosts can be enrolled to one Fleet server but talk to a different Fleet server for MDM features. In this case, the value would be `false`. Always `false` for Linux hosts. Default: `null`. **dep_assign_profile_response** `string | null` Filters the hosts by DEP profile assignment status. Valid options are 'SUCCESS', 'FAILED', 'THROTTLED' or 'NOT_ACCESSIBLE'. Only Apple hosts which are, or were assigned to Fleet in ABM will be returned. Default: `null`. **dep_profile_error** `boolean | null` If `true`, the response will only include Apple MDM hosts with DEP profile assignment errors(`mdm.dep_profile_error: true`). Default: `null`. **device_mapping** `boolean | null` Indicates whether `device_mapping` should be included for each host. Default: `null`. **disable_failing_policies** `boolean | null` If `true`, hosts will return failing policies as 0 regardless of whether there are any that failed for the host. This is meant to be used when increased performance is needed in exchange for the extra information. Default: `null`. **fleet_id** `integer | null` Scope results to a fleet (team) ID. Default: `null`. **include_device_status** `boolean | null` If `true`, the response will include lock and wipe status (`mdm.device_status`) and `mdm.pending_action` information for each host. Default: `null`. **low_disk_space** `integer | null` Only include hosts with less than this many GB of disk space. Default: `null`. **mdm_enrollment_status** `string | null` MDM enrollment filter (manual, automatic, enrolled, pending, unenrolled). Default: `null`. **mdm_id** `integer | null` The ID of the *mobile device management* (MDM) solution to filter hosts by (that is, filter hosts that use a specific MDM provider and URL). Default: `null`. **mdm_name** `string | null` The name of the *mobile device management* (MDM) solution to filter hosts by (that is, filter hosts that use a specific MDM provider). Default: `null`. **munki_issue_id** `integer | null` The ID of the *munki issue* (a Munki-reported error or warning message) to filter hosts by (that is, filter hosts that are affected by that corresponding error or warning message). Default: `null`. **order_direction** `string | null` Sort direction (asc or desc); requires order_key. Default: `null`. **order_key** `string | null` Column to sort hosts by. Default: `null`. **os_name** `string | null` Operating system name filter (must be paired with os_version). Default: `null`. **os_settings** `string | null` Filters the hosts by the status of the operating system settings applied to the hosts. Valid options are 'verified', 'verifying', 'pending', or 'failed'. **Note: If this filter is used in Fleet Premium without a fleet ID filter, the results include only "Unassigned" hosts.** Default: `null`. **os_settings_disk_encryption** `string | null` Disk encryption status filter (verified, verifying, action_required, enforcing, failed, removing_enforcement). Default: `null`. **os_version** `string | null` Operating system version filter (must be paired with os_name). Default: `null`. **os_version_id** `integer | null` The ID of the operating system version to filter hosts by. Default: `null`. **page** `integer` Page number to retrieve (0-indexed). Default: `0`. **per_page** `integer` Hosts per page. Default: `50`. **policy_id** `integer | null` Filter by hosts evaluated against this policy ID (pair with policy_response). Default: `null`. **policy_response** `string | null` Policy compliance filter for policy_id (passing or failing). Default: `null`. **populate_end_users** `boolean | null` If `true`, the response will include end user data for each host, including identity provider (IdP) details and other emails. Default: `null`. **populate_labels** `boolean | null` If `true`, the response will include labels for each host. Default: `null`. **populate_policies** `boolean | null` Include each host's policy compliance in the response. Default: `null`. **populate_software** `boolean | null` Include each host's installed software in the response. Default: `null`. **populate_users** `boolean | null` If `true`, the response will include user data for each host. Default: `null`. **profile_status** `string | null` **Requires `profile_uuid`**. Valid options are 'verified', 'verifying', 'pending', or 'failed'. Default: `null`. **profile_uuid** `string | null` **Requires `profile_status`**. The UUID of the profile to download. Default: `null`. **query** `string | null` Search string matched against hostname, IP, serial, and UUID. Default: `null`. **software_status** `string | null` The status of the software install to filter hosts by. One of: `pending_install`, `failed_install`, `installed`, `pending_uninstall`, `failed_uninstall`, `pending`, or `failed`. Mutually exclusive with `software_version_id`, and must be supplied if `software_title_id` is set. Default: `null`. **software_title_id** `integer | null` The ID of the software title to filter hosts by. Default: `null`. **software_version_id** `integer | null` Only include hosts that have this software version installed. Default: `null`. **status** `string | null` Host status filter (online, offline, new, mia, missing). Default: `null`. **vulnerability** `string | null` Only include hosts affected by this CVE (e.g. CVE-2024-1234). Default: `null`. ## List hosts by vulnerability Action ID: `tools.fleetdm.list_hosts_by_vulnerability` List the hosts affected by a specific CVE. Reference: [https://fleetdm.com/docs/rest-api/rest-api#list-hosts](https://fleetdm.com/docs/rest-api/rest-api#list-hosts) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **cve** `string` *required* CVE identifier to filter affected hosts by (e.g. CVE-2024-1234). **fleet_id** `integer | null` Scope results to a fleet (team) ID. Default: `null`. **low_disk_space** `integer | null` *Available in Fleet Premium*. Filters the hosts to only include hosts with less GB of disk space available than this value. Must be a number between 1-100. Default: `null`. **order_direction** `string | null` **Requires `order_key`**. The direction of the order given the order key. Options include `"asc"` and `"desc"`. Default is `"asc"`. Default: `null`. **order_key** `string | null` What to order results by. Can be any column in the hosts table. Default: `null`. **os_name** `string | null` The name of the operating system to filter hosts by. `os_version` must also be specified with `os_name`. See note below for filtering Windows hosts. Default: `null`. **os_version** `string | null` The version of the operating system to filter hosts by. `os_name` must also be specified with `os_version`. See note below for filtering Windows hosts. Default: `null`. **page** `integer` Page number to retrieve (0-indexed). Default: `0`. **per_page** `integer` Hosts per page. Default: `50`. **policy_id** `integer | null` The ID of the policy to filter hosts by. Default: `null`. **policy_response** `string | null` **Requires `policy_id`**. Valid options are 'passing' or 'failing'. Default: `null`. **populate_labels** `boolean | null` If `true`, the response will include labels for each host. Default: `null`. **populate_policies** `boolean | null` If `true`, the response will include policy data for each host, including Fleet-maintained policies. Default: `null`. **populate_users** `boolean | null` If `true`, the response will include user data for each host. Default: `null`. **query** `string | null` Search query keywords. Searchable fields include `hostname`, `hardware_serial`, `uuid`, `ipv4`, and end user email addresses. Default: `null`. **status** `string | null` Host status filter (online, offline, new, mia, missing). Default: `null`. ## List hosts in label Action ID: `tools.fleetdm.list_label_hosts` List the hosts that are members of a given label. Reference: [https://fleetdm.com/docs/rest-api/rest-api#list-labels-hosts](https://fleetdm.com/docs/rest-api/rest-api#list-labels-hosts) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **label_id** `integer` *required* Numeric Fleet label ID. **after** `string | null` The value to get results after. This needs `order_key` defined, as that's the column that would be used. Default: `null`. **bootstrap_package** `string | null` *Available in Fleet Premium*. Filters the hosts by the status of the MDM bootstrap package on the host. Valid options are 'installed', 'pending', or 'failed'. **Note: If this filter is used in Fleet Premium without a fleet ID filter, the results include only "Unassigned" hosts.** Default: `null`. **disable_failing_policies** `boolean | null` If "true", hosts will return failing policies as 0 regardless of whether there are any that failed for the host. This is meant to be used when increased performance is needed in exchange for the extra information. Default: `null`. **fleet_id** `integer | null` *Available in Fleet Premium*. Filters the hosts to only include hosts in the specified fleet. Default: `null`. **low_disk_space** `integer | null` *Available in Fleet Premium*. Filters the hosts to only include hosts with less GB of disk space available than this value. Must be a number between 1-100. Default: `null`. **mdm_enrollment_status** `string | null` The *mobile device management* (MDM) enrollment status to filter hosts by. Valid options are 'manual', 'manual-personal', 'automatic', 'enrolled', 'pending', or 'unenrolled'. 'pending' only includes Apple (macOS, iOS, iPadOS) hosts in Apple Business (AB) that are not yet enrolled to Fleet. Default: `null`. **mdm_id** `integer | null` The ID of the *mobile device management* (MDM) solution to filter hosts by (that is, filter hosts that use a specific MDM provider and URL). Default: `null`. **mdm_name** `string | null` The name of the *mobile device management* (MDM) solution to filter hosts by (that is, filter hosts that use a specific MDM provider). Default: `null`. **order_direction** `string | null` **Requires `order_key`**. The direction of the order given the order key. Options include `"asc"` and `"desc"`. Default is `"asc"`. Default: `null`. **order_key** `string | null` What to order results by. Can be any column in the hosts table. Default: `null`. **os_settings** `string | null` Filters the hosts by the status of the operating system settings applied to the hosts. Valid options are 'verified', 'verifying', 'pending', or 'failed'. **Note: If this filter is used in Fleet Premium without a fleet ID filter, the results include only "Unassigned" hosts.** Default: `null`. **os_settings_disk_encryption** `string | null` Filters the hosts by disk encryption status. Valid options are 'verified', 'verifying', 'action_required', 'enforcing', 'failed', or 'removing_enforcement'. **Note: If this filter is used in Fleet Premium without a fleet ID filter, the results include only "Unassigned" hosts.** Default: `null`. **page** `integer` Page number to retrieve (0-indexed). Default: `0`. **per_page** `integer` Hosts per page. Default: `50`. **query** `string | null` Search string matched against hostname, IP, serial, and UUID. Default: `null`. **status** `string | null` Host status filter (online, offline, new, mia, missing). Default: `null`. ## List labels Action ID: `tools.fleetdm.list_labels` List all labels defined in Fleet, including built-in platform labels. Reference: [https://fleetdm.com/docs/rest-api/rest-api#list-labels](https://fleetdm.com/docs/rest-api/rest-api#list-labels) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **after** `string | null` The value to get results after. This needs `order_key` defined, as that's the column that would be used. Default: `null`. **fleet_id** `string | null` *Available in Fleet Premium.* Filters to labels belonging to the specified fleet, plus global labels. Specify `"global"` to show only globally-available labels. If omitted, Fleet returns all global labels, plus all labels for fleets to which the requestor has access. Default: `null`. **include_host_counts** `boolean | null` Whether or not to calculate host counts for each label. Default is `true`. See "additional notes" for more information. Default: `null`. **order_direction** `string | null` **Requires `order_key`**. The direction of the order given the order key. Options include `"asc"` and `"desc"`. Default is `"asc"`. Default: `null`. **order_key** `string | null` Field to order labels by (e.g. name, created_at). Default: `null`. ## List MDM commands Action ID: `tools.fleetdm.list_mdm_commands` List MDM commands issued to a host, optionally filtered by request type and status. Reference: [https://fleetdm.com/docs/rest-api/rest-api#list-mdm-commands](https://fleetdm.com/docs/rest-api/rest-api#list-mdm-commands) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **host_identifier** `string` *required* Host hostname, UUID, or hardware serial to scope commands to (required by Fleet; omitting it is deprecated and removed in Fleet 5). **after** `string | null` The value to get results after. This needs `order_key` defined, as that's the column that would be used. Default: `null`. **command_status** `string | null` Filter by command status (ran, pending, failed). Default: `null`. **order_direction** `string | null` **Requires `order_key`**. The direction of the order given the order key. Options include `"asc"` and `"desc"`. Default is `"asc"`. Default: `null`. **order_key** `string | null` What to order results by. Allowed values: `host_uuid`, `command_uuid`, `status`, `updated_at`, `request_type`, `hostname`. Default is `updated_at`. Default: `null`. **page** `integer` Page number to retrieve (0-indexed). Default: `0`. **per_page** `integer` Results per page. Maximum is 1,000 records. Default: `50`. **request_type** `string | null` Filter by MDM command request type (e.g. DeviceLock, EraseDevice). Default: `null`. ## List OS versions Action ID: `tools.fleetdm.list_os_versions` List operating system versions across hosts with detected vulnerabilities. Reference: [https://fleetdm.com/docs/rest-api/rest-api#list-operating-systems](https://fleetdm.com/docs/rest-api/rest-api#list-operating-systems) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **fleet_id** `integer | null` Scope results to a fleet (team) ID. Default: `null`. **max_vulnerabilities** `integer | null` Limits the number of `vulnerabilities` returned per OS version. (If omitted, returns all vulnerabilities.) Default: `null`. **order_direction** `string | null` **Requires `order_key`**. The direction of the order given the order key. Options include `"asc"` and `"desc"`. Default is `"asc"`. Default: `null`. **order_key** `string | null` What to order results by. Allowed fields are: `hosts_count`. Default is `hosts_count` (descending). Default: `null`. **os_name** `string | null` The name of the operating system to filter hosts by. `os_version` must also be specified with `os_name` Default: `null`. **os_version** `string | null` The version of the operating system to filter hosts by. `os_name` must also be specified with `os_version` Default: `null`. **page** `integer` Page number to retrieve (0-indexed). Default: `0`. **per_page** `integer` OS versions per page. Default: `50`. **platform** `string | null` Platform filter (darwin, windows, linux, chrome). Default: `null`. ## List policy hosts Action ID: `tools.fleetdm.list_policy_hosts` List the hosts that pass or fail a given policy. Reference: [https://fleetdm.com/docs/rest-api/rest-api#list-hosts](https://fleetdm.com/docs/rest-api/rest-api#list-hosts) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **policy_id** `integer` *required* Numeric Fleet policy ID. **fleet_id** `integer | null` Scope results to a fleet (team) ID. Default: `null`. **low_disk_space** `integer | null` *Available in Fleet Premium*. Filters the hosts to only include hosts with less GB of disk space available than this value. Must be a number between 1-100. Default: `null`. **order_direction** `string | null` **Requires `order_key`**. The direction of the order given the order key. Options include `"asc"` and `"desc"`. Default is `"asc"`. Default: `null`. **order_key** `string | null` What to order results by. Can be any column in the hosts table. Default: `null`. **os_name** `string | null` The name of the operating system to filter hosts by. `os_version` must also be specified with `os_name`. See note below for filtering Windows hosts. Default: `null`. **os_version** `string | null` The version of the operating system to filter hosts by. `os_name` must also be specified with `os_version`. See note below for filtering Windows hosts. Default: `null`. **page** `integer` Page number to retrieve (0-indexed). Default: `0`. **per_page** `integer` Hosts per page. Default: `50`. **policy_response** `string` Compliance filter (passing or failing). Default: `"failing"`. **populate_labels** `boolean | null` If `true`, the response will include labels for each host. Default: `null`. **populate_policies** `boolean | null` If `true`, the response will include policy data for each host, including Fleet-maintained policies. Default: `null`. **populate_users** `boolean | null` If `true`, the response will include user data for each host. Default: `null`. **query** `string | null` Search query keywords. Searchable fields include `hostname`, `hardware_serial`, `uuid`, `ipv4`, and end user email addresses. Default: `null`. **status** `string | null` Indicates the status of the hosts to return. Can either be 'new', 'online', 'offline', 'mia', 'missing' or 'enrolled'. 'enrolled' returns every host except those pending MDM enrollment. Default: `null`. **vulnerability** `string | null` The cve to filter hosts by (including "cve-" prefix, case-insensitive). Default: `null`. ## List reports Action ID: `tools.fleetdm.list_reports` List the saved reports (saved queries) defined in Fleet. Reference: [https://fleetdm.com/docs/rest-api/rest-api#list-reports](https://fleetdm.com/docs/rest-api/rest-api#list-reports) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **after** `string | null` The value to get results after. This needs `order_key` defined, as that's the column that would be used. Default: `null`. **fleet_id** `integer | null` Scope reports to a fleet (team) ID. Default: `null`. **merge_inherited** `boolean | null` *Available in Fleet Premium*. If `true`, will include global reports in addition to fleet-level reports when filtering by `fleet_id`. (If no `fleet_id` is provided, this parameter is ignored.) Default: `null`. **order_direction** `string | null` **Requires `order_key`**. The direction of the order given the order key. Options include `"asc"` and `"desc"`. Default is `"asc"`. Default: `null`. **order_key** `string | null` What to order results by. Can be any column in the reports table. Default: `null`. **page** `integer` Page number to retrieve (0-indexed). Default: `0`. **per_page** `integer` Reports per page. Default: `50`. **platform** `string | null` Platform filter (macos, windows, linux, chrome). Default: `null`. **query** `string | null` Search string matched against report name. Default: `null`. ## List software titles Action ID: `tools.fleetdm.list_software_titles` List software titles across the fleet with host counts and detected vulnerabilities. Reference: [https://fleetdm.com/docs/rest-api/rest-api#list-software](https://fleetdm.com/docs/rest-api/rest-api#list-software) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **ai_tool** `boolean | null` If true, only include AI tools. Requires Fleet Premium and server support for AI tools inventory; unavailable in Fleet 4.93.0. Older servers can ignore this filter. Default: `null`. **available_for_install** `boolean | null` If `true` or `1`, only list software that is available for install (added by the user). Default is `false`. Default: `null`. **exploit** `boolean | null` Only include software with a CISA known-exploited vulnerability. Default: `null`. **extension_for** `string | null` Filter extensions by their browser or IDE. Requires source and server support for software type filters; unavailable in Fleet 4.93.0. Older servers can ignore this filter. Default: `null`. **fleet_id** `integer | null` Scope results to a fleet (team) ID. Default: `null`. **hash_sha256** `string | null` Filters to only include custom software packages (uploaded installers) with the specified SHA-256 hash. `fleet_id` must be specified to filter by hash. This allows checking if a specific package already exists before uploading. Default: `null`. **max_cvss_score** `number | null` Only include software with a vulnerability at or below this CVSS score. Default: `null`. **min_cvss_score** `number | null` Only include software with a vulnerability at or above this CVSS score. Default: `null`. **order_direction** `string | null` **Requires `order_key`**. The direction of the order given the order key. Options include `"asc"` and `"desc"`. Default is `"asc"`. Default: `null`. **order_key** `string | null` What to order results by. Allowed fields are `name` and `hosts_count`. Default is `hosts_count` (descending). Default: `null`. **package_name** `string | null` Filters to only include custom software packages (uploaded installers) with the specified package filename. `fleet_id` must be specified to filter by package name. This allows checking if a specific package already exists before uploading. Default: `null`. **packages_only** `boolean | null` *Available in Fleet Premium*. If `true` or `1`, only lists packages available for install (without app store apps). Default: `null`. **page** `integer` Page number to retrieve (0-indexed). Default: `0`. **per_page** `integer` Software titles per page. Default: `50`. **platform** `string | null` Platform filter (darwin, windows, linux, chrome). Default: `null`. **query** `string | null` Search string matched against software title and CVE. Default: `null`. **self_service** `boolean | null` If `true` or `1`, only lists self-service software. Default is `false`. Default: `null`. **source** `string | null` Filter by the osquery software source (for example, apps, npm_packages, chrome_extensions, ai_clis, mcp_servers, or ai_skills). Requires server support for software type filters; unavailable in Fleet 4.93.0. Older servers can ignore this filter. Default: `null`. **vulnerable** `boolean | null` Only include software with known vulnerabilities. Default: `null`. ## List software versions Action ID: `tools.fleetdm.list_software_versions` List software versions across the fleet with their associated CVEs. Reference: [https://fleetdm.com/docs/rest-api/rest-api#list-software-versions](https://fleetdm.com/docs/rest-api/rest-api#list-software-versions) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **after** `string | null` The value to get results after. This needs `order_key` defined, as that's the column that would be used. Default: `null`. **ai_tool** `boolean | null` If true, only include AI tools. Requires Fleet Premium and server support for AI tools inventory; unavailable in Fleet 4.93.0. Older servers can ignore this filter. Default: `null`. **exploit** `boolean | null` Only include versions with a CISA known-exploited vulnerability. Default: `null`. **extension_for** `string | null` Filter extensions by their browser or IDE. Requires source and server support for software type filters; unavailable in Fleet 4.93.0. Older servers can ignore this filter. Default: `null`. **fleet_id** `integer | null` Scope results to a fleet (team) ID. Default: `null`. **max_cvss_score** `number | null` Only include versions with a vulnerability at or below this CVSS score. Default: `null`. **min_cvss_score** `number | null` Only include versions with a vulnerability at or above this CVSS score. Default: `null`. **order_direction** `string | null` **Requires `order_key`**. The direction of the order given the order key. Options include `"asc"` and `"desc"`. Default is `"asc"`. Default: `null`. **order_key** `string | null` What to order results by. Allowed fields are `name`, `hosts_count`, `cve_published`, `cvss_score`, `epss_probability` and `cisa_known_exploit`. Default is `hosts_count` (descending). Default: `null`. **page** `integer` Page number to retrieve (0-indexed). Default: `0`. **per_page** `integer` Software versions per page. Default: `50`. **query** `string | null` Search string matched against software name and CVE. Default: `null`. **source** `string | null` Filter by the osquery software source (for example, apps, npm_packages, chrome_extensions, ai_clis, mcp_servers, or ai_skills). Requires server support for software type filters; unavailable in Fleet 4.93.0. Older servers can ignore this filter. Default: `null`. **vulnerable** `boolean | null` Only include versions with known vulnerabilities. Default: `null`. **without_vulnerability_details** `boolean | null` *Available in Fleet Premium*. If `true` only vulnerability name is included in response. If `false` (or omitted), adds vulnerability description, CVSS score, and other details available in Fleet Premium. See note above on performance. Default: `null`. ## List vulnerabilities Action ID: `tools.fleetdm.list_vulnerabilities` List CVEs affecting software and operating systems across the fleet. Reference: [https://fleetdm.com/docs/rest-api/rest-api#list-vulnerabilities](https://fleetdm.com/docs/rest-api/rest-api#list-vulnerabilities) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **after** `string | null` The value to get results after. This needs `order_key` defined, as that's the column that would be used. Default: `null`. **exploit** `boolean | null` Only include CVEs with a CISA known-exploited vulnerability (Fleet Premium). Default: `null`. **fleet_id** `integer | null` Scope results to a fleet (team) ID. Default: `null`. **order_direction** `string | null` Sort direction (asc or desc). Default: `null`. **order_key** `string | null` Field to order by (cve, cvss_score, epss_probability, cve_published, host_count). Default: `null`. **page** `integer` Page number to retrieve (0-indexed). Default: `0`. **per_page** `integer` Vulnerabilities per page. Default: `50`. **query** `string | null` Search string matched against CVE identifiers. Default: `null`. ## Live query host Action ID: `tools.fleetdm.live_query_host` Run an ad-hoc osquery SQL statement live against a single host. Reference: [https://fleetdm.com/docs/rest-api/rest-api#run-live-report-on-host-ad-hoc](https://fleetdm.com/docs/rest-api/rest-api#run-live-report-on-host-ad-hoc) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **host_id** `integer` *required* Numeric Fleet host ID to run the query against. **query** `string` *required* The ad-hoc osquery SQL statement to run. ## Lock host Action ID: `tools.fleetdm.lock_host` Lock a host via MDM so it cannot be used until unlocked. Reference: [https://fleetdm.com/docs/rest-api/rest-api#lock-host](https://fleetdm.com/docs/rest-api/rest-api#lock-host) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **host_id** `integer` *required* Numeric Fleet host ID. **view_pin** `boolean | null` For macOS, return the six-digit unlock PIN in the response. Default: `null`. ## Refetch host Action ID: `tools.fleetdm.refetch_host` Flag a host to refresh its details and policy results on next check-in. Reference: [https://fleetdm.com/docs/rest-api/rest-api#refetch-host](https://fleetdm.com/docs/rest-api/rest-api#refetch-host) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **host_id** `integer` *required* Numeric Fleet host ID. ## Run live report Action ID: `tools.fleetdm.run_live_report` Run a saved report live against target hosts and return results synchronously. Reference: [https://fleetdm.com/docs/rest-api/rest-api#run-live-report](https://fleetdm.com/docs/rest-api/rest-api#run-live-report) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **host_ids** `array[integer]` *required* Numeric IDs of the hosts to run the report against. **report_id** `integer` *required* Numeric Fleet report ID to run. ## Run MDM command Action ID: `tools.fleetdm.run_mdm_command` Enqueue a raw Apple or Windows MDM command to run on hosts at next check-in. Reference: [https://fleetdm.com/docs/rest-api/rest-api#run-mdm-command](https://fleetdm.com/docs/rest-api/rest-api#run-mdm-command) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **command** `string` *required* Base64-encoded MDM command payload (Apple plist XML or Windows SyncML). **host_uuids** `array[string]` *required* UUIDs of the hosts to send the command to. ## Turn off MDM Action ID: `tools.fleetdm.turn_off_mdm` Turn off MDM for a host, unenrolling it from Fleet MDM management. Reference: [https://fleetdm.com/docs/rest-api/rest-api#turn-off-hosts-mdm](https://fleetdm.com/docs/rest-api/rest-api#turn-off-hosts-mdm) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **host_id** `integer` *required* Numeric Fleet host ID. ## Unlock host Action ID: `tools.fleetdm.unlock_host` Unlock a previously locked host, or retrieve its macOS unlock PIN. Reference: [https://fleetdm.com/docs/rest-api/rest-api#unlock-host](https://fleetdm.com/docs/rest-api/rest-api#unlock-host) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **host_id** `integer` *required* Numeric Fleet host ID. ## Wipe host Action ID: `tools.fleetdm.wipe_host` Remotely wipe a host via MDM, erasing its data. Reference: [https://fleetdm.com/docs/rest-api/rest-api#wipe-host](https://fleetdm.com/docs/rest-api/rest-api#wipe-host) ### Secrets Required secrets: * `fleetdm`: required values `FLEETDM_API_TOKEN`. ### Input fields **base_url** `string` *required* Fleet server base URL (e.g. [https://fleet.example.com](https://fleet.example.com)). **host_id** `integer` *required* Numeric Fleet host ID. **wipe_type** `string | null` For Windows, the wipe type (doWipe or doWipeProtected). Default: `null`. # Freshservice Source: https://docs.tracecat.com/tools/freshservice Reference for the Tracecat Freshservice integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Call endpoint Action ID: `tools.freshservice.call_endpoint` Call a Freshservice REST API endpoint with API-key Basic auth. Reference: [https://api.freshservice.com/](https://api.freshservice.com/) ### Secrets Required secrets: * `freshservice`: required values `FRESHSERVICE_API_KEY`; optional values `FRESHSERVICE_BASE_URL`. ### Input fields **method** `FreshserviceMethod` *required* HTTP method for the Freshservice API request. **path** `string` *required* Freshservice API path, e.g. `/tickets`. **base_url** `string | null` Freshservice tenant URL or API URL. Defaults to `FRESHSERVICE_BASE_URL`, e.g. `https://example.freshservice.com`. Default: `null`. **headers** `map[string, string] | null` Additional HTTP headers to send. Default: `null`. **json_body** `object | null` Freshservice JSON request body. Default: `null`. **query_params** `object | null` Freshservice query parameters. Default: `null`. **timeout** `number` Request timeout in seconds. Default: `30.0`. ## Call paginated endpoint Action ID: `tools.freshservice.call_paginated_endpoint` Call a Freshservice list endpoint and follow page/per_page pagination. Reference: [https://api.freshservice.com/](https://api.freshservice.com/) ### Secrets Required secrets: * `freshservice`: required values `FRESHSERVICE_API_KEY`; optional values `FRESHSERVICE_BASE_URL`. ### Input fields **path** `string` *required* Freshservice list API path, e.g. `/tickets`. **base_url** `string | null` Freshservice tenant URL or API URL. Defaults to `FRESHSERVICE_BASE_URL`, e.g. `https://example.freshservice.com`. Default: `null`. **items_key** `string | null` Response field containing the page items, e.g. `tickets`. If omitted, Tracecat infers the only list-valued response field. Default: `null`. **max_pages** `integer | null` Maximum pages to fetch. Default: `null`. **page** `integer` Freshservice page number to start from. Default: `1`. **per_page** `integer` Freshservice `per_page` value. Default: `30`. **query_params** `object | null` Freshservice query parameters. Default: `null`. **timeout** `number` Request timeout in seconds. Default: `30.0`. ## Create change Action ID: `tools.freshservice.create_change` Create a Freshservice change. Reference: [https://api.freshservice.com/](https://api.freshservice.com/) ### Secrets Required secrets: * `freshservice`: required values `FRESHSERVICE_API_KEY`; optional values `FRESHSERVICE_BASE_URL`. ### Input fields **change** `object` *required* Freshservice change payload. **base_url** `string | null` Freshservice tenant URL or API URL. Defaults to `FRESHSERVICE_BASE_URL`, e.g. `https://example.freshservice.com`. Default: `null`. ## Create requester Action ID: `tools.freshservice.create_requester` Create a Freshservice requester. Reference: [https://api.freshservice.com/](https://api.freshservice.com/) ### Secrets Required secrets: * `freshservice`: required values `FRESHSERVICE_API_KEY`; optional values `FRESHSERVICE_BASE_URL`. ### Input fields **requester** `object` *required* Freshservice requester payload. **base_url** `string | null` Freshservice tenant URL or API URL. Defaults to `FRESHSERVICE_BASE_URL`, e.g. `https://example.freshservice.com`. Default: `null`. ## Create ticket Action ID: `tools.freshservice.create_ticket` Create a Freshservice ticket. Reference: [https://api.freshservice.com/](https://api.freshservice.com/) ### Secrets Required secrets: * `freshservice`: required values `FRESHSERVICE_API_KEY`; optional values `FRESHSERVICE_BASE_URL`. ### Input fields **ticket** `object` *required* Freshservice ticket payload, e.g. subject, description, email/requester_id, priority, and status. **base_url** `string | null` Freshservice tenant URL or API URL. Defaults to `FRESHSERVICE_BASE_URL`, e.g. `https://example.freshservice.com`. Default: `null`. ## Create ticket note Action ID: `tools.freshservice.create_ticket_note` Add a note to a Freshservice ticket. Reference: [https://api.freshservice.com/](https://api.freshservice.com/) ### Secrets Required secrets: * `freshservice`: required values `FRESHSERVICE_API_KEY`; optional values `FRESHSERVICE_BASE_URL`. ### Input fields **note** `object` *required* Freshservice note payload. **ticket_id** `integer` *required* Freshservice ticket ID. **base_url** `string | null` Freshservice tenant URL or API URL. Defaults to `FRESHSERVICE_BASE_URL`, e.g. `https://example.freshservice.com`. Default: `null`. ## Delete ticket Action ID: `tools.freshservice.delete_ticket` Delete a Freshservice ticket. Reference: [https://api.freshservice.com/](https://api.freshservice.com/) ### Secrets Required secrets: * `freshservice`: required values `FRESHSERVICE_API_KEY`; optional values `FRESHSERVICE_BASE_URL`. ### Input fields **ticket_id** `integer` *required* Freshservice ticket ID. **base_url** `string | null` Freshservice tenant URL or API URL. Defaults to `FRESHSERVICE_BASE_URL`, e.g. `https://example.freshservice.com`. Default: `null`. ## Get agent Action ID: `tools.freshservice.get_agent` Get a Freshservice agent by ID. Reference: [https://api.freshservice.com/](https://api.freshservice.com/) ### Secrets Required secrets: * `freshservice`: required values `FRESHSERVICE_API_KEY`; optional values `FRESHSERVICE_BASE_URL`. ### Input fields **agent_id** `integer` *required* Freshservice agent ID. **base_url** `string | null` Freshservice tenant URL or API URL. Defaults to `FRESHSERVICE_BASE_URL`, e.g. `https://example.freshservice.com`. Default: `null`. ## Get change Action ID: `tools.freshservice.get_change` Get a Freshservice change by ID. Reference: [https://api.freshservice.com/](https://api.freshservice.com/) ### Secrets Required secrets: * `freshservice`: required values `FRESHSERVICE_API_KEY`; optional values `FRESHSERVICE_BASE_URL`. ### Input fields **change_id** `integer` *required* Freshservice change ID. **base_url** `string | null` Freshservice tenant URL or API URL. Defaults to `FRESHSERVICE_BASE_URL`, e.g. `https://example.freshservice.com`. Default: `null`. ## Get group Action ID: `tools.freshservice.get_group` Get a Freshservice group by ID. Reference: [https://api.freshservice.com/](https://api.freshservice.com/) ### Secrets Required secrets: * `freshservice`: required values `FRESHSERVICE_API_KEY`; optional values `FRESHSERVICE_BASE_URL`. ### Input fields **group_id** `integer` *required* Freshservice group ID. **base_url** `string | null` Freshservice tenant URL or API URL. Defaults to `FRESHSERVICE_BASE_URL`, e.g. `https://example.freshservice.com`. Default: `null`. ## Get requester Action ID: `tools.freshservice.get_requester` Get a Freshservice requester by ID. Reference: [https://api.freshservice.com/](https://api.freshservice.com/) ### Secrets Required secrets: * `freshservice`: required values `FRESHSERVICE_API_KEY`; optional values `FRESHSERVICE_BASE_URL`. ### Input fields **requester_id** `integer` *required* Freshservice requester ID. **base_url** `string | null` Freshservice tenant URL or API URL. Defaults to `FRESHSERVICE_BASE_URL`, e.g. `https://example.freshservice.com`. Default: `null`. ## Get ticket Action ID: `tools.freshservice.get_ticket` Get a Freshservice ticket by ID. Reference: [https://api.freshservice.com/](https://api.freshservice.com/) ### Secrets Required secrets: * `freshservice`: required values `FRESHSERVICE_API_KEY`; optional values `FRESHSERVICE_BASE_URL`. ### Input fields **ticket_id** `integer` *required* Freshservice ticket ID. **base_url** `string | null` Freshservice tenant URL or API URL. Defaults to `FRESHSERVICE_BASE_URL`, e.g. `https://example.freshservice.com`. Default: `null`. **include** `string | null` Optional Freshservice include parameter. Default: `null`. ## List agents Action ID: `tools.freshservice.list_agents` List Freshservice agents with optional filters. Reference: [https://api.freshservice.com/](https://api.freshservice.com/) ### Secrets Required secrets: * `freshservice`: required values `FRESHSERVICE_API_KEY`; optional values `FRESHSERVICE_BASE_URL`. ### Input fields **base_url** `string | null` Freshservice tenant URL or API URL. Defaults to `FRESHSERVICE_BASE_URL`, e.g. `https://example.freshservice.com`. Default: `null`. **max_pages** `integer | null` Maximum pages to fetch. Default: `null`. **page** `integer` Freshservice page number to start from. Default: `1`. **per_page** `integer` Freshservice `per_page` value. Default: `30`. **query_params** `object | null` Freshservice query parameters. Default: `null`. ## List changes Action ID: `tools.freshservice.list_changes` List Freshservice changes with optional filters. Reference: [https://api.freshservice.com/](https://api.freshservice.com/) ### Secrets Required secrets: * `freshservice`: required values `FRESHSERVICE_API_KEY`; optional values `FRESHSERVICE_BASE_URL`. ### Input fields **base_url** `string | null` Freshservice tenant URL or API URL. Defaults to `FRESHSERVICE_BASE_URL`, e.g. `https://example.freshservice.com`. Default: `null`. **max_pages** `integer | null` Maximum pages to fetch. Default: `null`. **page** `integer` Freshservice page number to start from. Default: `1`. **per_page** `integer` Freshservice `per_page` value. Default: `30`. **query_params** `object | null` Freshservice query parameters. Default: `null`. ## List groups Action ID: `tools.freshservice.list_groups` List Freshservice groups with optional filters. Reference: [https://api.freshservice.com/](https://api.freshservice.com/) ### Secrets Required secrets: * `freshservice`: required values `FRESHSERVICE_API_KEY`; optional values `FRESHSERVICE_BASE_URL`. ### Input fields **base_url** `string | null` Freshservice tenant URL or API URL. Defaults to `FRESHSERVICE_BASE_URL`, e.g. `https://example.freshservice.com`. Default: `null`. **max_pages** `integer | null` Maximum pages to fetch. Default: `null`. **page** `integer` Freshservice page number to start from. Default: `1`. **per_page** `integer` Freshservice `per_page` value. Default: `30`. **query_params** `object | null` Freshservice query parameters. Default: `null`. ## List requesters Action ID: `tools.freshservice.list_requesters` List Freshservice requesters with optional filters. Reference: [https://api.freshservice.com/](https://api.freshservice.com/) ### Secrets Required secrets: * `freshservice`: required values `FRESHSERVICE_API_KEY`; optional values `FRESHSERVICE_BASE_URL`. ### Input fields **base_url** `string | null` Freshservice tenant URL or API URL. Defaults to `FRESHSERVICE_BASE_URL`, e.g. `https://example.freshservice.com`. Default: `null`. **max_pages** `integer | null` Maximum pages to fetch. Default: `null`. **page** `integer` Freshservice page number to start from. Default: `1`. **per_page** `integer` Freshservice `per_page` value. Default: `30`. **query_params** `object | null` Freshservice query parameters. Default: `null`. ## List tickets Action ID: `tools.freshservice.list_tickets` List Freshservice tickets with optional filters. Reference: [https://api.freshservice.com/](https://api.freshservice.com/) ### Secrets Required secrets: * `freshservice`: required values `FRESHSERVICE_API_KEY`; optional values `FRESHSERVICE_BASE_URL`. ### Input fields **base_url** `string | null` Freshservice tenant URL or API URL. Defaults to `FRESHSERVICE_BASE_URL`, e.g. `https://example.freshservice.com`. Default: `null`. **max_pages** `integer | null` Maximum pages to fetch. Default: `null`. **page** `integer` Freshservice page number to start from. Default: `1`. **per_page** `integer` Freshservice `per_page` value. Default: `30`. **query_params** `object | null` Freshservice query parameters. Default: `null`. ## Reply to ticket Action ID: `tools.freshservice.reply_to_ticket` Add a reply to a Freshservice ticket. Reference: [https://api.freshservice.com/](https://api.freshservice.com/) ### Secrets Required secrets: * `freshservice`: required values `FRESHSERVICE_API_KEY`; optional values `FRESHSERVICE_BASE_URL`. ### Input fields **reply** `object` *required* Freshservice ticket reply payload. **ticket_id** `integer` *required* Freshservice ticket ID. **base_url** `string | null` Freshservice tenant URL or API URL. Defaults to `FRESHSERVICE_BASE_URL`, e.g. `https://example.freshservice.com`. Default: `null`. ## Update change Action ID: `tools.freshservice.update_change` Update a Freshservice change. Reference: [https://api.freshservice.com/](https://api.freshservice.com/) ### Secrets Required secrets: * `freshservice`: required values `FRESHSERVICE_API_KEY`; optional values `FRESHSERVICE_BASE_URL`. ### Input fields **change** `object` *required* Freshservice change fields to update. **change_id** `integer` *required* Freshservice change ID. **base_url** `string | null` Freshservice tenant URL or API URL. Defaults to `FRESHSERVICE_BASE_URL`, e.g. `https://example.freshservice.com`. Default: `null`. ## Update requester Action ID: `tools.freshservice.update_requester` Update a Freshservice requester. Reference: [https://api.freshservice.com/](https://api.freshservice.com/) ### Secrets Required secrets: * `freshservice`: required values `FRESHSERVICE_API_KEY`; optional values `FRESHSERVICE_BASE_URL`. ### Input fields **requester** `object` *required* Freshservice requester fields to update. **requester_id** `integer` *required* Freshservice requester ID. **base_url** `string | null` Freshservice tenant URL or API URL. Defaults to `FRESHSERVICE_BASE_URL`, e.g. `https://example.freshservice.com`. Default: `null`. ## Update ticket Action ID: `tools.freshservice.update_ticket` Update a Freshservice ticket. Reference: [https://api.freshservice.com/](https://api.freshservice.com/) ### Secrets Required secrets: * `freshservice`: required values `FRESHSERVICE_API_KEY`; optional values `FRESHSERVICE_BASE_URL`. ### Input fields **ticket** `object` *required* Freshservice ticket fields to update. **ticket_id** `integer` *required* Freshservice ticket ID. **base_url** `string | null` Freshservice tenant URL or API URL. Defaults to `FRESHSERVICE_BASE_URL`, e.g. `https://example.freshservice.com`. Default: `null`. # GitGuardian Source: https://docs.tracecat.com/tools/gitguardian Reference for the Tracecat GitGuardian integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Get public secret incident Action ID: `tools.gitguardian.get_public_secret_incident` Get a public secret incident. Calls GET /v1/public-incidents/secrets/\{incident_id} directly. Reference: [https://api.gitguardian.com/docs#tag/Public-Secret-Incidents/operation/getPublicIncident](https://api.gitguardian.com/docs#tag/Public-Secret-Incidents/operation/getPublicIncident) ### Secrets Required secrets: * `gitguardian`: required values `GITGUARDIAN_API_KEY`. ### Input fields **incident_id** `integer` *required* The id of the incident to retrieve. **base_url** `string | null` Base URL of the GitGuardian API. Default: `null`. **privacy_mode** `string | null` When set to `true`, sensitive values in the response are obfuscated (replaced with `<GG>OBFUSCATED</GG>`). Useful for sharing API responses without exposing sensitive data. Possible values: true, false. Default: `null`. ## Get secret incident Action ID: `tools.gitguardian.get_secret_incident` Get a secret incident. Calls GET /v1/incidents/secrets/\{incident_id} directly. Reference: [https://api.gitguardian.com/docs#tag/Internal-Secret-Incidents/operation/getIncident](https://api.gitguardian.com/docs#tag/Internal-Secret-Incidents/operation/getIncident) ### Secrets Required secrets: * `gitguardian`: required values `GITGUARDIAN_API_KEY`. ### Input fields **incident_id** `integer` *required* The id of the incident to retrieve. **base_url** `string | null` Base URL of the GitGuardian API. Default: `null`. **with_occurrences** `integer | null` Retrieve a number of occurrences of this incident. Default: `null`. ## List public secret incidents Action ID: `tools.gitguardian.list_public_secret_incidents` List public secret incidents. Calls GET /v1/public-incidents/secrets directly. Reference: [https://api.gitguardian.com/docs#tag/Public-Secret-Incidents/operation/listPublicIncidents](https://api.gitguardian.com/docs#tag/Public-Secret-Incidents/operation/listPublicIncidents) ### Secrets Required secrets: * `gitguardian`: required values `GITGUARDIAN_API_KEY`. ### Input fields **assignee_email** `string | null` Public secret incidents assigned to this email. Default: `null`. **assignee_id** `integer | null` Public secret incidents assigned to this user id. Default: `null`. **base_url** `string | null` Base URL of the GitGuardian API. Default: `null`. **cursor** `string | null` Pagination cursor. Default: `null`. **custom_tag_key** `string | null` Public secret incidents with the given custom tag key. Default: `null`. **custom_tag_value** `string | null` Public secret incidents with the given custom tag value. Default: `null`. **custom_tags** `string | null` Public secret incidents with one of the following custom tag ids. To retrieve incidents containing several custom tags at once, this query parameter should be used several times to intersect the results. Default: `null`. **date_after** `string | null` Entries found after this date. Default: `null`. **date_before** `string | null` Entries found before this date. Default: `null`. **declarative_secret_status** `string | null` Public secret incidents with the following declarative secret status. Possible values: revoked, active, test_credential, false_positive, low_risk. Default: `null`. **detector_group_name** `string | null` Public secret incidents belonging to the specified detector group. Default: `null`. **feedback** `boolean | null` Public secret incidents with or without feedback. Default: `null`. **ignorer_api_token_id** `string | null` Public secret incidents ignored by this API token id. Default: `null`. **ignorer_id** `integer | null` Public secret incidents ignored by this user id. Default: `null`. **ordering** `string | null` Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'. Possible values: date, -date, resolved_at, -resolved_at, ignored_at, -ignored_at, risk_score, -risk_score. Default: `null`. **per_page** `integer | null` Number of items to list per page. Default: `null`. **privacy_mode** `string | null` When set to `true`, sensitive values in the response are obfuscated (replaced with `<GG>OBFUSCATED</GG>`). Useful for sharing API responses without exposing sensitive data. Possible values: true, false. Default: `null`. **resolver_api_token_id** `string | null` Public secret incidents resolved by this API token id. Default: `null`. **resolver_id** `integer | null` Public secret incidents resolved by this user id. Default: `null`. **risk_score_max** `integer | null` Incidents with risk score lesser than value. Default: `null`. **risk_score_min** `integer | null` Incidents with risk score greater than value. Default: `null`. **severity** `string | null` Filter public secret incidents by severity. Possible values: critical, high, medium, low, info, unknown. Default: `null`. **status** `string | null` Public secret incidents with the following status. Possible values: IGNORED, TRIGGERED, ASSIGNED, RESOLVED. Default: `null`. **tags** `string | null` Public secret incidents with one of the following tags. Use `NONE` if you want to filter incidents with no tags. Default: `null`. **triggered_at_after** `string | null` Incidents with triggered_at after this date. Default: `null`. **triggered_at_before** `string | null` Incidents with triggered_at before this date. Default: `null`. **validity** `string | null` Public secret incident with the following validity. Possible values: valid, invalid, failed_to_check, no_checker, unknown. Default: `null`. ## List public secret occurrences Action ID: `tools.gitguardian.list_public_secret_occurrences` List public secret occurrences. Calls GET /v1/public-incidents/secrets/\{incident_id}/occurrences directly. Reference: [https://api.gitguardian.com/docs#tag/Public-Secret-Occurrences/operation/listPublicOccurrences](https://api.gitguardian.com/docs#tag/Public-Secret-Occurrences/operation/listPublicOccurrences) ### Secrets Required secrets: * `gitguardian`: required values `GITGUARDIAN_API_KEY`. ### Input fields **incident_id** `integer` *required* The id of the incident to retrieve. **attachment_reason** `string | null` Occurrences with one of the following attachment reasons. Possible values: by_dev_from_perimeter, on_github_org_in_perimeter, from_secret_grasper. Default: `null`. **base_url** `string | null` Base URL of the GitGuardian API. Default: `null`. **cursor** `string | null` Pagination cursor. Default: `null`. **date_after** `string | null` Entries found after this date. Default: `null`. **date_before** `string | null` Entries found before this date. Default: `null`. **filepath** `string | null` Entries matching this filepath search. Default: `null`. **ordering** `string | null` Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'. Possible values: id, -id, date, -date. Default: `null`. **per_page** `integer | null` Number of items to list per page. Default: `null`. **presence** `string | null` Entries that have the following presence status. Possible values: present, removed, unknown. Default: `null`. **severity** `string | null` Filter occurrences by the severity of their related incident. Can specify multiple values separated by commas. Possible values: critical, high, medium, low, info, unknown. Default: `null`. **sha** `string | null` Entries starting with the commit sha search string. Default: `null`. **source_id** `integer | null` Filter on the source ID. Default: `null`. **status** `string | null` Filter occurrences by the status of their related incident. Can specify multiple values separated by commas. Possible values: IGNORED, TRIGGERED, ASSIGNED, RESOLVED. Default: `null`. **tags** `string | null` Public secret incidents with one of the following tags. Use `NONE` if you want to filter incidents with no tags. Default: `null`. **validity** `string | null` Filter occurrences by the validity of their related secret. Can specify multiple values separated by commas. Possible values: valid, invalid, failed_to_check, no_checker, unknown. Default: `null`. ## List secret incidents Action ID: `tools.gitguardian.list_secret_incidents` List secret incidents. Calls GET /v1/incidents/secrets directly. Reference: [https://api.gitguardian.com/docs#tag/Internal-Secret-Incidents/operation/listIncidents](https://api.gitguardian.com/docs#tag/Internal-Secret-Incidents/operation/listIncidents) ### Secrets Required secrets: * `gitguardian`: required values `GITGUARDIAN_API_KEY`. ### Input fields **assignee_email** `string | null` Incidents assigned to this email. Default: `null`. **assignee_id** `integer | null` Incidents assigned to this user id. Default: `null`. **base_url** `string | null` Base URL of the GitGuardian API. Default: `null`. **cursor** `string | null` Pagination cursor. Default: `null`. **custom_tag_key** `string | null` Incidents with the given custom tag key. Default: `null`. **custom_tag_value** `string | null` Incidents with the given custom tag value. Default: `null`. **custom_tags** `string | null` Incidents with one of the following custom tag ids. To retrieve incidents containing several custom tags at once, this query parameter should be used several times to intersect the results. Default: `null`. **date_after** `string | null` Entries found after this date. Default: `null`. **date_before** `string | null` Entries found before this date. Default: `null`. **detector_group_name** `string | null` Incidents belonging to the specified detector group. Default: `null`. **exclude_tags** `string | null` Exclude incidents with any of the following tags (comma-separated). Use `NONE` to exclude incidents with no tags. Default: `null`. **feedback** `boolean | null` Incidents with or without feedback. Default: `null`. **ignorer_api_token_id** `string | null` Incidents ignored by this API token id. Default: `null`. **ignorer_id** `integer | null` Incidents ignored by this user id. Default: `null`. **only_on_provider_archived_sources** `boolean | null` When true, only return secret incidents where every detection is on a source archived on the provider (same meaning as `provider_metadata.archived` on the Sources API). Source types that do not support an archived flag are never considered archived. Default: `null`. **ordering** `string | null` Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'. Possible values: date, -date, resolved_at, -resolved_at, ignored_at, -ignored_at, risk_score, -risk_score. Default: `null`. **page** `integer | null` Page number. Default: `null`. **per_page** `integer | null` Number of items to list per page. Default: `null`. **resolver_api_token_id** `string | null` Incidents resolved by this API token id. Default: `null`. **resolver_id** `integer | null` Incidents resolved by this user id. Default: `null`. **risk_score_max** `integer | null` Incidents with risk score lesser than value. Default: `null`. **risk_score_min** `integer | null` Incidents with risk score greater than value. Default: `null`. **severity** `string | null` Filter incidents by severity. Possible values: critical, high, medium, low, info, unknown. Default: `null`. **status** `string | null` Incidents with the following status. Possible values: IGNORED, TRIGGERED, ASSIGNED, RESOLVED. Default: `null`. **tags** `string | null` Incidents with one of the following tags. Use `NONE` if you want to filter incidents with no tags. Default: `null`. **triggered_at_after** `string | null` Incidents with triggered_at after this date. Default: `null`. **triggered_at_before** `string | null` Incidents with triggered_at before this date. Default: `null`. **validity** `string | null` Secrets with the following validity. Possible values: valid, invalid, failed_to_check, no_checker, unknown. Default: `null`. ## List secret occurrences Action ID: `tools.gitguardian.list_secret_occurrences` List secret occurrences. Calls GET /v1/occurrences/secrets directly. Reference: [https://api.gitguardian.com/docs#tag/Internal-Secret-Occurrences/operation/listOccurrences](https://api.gitguardian.com/docs#tag/Internal-Secret-Occurrences/operation/listOccurrences) ### Secrets Required secrets: * `gitguardian`: required values `GITGUARDIAN_API_KEY`. ### Input fields **author_info** `string | null` Entries matching this author email search. Default: `null`. **author_name** `string | null` Entries matching this author name search. Default: `null`. **base_url** `string | null` Base URL of the GitGuardian API. Default: `null`. **cursor** `string | null` Pagination cursor. Default: `null`. **date_after** `string | null` Entries found after this date. Default: `null`. **date_before** `string | null` Entries found before this date. Default: `null`. **exclude_tags** `string | null` Exclude occurrences with any of the following tags (comma-separated). Use `NONE` to exclude occurrences with no tags. Default: `null`. **filepath** `string | null` Entries matching this filepath search. Default: `null`. **incident_assignee_id** `integer | null` Filter by incident assignee member ID. Default: `null`. **incident_id** `integer | null` Filter by incident ID. Default: `null`. **ordering** `string | null` Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'. Possible values: date, -date. Default: `null`. **page** `integer | null` Page number. Default: `null`. **per_page** `integer | null` Number of items to list per page. Default: `null`. **presence** `string | null` Entries that have the following presence status. Possible values: present, removed. Default: `null`. **severity** `string | null` Filter occurrences by the severity of their related incident. Can specify multiple values separated by commas. Possible values: critical, high, medium, low, info, unknown. Default: `null`. **sha** `string | null` Entries starting with the commit sha search string. Default: `null`. **source_id** `integer | null` Filter on the source ID. Default: `null`. **source_monitoring_status** `string | null` Keep only occurrences whose source's real-time monitoring status is one of the given (comma-separated) buckets. Requires the monitoring-status feature to be enabled for the workspace; otherwise the parameter is ignored. Default: `null`. **source_name** `string | null` Entries matching this source name search. Default: `null`. **source_type** `string | null` Filter by source type. Possible values: bitbucket, bitbucket_cloud, github, gitlab, azure_devops, slack, jira_cloud, confluence_cloud, microsoft_teams, confluence_data_center, jira_data_center, aws_ecr, azure_cr, google_artifact, jfrog_artifact, docker_hub, servicenow, sharepoint_online, sharepoint_online_drive, sharepoint_online_pages, microsoft_onedrive, custom_source. Default: `null`. **status** `string | null` Filter occurrences by the status of their related incident. Can specify multiple values separated by commas. Possible values: IGNORED, TRIGGERED, ASSIGNED, RESOLVED. Default: `null`. **tags** `string | null` Occurrences with one of the following tags. Use `NONE` if you want to filter occurrences with no tags. Default: `null`. **validity** `string | null` Filter occurrences by the validity of their related secret. Can specify multiple values separated by commas. Possible values: valid, invalid, failed_to_check, no_checker, unknown. Default: `null`. ## Scan content Action ID: `tools.gitguardian.scan_content` Scan content. Calls POST /v1/scan directly with one document. Reference: [https://api.gitguardian.com/docs#tag/Scan-Methods/operation/scan](https://api.gitguardian.com/docs#tag/Scan-Methods/operation/scan) ### Secrets Required secrets: * `gitguardian`: required values `GITGUARDIAN_API_KEY`. ### Input fields **document** `string` *required* Document content to scan. Request body shouldn't exceed 1MB. **base_url** `string | null` Base URL of the GitGuardian API. Default: `null`. **filename** `string | null` Filename associated with the document, for example `.env`. Maximum length is 256 characters. Default: `null`. # GitHub Source: https://docs.tracecat.com/tools/github Reference for the Tracecat GitHub integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Cancel workflow run Action ID: `tools.github.cancel_workflow_run` Cancel workflow run. Calls POST /repos/\{owner}/\{repo}/actions/runs/\{run_id}/cancel directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **run_id** `integer` *required* GitHub API path value for run_id. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. ## Compare commits Action ID: `tools.github.compare_commits` Compare commits. Calls GET /repos/\{owner}/\{repo}/compare/\{basehead} directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **basehead** `string` *required* GitHub API path value for basehead. **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **page** `integer | null` The page number of the results to fetch. Default: `null`. **per_page** `integer | null` The number of results per page (max 100). Default: `null`. ## Create git ref Action ID: `tools.github.create_git_ref` Create git ref. IMPORTANT: `ref` must be the full name `refs/heads/my-branch`, but `branch` in create_or_update_repository_content and `head` in create_pull_request take the bare `my-branch`. Fails if GitHub returns 422 (for example, the ref already exists or `ref` is malformed), so a retry or repeat run with the same `ref` fails. Calls POST /repos/\{owner}/\{repo}/git/refs directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **ref** `string` *required* The name of the fully qualified reference (ie: `refs/heads/master`). If it doesn't start with 'refs' and have at least two slashes, it will be rejected. Use `refs/heads/my-branch` here; other GitHub actions take the bare `my-branch`. **repo** `string` *required* GitHub API path value for repo. **sha** `string` *required* The SHA1 value for this reference. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. ## Create issue Action ID: `tools.github.create_issue` Create issue. Calls POST /repos/\{owner}/\{repo}/issues directly. Accepted OAuth scopes: repo (default; omit only for public repository data). For bug reports, pass type: Bug where issue types are supported and labels: \[bug] as the caller-controlled fallback; labels, assignees, milestone, and issue_field_values are passed through unchanged. Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **payload** `object | null` API-native request body passed through without validation. Body fields documented for POST /repos/\{owner}/\{repo}/issues: title (required), body, assignee, milestone, labels, assignees, issue_field_values, type. Default: `null`. ## Create issue comment Action ID: `tools.github.create_issue_comment` Create issue comment. Calls POST /repos/\{owner}/\{repo}/issues/\{issue_number}/comments directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **body** `string` *required* The contents of the comment. **issue_number** `integer` *required* GitHub API path value for issue_number. **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. ## Create or update repository content Action ID: `tools.github.create_or_update_repository_content` Create or update repository content. Calls PUT /repos/\{owner}/\{repo}/contents/\{path} directly. Accepted OAuth scopes: repo (default; omit only for public repository data); workflow when modifying .github/workflows. Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **path** `string` *required* Nested repository content path. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **payload** `object | null` API-native request body. Documented fields: content (required), message (required), author, branch, committer, sha. Default: `null`. ## Create pull request Action ID: `tools.github.create_pull_request` Create pull request. Calls POST /repos/\{owner}/\{repo}/pulls directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **payload** `object | null` API-native request body passed through without validation. Body fields documented for POST /repos/\{owner}/\{repo}/pulls: title, head (required), head_repo, base (required), body, maintainer_can_modify, draft, issue. Default: `null`. ## Create pull request review Action ID: `tools.github.create_pull_request_review` Create pull request review. Calls POST /repos/\{owner}/\{repo}/pulls/\{pull_number}/reviews directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **pull_number** `integer` *required* GitHub API path value for pull_number. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **payload** `object | null` API-native request body passed through without validation. Body fields documented for POST /repos/\{owner}/\{repo}/pulls/\{pull_number}/reviews: commit_id, body, event, comments. Default: `null`. ## Create pull request review comment Action ID: `tools.github.create_pull_request_review_comment` Create pull request review comment. Calls POST /repos/\{owner}/\{repo}/pulls/\{pull_number}/comments directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **pull_number** `integer` *required* GitHub API path value for pull_number. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **payload** `object | null` API-native request body passed through without validation. Body fields documented for POST /repos/\{owner}/\{repo}/pulls/\{pull_number}/comments: body (required), commit_id (required), path (required), position, side, line, start_line, start_side, in_reply_to, subject_type. Default: `null`. ## Create repository security advisory Action ID: `tools.github.create_repository_security_advisory` Create repository security advisory. Calls POST /repos/\{owner}/\{repo}/security-advisories directly. Accepted OAuth scope: repo (default). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **payload** `object | null` API-native request body. Documented fields: description (required), summary (required), vulnerabilities (required), credits, cve_id, cvss_vector_string, cwe_ids, severity, start_private_fork. Default: `null`. ## Create security advisory fork Action ID: `tools.github.create_security_advisory_fork` Create security advisory fork. Calls POST /repos/\{owner}/\{repo}/security-advisories/\{ghsa_id}/forks directly. Accepted OAuth scope: repo (default). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **ghsa_id** `string` *required* GitHub API path value for ghsa_id. **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. ## Disable private vulnerability reporting Action ID: `tools.github.disable_private_vulnerability_reporting` Disable private vulnerability reporting. Calls DELETE /repos/\{owner}/\{repo}/private-vulnerability-reporting directly. Accepted OAuth scope: repo (default). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. ## Disable vulnerability alerts Action ID: `tools.github.disable_vulnerability_alerts` Disable vulnerability alerts. Calls DELETE /repos/\{owner}/\{repo}/vulnerability-alerts directly. Accepted OAuth scopes: security_events plus repo for private repository access. Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. ## Dispatch workflow Action ID: `tools.github.dispatch_workflow` Dispatch workflow. Calls POST /repos/\{owner}/\{repo}/actions/workflows/\{workflow_id}/dispatches directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **workflow_id** `string | integer` *required* GitHub API path value for workflow_id. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **payload** `object | null` API-native request body passed through without validation. Body fields documented for POST /repos/\{owner}/\{repo}/actions/workflows/\{workflow_id}/dispatches: ref (required), inputs, return_run_details. Default: `null`. ## Download workflow job logs Action ID: `tools.github.download_workflow_job_logs` Download workflow job logs. Calls GET /repos/\{owner}/\{repo}/actions/jobs/\{job_id}/logs directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **job_id** `integer` *required* GitHub API path value for job_id. **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. ## Enable private vulnerability reporting Action ID: `tools.github.enable_private_vulnerability_reporting` Enable private vulnerability reporting. Calls PUT /repos/\{owner}/\{repo}/private-vulnerability-reporting directly. Accepted OAuth scope: repo (default). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. ## Enable vulnerability alerts Action ID: `tools.github.enable_vulnerability_alerts` Enable vulnerability alerts. Calls PUT /repos/\{owner}/\{repo}/vulnerability-alerts directly. Accepted OAuth scopes: security_events plus repo for private repository access. Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. ## Get branch protection Action ID: `tools.github.get_branch_protection` Get branch protection. Calls GET /repos/\{owner}/\{repo}/branches/\{branch}/protection directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **branch** `string` *required* GitHub API path value for branch. **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. ## Get code scanning alert Action ID: `tools.github.get_code_scanning_alert` Get code scanning alert. Calls GET /repos/\{owner}/\{repo}/code-scanning/alerts/\{alert_number} directly. Accepted OAuth scopes: security_events plus repo for private repository access. Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **alert_number** `integer` *required* GitHub API path value for alert_number. **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. ## Get code scanning default setup Action ID: `tools.github.get_code_scanning_default_setup` Get code scanning default setup. Calls GET /repos/\{owner}/\{repo}/code-scanning/default-setup directly. Accepted OAuth scopes: security_events plus repo for private repository access. Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. ## Get commit Action ID: `tools.github.get_commit` Get commit. Calls GET /repos/\{owner}/\{repo}/commits/\{ref} directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **ref** `string` *required* GitHub API path value for ref. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **page** `integer | null` The page number of the results to fetch. Default: `null`. **per_page** `integer | null` The number of results per page (max 100). Default: `null`. ## Get dependabot alert Action ID: `tools.github.get_dependabot_alert` Get dependabot alert. Calls GET /repos/\{owner}/\{repo}/dependabot/alerts/\{alert_number} directly. Accepted OAuth scopes: security_events plus repo for private repository access. Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **alert_number** `integer` *required* GitHub API path value for alert_number. **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. ## Get gist Action ID: `tools.github.get_gist` Get gist. Calls GET /gists/\{gist_id} directly. Accepted OAuth scopes: gist (required only for secret or authenticated-user gists; omit for public gists). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **gist_id** `string` *required* GitHub API path value for gist_id. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. ## Get global security advisory Action ID: `tools.github.get_global_security_advisory` Get global security advisory. Calls GET /advisories/\{ghsa_id} directly. Accepted OAuth scope: repo (default). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **ghsa_id** `string` *required* GitHub API path value for ghsa_id. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. ## Get issue Action ID: `tools.github.get_issue` Get issue. Calls GET /repos/\{owner}/\{repo}/issues/\{issue_number} directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **issue_number** `integer` *required* GitHub API path value for issue_number. **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. ## Get organization audit log Action ID: `tools.github.get_organization_audit_log` Get organization audit log. Calls GET /orgs/\{org}/audit-log directly. Accepted OAuth scopes: read:audit_log. Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **org** `string` *required* GitHub API path value for org. **after** `string | null` A cursor, as given in the Link header. If specified, the query only searches for events after this cursor. Default: `null`. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **before** `string | null` A cursor, as given in the Link header. If specified, the query only searches for events before this cursor. Default: `null`. **include** `string | null` The event types to include: web - returns web (non-Git) events. git - returns Git events. all - returns both web and Git events. The default is web. Default: `null`. **order** `string | null` The order of audit log events. To list newest events first, specify desc. To list oldest events first, specify asc. The default is desc. Default: `null`. **per_page** `integer | null` The number of results per page (max 100). Default: `null`. **phrase** `string | null` A search phrase. Default: `null`. ## Get private vulnerability reporting Action ID: `tools.github.get_private_vulnerability_reporting` Get private vulnerability reporting. Calls GET /repos/\{owner}/\{repo}/private-vulnerability-reporting directly. Accepted OAuth scope: repo (default). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. ## Get pull request Action ID: `tools.github.get_pull_request` Get pull request. Calls GET /repos/\{owner}/\{repo}/pulls/\{pull_number} directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **pull_number** `integer` *required* GitHub API path value for pull_number. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. ## Get pull request merge state Action ID: `tools.github.get_pull_request_merge_state` Get pull request merge state. Calls GET /repos/\{owner}/\{repo}/pulls/\{pull_number}/merge directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **pull_number** `integer` *required* GitHub API path value for pull_number. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. ## Get repository Action ID: `tools.github.get_repository` Get repository. Calls GET /repos/\{owner}/\{repo} directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. ## Get repository collaborator permission Action ID: `tools.github.get_repository_collaborator_permission` Get repository collaborator permission. Calls GET /repos/\{owner}/\{repo}/collaborators/\{username}/permission directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **username** `string` *required* GitHub API path value for username. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. ## Get repository content Action ID: `tools.github.get_repository_content` Get repository content. Calls GET /repos/\{owner}/\{repo}/contents/\{path} directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **path** `string` *required* Nested repository content path. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **ref** `string | null` The name of the commit/branch/tag. Default: the repository’s default branch. Default: `null`. ## Get repository sbom Action ID: `tools.github.get_repository_sbom` Get repository sbom. Calls GET /repos/\{owner}/\{repo}/dependency-graph/sbom directly. Accepted OAuth scopes: security_events plus repo for private repository access. Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. ## Get repository security advisory Action ID: `tools.github.get_repo_security_advisory` Get repository security advisory. Calls GET /repos/\{owner}/\{repo}/security-advisories/\{ghsa_id} directly. Accepted OAuth scope: repo (default). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **ghsa_id** `string` *required* GitHub API path value for ghsa_id. **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. ## Get secret scanning alert Action ID: `tools.github.get_secret_scanning_alert` Get secret scanning alert. Calls GET /repos/\{owner}/\{repo}/secret-scanning/alerts/\{alert_number} directly. Accepted OAuth scopes: security_events plus repo for private repository access. Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **alert_number** `integer` *required* GitHub API path value for alert_number. **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **hide_secret** `boolean | null` A boolean value representing whether or not to hide literal secrets in the results. Default: `false`. Default: `null`. ## Get vulnerability alert status Action ID: `tools.github.get_vulnerability_alert_status` Get vulnerability alert status. Calls GET /repos/\{owner}/\{repo}/vulnerability-alerts directly. Accepted OAuth scopes: security_events plus repo for private repository access. Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. ## Get workflow run Action ID: `tools.github.get_workflow_run` Get workflow run. Calls GET /repos/\{owner}/\{repo}/actions/runs/\{run_id} directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **run_id** `integer` *required* GitHub API path value for run_id. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **exclude_pull_requests** `boolean | null` If `true` pull requests are omitted from the response (empty array). Default: `null`. ## List code scanning alert instances Action ID: `tools.github.list_code_scanning_alert_instances` List code scanning alert instances. Calls GET /repos/\{owner}/\{repo}/code-scanning/alerts/\{alert_number}/instances directly. Accepted OAuth scopes: security_events plus repo for private repository access. Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **alert_number** `integer` *required* GitHub API path value for alert_number. **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **page** `integer | null` The page number of the results to fetch. Default: `1`. Default: `null`. **per_page** `integer | null` The number of results per page (max 100). Default: `30`. Default: `null`. **pr** `integer | null` The number of the pull request for the results you want to list. Default: `null`. **ref** `string | null` The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/<branch name>` or simply `<branch name>`. To reference a pull request use `refs/pull/<number>/merge`. Default: `null`. ## List commits Action ID: `tools.github.list_commits` List commits. Calls GET /repos/\{owner}/\{repo}/commits directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **author** `string | null` GitHub username or email address to use to filter by commit author. Default: `null`. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **committer** `string | null` GitHub username or email address to use to filter by commit committer. Default: `null`. **page** `integer | null` The page number of the results to fetch. Default: `null`. **path** `string | null` Only commits containing this file path will be returned. Default: `null`. **per_page** `integer | null` The number of results per page (max 100). Default: `null`. **sha** `string | null` SHA or branch to start listing commits from. Default: the repository’s default branch (usually main). Default: `null`. **since** `string | null` Only show results that were last updated after the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. Due to limitations of Git, timestamps must be between 1970-01-01 and 2099-12-31 (inclusive) or unexpected results may be returned. Default: `null`. **until** `string | null` Only commits before this date will be returned. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. Due to limitations of Git, timestamps must be between 1970-01-01 and 2099-12-31 (inclusive) or unexpected results may be returned. Default: `null`. ## List gist commits Action ID: `tools.github.list_gist_commits` List gist commits. Calls GET /gists/\{gist_id}/commits directly. Accepted OAuth scopes: gist (required only for secret or authenticated-user gists; omit for public gists). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **gist_id** `string` *required* GitHub API path value for gist_id. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **page** `integer | null` The page number of the results to fetch. Default: `null`. **per_page** `integer | null` The number of results per page (max 100). Default: `null`. ## List global security advisories Action ID: `tools.github.list_global_security_advisories` List global security advisories. Calls GET /advisories directly. Accepted OAuth scope: repo (default). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **affects** `string | null` If specified, only return advisories that affect any of `package` or `package@version`. A maximum of 1000 packages can be specified. If the query parameter causes the URL to exceed the maximum URL length supported by your client, you must specify fewer packages. Example: `affects=package1,package2@1.0.0,package3@2.0.0` or `affects[]=package1&affects[]=package2@1.0.0` Default: `null`. **after** `string | null` A cursor, as given in the Link header. If specified, the query only searches for results after this cursor. Default: `null`. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **before** `string | null` A cursor, as given in the Link header. If specified, the query only searches for results before this cursor. Default: `null`. **cve_id** `string | null` If specified, only advisories with this CVE (Common Vulnerabilities and Exposures) identifier will be returned. Default: `null`. **cwes** `string | null` If specified, only advisories with these Common Weakness Enumerations (CWEs) will be returned. Example: `cwes=79,284,22` or `cwes[]=79&cwes[]=284&cwes[]=22` Default: `null`. **direction** `string | null` The direction to sort the results by. Default: `desc`. Can be one of: `asc`, `desc`. Default: `null`. **ecosystem** `string | null` If specified, only advisories for these ecosystems will be returned. Can be one of: `rubygems`, `npm`, `pip`, `maven`, `nuget`, `composer`, `go`, `rust`, `erlang`, `actions`, `pub`, `other`, `swift`. Default: `null`. **epss_percentage** `string | null` If specified, only return advisories that have an EPSS percentage score that matches the provided value. The EPSS percentage represents the likelihood of a CVE being exploited. Default: `null`. **epss_percentile** `string | null` If specified, only return advisories that have an EPSS percentile score that matches the provided value. The EPSS percentile represents the relative rank of the CVE's likelihood of being exploited compared to other CVEs. Default: `null`. **ghsa_id** `string | null` If specified, only advisories with this GHSA (GitHub Security Advisory) identifier will be returned. Default: `null`. **is_withdrawn** `boolean | null` Whether to only return advisories that have been withdrawn. Default: `null`. **modified** `string | null` If specified, only show advisories that were updated or published on a date or date range. Default: `null`. **per_page** `integer | null` The number of results per page (max 100). Default: `30`. Default: `null`. **published** `string | null` If specified, only return advisories that were published on a date or date range. Default: `null`. **severity** `string | null` If specified, only advisories with these severities will be returned. Can be one of: `unknown`, `low`, `medium`, `high`, `critical`. Default: `null`. **sort** `string | null` The property to sort the results by. Default: `published`. Can be one of: `updated`, `published`, `epss_percentage`, `epss_percentile`. Default: `null`. **type** `string | null` If specified, only advisories of this type will be returned. By default, a request with no other parameters defined will only return reviewed advisories that are not malware. Default: `reviewed`. Can be one of: `reviewed`, `malware`, `unreviewed`. Default: `null`. **updated** `string | null` If specified, only return advisories that were updated on a date or date range. Default: `null`. ## List issue comments Action ID: `tools.github.list_issue_comments` List issue comments. Calls GET /repos/\{owner}/\{repo}/issues/\{issue_number}/comments directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **issue_number** `integer` *required* GitHub API path value for issue_number. **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **page** `integer | null` The page number of the results to fetch. Default: `null`. **per_page** `integer | null` The number of results per page (max 100). Default: `null`. **since** `string | null` Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Default: `null`. ## List organization code scanning alerts Action ID: `tools.github.list_org_code_scanning_alerts` List organization code scanning alerts. Calls GET /orgs/\{org}/code-scanning/alerts directly. Accepted OAuth scopes: security_events plus repo for private repository access. Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **org** `string` *required* GitHub API path value for org. **after** `string | null` A cursor, as given in the Link header. If specified, the query only searches for results after this cursor. Default: `null`. **assignees** `string | null` Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. Default: `null`. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **before** `string | null` A cursor, as given in the Link header. If specified, the query only searches for results before this cursor. Default: `null`. **direction** `string | null` The direction to sort the results by. Default: `desc`. Can be one of: `asc`, `desc`. Default: `null`. **page** `integer | null` The page number of the results to fetch. Default: `1`. Default: `null`. **per_page** `integer | null` The number of results per page (max 100). Default: `30`. Default: `null`. **severity** `string | null` If specified, only code scanning alerts with this severity will be returned. Can be one of: `critical`, `high`, `medium`, `low`, `warning`, `note`, `error`. Default: `null`. **sort** `string | null` The property by which to sort the results. Default: `created`. Can be one of: `created`, `updated`. Default: `null`. **state** `string | null` If specified, only code scanning alerts with this state will be returned. Can be one of: `open`, `closed`, `dismissed`, `fixed`. Default: `null`. **tool_guid** `string | null` The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in their analysis data. You can specify the tool by using either `tool_guid` or `tool_name`, but not both. Default: `null`. **tool_name** `string | null` The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, but not both. Default: `null`. ## List organization dependabot alerts Action ID: `tools.github.list_org_dependabot_alerts` List organization dependabot alerts. Calls GET /orgs/\{org}/dependabot/alerts directly. Accepted OAuth scopes: security_events plus repo for private repository access. Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **org** `string` *required* GitHub API path value for org. **after** `string | null` A cursor, as given in the Link header. If specified, the query only searches for results after this cursor. Default: `null`. **artifact_registry** `string | null` A comma-separated list of Artifact Registry name strings. If specified, only alerts for repositories with storage records matching these registries will be returned. Can be: `jfrog-artifactory` Default: `null`. **artifact_registry_url** `string | null` A comma-separated list of artifact registry URLs. If specified, only alerts for repositories with storage records matching these URLs will be returned. Default: `null`. **assignee** `string | null` Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`) to return alerts assigned to any of the specified users. Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. Default: `null`. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **before** `string | null` A cursor, as given in the Link header. If specified, the query only searches for results before this cursor. Default: `null`. **classification** `string | null` A comma-separated list of vulnerability classifications. If specified, only alerts for vulnerabilities with these classifications will be returned. Can be: `malware`, `general` Default: `null`. **direction** `string | null` The direction to sort the results by. Default: `desc`. Can be one of: `asc`, `desc`. Default: `null`. **ecosystem** `string | null` A comma-separated list of ecosystems. If specified, only alerts for these ecosystems will be returned. Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` Default: `null`. **epss_percentage** `string | null` CVE Exploit Prediction Scoring System (EPSS) percentage. Can be specified as: - An exact number (`n`) - Comparators such as `>n`, `<n`, `>=n`, `<=n` - A range like `n..n`, where `n` is a number from 0.0 to 1.0 Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. Default: `null`. **has** `array[string] | null` Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned. Multiple `has` filters can be passed to filter for alerts that have all of the values. Default: `null`. **package** `string | null` A comma-separated list of package names. If specified, only alerts for these packages will be returned. Default: `null`. **per_page** `integer | null` The number of results per page (max 100). Default: `30`. Default: `null`. **relationship** `string | null` A comma-separated list of relationships of the vulnerable dependency to your project. If specified, only alerts with these relationships will be returned. We are rolling out support for dependency relationship across ecosystems. This value will be "unknown" for all dependencies in unsupported ecosystems. Default: `null`. **runtime_risk** `string | null` A comma-separated list of runtime risk strings. If specified, only alerts for repositories with deployment records matching these risks will be returned. Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` Default: `null`. **scope** `string | null` The scope of the vulnerable dependency. If specified, only alerts with this scope will be returned. Can be one of: `development`, `runtime`. Default: `null`. **severity** `string | null` A comma-separated list of severities. If specified, only alerts with these severities will be returned. Can be: `low`, `medium`, `high`, `critical` Default: `null`. **sort** `string | null` The property by which to sort the results. `created` means when the alert was created. `updated` means when the alert's state last changed. `epss_percentage` sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage. Default: `created`. Default: `null`. **state** `string | null` A comma-separated list of states. If specified, only alerts with these states will be returned. Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` Default: `null`. ## List organization secret scanning alerts Action ID: `tools.github.list_org_secret_scanning_alerts` List organization secret scanning alerts. Calls GET /orgs/\{org}/secret-scanning/alerts directly. Accepted OAuth scopes: security_events plus repo for private repository access. Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **org** `string` *required* GitHub API path value for org. **after** `string | null` A cursor, as given in the Link header. If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty "after" query string. Default: `null`. **assignee** `string | null` Filters alerts by assignee. Use `*` to get all assigned alerts, `none` to get all unassigned alerts, or a GitHub username to get alerts assigned to a specific user. Default: `null`. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **before** `string | null` A cursor, as given in the Link header. If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty "before" query string. Default: `null`. **direction** `string | null` The direction to sort the results by. Default: `desc`. Can be one of: `asc`, `desc`. Default: `null`. **exclude_providers** `string | null` A comma-separated list of provider slugs to exclude from the results. Provider slugs use lowercase with underscores (e.g., `github_secret_scanning`, `clojars`). You can find the provider slug in the `provider_slug` field of each alert. Cannot be combined with the `providers` parameter. Default: `null`. **exclude_secret_types** `string | null` A comma-separated list of secret types to exclude from the results. All default secret patterns are returned except those matching the specified types. Cannot be combined with the `secret_type` parameter. See "Supported secret scanning patterns" for a complete list of secret types. Default: `null`. **hide_secret** `boolean | null` A boolean value representing whether or not to hide literal secrets in the results. Default: `false`. Default: `null`. **included_metadata** `string | null` A comma-separated list of metadata fields to filter alerts by. Only alerts that have all of the specified metadata fields attached will be returned. Possible values are: `owner-email`, `owner-id`, `owner-name`, `secret-id`, `secret-name`, `secret-issued-date`, `secret-expiration-date`, `organization-name`, `organization-id`, `last-used-date`, and `has-organization-access`. Default: `null`. **is_bypassed** `boolean | null` A boolean value (`true` or `false`) indicating whether to filter alerts by their push protection bypass status. When set to `true`, only alerts that were created because a push protection rule was bypassed will be returned. When set to `false`, only alerts that were not caused by a push protection bypass will be returned. Default: `null`. **is_multi_repo** `boolean | null` A boolean value representing whether or not to filter alerts by the multi-repo tag being present. Default: `false`. Default: `null`. **is_publicly_leaked** `boolean | null` A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present. Default: `false`. Default: `null`. **owner_email_hash** `string | null` Filters alerts to only those whose attached `owner_email` metadata field matches the provided value. The value must be the lowercase hex-encoded SHA-256 hash of the email address to match (for example, the SHA-256 of `user@example.com`). Only alerts that have an `owner_email` metadata value whose SHA-256 hash equals this parameter are returned. Default: `null`. **page** `integer | null` The page number of the results to fetch. Default: `1`. Default: `null`. **per_page** `integer | null` The number of results per page (max 100). Default: `30`. Default: `null`. **providers** `string | null` A comma-separated list of provider slugs to filter by. Provider slugs use lowercase with underscores (e.g., `github_secret_scanning`, `clojars`). You can find the provider slug in the `provider_slug` field of each alert. Cannot be combined with the `exclude_providers` parameter. Default: `null`. **resolution** `string | null` A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. Default: `null`. **secret_type** `string | null` A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See "Supported secret scanning patterns" for a complete list of secret types. Default: `null`. **sort** `string | null` The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. Default: `created`. Default: `null`. **state** `string | null` Set to `open` or `resolved` to only list secret scanning alerts in a specific state. Default: `null`. **validity** `string | null` A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`. Default: `null`. ## List organization security advisories Action ID: `tools.github.list_organization_security_advisories` List organization security advisories. Calls GET /orgs/\{org}/security-advisories directly. Accepted OAuth scope: repo (default). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **org** `string` *required* GitHub API path value for org. **after** `string | null` A cursor, as given in the Link header. If specified, the query only searches for results after this cursor. Default: `null`. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **before** `string | null` A cursor, as given in the Link header. If specified, the query only searches for results before this cursor. Default: `null`. **direction** `string | null` The direction to sort the results by. Default: `desc`. Can be one of: `asc`, `desc`. Default: `null`. **per_page** `integer | null` The number of advisories to return per page. Default: `30`. Default: `null`. **sort** `string | null` The property to sort the results by. Default: `created`. Can be one of: `created`, `updated`, `published`. Default: `null`. **state** `string | null` Filter by the state of the repository advisories. Only advisories of this state will be returned. Can be one of: `triage`, `draft`, `published`, `closed`. Default: `null`. ## List pull request files Action ID: `tools.github.list_pull_request_files` List pull request files. Calls GET /repos/\{owner}/\{repo}/pulls/\{pull_number}/files directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **pull_number** `integer` *required* GitHub API path value for pull_number. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **page** `integer | null` The page number of the results to fetch. Default: `null`. **per_page** `integer | null` The number of results per page (max 100). Default: `null`. ## List pull request review comments Action ID: `tools.github.list_pull_request_review_comments` List pull request review comments. Calls GET /repos/\{owner}/\{repo}/pulls/\{pull_number}/comments directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **pull_number** `integer` *required* GitHub API path value for pull_number. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **direction** `string | null` The direction to sort results. Ignored without `sort` parameter. Can be one of: `asc`, `desc`. Default: `null`. **page** `integer | null` The page number of the results to fetch. Default: `null`. **per_page** `integer | null` The number of results per page (max 100). Default: `null`. **since** `string | null` Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Default: `null`. **sort** `string | null` The property to sort the results by. Can be one of: `created`, `updated`. Default: `null`. ## List pull requests Action ID: `tools.github.list_pull_requests` List pull requests. Calls GET /repos/\{owner}/\{repo}/pulls directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base** `string | null` Filter pulls by base branch name. Example: `gh-pages`. Default: `null`. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **direction** `string | null` The direction of the sort. Default: `desc` when sort is `created` or sort is not specified, otherwise `asc`. Can be one of: `asc`, `desc`. Default: `null`. **head** `string | null` Filter pulls by head user or head organization and branch name in the format of `user:ref-name` or `organization:ref-name`. For example: `github:new-script-format` or `octocat:test-branch`. Default: `null`. **page** `integer | null` The page number of the results to fetch. Default: `null`. **per_page** `integer | null` The number of results per page (max 100). Default: `null`. **sort** `string | null` What to sort results by. `popularity` will sort by the number of comments. `long-running` will sort by date created and will limit the results to pull requests that have been open for more than a month and have had activity within the past month. Can be one of: `created`, `updated`, `popularity`, `long-running`. Default: `null`. **state** `string | null` Either `open`, `closed`, or `all` to filter by state. Can be one of: `open`, `closed`, `all`. Default: `null`. ## List repository code scanning alerts Action ID: `tools.github.list_repo_code_scanning_alerts` List repository code scanning alerts. Calls GET /repos/\{owner}/\{repo}/code-scanning/alerts directly. Accepted OAuth scopes: security_events plus repo for private repository access. Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **after** `string | null` A cursor, as given in the Link header. If specified, the query only searches for results after this cursor. Default: `null`. **assignees** `string | null` Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. Default: `null`. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **before** `string | null` A cursor, as given in the Link header. If specified, the query only searches for results before this cursor. Default: `null`. **direction** `string | null` The direction to sort the results by. Default: `desc`. Can be one of: `asc`, `desc`. Default: `null`. **page** `integer | null` The page number of the results to fetch. Default: `1`. Default: `null`. **per_page** `integer | null` The number of results per page (max 100). Default: `30`. Default: `null`. **pr** `integer | null` The number of the pull request for the results you want to list. Default: `null`. **ref** `string | null` The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/<branch name>` or simply `<branch name>`. To reference a pull request use `refs/pull/<number>/merge`. Default: `null`. **severity** `string | null` If specified, only code scanning alerts with this severity will be returned. Can be one of: `critical`, `high`, `medium`, `low`, `warning`, `note`, `error`. Default: `null`. **sort** `string | null` The property by which to sort the results. Default: `created`. Can be one of: `created`, `updated`. Default: `null`. **state** `string | null` If specified, only code scanning alerts with this state will be returned. Can be one of: `open`, `closed`, `dismissed`, `fixed`. Default: `null`. **tool_guid** `string | null` The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in their analysis data. You can specify the tool by using either `tool_guid` or `tool_name`, but not both. Default: `null`. **tool_name** `string | null` The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, but not both. Default: `null`. ## List repository dependabot alerts Action ID: `tools.github.list_repo_dependabot_alerts` List repository dependabot alerts. Calls GET /repos/\{owner}/\{repo}/dependabot/alerts directly. Accepted OAuth scopes: security_events plus repo for private repository access. Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **after** `string | null` A cursor, as given in the Link header. If specified, the query only searches for results after this cursor. Default: `null`. **assignee** `string | null` Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`) to return alerts assigned to any of the specified users. Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. Default: `null`. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **before** `string | null` A cursor, as given in the Link header. If specified, the query only searches for results before this cursor. Default: `null`. **classification** `string | null` A comma-separated list of vulnerability classifications. If specified, only alerts for vulnerabilities with these classifications will be returned. Can be: `malware`, `general` Default: `null`. **direction** `string | null` The direction to sort the results by. Default: `desc`. Can be one of: `asc`, `desc`. Default: `null`. **ecosystem** `string | null` A comma-separated list of ecosystems. If specified, only alerts for these ecosystems will be returned. Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` Default: `null`. **epss_percentage** `string | null` CVE Exploit Prediction Scoring System (EPSS) percentage. Can be specified as: - An exact number (`n`) - Comparators such as `>n`, `<n`, `>=n`, `<=n` - A range like `n..n`, where `n` is a number from 0.0 to 1.0 Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. Default: `null`. **has** `array[string] | null` Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned. Multiple `has` filters can be passed to filter for alerts that have all of the values. Currently, only `patch` is supported. Default: `null`. **manifest** `string | null` A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. Default: `null`. **package** `string | null` A comma-separated list of package names. If specified, only alerts for these packages will be returned. Default: `null`. **per_page** `integer | null` The number of results per page (max 100). Default: `30`. Default: `null`. **relationship** `string | null` A comma-separated list of relationships of the vulnerable dependency to your project. If specified, only alerts with these relationships will be returned. We are rolling out support for dependency relationship across ecosystems. This value will be "unknown" for all dependencies in unsupported ecosystems. Default: `null`. **scope** `string | null` The scope of the vulnerable dependency. If specified, only alerts with this scope will be returned. Can be one of: `development`, `runtime`. Default: `null`. **severity** `string | null` A comma-separated list of severities. If specified, only alerts with these severities will be returned. Can be: `low`, `medium`, `high`, `critical` Default: `null`. **sort** `string | null` The property by which to sort the results. `created` means when the alert was created. `updated` means when the alert's state last changed. `epss_percentage` sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage. Default: `created`. Default: `null`. **state** `string | null` A comma-separated list of states. If specified, only alerts with these states will be returned. Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` Default: `null`. ## List repository issues Action ID: `tools.github.list_repository_issues` List repository issues. Calls GET /repos/\{owner}/\{repo}/issues directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **assignee** `string | null` Can be the name of a user. Pass in `none` for issues with no assigned user, and `*` for issues assigned to any user. Default: `null`. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **creator** `string | null` The user that created the issue. Default: `null`. **direction** `string | null` The direction to sort the results by. Can be one of: `asc`, `desc`. Default: `null`. **issue_field_values** `string | null` A comma-separated list of issue field filters in `field_slug:value` format. Only issues matching all specified field values are returned. Requires issue fields to be enabled for the repository. Issue fields are not available for user-owned repositories, and field availability for organization-owned public repositories depends on the organization's visibility settings. For example, `priority:Urgent,severity:High` filters issues where the `priority` field is `Urgent` AND the `severity` field is `High`. Default: `null`. **labels** `string | null` A list of comma separated label names. Example: `bug,ui,@high` Default: `null`. **mentioned** `string | null` A user that's mentioned in the issue. Default: `null`. **milestone** `integer | string | null` If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone are accepted. If the string `none` is passed, issues without milestones are returned. Default: `null`. **page** `integer | null` The page number of the results to fetch. Default: `null`. **per_page** `integer | null` The number of results per page (max 100). Default: `null`. **since** `string | null` Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Default: `null`. **sort** `string | null` What to sort results by. Can be one of: `created`, `updated`, `comments`. Default: `null`. **state** `string | null` Indicates the state of the issues to return. Can be one of: `open`, `closed`, `all`. Default: `null`. **type** `string | null` Can be the name of an issue type. If the string `*` is passed, issues with any type are accepted. If the string `none` is passed, issues without type are returned. Default: `null`. ## List repository secret scanning alerts Action ID: `tools.github.list_repo_secret_scanning_alerts` List repository secret scanning alerts. Calls GET /repos/\{owner}/\{repo}/secret-scanning/alerts directly. Accepted OAuth scopes: security_events plus repo for private repository access. Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **after** `string | null` A cursor, as given in the Link header. If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty "after" query string. Default: `null`. **assignee** `string | null` Filters alerts by assignee. Use `*` to get all assigned alerts, `none` to get all unassigned alerts, or a GitHub username to get alerts assigned to a specific user. Default: `null`. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **before** `string | null` A cursor, as given in the Link header. If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty "before" query string. Default: `null`. **direction** `string | null` The direction to sort the results by. Default: `desc`. Can be one of: `asc`, `desc`. Default: `null`. **exclude_providers** `string | null` A comma-separated list of provider slugs to exclude from the results. Provider slugs use lowercase with underscores (e.g., `github_secret_scanning`, `clojars`). You can find the provider slug in the `provider_slug` field of each alert. Cannot be combined with the `providers` parameter. Default: `null`. **exclude_secret_types** `string | null` A comma-separated list of secret types to exclude from the results. All default secret patterns are returned except those matching the specified types. Cannot be combined with the `secret_type` parameter. See "Supported secret scanning patterns" for a complete list of secret types. Default: `null`. **hide_secret** `boolean | null` A boolean value representing whether or not to hide literal secrets in the results. Default: `false`. Default: `null`. **included_metadata** `string | null` A comma-separated list of metadata fields to filter alerts by. Only alerts that have all of the specified metadata fields attached will be returned. Possible values are: `owner-email`, `owner-id`, `owner-name`, `secret-id`, `secret-name`, `secret-issued-date`, `secret-expiration-date`, `organization-name`, `organization-id`, `last-used-date`, and `has-organization-access`. Default: `null`. **is_bypassed** `boolean | null` A boolean value (`true` or `false`) indicating whether to filter alerts by their push protection bypass status. When set to `true`, only alerts that were created because a push protection rule was bypassed will be returned. When set to `false`, only alerts that were not caused by a push protection bypass will be returned. Default: `null`. **is_multi_repo** `boolean | null` A boolean value representing whether or not to filter alerts by the multi-repo tag being present. Default: `false`. Default: `null`. **is_publicly_leaked** `boolean | null` A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present. Default: `false`. Default: `null`. **owner_email_hash** `string | null` Filters alerts to only those whose attached `owner_email` metadata field matches the provided value. The value must be the lowercase hex-encoded SHA-256 hash of the email address to match (for example, the SHA-256 of `user@example.com`). Only alerts that have an `owner_email` metadata value whose SHA-256 hash equals this parameter are returned. Default: `null`. **page** `integer | null` The page number of the results to fetch. Default: `1`. Default: `null`. **per_page** `integer | null` The number of results per page (max 100). Default: `30`. Default: `null`. **providers** `string | null` A comma-separated list of provider slugs to filter by. Provider slugs use lowercase with underscores (e.g., `github_secret_scanning`, `clojars`). You can find the provider slug in the `provider_slug` field of each alert. Cannot be combined with the `exclude_providers` parameter. Default: `null`. **resolution** `string | null` A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. Default: `null`. **secret_type** `string | null` A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See "Supported secret scanning patterns" for a complete list of secret types. Default: `null`. **sort** `string | null` The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. Default: `created`. Default: `null`. **state** `string | null` Set to `open` or `resolved` to only list secret scanning alerts in a specific state. Default: `null`. **validity** `string | null` A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`. Default: `null`. ## List repository security advisories Action ID: `tools.github.list_repo_security_advisories` List repository security advisories. Calls GET /repos/\{owner}/\{repo}/security-advisories directly. Accepted OAuth scope: repo (default). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **after** `string | null` A cursor, as given in the Link header. If specified, the query only searches for results after this cursor. Default: `null`. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **before** `string | null` A cursor, as given in the Link header. If specified, the query only searches for results before this cursor. Default: `null`. **direction** `string | null` The direction to sort the results by. Default: `desc`. Can be one of: `asc`, `desc`. Default: `null`. **per_page** `integer | null` The number of advisories to return per page. Default: `30`. Default: `null`. **sort** `string | null` The property to sort the results by. Default: `created`. Can be one of: `created`, `updated`, `published`. Default: `null`. **state** `string | null` Filter by state of the repository advisories. Only advisories of this state will be returned. Can be one of: `triage`, `draft`, `published`, `closed`. Default: `null`. ## List repository workflow runs Action ID: `tools.github.list_repository_workflow_runs` List repository workflow runs. Calls GET /repos/\{owner}/\{repo}/actions/runs directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **actor** `string | null` Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. Default: `null`. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **branch** `string | null` Returns workflow runs associated with a branch. Use the name of the branch of the `push`. Default: `null`. **check_suite_id** `integer | null` Returns workflow runs with the `check_suite_id` that you specify. Default: `null`. **created** `string | null` Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." Default: `null`. **event** `string | null` Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events that trigger workflows](https://docs.github.com/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows)." Default: `null`. **exclude_pull_requests** `boolean | null` If `true` pull requests are omitted from the response (empty array). Default: `null`. **head_sha** `string | null` Only returns workflow runs that are associated with the specified `head_sha`. Default: `null`. **page** `integer | null` The page number of the results to fetch. Default: `null`. **per_page** `integer | null` The number of results per page (max 100). Default: `null`. **status** `string | null` Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status can be `in_progress`. Only GitHub Actions can set a status of `waiting`, `pending`, or `requested`. Can be one of: `completed`, `action_required`, `cancelled`, `failure`, `neutral`, `skipped`, `stale`, `success`, `timed_out`, `in_progress`, `queued`, `requested`, `waiting`, `pending`. Default: `null`. ## List repository workflows Action ID: `tools.github.list_repository_workflows` List repository workflows. Calls GET /repos/\{owner}/\{repo}/actions/workflows directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **page** `integer | null` The page number of the results to fetch. Default: `null`. **per_page** `integer | null` The number of results per page (max 100). Default: `null`. ## List secret scanning alert locations Action ID: `tools.github.list_secret_scanning_alert_locations` List secret scanning alert locations. Calls GET /repos/\{owner}/\{repo}/secret-scanning/alerts/\{alert_number}/locations directly. Accepted OAuth scopes: security_events plus repo for private repository access. Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **alert_number** `integer` *required* GitHub API path value for alert_number. **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **page** `integer | null` The page number of the results to fetch. Default: `1`. Default: `null`. **per_page** `integer | null` The number of results per page (max 100). Default: `30`. Default: `null`. ## List workflow run jobs Action ID: `tools.github.list_workflow_run_jobs` List workflow run jobs. Calls GET /repos/\{owner}/\{repo}/actions/runs/\{run_id}/jobs directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **run_id** `integer` *required* GitHub API path value for run_id. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **filter** `string | null` Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all jobs for a workflow run, including from old executions of the workflow run. Can be one of: `latest`, `all`. Default: `null`. **page** `integer | null` The page number of the results to fetch. Default: `null`. **per_page** `integer | null` The number of results per page (max 100). Default: `null`. ## Merge pull request Action ID: `tools.github.merge_pull_request` Merge pull request. Calls PUT /repos/\{owner}/\{repo}/pulls/\{pull_number}/merge directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **pull_number** `integer` *required* GitHub API path value for pull_number. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **payload** `object | null` API-native request body passed through without validation. Body fields documented for PUT /repos/\{owner}/\{repo}/pulls/\{pull_number}/merge: commit_title, commit_message, sha, merge_method. Default: `null`. ## Request security advisory cve Action ID: `tools.github.request_security_advisory_cve` Request security advisory cve. Calls POST /repos/\{owner}/\{repo}/security-advisories/\{ghsa_id}/cve directly. Accepted OAuth scope: repo (default). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **ghsa_id** `string` *required* GitHub API path value for ghsa_id. **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. ## Rerun failed workflow jobs Action ID: `tools.github.rerun_failed_workflow_jobs` Rerun failed workflow jobs. Calls POST /repos/\{owner}/\{repo}/actions/runs/\{run_id}/rerun-failed-jobs directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **run_id** `integer` *required* GitHub API path value for run_id. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **payload** `object | null` API-native request body passed through without validation. Body fields documented for POST /repos/\{owner}/\{repo}/actions/runs/\{run_id}/rerun-failed-jobs: enable_debug_logging. Default: `null`. ## Search code Action ID: `tools.github.search_code` Search code. Calls GET /search/code directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **q** `string` *required* The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as the web interface for GitHub. See Searching code for a detailed list of qualifiers. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **order** `string | null` This field is closing down. Determines whether the first search result returned is the highest number of matches (desc) or lowest number of matches (asc). This parameter is ignored unless you provide sort. Default: `null`. **page** `integer | null` The page number of the results to fetch. Default: `null`. **per_page** `integer | null` The number of results per page (max 100). Default: `null`. **sort** `string | null` This field is closing down. Sorts the results of your query. Can only be indexed, which indicates how recently a file has been indexed by the GitHub search infrastructure. Default: best match Default: `null`. ## Search commits Action ID: `tools.github.search_commits` Search commits. Calls GET /search/commits directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **q** `string` *required* The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as the web interface for GitHub. See Searching commits for a detailed list of qualifiers. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **order** `string | null` Determines whether the first search result returned is the highest number of matches (desc) or lowest number of matches (asc). This parameter is ignored unless you provide sort. Default: `null`. **page** `integer | null` The page number of the results to fetch. Default: `null`. **per_page** `integer | null` The number of results per page (max 100). Default: `null`. **sort** `string | null` Sorts the results of your query by author-date or committer-date. Default: best match Default: `null`. ## Search issues Action ID: `tools.github.search_issues` Search issues. Calls GET /search/issues directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Pass advanced_search in params when GitHub requires it. Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **q** `string` *required* The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as the web interface for GitHub. See Searching issues and pull requests for a detailed list of qualifiers. **advanced_search** `string | null` Set to true to use advanced search. Default: `null`. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **order** `string | null` Determines whether the first search result returned is the highest number of matches (desc) or lowest number of matches (asc). This parameter is ignored unless you provide sort. Default: `null`. **page** `integer | null` The page number of the results to fetch. Default: `null`. **per_page** `integer | null` The number of results per page (max 100). Default: `null`. **search_type** `string | null` The type of search to perform on issues. When not specified, the default is lexical search. semantic performs a pure semantic (vector) search using embedding-based understanding. hybrid combines semantic search with lexical search for best results. Semantic and hybrid search require authentication and are rate limited to 10 requests per minute. Only applies to issue searches (/search/issues). Default: `null`. **sort** `string | null` Sorts the results of your query by the number of comments, reactions, reactions-+1, reactions--1, reactions-smile, reactions-thinking_face, reactions-heart, reactions-tada, or interactions. You can also sort results by how recently the items were created or updated, Default: best match Default: `null`. ## Search repositories Action ID: `tools.github.search_repositories` Search repositories. Calls GET /search/repositories directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **q** `string` *required* The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as the web interface for GitHub. See Searching for repositories for a detailed list of qualifiers. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **order** `string | null` Determines whether the first search result returned is the highest number of matches (desc) or lowest number of matches (asc). This parameter is ignored unless you provide sort. Default: `null`. **page** `integer | null` The page number of the results to fetch. Default: `null`. **per_page** `integer | null` The number of results per page (max 100). Default: `null`. **sort** `string | null` Sorts the results of your query by number of stars, forks, or help-wanted-issues or how recently the items were updated. Default: best match Default: `null`. ## Submit private vulnerability report Action ID: `tools.github.submit_private_vulnerability_report` Submit private vulnerability report. Calls POST /repos/\{owner}/\{repo}/security-advisories/reports directly. Accepted OAuth scope: repo (default). The payload is GitHub's native private report body and may include summary, description, severity, vulnerabilities, and CVE information; it is never converted into a public Issue. Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **payload** `object | null` API-native request body. Documented fields: description (required), summary (required), cvss_vector_string, cwe_ids, severity, start_private_fork, vulnerabilities. Default: `null`. ## Update branch protection Action ID: `tools.github.update_branch_protection` Update branch protection. Calls PUT /repos/\{owner}/\{repo}/branches/\{branch}/protection directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **branch** `string` *required* GitHub API path value for branch. **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **payload** `object | null` API-native request body. Documented fields: allow_deletions, allow_force_pushes, allow_fork_syncing, block_creations, enforce_admins, lock_branch, required_conversation_resolution, required_linear_history, required_pull_request_reviews, required_status_checks, restrictions. Default: `null`. ## Update code scanning alert Action ID: `tools.github.update_code_scanning_alert` Update code scanning alert. Calls PATCH /repos/\{owner}/\{repo}/code-scanning/alerts/\{alert_number} directly. Accepted OAuth scopes: security_events plus repo for private repository access. Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **alert_number** `integer` *required* GitHub API path value for alert_number. **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **payload** `object | null` API-native request body. Documented fields: assignees, create_request, dismissed_comment, dismissed_reason, state. Default: `null`. ## Update code scanning default setup Action ID: `tools.github.update_code_scanning_default_setup` Update code scanning default setup. Calls PATCH /repos/\{owner}/\{repo}/code-scanning/default-setup directly. Accepted OAuth scopes: security_events plus repo for private repository access. Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **payload** `object | null` API-native request body. Documented fields: languages, query_suite, runner_label, runner_type, state, threat_model. Default: `null`. ## Update dependabot alert Action ID: `tools.github.update_dependabot_alert` Update dependabot alert. Calls PATCH /repos/\{owner}/\{repo}/dependabot/alerts/\{alert_number} directly. Accepted OAuth scopes: security_events plus repo for private repository access. Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **alert_number** `integer` *required* GitHub API path value for alert_number. **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **payload** `object | null` API-native request body. Documented fields: agent_assignment, assignees, dismissed_comment, dismissed_reason, state. Default: `null`. ## Update issue Action ID: `tools.github.update_issue` Update issue. Calls PATCH /repos/\{owner}/\{repo}/issues/\{issue_number} directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **issue_number** `integer` *required* GitHub API path value for issue_number. **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **payload** `object | null` API-native request body passed through without validation. Body fields documented for PATCH /repos/\{owner}/\{repo}/issues/\{issue_number}: title, body, assignee, state, state_reason, duplicate_issue_id, milestone, labels, assignees, issue_field_values, type. Default: `null`. ## Update pull request Action ID: `tools.github.update_pull_request` Update pull request. Calls PATCH /repos/\{owner}/\{repo}/pulls/\{pull_number} directly. Accepted OAuth scopes: repo (default; omit only for public repository data). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **owner** `string` *required* GitHub API path value for owner. **pull_number** `integer` *required* GitHub API path value for pull_number. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **payload** `object | null` API-native request body passed through without validation. Body fields documented for PATCH /repos/\{owner}/\{repo}/pulls/\{pull_number}: title, body, state, base, maintainer_can_modify. Default: `null`. ## Update repository security advisory Action ID: `tools.github.update_repo_security_advisory` Update repository security advisory. Calls PATCH /repos/\{owner}/\{repo}/security-advisories/\{ghsa_id} directly. Accepted OAuth scope: repo (default). Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **ghsa_id** `string` *required* GitHub API path value for ghsa_id. **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **payload** `object | null` API-native request body. Documented fields: collaborating_teams, collaborating_users, credits, cve_id, cvss_vector_string, cwe_ids, description, severity, state, summary, vulnerabilities. Default: `null`. ## Update secret scanning alert Action ID: `tools.github.update_secret_scanning_alert` Update secret scanning alert. Calls PATCH /repos/\{owner}/\{repo}/secret-scanning/alerts/\{alert_number} directly. Accepted OAuth scopes: security_events plus repo for private repository access. Reference: [https://docs.github.com/en/rest](https://docs.github.com/en/rest) ### Secrets Optional secrets: * `github_app_oauth`: OAuth token `GITHUB_APP_SERVICE_TOKEN`. * `github_app_oauth`: OAuth token `GITHUB_APP_USER_TOKEN`. * `github_oauth`: OAuth token `GITHUB_USER_TOKEN`. ### Input fields **alert_number** `integer` *required* GitHub API path value for alert_number. **owner** `string` *required* GitHub API path value for owner. **repo** `string` *required* GitHub API path value for repo. **base_url** `string` GitHub.com REST API base URL. Default: `"https://api.github.com"`. **payload** `object | null` API-native request body. Documented fields: assignee, resolution, resolution_comment, state, validity. Default: `null`. # GitLab Source: https://docs.tracecat.com/tools/gitlab Reference for the Tracecat GitLab integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Cancel pipeline Action ID: `tools.gitlab.cancel_pipeline` Cancel pipeline. Calls POST /projects/\{project_id}/pipelines/\{pipeline_id}/cancel directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **pipeline_id** `integer` *required* GitLab API path value for pipeline_id. **project_id** `string` *required* GitLab API path value for project_id. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. ## Create commit Action ID: `tools.gitlab.create_commit` Create commit. Calls POST /projects/\{project_id}/repository/commits directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **actions** `array[object]` *required* An array of action hashes to commit as a batch. Each action hash takes `action` (one of `create`, `delete`, `move`, `update`, or `chmod`), `file_path`, and optionally `content`, `encoding`, `execute_filemode`, `last_commit_id`, and `previous_path`. Pass an empty array with allow_empty to create an empty commit. **branch** `string` *required* Name of the branch to commit into. To create a new branch, also provide either `start_branch` or `start_sha`, and optionally `start_project`. **commit_message** `string` *required* Commit message. **project_id** `string` *required* GitLab API path value for project_id. **allow_empty** `boolean | null` When `true`, creates an empty commit. Default is `false`. Default: `null`. **author_email** `string | null` Specify the commit author's email address. Default: `null`. **author_name** `string | null` Specify the commit author's name. Default: `null`. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. **force** `boolean | null` If `true`, overwrites `branch` with a new commit based on `start_branch` or `start_sha`, replacing the branch's existing commit history. Default is `false`. Default: `null`. **start_branch** `string | null` Name of the branch to use as the parent for the new commit. If not provided and `start_sha` is also not provided, defaults to the value of `branch`. Mutually exclusive with `start_sha`. Default: `null`. **start_project** `string | null` The project ID or URL-encoded path of the project to use as the source for `start_branch` or `start_sha`. Defaults to the value of `id`. Default: `null`. **start_sha** `string | null` SHA of the commit to use as the parent for the new commit. Must be a full 40-character SHA. Mutually exclusive with `start_branch`. Default: `null`. **stats** `boolean | null` Include commit stats. Default is `true`. Default: `null`. ## Create issue Action ID: `tools.gitlab.create_issue` Create issue. Calls POST /projects/\{project_id}/issues directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. For bug and security reports, pass GitLab-native fields such as issue_type, confidential, labels, assignee_ids, and severity through payload unchanged. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **project_id** `string` *required* GitLab API path value for project_id. **title** `string` *required* The title of an issue. **assignee_id** `integer | null` The ID of the user to assign the issue to. Only appears on GitLab Free. Default: `null`. **assignee_ids** `string | null` The IDs of the users to assign the issue to, as a comma-separated list. Premium and Ultimate only. Default: `null`. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. **confidential** `boolean | null` Set an issue to be confidential. Default is `false`. Default: `null`. **created_at** `string | null` When the issue was created. Date time string, ISO 8601 formatted, for example `2016-03-11T03:45:40Z`. Requires administrator or project/group owner rights. Default: `null`. **description** `string | null` The description of an issue. Limited to 1,048,576 characters. Default: `null`. **discussion_to_resolve** `string | null` The ID of a discussion to resolve. This fills out the issue with a default description and marks the discussion as resolved. Use in combination with `merge_request_to_resolve_discussions_of`. Default: `null`. **due_date** `string | null` The due date. Date time string in the format `YYYY-MM-DD`, for example `2016-03-11`. Default: `null`. **epic_id** `integer | null` ID of the epic to add the issue to. Valid values are greater than or equal to 0. Premium and Ultimate only. Default: `null`. **iid** `integer | null` The internal ID of the project's issue (requires administrator or project owner rights). Default: `null`. **issue_type** `string | null` The type of issue. One of `issue`, `incident`, `test_case` or `task`. Default is `issue`. Default: `null`. **labels** `string | null` Comma-separated label names to assign to the new issue. If a label does not already exist, this creates a new project label and assigns it to the issue. Default: `null`. **merge_request_to_resolve_discussions_of** `integer | null` The IID of a merge request in which to resolve all issues. This fills out the issue with a default description and marks all discussions as resolved. When passing a description or title, these values take precedence over the default values. Default: `null`. **milestone** `string | null` The title of a project or ancestor-group milestone to assign the issue to. Matched exactly (case-sensitive). Mutually exclusive with `milestone_id`. Default: `null`. **milestone_id** `integer | null` The global ID of a milestone to assign issue. Mutually exclusive with `milestone`. Default: `null`. **payload** `object | null` API-native request body passed through without validation. Default: `null`. **severity** `string | null` The severity of the issue. Applies only to incidents. One of `unknown`, `low`, `medium`, `high`, or `critical`. Default: `null`. **start_date** `string | null` The start date. Date time string in the format `YYYY-MM-DD`, for example `2016-03-11`. Default: `null`. **weight** `integer | null` The weight of the issue. Valid values are greater than or equal to 0. Premium and Ultimate only. Default: `null`. ## Create issue link Action ID: `tools.gitlab.create_issue_link` Create issue link. Calls POST /projects/\{project_id}/issues/\{issue_iid}/links directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **issue_iid** `integer` *required* GitLab API path value for issue_iid. **project_id** `string` *required* GitLab API path value for project_id. **target_issue_iid** `integer | string` *required* The internal ID of a target project's issue. **target_project_id** `integer | string` *required* The ID or URL-encoded path of the project of a target project. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. **link_type** `string | null` The type of the relation (`relates_to`, `blocks`, `is_blocked_by`), defaults to `relates_to`. Default: `null`. **payload** `object | null` API-native request body passed through without validation. Default: `null`. ## Create issue note Action ID: `tools.gitlab.create_issue_note` Create issue note. Calls POST /projects/\{project_id}/issues/\{issue_iid}/notes directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **body** `string` *required* The content of a note. Limited to 1,000,000 characters. **issue_iid** `integer` *required* GitLab API path value for issue_iid. **project_id** `string` *required* GitLab API path value for project_id. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. **confidential** `boolean | null` Deprecated: Renamed to `internal`. The confidential flag of a note. Default is false. Default: `null`. **created_at** `string | null` Date time string, ISO 8601 formatted. It must be after 1970-01-01. Example: `2016-03-11T03:45:40Z` (requires administrator or project/group owner rights). Default: `null`. **internal** `boolean | null` The internal flag of a note. Overrides `confidential` when both parameters are submitted. Default is false. Default: `null`. **payload** `object | null` API-native request body passed through without validation. Default: `null`. ## Create merge request Action ID: `tools.gitlab.create_merge_request` Create merge request. Calls POST /projects/\{project_id}/merge_requests directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **project_id** `string` *required* GitLab API path value for project_id. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. **payload** `object | null` API-native request body. Documented fields: source_branch (required), target_branch (required), title (required), allow_collaboration, allow_maintainer_to_push, approvals_before_merge, assignee_id, assignee_ids, description, labels, merge_after, milestone, milestone_id, remove_source_branch, reviewer_ids, squash, target_project_id. Default: `null`. ## Create merge request note Action ID: `tools.gitlab.create_merge_request_note` Create merge request note. Calls POST /projects/\{project_id}/merge_requests/\{merge_request_iid}/notes directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **merge_request_iid** `integer` *required* GitLab API path value for merge_request_iid. **project_id** `string` *required* GitLab API path value for project_id. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. **payload** `object | null` API-native request body. Documented fields: body (required), created_at, internal, merge_request_diff_head_sha. Default: `null`. ## Create pipeline Action ID: `tools.gitlab.create_pipeline` Create pipeline. Calls POST /projects/\{project_id}/pipeline directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **project_id** `string` *required* GitLab API path value for project_id. **ref** `string` *required* The branch or tag to run the pipeline on. For merge request pipelines use the merge requests endpoint. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. **inputs** `object | null` A hash containing the inputs, as key-value pairs, to use when creating the pipeline. Default: `null`. **variables** `array[object] | null` An array of hashes containing the variables available in the pipeline, matching the structure `[{ 'key': 'UPLOAD_TO_S3', 'variable_type': 'file', 'value': 'true' }, {'key': 'TEST', 'value': 'test variable'}]`. If `variable_type` is excluded, it defaults to `env_var`. Default: `null`. ## Create project vulnerability export and wait Action ID: `tools.gitlab.create_project_vulnerability_export_and_wait` Creates a project vulnerability export with POST /security/projects/\{project_id}/vulnerability_exports, then polls GET /security/vulnerability_exports/\{export_id} while GitLab returns 202. Uses an api-scoped GitLab project access token. Required project role, Ultimate tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Polling is bounded and returns GitLab's terminal response unchanged. Reference: [https://docs.gitlab.com/api/vulnerability_exports/](https://docs.gitlab.com/api/vulnerability_exports/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **project_id** `string` *required* Numeric project ID or namespaced project path. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. **payload** `object | null` API-native request body. Documented fields: export_format, report_data, send_email. Default: `null`. **poll_interval** `number | null` Seconds between polling attempts; exponential backoff when omitted. Default: `null`. ## Delete pipeline Action ID: `tools.gitlab.delete_pipeline` Delete pipeline. Calls DELETE /projects/\{project_id}/pipelines/\{pipeline_id} directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **pipeline_id** `integer` *required* GitLab API path value for pipeline_id. **project_id** `string` *required* GitLab API path value for project_id. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. ## Download vulnerability export Action ID: `tools.gitlab.download_vulnerability_export` Download vulnerability export. Calls GET /security/vulnerability_exports/\{export_id}/download directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **export_id** `integer` *required* GitLab API path value for export_id. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. ## Get issue Action ID: `tools.gitlab.get_issue` Get issue. Calls GET /projects/\{project_id}/issues/\{issue_iid} directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **issue_iid** `integer` *required* GitLab API path value for issue_iid. **project_id** `string` *required* GitLab API path value for project_id. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. ## Get job trace Action ID: `tools.gitlab.get_job_trace` Get job trace. Calls GET /projects/\{project_id}/jobs/\{job_id}/trace directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **job_id** `integer` *required* GitLab API path value for job_id. **project_id** `string` *required* GitLab API path value for project_id. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. **byte_limit** `integer | null` Maximum number of bytes to return. Default: `null`. **byte_offset** `integer | null` Byte offset to start reading from. Default: `null`. ## Get merge request Action ID: `tools.gitlab.get_merge_request` Get merge request. Calls GET /projects/\{project_id}/merge_requests/\{merge_request_iid} directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **merge_request_iid** `integer` *required* GitLab API path value for merge_request_iid. **project_id** `string` *required* GitLab API path value for project_id. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. **include_diverged_commits_count** `boolean | null` If `true`, response includes the commits behind the target branch. Default: `null`. **include_rebase_in_progress** `boolean | null` If `true`, response includes whether a rebase operation is in progress. Default: `null`. **render_html** `boolean | null` If `true`, response includes rendered HTML for title and description. Default: `null`. ## Get project Action ID: `tools.gitlab.get_project` Get project. Calls GET /projects/\{project_id} directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **project_id** `string` *required* GitLab API path value for project_id. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. **license** `boolean | null` Include project license data. Default: `null`. **statistics** `boolean | null` Include project statistics. Available only to users with the Reporter, Developer, Maintainer, or Owner role. Default: `null`. **with_custom_attributes** `boolean | null` Include custom attributes in response. Administrator access. Default: `null`. ## Get project security settings Action ID: `tools.gitlab.get_project_security_settings` Get project security settings. Calls GET /projects/\{project_id}/security_settings directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **project_id** `string` *required* GitLab API path value for project_id. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. ## Get repository file Action ID: `tools.gitlab.get_repository_file` Get repository file. Calls GET /projects/\{project_id}/repository/files/\{file_path} directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **file_path** `string` *required* GitLab API path value for file_path. **project_id** `string` *required* GitLab API path value for project_id. **ref** `string` *required* Name of branch, tag, or commit. Use `HEAD` to automatically use the default branch. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. ## Get vulnerability Action ID: `tools.gitlab.get_vulnerability` Get vulnerability. Calls GET /vulnerabilities/\{vulnerability_id} directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. This REST endpoint is deprecated and unstable; the response is preserved unchanged for supported GitLab versions. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **vulnerability_id** `integer` *required* GitLab API path value for vulnerability_id. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. ## List commits Action ID: `tools.gitlab.list_commits` List commits. Calls GET /projects/\{project_id}/repository/commits directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **project_id** `string` *required* GitLab API path value for project_id. **all** `boolean | null` Retrieve every commit from the repository. If `true`, the `ref_name` parameter is ignored. Default: `null`. **author** `string | null` Search commits by commit author. Default: `null`. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. **first_parent** `boolean | null` If `true`, follows only the first parent commit upon seeing a merge commit. Default: `null`. **follow** `boolean | null` If `true`, follows file renames when filtering commits by `path`, and returns commits for the file even if it was renamed. If `false`, returns only commits where the file existed at its current path. Used only when `path` specifies a single file. Defaults to `true`. Default: `null`. **order** `string | null` List commits in order. Possible values: `default`, `topo`. Defaults to `default`, the commits are shown in reverse chronological order. Default: `null`. **page** `integer | null` Page number (default: `1`). Default: `null`. **path** `string | null` The file path. Default: `null`. **per_page** `integer | null` Number of items to list per page (default: `20`, max: `100`). Default: `null`. **ref_name** `string | null` The name of a repository branch, tag, or revision range, or if not given the default branch. Default: `null`. **since** `string | null` Only commits after or on this date are returned in ISO 8601 format `YYYY-MM-DDTHH:MM:SSZ`. Default: `null`. **trailers** `boolean | null` If `true`, parses and includes Git trailers for every commit. Default: `null`. **until** `string | null` Only commits before or on this date are returned in ISO 8601 format `YYYY-MM-DDTHH:MM:SSZ`. Default: `null`. **with_stats** `boolean | null` If `true`, retrieve stats about each commit. Default: `null`. ## List issue notes Action ID: `tools.gitlab.list_issue_notes` List issue notes. Calls GET /projects/\{project_id}/issues/\{issue_iid}/notes directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **issue_iid** `integer` *required* GitLab API path value for issue_iid. **project_id** `string` *required* GitLab API path value for project_id. **activity_filter** `string | null` Filter notes by activity type. Valid values: `all_notes`, `only_comments`, `only_activity`. Default is `all_notes`. Default: `null`. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. **order_by** `string | null` Return issue notes ordered by `created_at` or `updated_at` fields. Default is `created_at`. Default: `null`. **page** `integer | null` Page number (default: `1`). Default: `null`. **per_page** `integer | null` Number of items to list per page (default: `20`, max: `100`). Default: `null`. **sort** `string | null` Return issue notes sorted in `asc` or `desc` order. Default is `desc`. Default: `null`. ## List merge request commits Action ID: `tools.gitlab.list_merge_request_commits` List merge request commits. Calls GET /projects/\{project_id}/merge_requests/\{merge_request_iid}/commits directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **merge_request_iid** `integer` *required* GitLab API path value for merge_request_iid. **project_id** `string` *required* GitLab API path value for project_id. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. **page** `integer | null` Page number (default: `1`). Default: `null`. **per_page** `integer | null` Number of items to list per page (default: `20`, max: `100`). Default: `null`. ## List merge request diffs Action ID: `tools.gitlab.list_merge_request_diffs` List merge request diffs. Calls GET /projects/\{project_id}/merge_requests/\{merge_request_iid}/diffs directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **merge_request_iid** `integer` *required* GitLab API path value for merge_request_iid. **project_id** `string` *required* GitLab API path value for project_id. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. **page** `integer | null` The page of results to return. Defaults to 1. Default: `null`. **per_page** `integer | null` The number of results per page. Defaults to 20. Default: `null`. **unidiff** `boolean | null` Present diffs in the unified diff format. Default is false. Default: `null`. ## List merge request notes Action ID: `tools.gitlab.list_merge_request_notes` List merge request notes. Calls GET /projects/\{project_id}/merge_requests/\{merge_request_iid}/notes directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **merge_request_iid** `integer` *required* GitLab API path value for merge_request_iid. **project_id** `string` *required* GitLab API path value for project_id. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. **order_by** `string | null` Return merge request notes ordered by `created_at` or `updated_at` fields. Default is `created_at` Default: `null`. **page** `integer | null` Page number (default: `1`). Default: `null`. **per_page** `integer | null` Number of items to list per page (default: `20`, max: `100`). Default: `null`. **sort** `string | null` Return merge request notes sorted in `asc` or `desc` order. Default is `desc` Default: `null`. ## List merge request pipelines Action ID: `tools.gitlab.list_merge_request_pipelines` List merge request pipelines. Calls GET /projects/\{project_id}/merge_requests/\{merge_request_iid}/pipelines directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **merge_request_iid** `integer` *required* GitLab API path value for merge_request_iid. **project_id** `string` *required* GitLab API path value for project_id. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. **page** `integer | null` Page number (default: `1`). Default: `null`. **per_page** `integer | null` Number of items to list per page (default: `20`, max: `100`). Default: `null`. ## List merge requests Action ID: `tools.gitlab.list_merge_requests` List merge requests. Calls GET /projects/\{project_id}/merge_requests directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **project_id** `string` *required* GitLab API path value for project_id. **approved_by_ids** `array[integer | string] | null` Returns merge requests approved by all the users with the given `id`, up to 5 users. `None` returns merge requests with no approvals. `Any` returns merge requests with an approval. Default: `null`. **approved_by_usernames** `array[string] | null` Returns merge requests approved by all the users with the given `username`, up to 5 users. `None` returns merge requests with no approvals. `Any` returns merge requests with an approval. Default: `null`. **approver_ids** `array[integer | string] | null` Returns merge requests which have all users with the specified `id` as eligible approvers according to the approval rules. `None` returns merge requests with no eligible approvers. `Any` returns merge requests with at least one eligible approver. Premium and Ultimate only. Default: `null`. **assignee_id** `integer | string | null` Returns merge requests assigned to the given user `id`. `None` returns unassigned merge requests. `Any` returns merge requests with an assignee. Mutually exclusive with `assignee_username`. Default: `null`. **assignee_username** `array[string] | null` Returns merge requests assigned to the given usernames. Mutually exclusive with `assignee_id`. Default: `null`. **author_id** `integer | null` Returns merge requests created by the given user `id`. Mutually exclusive with `author_username`. Default: `null`. **author_username** `string | null` Returns merge requests created by the given `username`. Mutually exclusive with `author_id`. Default: `null`. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. **created_after** `string | null` Returns merge requests created on or after the given date and time. Expected in ISO 8601 format (`2019-03-15T08:00:00Z`). Default: `null`. **created_before** `string | null` Returns merge requests created on or before the given date and time. Expected in ISO 8601 format (`2019-03-15T08:00:00Z`). Default: `null`. **deployed_after** `string | null` Returns merge requests deployed after the given date and time. Expected in ISO 8601 format (`2019-03-15T08:00:00Z`). Default: `null`. **deployed_before** `string | null` Returns merge requests deployed before the given date and time. Expected in ISO 8601 format (`2019-03-15T08:00:00Z`). Default: `null`. **draft** `boolean | null` Filter merge requests by their `draft` status. `true` returns only draft merge requests, `false` returns non-draft merge requests. Mutually exclusive with `wip`. Default: `null`. **environment** `string | null` Returns merge requests deployed to the given environment. Default: `null`. **iids** `array[integer] | null` Returns merge requests matching the provided IIDs. Default: `null`. **in** `string | null` Change the scope of the `search` attribute. `title`, `description`, or a string joining them with comma. Default is `title,description`. Default: `null`. **labels** `string | null` Returns merge requests matching a comma-separated list of labels. `None` lists all merge requests with no labels. `Any` lists all merge requests with at least one label. Predefined names are case-insensitive. Default: `null`. **merge_user_id** `integer | null` Returns merge requests merged by the user with the given user `id`. Mutually exclusive with `merge_user_username`. Introduced in GitLab 17.0. Default: `null`. **merge_user_username** `string | null` Returns merge requests merged by the user with the given `username`. Mutually exclusive with `merge_user_id`. Introduced in GitLab 17.0. Default: `null`. **merged_after** `string | null` Returns merge requests merged on or after the given date and time. Expected in ISO 8601 format (`2019-03-15T08:00:00Z`). Default: `null`. **merged_before** `string | null` Returns merge requests merged on or before the given date and time. Expected in ISO 8601 format (`2019-03-15T08:00:00Z`). Default: `null`. **milestone** `string | null` Returns merge requests for a specific milestone. `None` returns merge requests with no milestone. `Any` returns merge requests that have an assigned milestone. Default: `null`. **my_reaction_emoji** `string | null` Returns merge requests reacted by the authenticated user by the given `emoji`. `None` returns issues not given a reaction. `Any` returns issues given at least one reaction. Default: `null`. **order_by** `string | null` Returns merge requests ordered by `created_at`, `updated_at`, `merged_at` (introduced in GitLab 17.2), `label_priority`, `priority`, `milestone_due`, `popularity`, or `title` fields. Default is `created_at`. Default: `null`. **page** `integer | null` Page number (default: `1`). Default: `null`. **per_page** `integer | null` Number of items to list per page (default: `20`, max: `100`). Default: `null`. **reviewer_id** `integer | string | null` Returns merge requests which have the user as a reviewer with the given user `id`. `None` returns merge requests with no reviewers. `Any` returns merge requests with any reviewer. Mutually exclusive with `reviewer_username`. Default: `null`. **reviewer_username** `string | null` Returns merge requests which have the user as a reviewer with the given `username`. `None` returns merge requests with no reviewers. `Any` returns merge requests with any reviewer. Mutually exclusive with `reviewer_id`. Default: `null`. **scope** `string | null` Returns merge requests for the given scope: `created_by_me`, `assigned_to_me`, `reviews_for_me`, or `all`. `reviews_for_me` returns merge requests where the current user is assigned as a reviewer. Defaults to `all`. Default: `null`. **search** `string | null` Search merge requests against their `title` and `description`. Combine with `in` attribute. Default: `null`. **sort** `string | null` Returns merge requests sorted in `asc` or `desc` order. Default is `desc`. Default: `null`. **source_branch** `string | null` Returns merge requests with the given source branch. Default: `null`. **state** `string | null` Returns all merge requests (`all`) or just those that are `opened`, `closed`, `locked`, or `merged`. Defaults to `all`. Default: `null`. **target_branch** `string | null` Returns merge requests with the given target branch. Default: `null`. **updated_after** `string | null` Returns merge requests updated on or after the given date and time. Expected in ISO 8601 format (`2019-03-15T08:00:00Z`). Default: `null`. **updated_before** `string | null` Returns merge requests updated on or before the given date and time. Expected in ISO 8601 format (`2019-03-15T08:00:00Z`). Default: `null`. **view** `string | null` If `simple`, returns the `iid`, URL, title, description, and basic state of merge request. Default: `null`. **wip** `string | null` Deprecated in GitLab 19.0. Use `draft` instead. Filter merge requests by their `wip` status. `yes` returns only draft merge requests, `no` returns non-draft merge requests. Default: `null`. **with_labels_details** `boolean | null` If `true`, response returns more details for each label in labels field: `:name`, `:color`, `:description`, `:description_html`, `:text_color`. Default is `false`. Default: `null`. **with_merge_status_recheck** `boolean | null` If `true`, this projection requests (but does not guarantee) an asynchronous recalculation of the `merge_status` field. Enable the `restrict_merge_status_recheck` feature flag to ignore this attribute when requested by users without the Developer, Maintainer, or Owner role. Default: `null`. ## List pipeline jobs Action ID: `tools.gitlab.list_pipeline_jobs` List pipeline jobs. Calls GET /projects/\{project_id}/pipelines/\{pipeline_id}/jobs directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **pipeline_id** `integer` *required* GitLab API path value for pipeline_id. **project_id** `string` *required* GitLab API path value for project_id. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. **include_retried** `boolean | null` Include retried jobs in the response. Defaults to `false`. Default: `null`. **page** `integer | null` Page number (default: `1`). Default: `null`. **per_page** `integer | null` Number of items to list per page (default: `20`, max: `100`). Default: `null`. **scope** `array[string] | null` Scope of jobs to show, as one of the job status values: `created`, `waiting_for_resource`, `preparing`, `waiting_for_callback`, `pending`, `running`, `success`, `failed`, `canceling`, `canceled`, `skipped`, `manual`, or `scheduled`. All jobs are returned if `scope` is not provided. Default: `null`. ## List pipelines Action ID: `tools.gitlab.list_pipelines` List pipelines. Calls GET /projects/\{project_id}/pipelines directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **project_id** `string` *required* GitLab API path value for project_id. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. **created_after** `string | null` Return pipelines created after the specified date. Expected in ISO 8601 format (`2019-03-15T08:00:00Z`). Default: `null`. **created_before** `string | null` Return pipelines created before the specified date. Expected in ISO 8601 format (`2019-03-15T08:00:00Z`). Default: `null`. **name** `string | null` Return pipelines with the specified name. Default: `null`. **order_by** `string | null` The field to order pipelines by: `id`, `status`, `ref`, `updated_at`, or `user_id` (default: `id`). Default: `null`. **page** `integer | null` Page number (default: `1`). Default: `null`. **per_page** `integer | null` Number of items to list per page (default: `20`, max: `100`). Default: `null`. **ref** `string | null` Return pipelines for the specified branch or tag. Default: `null`. **scope** `string | null` Return pipelines in the specified scope: `running`, `pending`, `finished`, `branches`, or `tags`. Default: `null`. **sha** `string | null` Return pipelines for the specified commit SHA. Default: `null`. **sort** `string | null` The sort order: `asc` or `desc` (default: `desc`). Default: `null`. **source** `string | null` Return pipelines with the specified source. Default: `null`. **status** `string | null` Return pipelines with the specified status: `created`, `waiting_for_resource`, `preparing`, `waiting_for_callback`, `pending`, `running`, `success`, `failed`, `canceling`, `canceled`, `skipped`, `manual`, or `scheduled`. Default: `null`. **updated_after** `string | null` Return pipelines updated after the specified date. Expected in ISO 8601 format (`2019-03-15T08:00:00Z`). Default: `null`. **updated_before** `string | null` Return pipelines updated before the specified date. Expected in ISO 8601 format (`2019-03-15T08:00:00Z`). Default: `null`. **username** `string | null` Return pipelines triggered by the specified username. Default: `null`. **yaml_errors** `boolean | null` Return pipelines with invalid configurations. Default: `null`. ## List project approval rules Action ID: `tools.gitlab.list_project_approval_rules` List project approval rules. Calls GET /projects/\{project_id}/approval_rules directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **project_id** `string` *required* GitLab API path value for project_id. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. **page** `integer | null` Page number (default: `1`). Default: `null`. **per_page** `integer | null` Number of items to list per page (default: `20`, max: `100`). Default: `null`. ## List project audit events Action ID: `tools.gitlab.list_project_audit_events` List project audit events. Calls GET /projects/\{project_id}/audit_events directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **project_id** `string` *required* GitLab API path value for project_id. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. **created_after** `string | null` Return project audit events created on or after the given time. Format: ISO 8601 (`YYYY-MM-DDTHH:MM:SSZ`) Default: `null`. **created_before** `string | null` Return project audit events created on or before the given time. Format: ISO 8601 (`YYYY-MM-DDTHH:MM:SSZ`) Default: `null`. **page** `integer | null` Page number (default: `1`). Default: `null`. **per_page** `integer | null` Number of items to list per page (default: `20`, max: `100`). Default: `null`. ## List project dependencies Action ID: `tools.gitlab.list_project_dependencies` List project dependencies. Calls GET /projects/\{project_id}/dependencies directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **project_id** `string` *required* GitLab API path value for project_id. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. **package_manager** `string | null` Returns dependencies belonging to specified package manager. Valid values: `bundler`, `composer`, `conan`, `go`, `gradle`, `maven`, `npm`, `nuget`, `pip`, `pipenv`, `pnpm`, `yarn`, `sbt`, or `setuptools`. Accepts a comma-separated list. Default: `null`. **page** `integer | null` Page number (default: `1`). Default: `null`. **per_page** `integer | null` Number of items to list per page (default: `20`, max: `100`). Default: `null`. ## List project labels Action ID: `tools.gitlab.list_project_labels` List project labels. Calls GET /projects/\{project_id}/labels directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **project_id** `string` *required* GitLab API path value for project_id. **archived** `boolean | null` If `true`, returns only archived labels. If unset, returns all labels. Default: `null`. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. **include_ancestor_groups** `boolean | null` Include ancestor groups. Defaults to `true`. Default: `null`. **page** `integer | null` Page number (default: `1`). Default: `null`. **per_page** `integer | null` Number of items to list per page (default: `20`, max: `100`). Default: `null`. **search** `string | null` Keyword to filter labels by. Default: `null`. **with_counts** `boolean | null` Whether or not to include issue and merge request counts. Defaults to `false`. Default: `null`. ## List project members with inherited access Action ID: `tools.gitlab.list_project_members_with_inherited_access` List project members with inherited access. Calls GET /projects/\{project_id}/members/all directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **project_id** `string` *required* GitLab API path value for project_id. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. **page** `integer | null` Page number (default: `1`). Default: `null`. **per_page** `integer | null` Number of items to list per page (default: `20`, max: `100`). Default: `null`. **query** `string | null` Filters results based on a given name, email, or username. Use partial values to widen the scope of the query. Default: `null`. **show_seat_info** `boolean | null` Show seat information for users. Default: `null`. **state** `string | null` Filter results by member state, one of `awaiting` or `active`. Premium and Ultimate only. Default: `null`. **user_ids** `string | null` Filter the results on the given user IDs, as a comma-separated list. Default: `null`. ## List project vulnerability findings Action ID: `tools.gitlab.list_project_vulnerability_findings` List project vulnerability findings. Calls GET /projects/\{project_id}/vulnerability_findings directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. This REST endpoint is deprecated and unstable; the response is preserved unchanged for supported GitLab versions. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **project_id** `string` *required* GitLab API path value for project_id. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. **page** `integer | null` Page number (default: `1`). Default: `null`. **per_page** `integer | null` Number of items to list per page (default: `20`, max: `100`). Default: `null`. **pipeline_id** `string | null` Returns vulnerability findings belonging to specified pipeline. Default: `null`. **report_type** `string | null` Returns vulnerability findings belonging to specified report type. Valid values: `sast`, `dast`, `dependency_scanning`, or `container_scanning`. Defaults to all. Accepts a comma-separated list. Default: `null`. **scope** `string | null` Returns vulnerability findings for the given scope: `all` or `dismissed`. Defaults to `dismissed`. Default: `null`. **severity** `string | null` Returns vulnerability findings belonging to specified severity level: `info`, `unknown`, `low`, `medium`, `high`, or `critical`. Defaults to all. Accepts a comma-separated list. Default: `null`. ## List project wiki pages Action ID: `tools.gitlab.list_project_wiki_pages` List project wiki pages. Calls GET /projects/\{project_id}/wikis directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **project_id** `string` *required* GitLab API path value for project_id. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. **with_content** `boolean | null` Include pages' content. Default: `null`. ## List protected branches Action ID: `tools.gitlab.list_protected_branches` List protected branches. Calls GET /projects/\{project_id}/protected_branches directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **project_id** `string` *required* GitLab API path value for project_id. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. **page** `integer | null` Page number (default: `1`). Default: `null`. **per_page** `integer | null` Number of items to list per page (default: `20`, max: `100`). Default: `null`. **search** `string | null` Name or part of the name of protected branches to search for. Default: `null`. ## List repository tree Action ID: `tools.gitlab.list_repository_tree` List repository tree. Calls GET /projects/\{project_id}/repository/tree directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **project_id** `string` *required* GitLab API path value for project_id. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. **page** `integer | null` Page number (default: `1`). Default: `null`. **page_token** `string | null` Tree record ID at which to fetch the next page. Used only with keyset pagination. Default: `null`. **pagination** `string | null` If `keyset`, use the keyset-based pagination method. Default: `null`. **path** `string | null` Path inside the repository. Used to get content of subdirectories. Default: `null`. **per_page** `integer | null` Number of results to show per page. If not specified, defaults to `20`. Default: `null`. **recursive** `boolean | null` If `true`, get a recursive tree. Default is `false`. Default: `null`. **ref** `string | null` Name of a repository branch or tag. If not specified, uses the default branch. Default: `null`. **with_last_commit** `boolean | null` If `true`, include the last commit for each tree entry. Cannot be combined with `recursive`. Default is `false`. Default: `null`. ## Merge merge request Action ID: `tools.gitlab.merge_merge_request` Merge merge request. Calls PUT /projects/\{project_id}/merge_requests/\{merge_request_iid}/merge directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **merge_request_iid** `integer` *required* GitLab API path value for merge_request_iid. **project_id** `string` *required* GitLab API path value for project_id. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. **payload** `object | null` API-native request body. Documented fields: auto_merge, merge_commit_message, merge_when_pipeline_succeeds, sha, should_remove_source_branch, squash, squash_commit_message. Default: `null`. ## Retry pipeline Action ID: `tools.gitlab.retry_pipeline` Retry pipeline. Calls POST /projects/\{project_id}/pipelines/\{pipeline_id}/retry directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **pipeline_id** `integer` *required* GitLab API path value for pipeline_id. **project_id** `string` *required* GitLab API path value for project_id. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. ## Search project Action ID: `tools.gitlab.search_project` Search project. Calls GET /projects/\{project_id}/search directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **project_id** `string` *required* GitLab API path value for project_id. **scope** `string` *required* The scope to search in. Values include `issues`, `work_items`, `merge_requests`, `milestones`, and `users`. Additional scopes are `wiki_blobs`, `commits`, `blobs`, and `notes`. **search** `string` *required* The search term. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. **confidential** `boolean | null` Filter by confidentiality. Supports `issues` and `work_items` scopes; other scopes are ignored. Default: `null`. **fields** `string | null` Array of fields you wish to search, allowed values are `title` only. Supports only `issues` and `merge_requests` scopes. Premium and Ultimate only. Default: `null`. **num_context_lines** `integer | null` Number of context lines to include around each match in the results. Available for advanced and exact code search only. Default: `null`. **order_by** `string | null` Allowed values are `created_at` only. If not set, results are sorted by `created_at` in descending order for basic search, or by the most relevant documents for advanced search. Default: `null`. **page** `integer | null` Page number (default: `1`). Default: `null`. **per_page** `integer | null` Number of items to list per page (default: `20`, max: `100`). Default: `null`. **ref** `string | null` The name of a repository branch or tag to search on. The project's default branch is used by default. Applicable only for scopes `blobs`, `commits`, and `wiki_blobs`. Default: `null`. **regex** `boolean | null` Uses regular expressions to search for code. Available for exact code search. If not set, regular expressions are used. Default: `null`. **search_type** `string | null` The search type to use. Values include `basic`, `advanced`, and `zoekt`. Default: `null`. **sort** `string | null` Allowed values are `asc` or `desc` only. If not set, results are sorted by `created_at` in descending order for basic search, or by the most relevant documents for advanced search. Default: `null`. **state** `string | null` Filter by state. Supports `issues`, `work_items`, and `merge_requests` scopes; other scopes are ignored. Default: `null`. **type** `string | null` Filter work items by type. Only applies to `work_items` scope. Available types: `issue`, `task`, `epic`, `incident`, `test_case`, `requirement`, `objective`, `key_result`, `ticket`. Default: `null`. ## Semantic code search Action ID: `tools.gitlab.semantic_code_search` Semantic code search. Calls GET /projects/\{project_id}/search/semantic directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Requires GitLab Duo and a GitLab version that supports the REST semantic search endpoint. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **project_id** `string` *required* GitLab API path value for project_id. **q** `string` *required* Natural language search query. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. **directory_path** `string | null` Directory path to scope the search to. Default: `null`. **knn** `integer | null` Number of nearest neighbors to consider during the vector search (1-100). Default is `64`. Default: `null`. **limit** `integer | null` Maximum number of results to return (1-100). Default is `20`. Default: `null`. ## Update issue Action ID: `tools.gitlab.update_issue` Update issue. Calls PUT /projects/\{project_id}/issues/\{issue_iid} directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **issue_iid** `integer` *required* GitLab API path value for issue_iid. **project_id** `string` *required* GitLab API path value for project_id. **add_labels** `string | null` Comma-separated label names to add to an issue. If a label does not already exist, this creates a new project label and assigns it to the issue. Default: `null`. **assignee_ids** `string | null` The ID of the users to assign the issue to, as a comma-separated list. Set to `0` to unassign all assignees. Default: `null`. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. **confidential** `boolean | null` Updates an issue to be confidential. Default: `null`. **description** `string | null` The description of an issue. Limited to 1,048,576 characters. Default: `null`. **discussion_locked** `boolean | null` Flag indicating if the issue's discussion is locked. If the discussion is locked only project members can add or edit comments. Default: `null`. **due_date** `string | null` The due date. Date time string in the format `YYYY-MM-DD`, for example `2016-03-11`. Default: `null`. **epic_id** `integer | null` ID of the epic to add the issue to. Valid values are greater than or equal to 0. Premium and Ultimate only. Default: `null`. **issue_type** `string | null` Updates the type of issue. One of `issue`, `incident`, or `test_case`. Default: `null`. **labels** `string | null` Comma-separated label names for an issue. If a label does not already exist, this creates a new project label and assigns it to the issue. Default: `null`. **milestone** `string | null` The title of a project or ancestor-group milestone to assign the issue to. Matched exactly (case-sensitive). Mutually exclusive with `milestone_id`. Default: `null`. **milestone_id** `integer | null` The global ID of a milestone to assign the issue to. Set to `0` to unassign a milestone. Mutually exclusive with `milestone`. Default: `null`. **payload** `object | null` API-native request body passed through without validation. Default: `null`. **remove_labels** `string | null` Comma-separated label names to remove from an issue. Default: `null`. **severity** `string | null` The severity of the issue. Only applies to incidents. One of `unknown`, `low`, `medium`, `high`, or `critical`. Default: `null`. **start_date** `string | null` The start date. Date time string in the format `YYYY-MM-DD`, for example `2016-03-11`. Default: `null`. **state_event** `string | null` The state event of an issue. To close the issue, use `close`, and to reopen it, use `reopen`. Default: `null`. **title** `string | null` The title of an issue. Default: `null`. **updated_at** `string | null` When the issue was updated. Date time string, ISO 8601 formatted, for example `2016-03-11T03:45:40Z` (requires administrator or project owner rights). Default: `null`. ## Update project security settings Action ID: `tools.gitlab.update_project_security_settings` Update project security settings. Calls PUT /projects/\{project_id}/security_settings directly with an api-scoped GitLab project access token. Required project role, tier, and GitLab version are enforced by GitLab; GitLab Self-Managed availability depends on the installed version. Reference: [https://docs.gitlab.com/api/api_resources/](https://docs.gitlab.com/api/api_resources/) ### Secrets Required secrets: * `gitlab`: required values `GITLAB_API_TOKEN`. ### Input fields **project_id** `string` *required* GitLab API path value for project_id. **secret_push_protection_enabled** `boolean` *required* Enables secret push protection for the project. **base_url** `string` GitLab API v4 base URL. Set this input to a workspace variable for a reusable self-managed host. Default: `"https://gitlab.com/api/v4"`. # Gmail Source: https://docs.tracecat.com/tools/gmail Reference for the Tracecat Gmail integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Batch delete messages Action ID: `tools.gmail.batch_delete_messages` Deletes many messages by message ID. Provides no guarantees that messages were not already deleted or even existed at all. Requires the `https://mail.google.com/` scope, which is not in the Gmail provider defaults: add it to the integration's scopes before connecting, or delegate it to the service account. Reference: [https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/batchDelete](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/batchDelete) ### Secrets Optional secrets: * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_USER_TOKEN`. * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **ids** `array[string]` *required* The IDs of the messages to delete. **user_id** `string` The user's email address. The special value `me` can be used to indicate the authenticated user. Default: `"me"`. ## Batch modify messages Action ID: `tools.gmail.batch_modify_messages` Modifies the labels on the specified messages. Reference: [https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/batchModify](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/batchModify) ### Secrets Optional secrets: * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_USER_TOKEN`. * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **ids** `array[string]` *required* The IDs of the messages to modify. There is a limit of 1000 ids per request. **add_label_ids** `array[string] | null` A list of label IDs to add to messages. Default: `null`. **remove_label_ids** `array[string] | null` A list of label IDs to remove from messages. Default: `null`. **user_id** `string` The user's email address. The special value `me` can be used to indicate the authenticated user. Default: `"me"`. ## Create draft Action ID: `tools.gmail.create_draft` Creates a new draft with the DRAFT label. The RFC 2822 message is assembled from the inputs and base64url-encoded before it is sent. Reference: [https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.drafts/create](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.drafts/create) ### Secrets Optional secrets: * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_USER_TOKEN`. * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **subject** `string` *required* Subject line of the message. **to** `string` *required* Comma-separated list of recipient email addresses for the `To` header. **bcc** `string | null` Comma-separated list of recipient email addresses for the `Bcc` header. Default: `null`. **body_html** `string | null` HTML body of the message. Added as an alternative part alongside the plain text body. Default: `null`. **body_text** `string | null` Plain text body of the message. Default: `null`. **cc** `string | null` Comma-separated list of recipient email addresses for the `Cc` header. Default: `null`. **in_reply_to** `string | null` The `Message-ID` header value of the message being replied to. Sets the `In-Reply-To` and `References` headers. Default: `null`. **reply_to** `string | null` Email address for the `Reply-To` header. Default: `null`. **thread_id** `string | null` The ID of the thread the message belongs to. To add a message to a thread the `References` and `In-Reply-To` headers must be set in compliance with the RFC 2822 standard, and the `Subject` headers must match. Default: `null`. **user_id** `string` The user's email address. The special value `me` can be used to indicate the authenticated user. Default: `"me"`. ## Create label Action ID: `tools.gmail.create_label` Creates a new label. Reference: [https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.labels/create](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.labels/create) ### Secrets Optional secrets: * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_USER_TOKEN`. * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **body** `object` *required* Label resource. See [https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.labels](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.labels). Fields: name (the display name of the label), labelListVisibility (the visibility of the label in the label list in the Gmail web interface: labelShow, labelShowIfUnread, labelHide), messageListVisibility (the visibility of messages with this label in the message list in the Gmail web interface: show, hide), and color (an object with textColor and backgroundColor, settable on user labels only). **user_id** `string` The user's email address. The special value `me` can be used to indicate the authenticated user. Default: `"me"`. ## Delete draft Action ID: `tools.gmail.delete_draft` Immediately and permanently deletes the specified draft. Does not simply trash it. Reference: [https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.drafts/delete](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.drafts/delete) ### Secrets Optional secrets: * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_USER_TOKEN`. * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **id** `string` *required* The ID of the draft to delete. **user_id** `string` The user's email address. The special value `me` can be used to indicate the authenticated user. Default: `"me"`. ## Delete label Action ID: `tools.gmail.delete_label` Immediately and permanently deletes the specified label and removes it from any messages and threads that it is applied to. Reference: [https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.labels/delete](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.labels/delete) ### Secrets Optional secrets: * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_USER_TOKEN`. * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **id** `string` *required* The ID of the label to delete. **user_id** `string` The user's email address. The special value `me` can be used to indicate the authenticated user. Default: `"me"`. ## Delete message Action ID: `tools.gmail.delete_message` Immediately and permanently deletes the specified message. This operation cannot be undone. Prefer messages.trash instead. Requires the `https://mail.google.com/` scope, which is not in the Gmail provider defaults: add it to the integration's scopes before connecting, or delegate it to the service account. Reference: [https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/delete](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/delete) ### Secrets Optional secrets: * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_USER_TOKEN`. * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **id** `string` *required* The ID of the message to delete. **user_id** `string` The user's email address. The special value `me` can be used to indicate the authenticated user. Default: `"me"`. ## Delete thread Action ID: `tools.gmail.delete_thread` Immediately and permanently deletes the specified thread. Any messages that belong to the thread are also deleted. This operation cannot be undone. Prefer threads.trash instead. Requires the `https://mail.google.com/` scope, which is not in the Gmail provider defaults: add it to the integration's scopes before connecting, or delegate it to the service account. Reference: [https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.threads/delete](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.threads/delete) ### Secrets Optional secrets: * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_USER_TOKEN`. * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **id** `string` *required* ID of the Thread to delete. **user_id** `string` The user's email address. The special value `me` can be used to indicate the authenticated user. Default: `"me"`. ## Get draft Action ID: `tools.gmail.get_draft` Gets the specified draft. Reference: [https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.drafts/get](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.drafts/get) ### Secrets Optional secrets: * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_USER_TOKEN`. * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **id** `string` *required* The ID of the draft to retrieve. **format** `string | null` The format to return the draft in. Allowed values: minimal (only the message ID and labels), full (the full message data with the body parsed in the payload field), raw (the full message data with the body in the raw field as a base64url encoded string), metadata (only the message ID, labels, and headers). Defaults to full. Default: `null`. **user_id** `string` The user's email address. The special value `me` can be used to indicate the authenticated user. Default: `"me"`. ## Get Gmail attachment Action ID: `tools.gmail.get_attachment` Download an attachment from a Gmail message Reference: [https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages.attachments/get](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages.attachments/get) ### Secrets Optional secrets: * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_USER_TOKEN`. * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **attachment_id** `string` *required* The attachment ID to retrieve **message_id** `string` *required* The message ID containing the attachment **user_id** `string` User ID or 'me' for authenticated user Default: `"me"`. ## Get Gmail message Action ID: `tools.gmail.get_message` Get full content of a Gmail message by ID Reference: [https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/get](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/get) ### Secrets Optional secrets: * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_USER_TOKEN`. * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **message_id** `string` *required* The message ID to retrieve **format** `string` Format: 'full' (complete), 'metadata' (headers only), 'minimal' (IDs only), 'raw' (RFC 2822) Default: `"full"`. **user_id** `string` User ID or 'me' for authenticated user Default: `"me"`. ## Get Gmail message headers Action ID: `tools.gmail.get_message_headers` Get only headers of a Gmail message (faster than full message) Reference: [https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/get](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/get) ### Secrets Optional secrets: * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_USER_TOKEN`. * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **message_id** `string` *required* The message ID to retrieve headers for **metadata_headers** `array[string] | null` Specific headers to return (e.g., \['From', 'To', 'Subject']). If not specified, returns all headers. Default: `null`. **user_id** `string` User ID or 'me' for authenticated user Default: `"me"`. ## Get Gmail thread Action ID: `tools.gmail.get_thread` Get all messages in an email thread Reference: [https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.threads/get](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.threads/get) ### Secrets Optional secrets: * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_USER_TOKEN`. * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **thread_id** `string` *required* The thread ID to retrieve **format** `string` Format: 'full' (complete), 'metadata' (headers only), 'minimal' (IDs only) Default: `"full"`. **user_id** `string` User ID or 'me' for authenticated user Default: `"me"`. ## Get label Action ID: `tools.gmail.get_label` Gets the specified label. Reference: [https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.labels/get](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.labels/get) ### Secrets Optional secrets: * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_USER_TOKEN`. * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **id** `string` *required* The ID of the label to retrieve. **user_id** `string` The user's email address. The special value `me` can be used to indicate the authenticated user. Default: `"me"`. ## Get profile Action ID: `tools.gmail.get_profile` Gets the current user's Gmail profile. Reference: [https://developers.google.com/workspace/gmail/api/reference/rest/v1/users/getProfile](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users/getProfile) ### Secrets Optional secrets: * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_USER_TOKEN`. * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **user_id** `string` The user's email address. The special value `me` can be used to indicate the authenticated user. Default: `"me"`. ## List drafts Action ID: `tools.gmail.list_drafts` Lists the drafts in the user's mailbox. Reference: [https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.drafts/list](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.drafts/list) ### Secrets Optional secrets: * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_USER_TOKEN`. * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **include_spam_trash** `boolean | null` Include drafts from SPAM and TRASH in the results. Default: `null`. **max_results** `integer | null` Maximum number of drafts to return. This field defaults to 100. The maximum allowed value for this field is 500. Default: `null`. **page_token** `string | null` Page token to retrieve a specific page of results in the list. Default: `null`. **q** `string | null` Only return draft messages matching the specified query. Supports the same query format as the Gmail search box. Default: `null`. **user_id** `string` The user's email address. The special value `me` can be used to indicate the authenticated user. Default: `"me"`. ## List Gmail labels Action ID: `tools.gmail.list_labels` List all Gmail labels for the user Reference: [https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.labels/list](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.labels/list) ### Secrets Optional secrets: * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_USER_TOKEN`. * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **user_id** `string` User ID or 'me' for authenticated user Default: `"me"`. ## List history Action ID: `tools.gmail.list_history` Lists the history of all changes to the given mailbox. History results are returned in chronological order (increasing historyId). Reference: [https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.history/list](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.history/list) ### Secrets Optional secrets: * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_USER_TOKEN`. * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **start_history_id** `string` *required* Returns history records after the specified startHistoryId. The supplied startHistoryId should be obtained from the historyId of a message, thread, or previous list response. History IDs increase chronologically but are not contiguous with random gaps in between valid IDs. Supplying an invalid or out of date startHistoryId typically returns an HTTP 404 error code. A historyId is typically valid for at least a week, but in some rare circumstances may be valid for only a few hours. **history_types** `array[string] | null` History types to be returned by the function. Allowed values: messageAdded, messageDeleted, labelAdded, labelRemoved. Default: `null`. **label_id** `string | null` Only return messages with a label matching the ID. Default: `null`. **max_results** `integer | null` Maximum number of history records to return. This field defaults to 100. The maximum allowed value for this field is 500. Default: `null`. **page_token** `string | null` Page token to retrieve a specific page of results in the list. Default: `null`. **user_id** `string` The user's email address. The special value `me` can be used to indicate the authenticated user. Default: `"me"`. ## List threads Action ID: `tools.gmail.list_threads` Lists the threads in the user's mailbox. Reference: [https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.threads/list](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.threads/list) ### Secrets Optional secrets: * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_USER_TOKEN`. * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **include_spam_trash** `boolean | null` Include threads from SPAM and TRASH in the results. Default: `null`. **label_ids** `array[string] | null` Only return threads with labels that match all of the specified label IDs. Default: `null`. **max_results** `integer | null` Maximum number of threads to return. This field defaults to 100. The maximum allowed value for this field is 500. Default: `null`. **page_token** `string | null` Page token to retrieve a specific page of results in the list. Default: `null`. **q** `string | null` Only return threads matching the specified query. Supports the same query format as the Gmail search box. Default: `null`. **user_id** `string` The user's email address. The special value `me` can be used to indicate the authenticated user. Default: `"me"`. ## Modify message Action ID: `tools.gmail.modify_message` Modifies the labels on the specified message. Reference: [https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/modify](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/modify) ### Secrets Optional secrets: * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_USER_TOKEN`. * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **id** `string` *required* The ID of the message to modify. **add_label_ids** `array[string] | null` A list of IDs of labels to add to this message. You can add up to 100 labels with each update. Default: `null`. **remove_label_ids** `array[string] | null` A list of IDs of labels to remove from this message. You can remove up to 100 labels with each update. Default: `null`. **user_id** `string` The user's email address. The special value `me` can be used to indicate the authenticated user. Default: `"me"`. ## Modify thread Action ID: `tools.gmail.modify_thread` Modifies the labels applied to the thread. This applies to all messages in the thread. Reference: [https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.threads/modify](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.threads/modify) ### Secrets Optional secrets: * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_USER_TOKEN`. * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **id** `string` *required* The ID of the thread to modify. **add_label_ids** `array[string] | null` A list of IDs of labels to add to this thread. You can add up to 100 labels with each update. Default: `null`. **remove_label_ids** `array[string] | null` A list of IDs of labels to remove from this thread. You can remove up to 100 labels with each update. Default: `null`. **user_id** `string` The user's email address. The special value `me` can be used to indicate the authenticated user. Default: `"me"`. ## Patch label Action ID: `tools.gmail.patch_label` Patch the specified label. Reference: [https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.labels/patch](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.labels/patch) ### Secrets Optional secrets: * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_USER_TOKEN`. * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **body** `object` *required* Label resource. See [https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.labels](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.labels). Fields: name (the display name of the label), labelListVisibility (the visibility of the label in the label list in the Gmail web interface: labelShow, labelShowIfUnread, labelHide), messageListVisibility (the visibility of messages with this label in the message list in the Gmail web interface: show, hide), and color (an object with textColor and backgroundColor, settable on user labels only). **id** `string` *required* The ID of the label to update. **user_id** `string` The user's email address. The special value `me` can be used to indicate the authenticated user. Default: `"me"`. ## Search Gmail messages Action ID: `tools.gmail.search_messages` Search Gmail messages using Gmail's powerful query syntax Reference: [https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/list](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/list) ### Secrets Optional secrets: * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_USER_TOKEN`. * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **query** `string` *required* Gmail search query (e.g., 'from:[suspicious@evil.com](mailto:suspicious@evil.com) has:attachment') **max_results** `integer` Maximum number of results to return. The maximum allowed value for this field is 500. Default: `10`. **page_token** `string | null` Page token for pagination Default: `null`. **user_id** `string` User ID or 'me' for authenticated user Default: `"me"`. ## Send draft Action ID: `tools.gmail.send_draft` Sends the specified, existing draft to the recipients in the To, Cc, and Bcc headers. Reference: [https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.drafts/send](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.drafts/send) ### Secrets Optional secrets: * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_USER_TOKEN`. * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **id** `string` *required* The immutable ID of the draft to send. **user_id** `string` The user's email address. The special value `me` can be used to indicate the authenticated user. Default: `"me"`. ## Send message Action ID: `tools.gmail.send_message` Sends the specified message to the recipients in the To, Cc, and Bcc headers. The RFC 2822 message is assembled from the inputs and base64url-encoded before it is sent. Reference: [https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/send](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/send) ### Secrets Optional secrets: * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_USER_TOKEN`. * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **subject** `string` *required* Subject line of the message. **to** `string` *required* Comma-separated list of recipient email addresses for the `To` header. **bcc** `string | null` Comma-separated list of recipient email addresses for the `Bcc` header. Default: `null`. **body_html** `string | null` HTML body of the message. Added as an alternative part alongside the plain text body. Default: `null`. **body_text** `string | null` Plain text body of the message. Default: `null`. **cc** `string | null` Comma-separated list of recipient email addresses for the `Cc` header. Default: `null`. **in_reply_to** `string | null` The `Message-ID` header value of the message being replied to. Sets the `In-Reply-To` and `References` headers. Default: `null`. **reply_to** `string | null` Email address for the `Reply-To` header. Default: `null`. **thread_id** `string | null` The ID of the thread the message belongs to. To add a message to a thread the `References` and `In-Reply-To` headers must be set in compliance with the RFC 2822 standard, and the `Subject` headers must match. Default: `null`. **user_id** `string` The user's email address. The special value `me` can be used to indicate the authenticated user. Default: `"me"`. ## Trash message Action ID: `tools.gmail.trash_message` Moves the specified message to the trash. Reference: [https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/trash](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/trash) ### Secrets Optional secrets: * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_USER_TOKEN`. * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **id** `string` *required* The ID of the message to move to trash. **user_id** `string` The user's email address. The special value `me` can be used to indicate the authenticated user. Default: `"me"`. ## Trash thread Action ID: `tools.gmail.trash_thread` Moves the specified thread to the trash. Any messages that belong to the thread are also moved to the trash. Reference: [https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.threads/trash](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.threads/trash) ### Secrets Optional secrets: * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_USER_TOKEN`. * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **id** `string` *required* The ID of the thread to Trash. **user_id** `string` The user's email address. The special value `me` can be used to indicate the authenticated user. Default: `"me"`. ## Untrash message Action ID: `tools.gmail.untrash_message` Removes the specified message from the trash. Reference: [https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/untrash](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/untrash) ### Secrets Optional secrets: * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_USER_TOKEN`. * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **id** `string` *required* The ID of the message to remove from Trash. **user_id** `string` The user's email address. The special value `me` can be used to indicate the authenticated user. Default: `"me"`. ## Untrash thread Action ID: `tools.gmail.untrash_thread` Removes the specified thread from the trash. Any messages that belong to the thread are also removed from the trash. Reference: [https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.threads/untrash](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.threads/untrash) ### Secrets Optional secrets: * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_USER_TOKEN`. * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **id** `string` *required* The ID of the thread to remove from Trash. **user_id** `string` The user's email address. The special value `me` can be used to indicate the authenticated user. Default: `"me"`. ## Update draft Action ID: `tools.gmail.update_draft` Replaces a draft's content. The RFC 2822 message is assembled from the inputs and base64url-encoded before it is sent. Reference: [https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.drafts/update](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.drafts/update) ### Secrets Optional secrets: * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_USER_TOKEN`. * `google_gmail_oauth`: OAuth token `GOOGLE_GMAIL_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **id** `string` *required* The ID of the draft to update. **subject** `string` *required* Subject line of the message. **to** `string` *required* Comma-separated list of recipient email addresses for the `To` header. **bcc** `string | null` Comma-separated list of recipient email addresses for the `Bcc` header. Default: `null`. **body_html** `string | null` HTML body of the message. Added as an alternative part alongside the plain text body. Default: `null`. **body_text** `string | null` Plain text body of the message. Default: `null`. **cc** `string | null` Comma-separated list of recipient email addresses for the `Cc` header. Default: `null`. **in_reply_to** `string | null` The `Message-ID` header value of the message being replied to. Sets the `In-Reply-To` and `References` headers. Default: `null`. **reply_to** `string | null` Email address for the `Reply-To` header. Default: `null`. **thread_id** `string | null` The ID of the thread the message belongs to. To add a message to a thread the `References` and `In-Reply-To` headers must be set in compliance with the RFC 2822 standard, and the `Subject` headers must match. Default: `null`. **user_id** `string` The user's email address. The special value `me` can be used to indicate the authenticated user. Default: `"me"`. # Google Workspace Alert Center Source: https://docs.tracecat.com/tools/google_alert_center Reference for the Tracecat Google Workspace Alert Center integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Batch delete alerts Action ID: `tools.google_alert_center.batch_delete_alerts` Performs batch delete operation on alerts. Reference: [https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/alerts/batchDelete](https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/alerts/batchDelete) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **alert_ids** `array[string]` *required* The list of alert IDs to delete. Sent as the request body's `alertId` field. **customer_id** `string | null` The unique identifier of the Google Workspace account of the customer the alerts are associated with. The `customerId` must have the initial "C" stripped (for example, `046psxkn`). Inferred from the caller identity if not provided. Default: `null`. ## Batch undelete alerts Action ID: `tools.google_alert_center.batch_undelete_alerts` Performs batch undelete operation on alerts. Reference: [https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/alerts/batchUndelete](https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/alerts/batchUndelete) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **alert_ids** `array[string]` *required* The list of alert IDs to undelete. Sent as the request body's `alertId` field. **customer_id** `string | null` The unique identifier of the Google Workspace account of the customer the alerts are associated with. The `customerId` must have the initial "C" stripped (for example, `046psxkn`). Inferred from the caller identity if not provided. Default: `null`. ## Create alert feedback Action ID: `tools.google_alert_center.create_alert_feedback` Creates new feedback for an alert. Attempting to create a feedback for a non-existent alert returns `NOT_FOUND` error. Attempting to create a feedback for an alert that is marked for deletion returns `FAILED_PRECONDITION` error. Reference: [https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/alerts.feedback/create](https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/alerts.feedback/create) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **alert_id** `string` *required* The identifier of the alert this feedback belongs to. **type** `string` *required* The type of the feedback. One of `NOT_USEFUL` (the alert report is not useful), `SOMEWHAT_USEFUL` (the alert report is somewhat useful) or `VERY_USEFUL` (the alert report is very useful). **customer_id** `string | null` The unique identifier of the Google Workspace account of the customer the alert is associated with. The `customerId` must have the initial "C" stripped (for example, `046psxkn`). Inferred from the caller identity if not provided. Default: `null`. ## Delete alert Action ID: `tools.google_alert_center.delete_alert` Marks the specified alert for deletion. An alert that has been marked for deletion is removed from Alert Center after 30 days. Marking an alert for deletion has no effect on an alert which has already been marked for deletion. Attempting to mark a nonexistent alert for deletion results in a `NOT_FOUND` error. Reference: [https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/alerts/delete](https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/alerts/delete) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **alert_id** `string` *required* The identifier of the alert to delete. **customer_id** `string | null` The unique identifier of the Google Workspace account of the customer the alert is associated with. The `customerId` must have the initial "C" stripped (for example, `046psxkn`). Inferred from the caller identity if not provided. Default: `null`. ## Get alert Action ID: `tools.google_alert_center.get_alert` Gets the specified alert. Attempting to get a nonexistent alert returns `NOT_FOUND` error. Reference: [https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/alerts/get](https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/alerts/get) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **alert_id** `string` *required* The identifier of the alert to retrieve. **customer_id** `string | null` The unique identifier of the Google Workspace account of the customer the alert is associated with. The `customerId` must have the initial "C" stripped (for example, `046psxkn`). Inferred from the caller identity if not provided. Default: `null`. ## Get alert metadata Action ID: `tools.google_alert_center.get_alert_metadata` Returns the metadata of an alert. Attempting to get metadata for a non-existent alert returns `NOT_FOUND` error. Reference: [https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/alerts/getMetadata](https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/alerts/getMetadata) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **alert_id** `string` *required* The identifier of the alert this metadata belongs to. **customer_id** `string | null` The unique identifier of the Google Workspace account of the customer the alert metadata is associated with. The `customerId` must have the initial "C" stripped (for example, `046psxkn`). Inferred from the caller identity if not provided. Default: `null`. ## List alert feedback Action ID: `tools.google_alert_center.list_alert_feedback` Lists all the feedback for an alert. Attempting to list feedbacks for a non-existent alert returns `NOT_FOUND` error. Reference: [https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/alerts.feedback/list](https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/alerts.feedback/list) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **alert_id** `string` *required* The alert identifier. The "-" wildcard could be used to represent all alerts. **customer_id** `string | null` The unique identifier of the Google Workspace account of the customer the alert is associated with. The `customerId` must have the initial "C" stripped (for example, `046psxkn`). Inferred from the caller identity if not provided. Default: `null`. **filter** `string | null` A query string for filtering alert feedback results. Supported filter fields are `alertId` and `feedbackId`, for example `alertId = alertId01 AND feedbackId = feedbackId01`. Default: `null`. ## List alerts Action ID: `tools.google_alert_center.list_alerts` Lists the alerts. Reference: [https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/alerts/list](https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/alerts/list) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **customer_id** `string | null` The unique identifier of the Google Workspace account of the customer the alerts are associated with. The `customerId` must have the initial "C" stripped (for example, `046psxkn`). Inferred from the caller identity if not provided. Default: `null`. **filter** `string | null` A query string for filtering alert results. Supported filter fields are `alertId`, `type`, `source`, `createTime`, `startTime` and `endTime`; the time fields take an RFC 3339 date-time string, for example `createTime >= "2018-04-05T00:00:00Z"`. Default: `null`. **order_by** `string | null` The sort order of the list results. If not specified results may be returned in arbitrary order. Currently supported sorting are `createTime asc`, `createTime desc`, `updateTime desc`. Default: `null`. **page_size** `integer | null` The requested page size. Server may return fewer items than requested. If unspecified, server picks an appropriate default. Default: `null`. **page_token** `string | null` A token identifying a page of results the server should return. If empty, a new iteration is started. To continue an iteration, pass in the value from the previous ListAlertsResponse's `nextPageToken` field. Default: `null`. ## Undelete alert Action ID: `tools.google_alert_center.undelete_alert` Restores, or "undeletes", an alert that was marked for deletion within the past 30 days. Attempting to undelete an alert which was marked for deletion over 30 days ago (which has been removed from the Alert Center database) or a nonexistent alert returns a `NOT_FOUND` error. Attempting to undelete an alert which has not been marked for deletion has no effect. Reference: [https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/alerts/undelete](https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/alerts/undelete) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **alert_id** `string` *required* The identifier of the alert to undelete. **customer_id** `string | null` The unique identifier of the Google Workspace account of the customer the alert is associated with. The `customerId` must have the initial "C" stripped (for example, `046psxkn`). Inferred from the caller identity if not provided. This method takes the customer in the request body, not as a query parameter. Default: `null`. # Google API Source: https://docs.tracecat.com/tools/google_api Reference for the Tracecat Google API integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Call API Action ID: `tools.google_api.call_api` Call a Google API method. Reference: [https://googleapis.github.io/google-api-python-client/docs/dyn/](https://googleapis.github.io/google-api-python-client/docs/dyn/) ### Secrets Optional secrets: * `google_oauth`: OAuth token `GOOGLE_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **method_name** `string` *required* Google API method name, e.g. `list` or `get`. **resource** `string` *required* Resource path, e.g. `files` or `spreadsheets.values`. **service_name** `string` *required* Google API service name, e.g. `drive` or `sheets`. **version** `string` *required* Google API version, e.g. `v3` or `v4`. **access_token** `string | null` OAuth access token from a Tracecat OAuth integration, e.g. `${{ SECRETS.google_drive_oauth.GOOGLE_DRIVE_USER_TOKEN }}`. Use the secret key for the configured grant; a fallback expression is valid only when both grants are connected. When set it is used as-is and `scopes`/`subject` are ignored. Default: `null`. **media** `GoogleMediaUpload | null` File content for upload methods (e.g. Drive `files.create`). Sent as `media_body`. Default: `null`. **params** `GoogleAPIParams | null` Parameters for the Google API method. Default: `null`. **scopes** `array[string] | null` Scopes used when minting a token from `GOOGLE_API_CREDENTIALS`. Defaults to \["[https://www.googleapis.com/auth/cloud-platform](https://www.googleapis.com/auth/cloud-platform)"]. Default: `null`. **static_discovery** `boolean | null` Whether to use the discovery document bundled with the client library. Defaults to the library behaviour (bundled). Set to false to fetch the discovery document at runtime, which is required for API versions that are not bundled (e.g. `securitycenter` `v2`). Default: `null`. **subject** `string | null` Optional domain-wide delegation subject (user email) applied when minting from `GOOGLE_API_CREDENTIALS`. Defaults to the `GOOGLE_API_SUBJECT` secret key, then the `subject` key inside the JSON. Default: `null`. ## Call paginated API Action ID: `tools.google_api.call_paginated_api` Call a paginated Google API method and return every page fetched. Reference: [https://googleapis.github.io/google-api-python-client/docs/dyn/](https://googleapis.github.io/google-api-python-client/docs/dyn/) ### Secrets Optional secrets: * `google_oauth`: OAuth token `GOOGLE_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **method_name** `string` *required* Google API method name, e.g. `list` or `get`. **resource** `string` *required* Resource path, e.g. `files` or `spreadsheets.values`. **service_name** `string` *required* Google API service name, e.g. `drive` or `sheets`. **version** `string` *required* Google API version, e.g. `v3` or `v4`. **access_token** `string | null` OAuth access token from a Tracecat OAuth integration, e.g. `${{ SECRETS.google_drive_oauth.GOOGLE_DRIVE_USER_TOKEN }}`. Use the secret key for the configured grant; a fallback expression is valid only when both grants are connected. When set it is used as-is and `scopes`/`subject` are ignored. Default: `null`. **max_pages** `integer | null` Maximum number of pages to fetch. If null, fetches every page. Default: `null`. **next_page_token_path** `string` Dot-separated response path for the next page token. Defaults to "nextPageToken". Default: `"nextPageToken"`. **page_token_param** `string` Request parameter name for the next page token. Defaults to "pageToken". Default: `"pageToken"`. **params** `GoogleAPIParams | null` Parameters for the Google API method. Default: `null`. **scopes** `array[string] | null` Scopes used when minting a token from `GOOGLE_API_CREDENTIALS`. Defaults to \["[https://www.googleapis.com/auth/cloud-platform](https://www.googleapis.com/auth/cloud-platform)"]. Default: `null`. **static_discovery** `boolean | null` Whether to use the discovery document bundled with the client library. Defaults to the library behaviour (bundled). Set to false to fetch the discovery document at runtime, which is required for API versions that are not bundled (e.g. `securitycenter` `v2`). Default: `null`. **subject** `string | null` Optional domain-wide delegation subject (user email) applied when minting from `GOOGLE_API_CREDENTIALS`. Defaults to the `GOOGLE_API_SUBJECT` secret key, then the `subject` key inside the JSON. Default: `null`. # Google Chronicle Source: https://docs.tracecat.com/tools/google_chronicle Reference for the Tracecat Google Chronicle integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Add case tag Action ID: `tools.google_chronicle.add_case_tag` Adds a tag to a Case. Use tags to categorize cases for easier searching and reporting. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases/addTag](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases/addTag) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **case** `string` *required* The ID of the Case to add Tag for. **instance** `string` *required* Chronicle instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **tag** `string` *required* The tag to add on the case. **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. ## Assign case Action ID: `tools.google_chronicle.assign_case` Assigns a Case to an analyst or SOC role. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases/patch](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases/patch) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **assignee** `string` *required* This can be a user or a @SocRole; the default value is the default soc-role defined in Settings. **case** `string` *required* The ID of the Case to update. **instance** `string` *required* Chronicle instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. ## Bulk add case tag Action ID: `tools.google_chronicle.bulk_add_case_tag` Adds a tag to multiple cases in a single operation. This helps in categorizing large sets of related cases efficiently. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases/executeBulkAddTag](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases/executeBulkAddTag) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **casesIds** `array[integer]` *required* Cases to add tags to. **instance** `string` *required* The instance to execute bulk add tag on. Format: projects/\{project}/locations/\{location}/instances/\{instance} **tags** `array[string]` *required* The tags to add. **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. ## Bulk assign cases Action ID: `tools.google_chronicle.bulk_assign_cases` Assigns multiple cases to a specific analyst or SOC role in bulk. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases/executeBulkAssign](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases/executeBulkAssign) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **casesIds** `array[integer]` *required* Cases to assign. **instance** `string` *required* The instance to execute bulk assign case on. Format: projects/\{project}/locations/\{location}/instances/\{instance} **userName** `string` *required* The user name of the new assignee. **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. ## Bulk change case priority Action ID: `tools.google_chronicle.bulk_change_case_priority` Changes the priority level for multiple cases in bulk. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases/executeBulkChangePriority](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases/executeBulkChangePriority) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **casesIds** `array[integer]` *required* Cases to change priority for. **instance** `string` *required* The instance to execute bulk change priority on. Format: projects/\{project}/locations/\{location}/instances/\{instance} **priority** `string` *required* The priority to change the cases to. For example, "Informative", "Low", "Medium", "High", "Critical". **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. ## Bulk change case stage Action ID: `tools.google_chronicle.bulk_change_case_stage` Updates the case stage for multiple cases in bulk. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases/executeBulkChangeStage](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases/executeBulkChangeStage) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **casesIds** `array[integer]` *required* Cases to change stage for. **instance** `string` *required* The instance to execute bulk change stage on. Format: projects/\{project}/locations/\{location}/instances/\{instance} **stage** `string` *required* The case stage to change. **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. ## Bulk close cases Action ID: `tools.google_chronicle.bulk_close_cases` Closes multiple cases in a single operation. A valid closure reason and root cause must be provided for all affected cases. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases/executeBulkClose](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases/executeBulkClose) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **casesIds** `array[integer]` *required* Cases to close. **closeReason** `string` *required* Close reason. One of CLOSE_REASON_UNSPECIFIED, MALICIOUS, NOT_MALICIOUS, MAINTENANCE, INCONCLUSIVE, UNKNOWN. **instance** `string` *required* The instance to execute bulk close on. Format: projects/\{project}/locations/\{location}/instances/\{instance} **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. **closeComment** `string | null` Comment to add to the cases when closing them. Default: `null`. **dynamicParameters** `array[object] | null` Dynamic parameters added to the close case action. Each entry carries id (integer) and values (list of strings). Default: `null`. **rootCause** `string | null` Root cause of closing the cases. Default: `null`. ## Bulk reopen cases Action ID: `tools.google_chronicle.bulk_reopen_cases` Reopens multiple previously closed cases in a single operation. A comment explaining the reason for reopening is required. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases/executeBulkReopen](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases/executeBulkReopen) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **casesIds** `array[integer]` *required* Cases to reopen. **instance** `string` *required* The instance to execute bulk reopen on. Format: projects/\{project}/locations/\{location}/instances/\{instance} **reopenComment** `string` *required* Comment to add to the cases when reopening them. **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. ## Call API Action ID: `tools.google_chronicle.call_api` Call a Chronicle REST API endpoint and return its response body. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest](https://docs.cloud.google.com/chronicle/docs/reference/rest) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **method** `string` *required* HTTP method for the Chronicle REST API request. **url** `string` *required* Full Google Chronicle REST API URL, including the API version and resource path. **params** `object | null` Query parameters for the Chronicle API method. Default: `null`. **payload** `object | null` JSON request body for the Chronicle API method. Default: `null`. **timeout** `number | null` Request timeout in seconds. Set to null to disable it. Default: `60.0`. ## Cancel operation Action ID: `tools.google_chronicle.cancel_operation` Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. On successful cancellation the operation is not deleted; it becomes an operation with an error value whose code is CANCELLED. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.operations/cancel](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.operations/cancel) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **instance** `string` *required* Chronicle instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **operation** `string` *required* The ID of the operation resource to be cancelled. **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. ## Change case alert priority Action ID: `tools.google_chronicle.change_case_alert_priority` Updates the priority of a CaseAlert. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases.caseAlerts/patch](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases.caseAlerts/patch) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **case** `string` *required* The ID of the Case the alert belongs to. **caseAlert** `string` *required* The ID of the CaseAlert to update. **instance** `string` *required* Chronicle instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **priority** `string` *required* The alert priority. One of LEGACY_CASE_PRIORITY_UNSPECIFIED, UNCHANGED, INFORMATIVE, LOW, MEDIUM, HIGH, CRITICAL. The default value is HIGH. **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. ## Change case priority Action ID: `tools.google_chronicle.change_case_priority` Updates the priority of a Case. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases/patch](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases/patch) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **case** `string` *required* The ID of the Case to update. **instance** `string` *required* Chronicle instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **priority** `string` *required* Case priority. For example, "Informative", "Low", "Medium", "High", "Critical". The default value is HIGH. **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. ## Change case stage Action ID: `tools.google_chronicle.change_case_stage` Updates the stage of a Case. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases/patch](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases/patch) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **case** `string` *required* The ID of the Case to update. **instance** `string` *required* Chronicle instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **stage** `string` *required* The stage of the Case. For example, "Triage", "Incident", "Investigation". Stages are defined in "chronicle.googleapis.com/CaseStageDefinition". The default stage option is "Triage". **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. ## Close case alert Action ID: `tools.google_chronicle.close_case_alert` Closes a CaseAlert. The vendor requires a valid closure reason and comment when closing an alert. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases.caseAlerts/patch](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases.caseAlerts/patch) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **case** `string` *required* The ID of the Case the alert belongs to. **caseAlert** `string` *required* The ID of the CaseAlert to close. **comment** `string` *required* Alert closure comment. **instance** `string` *required* Chronicle instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **reason** `string` *required* Alert closure reason. One of CLOSE_REASON_UNSPECIFIED, MALICIOUS, NOT_MALICIOUS, MAINTENANCE, INCONCLUSIVE, UNKNOWN. **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. **rootCause** `string | null` Alert closure root cause. Default: `null`. ## Create case comment Action ID: `tools.google_chronicle.create_case_comment` Creates a new CaseComment. Use this method to add investigative notes or collaborate with other analysts. Comments can optionally include base64 encoded attachments. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases.caseComments/create](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases.caseComments/create) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **case** `string` *required* The ID of the Case this CaseComment will be created on. **comment** `string` *required* The content of the comment. **instance** `string` *required* Chronicle instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **alertIdentifier** `string | null` The alert associated with the comment. Default: `null`. **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. **caseAttachment** `object | null` The attachment associated with the comment. Required fields when present: attachmentBase64 (base64 encoded attachment), fileType, fileName. Default: `null`. **isFavorite** `boolean | null` Whether the comment is marked as a favorite. Default: `null`. ## Create retrohunt Action ID: `tools.google_chronicle.create_retrohunt` Creates a Retrohunt, an execution of a Rule over a time range in the past. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.rules.retrohunts/create](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.rules.retrohunts/create) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **endTime** `string` *required* Exclusive end of the event time range this retrohunt processes, in RFC 3339 format. **instance** `string` *required* Chronicle instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **rule** `string` *required* The rule the retrohunt belongs to, optionally suffixed with `@{revisionId}`. A retrohunt is the child of a rule revision. **startTime** `string` *required* Inclusive start of the event time range this retrohunt processes, in RFC 3339 format, e.g. "2014-10-02T15:01:23Z". **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. ## Create rule Action ID: `tools.google_chronicle.create_rule` Creates a new Rule. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.rules/create](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.rules/create) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **instance** `string` *required* The parent resource where this rule will be created. Format: projects/\{project}/locations/\{location}/instances/\{instance} **text** `string` *required* The YARA-L content of the rule. **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. **scope** `string | null` Resource name of the DataAccessScope bound to this rule. If reference lists are used in the rule, validations will be performed against this scope to ensure that the reference lists are compatible with both the user's and the rule's scopes. Format: projects/\{project}/locations/\{location}/instances/\{instance}/dataAccessScopes/\{scope} Default: `null`. ## Delete case comment Action ID: `tools.google_chronicle.delete_case_comment` Performs a soft delete of a CaseComment, removing the comment's content from general view while preserving its metadata for audit purposes. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases.caseComments/delete](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases.caseComments/delete) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **case** `string` *required* The ID of the Case the comment belongs to. **caseComment** `string` *required* The ID of the CaseComment to delete. **instance** `string` *required* Chronicle instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. ## Delete rule Action ID: `tools.google_chronicle.delete_rule` Deletes a Rule. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.rules/delete](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.rules/delete) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **instance** `string` *required* Chronicle instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **rule** `string` *required* The rule ID of the rule to delete. A rule revision timestamp cannot be specified as part of the name, as deleting specific revisions is not supported. **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. **force** `boolean | null` If set to true, any retrohunts and any detections associated with the rule will also be deleted. If set to false, the call will only succeed if the rule has no associated retrohunts, including completed retrohunts, and no associated detections. Regardless of this field's value, the rule deployment associated with this rule will also be deleted. Default: `null`. ## Disable rule Action ID: `tools.google_chronicle.disable_rule` Stops a rule from running against incoming data by clearing `enabled` on its RuleDeployment. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.rules/updateDeployment](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.rules/updateDeployment) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **instance** `string` *required* Chronicle instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **rule** `string` *required* The rule ID whose deployment to disable. RuleDeployment is a child of the overall Rule, not any individual revision, so this must not reference a specific revision. **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. ## Enable rule Action ID: `tools.google_chronicle.enable_rule` Deploys a rule continuously against incoming data by setting `enabled` on its RuleDeployment. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.rules/updateDeployment](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.rules/updateDeployment) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **instance** `string` *required* Chronicle instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **rule** `string` *required* The rule ID whose deployment to enable. RuleDeployment is a child of the overall Rule, not any individual revision, so this must not reference a specific revision. **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. ## Execute query Action ID: `tools.google_chronicle.execute_query` Performs a UDM search that returns matching events, or statistics rows, for the query. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances/udmSearch](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances/udmSearch) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **endTime** `string` *required* Exclusive end of the time range to search, as an RFC 3339 timestamp. **instance** `string` *required* Chronicle instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **query** `string` *required* The UDM query to run, including event, statistics, or SQL queries. **startTime** `string` *required* Inclusive start of the time range to search, as an RFC 3339 timestamp, e.g. "2014-10-02T15:01:23Z". **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. **limit** `integer` Maximum number of results to return. Chronicle coerces values over 10000 to 10000. Default: `100`. **queryDialect** `string` Language of the query string. Chronicle supports YL2 and SQL. Default: `"YL2"`. **timeout** `number | null` Request timeout in seconds. Set to null to disable it. Default: `60.0`. ## Find entity Action ID: `tools.google_chronicle.find_entity` Identifies the entity type and retrieves relevant data associated with a specified indicator. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances/findEntity](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances/findEntity) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **entityNamespace** `string` *required* Namespace of the entity being queried. **indicator** `string` *required* Entity indicator to search for. **instance** `string` *required* The ID of the Instance to find entity for. Format: projects/\{project}/locations/\{location}/instances/\{instance} **referenceTime** `string` *required* Reference time to lookup entity, in RFC 3339 format, e.g. "2014-10-02T15:01:23Z". **udmField** `string` *required* The UDM field the entity indicator belongs to. **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. ## Find entity alerts Action ID: `tools.google_chronicle.find_entity_alerts` Gets alerts for an entity. The API returns a maximum of 1000 alerts for the requested entity. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances/findEntityAlerts](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances/findEntityAlerts) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **endTime** `string` *required* Exclusive end of the time range to retrieve the alerts for, in RFC 3339 format. **instance** `string` *required* The ID of the Instance to summarize entity for. Format: projects/\{project}/locations/\{location}/instances/\{instance} **startTime** `string` *required* Inclusive start of the time range to retrieve the alerts for, in RFC 3339 format, e.g. "2014-10-02T15:01:23Z". **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. **entityId** `string | null` ID of the entity. Use this or the `field_and_value_*` inputs to identify the entity. Default: `null`. **field_and_value_entity_namespace** `string | null` Entity namespace, applicable to asset entities. Default: `null`. **field_and_value_field_path** `string | null` UDM field path identifying the indicator type. Default: `null`. **field_and_value_value** `string | null` Indicator value used to identify the entity. Default: `null`. **field_and_value_value_type** `string | null` Chronicle value type identifying the indicator type. Default: `null`. ## Find related entities Action ID: `tools.google_chronicle.find_related_entities` Finds all the entities associated with provided entity. The API returns a maximum of 100 entities. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances/findRelatedEntities](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances/findRelatedEntities) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **endTime** `string` *required* Exclusive end of the time range to search related entities for, in RFC 3339 format. **instance** `string` *required* The name of the parent resource, which is the SecOps instance to find related entities for. Format: projects/\{project}/locations/\{location}/instances/\{instance} **startTime** `string` *required* Inclusive start of the time range to search related entities for, in RFC 3339 format, e.g. "2014-10-02T15:01:23Z". **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. **domainType** `string | null` The domain type to retrieve. This is taken into account when the entity type is specified as "DOMAIN_NAME". Default: `null`. **entityId** `string | null` ID of the entity. Use this or the `field_and_value_*` inputs to identify the entity. Default: `null`. **entityTypes** `array[string] | null` Entity types to filter related entities by. If unspecified, will return all related entities for the given entity. Default: `null`. **excludeFirstLastSeen** `boolean | null` If true, then the related entities will not have first/last seen info and reduce latency of endpoint. Default: `null`. **field_and_value_entity_namespace** `string | null` Entity namespace, applicable to asset entities. Default: `null`. **field_and_value_field_path** `string | null` UDM field path identifying the indicator type. Default: `null`. **field_and_value_value** `string | null` Indicator value used to identify the entity. Default: `null`. **field_and_value_value_type** `string | null` Chronicle value type identifying the indicator type. Default: `null`. **includeAllUdmEventTypesForFirstLastSeen** `boolean | null` If true, it includes all types of events we show in UDM Search to calculate the first and last seen time of an entity. Default: `null`. **limit** `integer | null` The maximum number of Entities to return. The service may return fewer than this value. If unspecified, at most 100 entities will be returned. The maximum value is 100; values above 100 will be coerced to 100. Default: `null`. ## Find UDM field values Action ID: `tools.google_chronicle.find_udm_field_values` Finds ingested UDM field values that match a query. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances/findUdmFieldValues](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances/findUdmFieldValues) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **instance** `string` *required* Chronicle instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **query** `string` *required* The partial UDM field value to match. **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. **limit** `integer | null` The maximum number of value matches to return. The service may return fewer matches than this value. If unspecified, defaults to 250. The maximum value is 1000; values above 1000 will be coerced to 1000. Default: `null`. ## Get alert Action ID: `tools.google_chronicle.get_alert` RPC for fetching an alert based on its Alert Id. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacy/legacyGetAlert](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacy/legacyGetAlert) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **alertId** `string` *required* The ID of the collection to return. **instance** `string` *required* Chronicle instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. **includeDetections** `boolean | null` If set to true, response will include non-alerting detections. Default: `null`. ## Get case Action ID: `tools.google_chronicle.get_case` Gets a single Case by its resource name, including its alerts, entities, and investigation history. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases/get](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases/get) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **case** `string` *required* The ID of the Case to retrieve. **instance** `string` *required* Chronicle instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. **expand** `string | null` Expand field for getting related resources. Default: `null`. ## Get case alert Action ID: `tools.google_chronicle.get_case_alert` Gets a single CaseAlert, including its current status, priority, and associated metadata. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases.caseAlerts/get](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases.caseAlerts/get) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **case** `string` *required* The ID of the Case the alert belongs to. **caseAlert** `string` *required* The ID of the CaseAlert to retrieve. **instance** `string` *required* Chronicle instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. **expand** `string | null` Expand the response to include the full alert object. Supported values: sla, involvedRelations. Example: "sla, involvedRelations" Default: `null`. ## Get case comment Action ID: `tools.google_chronicle.get_case_comment` Gets a single CaseComment by its resource name, returning the content and metadata of a specific comment. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases.caseComments/get](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases.caseComments/get) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **case** `string` *required* The ID of the Case the comment belongs to. **caseComment** `string` *required* The ID of the CaseComment to retrieve. **instance** `string` *required* Chronicle instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. **expand** `string | null` Expand field for getting related resources. Default: `null`. ## Get detection Action ID: `tools.google_chronicle.get_detection` Legacy endpoint for fetching a Detection. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacy/legacyGetDetection](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacy/legacyGetDetection) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **detectionId** `string` *required* The detection to get. **instance** `string` *required* The name of the parent resource, which is the SecOps instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **ruleId** `string` *required* The specific rule revision to get a detection for. There are two acceptable formats: "\{ruleId}" gets a detection for the latest revision of the Rule, and "\{ruleId}@\{revisionId}" gets a detection for that revision. **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. ## Get event for detection Action ID: `tools.google_chronicle.get_event_for_detection` Legacy endpoint for getting event for curated detection. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacy/legacyGetEventForDetection](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacy/legacyGetEventForDetection) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **detectionId** `string` *required* The unique ID of the curated detection, as a base64-encoded string. **instance** `string` *required* The name of the parent resource, which is the SecOps instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. **next_page_token_last_row_id** `string | null` Last row ID from the previous response page token. Default: `null`. **next_page_token_last_row_time** `string | null` Last row timestamp from the previous response page token. Default: `null`. **next_page_token_offset** `integer | null` Offset from the previous response page token. Default: `null`. **pageSize** `integer | null` Number of events to return per page. Default value is 1000 if the pageSize is not set in the request. Default: `null`. ## Get operation Action ID: `tools.google_chronicle.get_operation` Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.operations/get](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.operations/get) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **instance** `string` *required* Chronicle instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **operation** `string` *required* The ID of the operation resource. **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. ## Get retrohunt Action ID: `tools.google_chronicle.get_retrohunt` Gets a Retrohunt. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.rules.retrohunts/get](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.rules.retrohunts/get) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **instance** `string` *required* Chronicle instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **retrohunt** `string` *required* The ID of the retrohunt to retrieve. **rule** `string` *required* The rule the retrohunt belongs to, optionally suffixed with `@{revisionId}`. **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. ## Get rule Action ID: `tools.google_chronicle.get_rule` Gets a Rule. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.rules/get](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.rules/get) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **instance** `string` *required* Chronicle instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **rule** `string` *required* The rule ID of the rule to retrieve, optionally suffixed with `@{revisionId}` to pin a revision. **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. **view** `string | null` The scope of fields to populate for the Rule being returned. If unspecified, defaults to FULL. One of BASIC, FULL, REVISION_METADATA_ONLY. Default: `null`. ## Get rule deployment Action ID: `tools.google_chronicle.get_rule_deployment` Gets a RuleDeployment. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.rules/getDeployment](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.rules/getDeployment) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **instance** `string` *required* Chronicle instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **rule** `string` *required* The rule ID whose deployment to retrieve. RuleDeployment is a child of the overall Rule, not any individual revision, so this must not reference a specific revision. **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. ## List case alerts Action ID: `tools.google_chronicle.list_case_alerts` Lists CaseAlerts within a specific Case. Supports filtering by status, priority, and other alert attributes. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases.caseAlerts/list](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases.caseAlerts/list) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **case** `string` *required* The ID of the Case to list CaseAlerts for. **instance** `string` *required* Chronicle instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. **distinctBy** `string | null` Fields to distinct results. Example: caseId Default: `null`. **expand** `string | null` Expand the response to include the full alert object. Supported values: sla, involvedRelations. Example: "sla, involvedRelations" Default: `null`. **filter** `string | null` A filter to apply to the list of CaseAlerts. Supported filter fields: displayName, caseId, identifier, sourceGroupingIdentifier, product, vendor, environment, ticketId, sourceSystemName, creation_method, priority, status, startTime, endTime, additionalProperties, involvedRelations. Example: filter="displayName='some_name'" Default: `null`. **orderBy** `string | null` Configures ordering of CaseAlerts in the response. If not specified, CaseAlerts are returned in descending order of their create time. The orderBy string is a comma separated list of fields. Example: "displayName desc, default" Default: `null`. **pageSize** `integer | null` The maximum number of CaseAlerts to return. The service may return fewer than this value. If unspecified, at most 50 CaseAlerts will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. Default: `null`. **pageToken** `string | null` A page token, received from a previous caseAlerts.list call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to caseAlerts.list must match the call that provided the page token. Default: `null`. ## List case comments Action ID: `tools.google_chronicle.list_case_comments` Lists CaseComments associated with a specific Case. Supports filtering by author, creation time and other fields. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases.caseComments/list](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases.caseComments/list) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **case** `string` *required* The ID of the Case to list CaseComments for. **instance** `string` *required* Chronicle instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. **expand** `string | null` Expand the response to include the full comment object. Supported values: caseAttachment Default: `null`. **filter** `string | null` A filter to apply to the list of CaseComments. Supported filter fields: createTime, updateTime, user, comment, deletionInvoker, favorite, alert, deleted. Example: filter="comment='some_comment'" Default: `null`. **orderBy** `string | null` Configures ordering of CaseComments in the response. If not specified, CaseComments are returned in descending order of their create time. Supported sort fields: createTime, updateTime, user, comment, deletionInvoker, favorite, alert, deleted. For example: "comment desc, favorite" Default: `null`. **pageSize** `integer | null` The maximum number of CaseComments to return. The service may return fewer than this value. If unspecified, at most 50 CaseComments will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. Default: `null`. **pageToken** `string | null` A page token, received from a previous caseComments.list call. Provide this to retrieve the subsequent page. When paginating, all other parameters must match the call that provided the page token. Default: `null`. ## List cases Action ID: `tools.google_chronicle.list_cases` Lists Cases in an instance. Supports extensive filtering and ordering based on case attributes like priority, status, assignee and more. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases/list](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases/list) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **instance** `string` *required* The instance to list Cases for. Format: projects/\{project}/locations/\{location}/instances/\{instance} **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. **distinctBy** `string | null` The field to distinct the cases by. Default: `null`. **expand** `string | null` Expand the response to include the full case object. Supported values: tasks, tags, products. Example: "tags, products" Default: `null`. **filter** `string | null` A filter to apply to the list of Cases. Supported filter fields: displayName, creatorUserId, creatorUser, lastModifyingUserId, lastModifyingUser, assignee, assignedUser, stage, priority, important, type, environment, case_data_state, score, alertsSla, sla, tags, products, closureDetails, tasks. Example: filter="displayName='some_name'" Default: `null`. **orderBy** `string | null` Configures ordering of Cases in the response. If not specified, Cases are returned in descending order of their create time. The orderBy string is a comma separated list of fields. Example: "displayName desc, priority" Default: `null`. **pageSize** `integer | null` The maximum number of cases to return. The service may return fewer than this value. If unspecified, at most 50 Cases will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. Default: `null`. **pageToken** `string | null` A page token, received from a previous cases.list call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to cases.list must match the call that provided the page token. Default: `null`. ## List detections Action ID: `tools.google_chronicle.list_detections` Legacy endpoint for searching detections for a rule version. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacy/legacySearchDetections](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacy/legacySearchDetections) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **instance** `string` *required* Chronicle instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **ruleId** `string` *required* The specific rule revision to search detections for. There are four acceptable formats: "\{ruleId}" retrieves detections for the latest revision of the Rule; "\{ruleId}@\{revisionId}" retrieves detections for that revision; "\{ruleId}@-" retrieves detections for all revisions of the Rule; "-" retrieves detections for all revisions of all Rules. **alertState** `string | null` An enum that filters which detections are returned by their AlertState. One of UNSPECIFIED, NOT_ALERTING, ALERTING. Default: `null`. **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. **endTime** `string | null` The time to end searching detections to, exclusive, in RFC 3339 format. Default: `null`. **includeNestedDetections** `boolean | null` If true, include one level of nested detections in the response. Default: `null`. **includeSimulatedDetections** `boolean | null` Deprecated. If true, include simulated detections in the response. Prefer simulatedDataVisibility for new workflows. Default: `null`. **listBasis** `string | null` Basis for determining whether to apply startTime and endTime filters for detection time or creation time of the detection. One of LIST_BASIS_UNSPECIFIED, DETECTION_TIME, CREATED_TIME. Default: `null`. **maxRespSizeBytes** `integer | null` The maximum size of response in bytes. If it is set to 0 (or is omitted), the server will not enforce any max response size limit. Default: `null`. **pageSize** `integer | null` Maximum number of detections to return. Default: `null`. **pageToken** `string | null` A page token, received from a previous legacy.legacySearchDetections call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to legacy.legacySearchDetections must match the call that provided the page token. Default: `null`. **simulatedDataVisibility** `string | null` Specifies visibility of simulated data to include in search results. Default: `null`. **startTime** `string | null` The time to start search detections from, inclusive, in RFC 3339 format, e.g. "2014-10-02T15:01:23Z". Default: `null`. ## List operations Action ID: `tools.google_chronicle.list_operations` Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.operations/list](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.operations/list) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **instance** `string` *required* The name of the operation's parent resource. Format: projects/\{project}/locations/\{location}/instances/\{instance} **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. **filter** `string | null` The standard list filter. Default: `null`. **pageSize** `integer | null` The standard list page size. Default: `null`. **pageToken** `string | null` The standard list page token. Default: `null`. **returnPartialSuccess** `boolean | null` Return reachable operations normally and report unreachable collections in the response. Chronicle may return UNIMPLEMENTED when this option is unsupported. Default: `null`. ## List retrohunts Action ID: `tools.google_chronicle.list_retrohunts` Lists Retrohunts. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.rules.retrohunts/list](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.rules.retrohunts/list) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **instance** `string` *required* Chronicle instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **rule** `string` *required* The rule that the retrohunts belong to. Use "-" to list retrohunts across all rules. **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. **filter** `string | null` A filter that can be used to retrieve specific retrohunts. The following fields are filterable: state Default: `null`. **pageSize** `integer | null` The maximum number of retrohunt to return. The service may return fewer than this value. If unspecified, at most 100 retrohunts will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. Default: `null`. **pageToken** `string | null` A page token, received from a previous retrohunts.list call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to retrohunts.list must match the call that provided the page token. Default: `null`. ## List rule deployments Action ID: `tools.google_chronicle.list_rule_deployments` Lists RuleDeployments across all Rules. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.rules.deployments/list](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.rules.deployments/list) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **instance** `string` *required* Chronicle instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance}. The "-" wildcard token is used as the rule identifier so deployments across all rules are returned. **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. **filter** `string | null` A filter that can be used to retrieve specific rule deployments. The following fields are filterable: archived, name Default: `null`. **pageSize** `integer | null` The maximum number of rule deployments to return. The service may return fewer than this value. If unspecified, at most 100 rule deployments will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. Default: `null`. **pageToken** `string | null` A page token, received from a previous deployments.list call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to deployments.list must match the call that provided the page token. Default: `null`. ## List rule execution errors Action ID: `tools.google_chronicle.list_rule_execution_errors` Lists rule execution errors. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.ruleExecutionErrors/list](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.ruleExecutionErrors/list) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **instance** `string` *required* The instance to list rule execution errors from. Format: projects/\{project}/locations/\{location}/instances/\{instance} **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. **filter** `string | null` A filter that can be used to retrieve specific rule execution errors. Only the following filters are allowed: rule = "\{Rule.name}", curatedRule = "\{CuratedRule.name}". For 'rule' an optional revision id may be appended as "\{Rule.name}@\{Rule.revision_id}", or "\{Rule.name}@-" to fetch errors across all revisions. Revision IDs are not supported for curated rules. Default: `null`. **pageSize** `integer | null` The maximum number of rule execution errors to return. The service may return fewer than this value. If unspecified, at most 1000 rule execution errors will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000. Default: `null`. **pageToken** `string | null` A page token, received from a previous ruleExecutionErrors.list call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ruleExecutionErrors.list must match the call that provided the page token. Default: `null`. ## List rule revisions Action ID: `tools.google_chronicle.list_rule_revisions` Lists all revisions of a rule. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.rules/listRevisions](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.rules/listRevisions) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **instance** `string` *required* Chronicle instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **rule** `string` *required* The rule ID of the rule to list revisions for. **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. **pageSize** `integer | null` The maximum number of revisions to return per page. The service may return fewer than this value. If unspecified, at most 100 revisions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. Default: `null`. **pageToken** `string | null` The page token, received from a previous rules.listRevisions call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to rules.listRevisions must match the call that provided the page token. Default: `null`. **view** `string | null` The scope of fields to populate for the revision being returned. If unspecified, defaults to BASIC. One of BASIC, FULL, REVISION_METADATA_ONLY. Default: `null`. ## List rules Action ID: `tools.google_chronicle.list_rules` Lists Rules. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.rules/list](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.rules/list) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **instance** `string` *required* The parent, which owns this collection of rules. Format: projects/\{project}/locations/\{location}/instances/\{instance} **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. **filter** `string | null` Only the following filters are allowed: "referenceLists:\{reference_list_name}" "dataTables:\{dataTableName}" "displayName:\{displayName}" Default: `null`. **orderBy** `string | null` The sort order of the rules. If unspecified, rules will be sorted by revisionCreateTime desc ruleId asc. Sorting is supported on a single field only. Supported fields: "archived", "alertingEnabled", "author", "createTime", "currentDayDetectionCount", "displayName", "executionState", "liveModeEnabled", "revisionCreateTime", "ruleId", "ruleOwner", "severity", "type". Example: "displayName desc" Default: `null`. **pageSize** `integer | null` The maximum number of rules to return. The service may return fewer than this value. If unspecified, at most 100 rules will be returned. The maximum value is 1000, or 5000 if `view` is set to CONFIG_ONLY; values above the applicable maximum will be coerced to that maximum. Default: `null`. **pageToken** `string | null` A page token, received from a previous rules.list call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to rules.list must match the call that provided the page token. Default: `null`. **skip** `integer | null` The number of rules to skip in the response. Skipping is only supported in TRENDS view. Default: `null`. **view** `string | null` The scope of fields to populate for the Rule being returned. If unspecified, defaults to BASIC. One of BASIC, FULL, REVISION_METADATA_ONLY, CONFIG_ONLY, TRENDS. Default: `null`. ## Reopen case alert Action ID: `tools.google_chronicle.reopen_case_alert` Reopens a closed CaseAlert by setting its status back to OPEN. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases.caseAlerts/patch](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases.caseAlerts/patch) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **case** `string` *required* The ID of the Case the alert belongs to. **caseAlert** `string` *required* The ID of the CaseAlert to reopen. **instance** `string` *required* Chronicle instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. ## Search alerts Action ID: `tools.google_chronicle.search_alerts` Legacy endpoint for getting alerts (and in some cases, non-alerting detections) along with aggregated fields that match the query. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacy/legacyFetchAlertsView](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacy/legacyFetchAlertsView) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **endTime** `string` *required* Exclusive end of the time range to search, in RFC 3339 format. **instance** `string` *required* The name of the parent resource, which is the SecOps instance. Format: projects/\{project}/locations/\{location}/instances/\{instance} **snapshotQuery** `string` *required* This uses a syntax similar to UDM search, with support for all fields within 7 levels of nesting within the collection proto. For composite detections, the filters prefixed with "collectionElements.references.event" or "collectionElements.references.entity" are also checked against one-level of producer detections. **startTime** `string` *required* Inclusive start of the time range to search, in RFC 3339 format, e.g. "2014-10-02T15:01:23Z". **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. **baselineQuery** `string | null` The baseline query is used for this request and its results are cached for subsequent requests, so that supplying additional filters in the snapshotQuery will not require re-running the baseline query. This uses a syntax similar to UDM search, and all fields are supported except for the path prefix `feedbackSummary.*`. Default: `null`. **enableCache** `string | null` If enabled, subsequent requests for the same time range and baseline query will try to leverage our cache to serve the response with filters applied in the snapshot query. One of ALERTS_FEATURE_PREFERENCE_UNSPECIFIED, ALERTS_FEATURE_PREFERENCE_ENABLED, ALERTS_FEATURE_PREFERENCE_DISABLED. Default: `null`. **entity_indicator_asset_ip_address** `string | null` Asset IP address entity indicator. Set at most one indicator value. Default: `null`. **entity_indicator_destination_ip_address** `string | null` Destination IP entity indicator. Set at most one indicator value. Default: `null`. **entity_indicator_domain_name** `string | null` Domain name entity indicator. Set at most one indicator value. Default: `null`. **entity_indicator_email** `string | null` Email entity indicator. Set at most one indicator value. Default: `null`. **entity_indicator_employee_id** `string | null` Employee ID entity indicator. Set at most one indicator value. Default: `null`. **entity_indicator_file_path** `string | null` File path entity indicator. Set at most one indicator value. Default: `null`. **entity_indicator_full_command_line** `string | null` Full command line entity indicator. Set at most one indicator value. Default: `null`. **entity_indicator_hash_md5** `string | null` MD5 hash entity indicator. Set at most one indicator value. Default: `null`. **entity_indicator_hash_sha1** `string | null` SHA-1 hash entity indicator. Set at most one indicator value. Default: `null`. **entity_indicator_hash_sha256** `string | null` SHA-256 hash entity indicator. Set at most one indicator value. Default: `null`. **entity_indicator_hostname** `string | null` Hostname entity indicator. Set at most one indicator value. Default: `null`. **entity_indicator_mac** `string | null` MAC address entity indicator. Set at most one indicator value. Default: `null`. **entity_indicator_namespace** `string | null` Namespace for an asset entity indicator. Default: `null`. **entity_indicator_parent_process_id** `string | null` Parent process ID entity indicator. Set at most one indicator value. Default: `null`. **entity_indicator_process_id** `string | null` Process ID entity indicator. Set at most one indicator value. Default: `null`. **entity_indicator_product_id** `string | null` Product-specific asset ID indicator. Set at most one indicator value. Default: `null`. **entity_indicator_product_object_id** `string | null` Product object ID entity indicator. Set at most one indicator value. Default: `null`. **entity_indicator_raw_pid** `string | null` Raw process ID entity indicator. Set at most one indicator value. Default: `null`. **entity_indicator_resource_name** `string | null` Resource name entity indicator. Set at most one indicator value. Default: `null`. **entity_indicator_user_name** `string | null` User name entity indicator. Set at most one indicator value. Default: `null`. **entity_indicator_windows_sid** `string | null` Windows SID entity indicator. Set at most one indicator value. Default: `null`. **includeNonAlertingDetections** `string | null` Whether to include non-alerting detections in the response. One of ALERTS_FEATURE_PREFERENCE_UNSPECIFIED, ALERTS_FEATURE_PREFERENCE_ENABLED, ALERTS_FEATURE_PREFERENCE_DISABLED. Default: `null`. **maxResponseAlertsBytes** `string | null` The maximum size, in bytes, of the alerts data returned in the response, as an int64 string. If the total size of alerts exceeds this limit, the list of alerts is truncated and `memoryLimitExceeded` is set in the response. If unspecified or set to 0, no size limit is applied. Default: `null`. **max_returned_alerts** `integer | null` Parameter for the Alerts that will be streamed back; caps the number of matched alerts returned in `alerts`. Default: `null`. **max_values_per_field** `integer | null` Parameter for the Aggregated Alert fields that will be streamed back; caps the number of values returned per aggregated field. Default: `null`. **simulatedDataVisibility** `string | null` Specifies visibility of simulated data to include in search results. Default: `null`. ## Search cases Action ID: `tools.google_chronicle.search_cases` Performs a search for security cases matching the provided criteria. Returns a list of investigations based on status, priority, environment, and associated metadata. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySearches/legacyCaseSearchEverything](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySearches/legacyCaseSearchEverything) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **instance** `string` *required* The instance to get the search results for. Format: projects/\{project}/locations/\{location}/instances/\{instance} **assignedUsers** `array[string] | null` A list of strings that represents the Users (analysts) / Roles that are assigned to the case. Available inputs: Username (GUID) / @Role name. Default: `null`. **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. **caseComment** `string | null` A string that represents a part of the body of a case comment to search for in cases. Default: `null`. **caseSource** `array[string] | null` List of strings representing case sources. Available inputs: System / Manual / Test. Default: `null`. **categoryOutcomes** `array[string] | null` List of strings that represents whether to fetch cases that contain a specific value in CategoryOutcome. Available inputs: Allowed / Blocked / \[] (empty). Default: `null`. **closeReason** `string | null` Represents the reason the case was closed and fetches cases that match the value. Default: `null`. **disableTimeRangeLocalization** `boolean | null` A boolean field that represents whether the Localization (timezone) settings should be ignored. Applies to startTime and endTime. Available inputs: true / false / null. Default: `null`. **endTime** `string | null` The UTC end time to search for cases by creation time, in RFC 3339 format. Used if timeRangeFilter is set to the custom filter. Defaults to current time. Default: `null`. **environments** `array[string] | null` List of strings representing the environments that the case is associated with. If the case matches at least one environment it will be fetched. Default: `null`. **externalAlertId** `string | null` Represents the 'TicketId' mapped from the original SIEM's alert ID. Default: `null`. **importance** `array[string] | null` List of strings representing the case importance (i.e. marked as "is important"). Available inputs: True / False. Default: `null`. **incident** `array[string] | null` List of strings representing cases marked as incidents. Available inputs: True / False. Default: `null`. **involvedEntity** `string | null` A string that represents an entity to search for in cases. Default: `null`. **isCaseClosed** `boolean | null` A boolean field that represents whether to filter by the case status (is closed or not). Available inputs: true / false / null. Default: `null`. **pageSize** `integer | null` Number of entries to return. Default: `null`. **paging** `object | null` Paging options for the search. Default: `null`. **ports** `array[string] | null` List of strings that represent the ports that exist in the case. If the case matches at least one Port it will be fetched. Default: `null`. **priorities** `array[string] | null` List of strings representing case priority. Default: `null`. **products** `array[string] | null` List of strings that represent the Products that exists in the case. If the case matches at least one Product it will be fetched. Default: `null`. **requestedPage** `integer | null` The requested page. Default: `null`. **ruleGenerator** `array[string] | null` List of strings that represents the Rule Generator (Alert Type in the Platform) that exist in the case. Default: `null`. **searchTerm** `string | null` Search term. Default: `null`. **sortBy** `object | null` The sort by property and order. Default: `null`. **stage** `array[string] | null` List of strings that represents the Stages that case is on. Available inputs: Triage / Assessment / Investigation / Incident / Improvement / Research. Default: `null`. **startTime** `string | null` The UTC start time to search for cases by creation time, in RFC 3339 format. Used if timeRangeFilter is set to the custom filter. Defaults to the start of epoch time. Default: `null`. **tags** `array[string] | null` List of strings representing case tags. If one or more tags exist in the case, it will be fetched. Default: `null`. **timeRangeFilter** `string | null` Represents the number of days back to search cases by creation time. For a custom time range use 0 and set the startTime and endTime parameters. Default: `null`. **title** `string | null` A string that represents free text / search term to search for cases. Available inputs: free text / Entity: / AlertName: / DestinationEntity: / SourceEntity: / TicketIds: / CaseIDs: Default: `null`. ## Search findings Action ID: `tools.google_chronicle.search_findings` Legacy endpoint for listing Findings. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacy/legacySearchFindings](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacy/legacySearchFindings) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **endTime** `string` *required* Exclusive end of the times range to get the findings from, in RFC 3339 format. **findingType** `array[string]` *required* Finding type: Uppercase, DSML, etc. **instance** `string` *required* The name of the parent resource, which is the SecOps instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **startTime** `string` *required* Inclusive start of the times range to get the findings from, in RFC 3339 format, e.g. "2014-10-02T15:01:23Z". **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. **next_page_token_last_row_id** `string | null` Last row ID from the previous response page token. Default: `null`. **next_page_token_last_row_time** `string | null` Last row timestamp from the previous response page token. Default: `null`. **next_page_token_offset** `integer | null` Offset from the previous response page token. Default: `null`. **pageSize** `integer | null` Number of findings to return per page. Default value is 1000 if the pageSize is not set in the request. Default: `null`. ## Test rule Action ID: `tools.google_chronicle.test_rule` Runs a rule text over a bounded historical time range without creating a rule. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacy/legacyRunTestRule](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacy/legacyRunTestRule) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **endTime** `string` *required* Exclusive end of the time range the rule should be tested on, in RFC 3339 format. The range is limited to 14 days. **instance** `string` *required* The Chronicle instance associated with the request. Format: projects/\{project}/locations/\{location}/instances/\{instance} **ruleText** `string` *required* The rule text to be tested. **startTime** `string` *required* Inclusive start of the time range the rule should be tested on, in RFC 3339 format, e.g. "2014-10-02T15:01:23Z". **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. **maxResults** `integer | null` The maximum number of results to return. The service may return fewer than this value. If unspecified, at most 1000 detections will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000. Default: `null`. **scope** `string | null` The data access scope to use to run the rule. This field is only required if data access control is enabled. Format: projects/\{project}/locations/\{location}/instances/\{instance}/dataAccessScopes/\{scope} Default: `null`. ## Update alert Action ID: `tools.google_chronicle.update_alert` Legacy endpoint for updating an alert. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacy/legacyUpdateAlert](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacy/legacyUpdateAlert) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **alertId** `string` *required* The id of the alert. **feedback** `object` *required* The analyst-supplied feedback on the alert. Writable fields: verdict, reputation, confidenceScore (0-100), riskScore (0-100), disregarded, severity (1-100), comment, status, priority, rootCause, reason, severityDisplay. **instance** `string` *required* Chronicle instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. **caseName** `string | null` The case name that the alert is associated with. Default: `null`. **responsePlatformInfo** `object | null` The response platform info of the alert. Default: `null`. ## Update case comment Action ID: `tools.google_chronicle.update_case_comment` Updates an existing CaseComment. Use this method to correct or clarify previously added information. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases.caseComments/patch](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases.caseComments/patch) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **case** `string` *required* The ID of the Case the comment belongs to. **caseComment** `string` *required* The ID of the CaseComment to update. **instance** `string` *required* Chronicle instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **updateMask** `string` *required* The list of fields to update. This is a comma-separated list of fully qualified names of fields, e.g. "comment". If not included, all fields with default/non-default values will be overwritten. **alertIdentifier** `string | null` The alert associated with the comment. Default: `null`. **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. **caseAttachment** `object | null` The attachment associated with the comment. Required fields when present: attachmentBase64 (base64 encoded attachment), fileType, fileName. Default: `null`. **comment** `string | null` The content of the comment. Default: `null`. **isFavorite** `boolean | null` Whether the comment is marked as a favorite. Default: `null`. ## Update rule Action ID: `tools.google_chronicle.update_rule` Updates a Rule. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.rules/patch](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.rules/patch) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **instance** `string` *required* Chronicle instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **rule** `string` *required* The rule ID of the rule to update. **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. **scope** `string | null` Resource name of the DataAccessScope bound to this rule. Format: projects/\{project}/locations/\{location}/instances/\{instance}/dataAccessScopes/\{scope} Default: `null`. **text** `string | null` The YARA-L content of the rule. Default: `null`. **updateMask** `string | null` The list of fields to update. If not included, all fields with a non-empty value will be overwritten. This is a comma-separated list of fully qualified names of fields, e.g. "text". Default: `null`. ## Update rule deployment Action ID: `tools.google_chronicle.update_rule_deployment` Updates a RuleDeployment. Failures are not necessarily atomic. If there is a request to update multiple fields, and any update to a single field fails, an error will be returned, but other fields may remain successfully updated. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.rules/updateDeployment](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.rules/updateDeployment) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **instance** `string` *required* Chronicle instance this request is sent to. Format: projects/\{project}/locations/\{location}/instances/\{instance} **rule** `string` *required* The rule ID whose deployment to update. RuleDeployment is a child of the overall Rule, not any individual revision, so this must not reference a specific revision. **updateMask** `string` *required* Required. The list of fields to update. This is a comma-separated list of fully qualified names of fields, e.g. "enabled,alerting". Schedule customizations are tied to run frequency and must be updated with the "runFrequency" mask. **alerting** `boolean | null` Whether detections resulting from this deployment should be considered alerts. Default: `null`. **archived** `boolean | null` The archive state of the rule deployment. Cannot be set to true unless enabled is set to false. If set to true, alerting will automatically be set to false. If currently set to true, enabled, alerting, and runFrequency cannot be updated. Default: `null`. **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. **enabled** `boolean | null` Whether the rule is currently deployed continuously against incoming data. Default: `null`. **runFrequency** `string | null` The run frequency of the rule deployment. One of LIVE, HOURLY, DAILY. Default: `null`. **scheduleCustomizations** `object | null` The schedule customizations of the rule deployment. Only valid for customizable run frequencies. Documented fields: ensureEnrichmentCompleteness (boolean), lateArrivingDataAdjustment (duration string, e.g. "3.5s"). Default: `null`. ## Verify rule text Action ID: `tools.google_chronicle.verify_rule_text` Verifies a rule text without creating a rule. Reference: [https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances/verifyRuleText](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances/verifyRuleText) ### Secrets Optional secrets: * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_USER_TOKEN`. * `google_chronicle_oauth`: OAuth token `GOOGLE_CHRONICLE_SERVICE_TOKEN`. ### Input fields **instance** `string` *required* The name of the parent resource, which is the SecOps instance associated with the request. Format: projects/\{project}/locations/\{location}/instances/\{instance} **ruleText** `string` *required* The rule text to verify as a UTF-8 string. **base_url** `string | null` Chronicle API base URL. If omitted, uses the workspace variable `google_chronicle.base_url`, for example [https://us-chronicle.googleapis.com](https://us-chronicle.googleapis.com). Default: `null`. # Google Cloud Logging Source: https://docs.tracecat.com/tools/google_cloud_logging Reference for the Tracecat Google Cloud Logging integration: registered actions, required secrets, expected inputs, and example workflow usage. ## List log entries Action ID: `tools.google_cloud_logging.list_log_entries` Lists Cloud Logging entries from projects, folders, organizations, billing accounts, or specific log views. Use `log_id()` filters for the `cloudaudit.googleapis.com` `activity`, `data_access`, `system_event`, and `policy` audit log IDs. Reading Data Access audit logs requires the `logging.privateLogEntries.list` IAM permission. Reference: [https://cloud.google.com/logging/docs/reference/v2/rest/v2/entries/list](https://cloud.google.com/logging/docs/reference/v2/rest/v2/entries/list) ### Secrets Optional secrets: * `google_cloud_logging_oauth`: OAuth token `GOOGLE_CLOUD_LOGGING_USER_TOKEN`. * `google_cloud_logging_oauth`: OAuth token `GOOGLE_CLOUD_LOGGING_SERVICE_TOKEN`. * `google_oauth`: OAuth token `GOOGLE_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **resourceNames** `array[string]` *required* Names of one or more parent resources from which to retrieve log entries. Supported values include `projects/PROJECT_ID`, `organizations/ORGANIZATION_ID`, `billingAccounts/BILLING_ACCOUNT_ID`, `folders/FOLDER_ID`, and full log-view resource names. A request can specify at most 100 resources. **filter** `string | null` A Logging query-language filter that chooses which log entries to return. An empty filter matches all log entries in `resourceNames`. The maximum filter length is 20,000 characters. To select Admin Activity audit logs, use `log_id("cloudaudit.googleapis.com/activity")`; use the corresponding `data_access`, `system_event`, or `policy` log ID for the other audit-log types. Include a `timestamp` range to improve query performance. Default: `null`. **orderBy** `string | null` Result order. The permitted values are `timestamp asc` and `timestamp desc`. Google recommends `timestamp desc` when listing recently ingested entries. Default: `null`. **pageSize** `integer | null` Maximum number of results to return from this request. The default is 50. A negative value is rejected. Default: `null`. **pageToken** `string | null` `nextPageToken` from the preceding response. Keep every other request field identical when retrieving the next page. Default: `null`. # Google Workspace Directory Source: https://docs.tracecat.com/tools/google_directory Reference for the Tracecat Google Workspace Directory integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Batch change ChromeOS device status Action ID: `tools.google_directory.batch_change_chromeos_device_status` Changes the status of a batch of ChromeOS devices. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/customer.devices.chromeos/batchChangeStatus](https://developers.google.com/workspace/admin/directory/reference/rest/v1/customer.devices.chromeos/batchChangeStatus) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **change_chrome_os_device_status_action** `string` *required* The action to take on the ChromeOS device in order to change its status. Acceptable values are `CHANGE_CHROME_OS_DEVICE_STATUS_ACTION_DEPROVISION` (deprovisions a ChromeOS device; if you have ChromeOS Flex devices, you must first deprovision them and then delete them), `CHANGE_CHROME_OS_DEVICE_STATUS_ACTION_DISABLE` (disables a ChromeOS device) and `CHANGE_CHROME_OS_DEVICE_STATUS_ACTION_REENABLE` (reenables a ChromeOS device to be used after being disabled). **device_ids** `array[string]` *required* List of the IDs of the ChromeOS devices to change. Maximum 50. **customer_id** `string` Immutable ID of the Google Workspace account. Default: `"my_customer"`. **deprovision_reason** `string | null` The reason behind a device deprovision. Must be provided if `changeChromeOsDeviceStatusAction` is set to `CHANGE_CHROME_OS_DEVICE_STATUS_ACTION_DEPROVISION`. Otherwise, omit this field. Acceptable values are `DEPROVISION_REASON_SAME_MODEL_REPLACEMENT`, `DEPROVISION_REASON_DIFFERENT_MODEL_REPLACEMENT`, `DEPROVISION_REASON_RETIRING_DEVICE`, `DEPROVISION_REASON_UPGRADE_TRANSFER` and `DEPROVISION_REASON_NOT_REQUIRED`. Default: `null`. ## Check group membership Action ID: `tools.google_directory.has_member` Checks whether the given user is a member of the group. Membership can be direct or nested, but if nested, the `memberKey` and `groupKey` must be entities in the same domain or an `Invalid input` error is returned. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/members/hasMember](https://developers.google.com/workspace/admin/directory/reference/rest/v1/members/hasMember) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **group_key** `string` *required* Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID. **member_key** `string` *required* Identifies the user member in the API request. The value can be the user's primary email address, alias, or unique ID. ## Delete application-specific password Action ID: `tools.google_directory.delete_asp` Deletes an ASP issued by a user. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/asps/delete](https://developers.google.com/workspace/admin/directory/reference/rest/v1/asps/delete) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **code_id** `integer` *required* The unique ID of the ASP to be deleted. **user_key** `string` *required* Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. ## Delete group Action ID: `tools.google_directory.delete_group` Deletes a group. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/groups/delete](https://developers.google.com/workspace/admin/directory/reference/rest/v1/groups/delete) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **group_key** `string` *required* Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID. ## Delete member Action ID: `tools.google_directory.delete_member` Removes a member from a group. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/members/delete](https://developers.google.com/workspace/admin/directory/reference/rest/v1/members/delete) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **group_key** `string` *required* Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID. **member_key** `string` *required* Identifies the group member in the API request. A group member can be a user or another group. The value can be the member's (group or user) primary email address, alias, or unique ID. ## Delete mobile device Action ID: `tools.google_directory.delete_mobile_device` Removes a mobile device. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/mobiledevices/delete](https://developers.google.com/workspace/admin/directory/reference/rest/v1/mobiledevices/delete) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **resource_id** `string` *required* The unique ID the API service uses to identify the mobile device. **customer_id** `string` The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. Default: `"my_customer"`. ## Delete OAuth token Action ID: `tools.google_directory.delete_token` Deletes all access tokens issued by a user for an application, revoking that application's access to the user's data. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/tokens/delete](https://developers.google.com/workspace/admin/directory/reference/rest/v1/tokens/delete) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **client_id** `string` *required* The Client ID of the application the token is issued to. **user_key** `string` *required* Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. ## Delete organizational unit Action ID: `tools.google_directory.delete_orgunit` Removes an organizational unit. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/orgunits/delete](https://developers.google.com/workspace/admin/directory/reference/rest/v1/orgunits/delete) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **org_unit_path** `string` *required* The full path of the organizational unit (minus the leading `/`) or its unique ID. For example, pass `corp/sales` rather than `/corp/sales`. **customer_id** `string` The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. Default: `"my_customer"`. ## Delete role assignment Action ID: `tools.google_directory.delete_role_assignment` Deletes a role assignment. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/roleAssignments/delete](https://developers.google.com/workspace/admin/directory/reference/rest/v1/roleAssignments/delete) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **role_assignment_id** `string` *required* Immutable ID of the role assignment. **customer** `string` Immutable ID of the Google Workspace account. Default: `"my_customer"`. ## Delete user Action ID: `tools.google_directory.delete_user` Deletes a user. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/users/delete](https://developers.google.com/workspace/admin/directory/reference/rest/v1/users/delete) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **user_key** `string` *required* Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. ## Generate verification codes Action ID: `tools.google_directory.generate_verification_codes` Generates new backup verification codes for the user. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/verificationCodes/generate](https://developers.google.com/workspace/admin/directory/reference/rest/v1/verificationCodes/generate) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **user_key** `string` *required* Email or immutable ID of the user. ## Get application-specific password Action ID: `tools.google_directory.get_asp` Gets information about an ASP issued by a user. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/asps/get](https://developers.google.com/workspace/admin/directory/reference/rest/v1/asps/get) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **code_id** `integer` *required* The unique ID of the ASP. **user_key** `string` *required* Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. ## Get ChromeOS device Action ID: `tools.google_directory.get_chromeos_device` Retrieves a Chrome OS device's properties. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/chromeosdevices/get](https://developers.google.com/workspace/admin/directory/reference/rest/v1/chromeosdevices/get) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **device_id** `string` *required* The unique ID of the device. The `deviceId`s are returned in the response from the `chromeosdevices.list` method. **customer_id** `string` The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. Default: `"my_customer"`. **projection** `string | null` Determines whether the response contains the full list of properties or only a subset. Acceptable values are `BASIC` (includes only the basic metadata fields, e.g. `deviceId`, `serialNumber`, `status` and `user`) and `FULL` (includes all metadata fields). Default: `null`. ## Get ChromeOS device command Action ID: `tools.google_directory.get_chromeos_device_command` Gets command data a specific command issued to the device. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/customer.devices.chromeos.commands/get](https://developers.google.com/workspace/admin/directory/reference/rest/v1/customer.devices.chromeos.commands/get) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **command_id** `integer` *required* Immutable. ID of Chrome OS Device Command. **device_id** `string` *required* Immutable. ID of Chrome OS Device. **customer_id** `string` Immutable. ID of the Google Workspace account. Default: `"my_customer"`. ## Get customer Action ID: `tools.google_directory.get_customer` Retrieves a customer. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/customers/get](https://developers.google.com/workspace/admin/directory/reference/rest/v1/customers/get) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **customer_key** `string` Id of the customer to be retrieved. You can also use the `my_customer` alias to represent your account's `customerId`. Default: `"my_customer"`. ## Get domain Action ID: `tools.google_directory.get_domain` Retrieves a domain of the customer. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/domains/get](https://developers.google.com/workspace/admin/directory/reference/rest/v1/domains/get) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **domain_name** `string` *required* Name of domain to be retrieved. **customer** `string` The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can also use the `my_customer` alias to represent your account's `customerId`. Default: `"my_customer"`. ## Get group Action ID: `tools.google_directory.get_group` Retrieves a group's properties. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/groups/get](https://developers.google.com/workspace/admin/directory/reference/rest/v1/groups/get) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **group_key** `string` *required* Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID. ## Get member Action ID: `tools.google_directory.get_member` Retrieves a group member's properties. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/members/get](https://developers.google.com/workspace/admin/directory/reference/rest/v1/members/get) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **group_key** `string` *required* Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID. **member_key** `string` *required* Identifies the group member in the API request. A group member can be a user or another group. The value can be the member's (group or user) primary email address, alias, or unique ID. ## Get mobile device Action ID: `tools.google_directory.get_mobile_device` Retrieves a mobile device's properties. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/mobiledevices/get](https://developers.google.com/workspace/admin/directory/reference/rest/v1/mobiledevices/get) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **resource_id** `string` *required* The unique ID the API service uses to identify the mobile device. **customer_id** `string` The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. Default: `"my_customer"`. **projection** `string | null` Restrict information returned to a set of selected fields. Acceptable values are `BASIC` (includes only the basic metadata fields, e.g. `deviceId`, `model`, `status`, `type` and `status`) and `FULL` (includes all metadata fields). Default: `null`. ## Get OAuth token Action ID: `tools.google_directory.get_token` Gets information about an access token issued by a user. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/tokens/get](https://developers.google.com/workspace/admin/directory/reference/rest/v1/tokens/get) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **client_id** `string` *required* The Client ID of the application the token is issued to. **user_key** `string` *required* Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. ## Get organizational unit Action ID: `tools.google_directory.get_orgunit` Retrieves an organizational unit. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/orgunits/get](https://developers.google.com/workspace/admin/directory/reference/rest/v1/orgunits/get) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **org_unit_path** `string` *required* The full path of the organizational unit (minus the leading `/`) or its unique ID. For example, pass `corp/sales` rather than `/corp/sales`. **customer_id** `string` The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. Default: `"my_customer"`. ## Get role Action ID: `tools.google_directory.get_role` Retrieves a role. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/roles/get](https://developers.google.com/workspace/admin/directory/reference/rest/v1/roles/get) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **role_id** `string` *required* Immutable ID of the role. **customer** `string` The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can also use the `my_customer` alias to represent your account's `customerId`. Default: `"my_customer"`. ## Get role assignment Action ID: `tools.google_directory.get_role_assignment` Fetches a specific role assignment. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/roleAssignments/get](https://developers.google.com/workspace/admin/directory/reference/rest/v1/roleAssignments/get) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **role_assignment_id** `string` *required* Immutable ID of the role assignment. **customer** `string` The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can also use the `my_customer` alias to represent your account's `customerId`. Default: `"my_customer"`. ## Get user Action ID: `tools.google_directory.get_user` Retrieves a user. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/users/get](https://developers.google.com/workspace/admin/directory/reference/rest/v1/users/get) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **user_key** `string` *required* Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. **custom_field_mask** `string | null` A comma-separated list of schema names. All fields from these schemas are fetched. This should only be set when `projection=custom`. Default: `null`. **projection** `string | null` What subset of fields to fetch for this user. Allowed values are `basic`, `custom`, and `full`. Default: `null`. **view_type** `string | null` Whether to fetch the administrator-only or domain-wide public view of the user. Allowed values are `admin_view` and `domain_public`. Default: `null`. ## Insert group Action ID: `tools.google_directory.insert_group` Creates a group. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/groups/insert](https://developers.google.com/workspace/admin/directory/reference/rest/v1/groups/insert) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **body** `object` *required* Group resource to create. See [https://developers.google.com/workspace/admin/directory/reference/rest/v1/groups](https://developers.google.com/workspace/admin/directory/reference/rest/v1/groups) for the full field list. Writable fields: `email` (required), `name`, `description` (maximum length is 4,096 characters). ## Insert member Action ID: `tools.google_directory.insert_member` Adds a user to the specified group. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/members/insert](https://developers.google.com/workspace/admin/directory/reference/rest/v1/members/insert) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **email** `string` *required* The member's email address. A member can be a user or another group. This property is required when adding a member to a group. **group_key** `string` *required* Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID. **delivery_settings** `string | null` Defines mail delivery preferences of member. Allowed values are `ALL_MAIL`, `DAILY`, `DIGEST`, `DISABLED`, and `NONE`. Default: `null`. **role** `string | null` The member's role in a group. Allowed values are `OWNER`, `MANAGER`, and `MEMBER`. Default: `null`. **type** `string | null` The type of group member. Allowed values are `CUSTOMER`, `EXTERNAL`, `GROUP`, and `USER`. Default: `null`. ## Insert organizational unit Action ID: `tools.google_directory.insert_orgunit` Adds an organizational unit. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/orgunits/insert](https://developers.google.com/workspace/admin/directory/reference/rest/v1/orgunits/insert) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **body** `object` *required* OrgUnit resource to create. See [https://developers.google.com/workspace/admin/directory/reference/rest/v1/orgunits](https://developers.google.com/workspace/admin/directory/reference/rest/v1/orgunits) for the full field list. Writable fields: `name` (required), `parentOrgUnitPath` (required, unless `parentOrgUnitId` is set), `parentOrgUnitId`, `description`. **customer_id** `string` The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. Default: `"my_customer"`. ## Insert role assignment Action ID: `tools.google_directory.insert_role_assignment` Creates a role assignment. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/roleAssignments/insert](https://developers.google.com/workspace/admin/directory/reference/rest/v1/roleAssignments/insert) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **assigned_to** `string` *required* The unique ID of the entity this role is assigned to - either the `userId` of a user, the `groupId` of a group, or the `uniqueId` of a service account. **role_id** `string` *required* The ID of the role that is assigned. **scope_type** `string` *required* The scope in which this role is assigned. Acceptable values are `CUSTOMER` and `ORG_UNIT`. **customer** `string` Immutable ID of the Google Workspace account. Default: `"my_customer"`. **org_unit_id** `string | null` If the role is restricted to an organization unit, this contains the ID for the organization unit the exercise of this role is restricted to. Default: `null`. ## Insert user Action ID: `tools.google_directory.insert_user` Creates a user. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/users/insert](https://developers.google.com/workspace/admin/directory/reference/rest/v1/users/insert) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **body** `object` *required* User resource to create. See [https://developers.google.com/workspace/admin/directory/reference/rest/v1/users](https://developers.google.com/workspace/admin/directory/reference/rest/v1/users) for the full field list. Most-used fields: `primaryEmail` (required), `name.givenName` (required), `name.familyName` (required), `password` (required), `changePasswordAtNextLogin`, `orgUnitPath`, `suspended`. **resolve_conflict_account** `boolean | null` Optional. If set to `true`, the option selected for handling unmanaged user accounts will apply. Default: `false` Default: `null`. ## Invalidate verification codes Action ID: `tools.google_directory.invalidate_verification_codes` Invalidates the current backup verification codes for the user. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/verificationCodes/invalidate](https://developers.google.com/workspace/admin/directory/reference/rest/v1/verificationCodes/invalidate) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **user_key** `string` *required* Email or immutable ID of the user. ## Issue ChromeOS device command Action ID: `tools.google_directory.issue_chromeos_device_command` Issues a command for the device to execute. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/customer.devices.chromeos/issueCommand](https://developers.google.com/workspace/admin/directory/reference/rest/v1/customer.devices.chromeos/issueCommand) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **command_type** `string` *required* The type of command. Acceptable values are `REBOOT`, `TAKE_A_SCREENSHOT`, `SET_VOLUME`, `WIPE_USERS`, `REMOTE_POWERWASH`, `DEVICE_START_CRD_SESSION`, `CAPTURE_LOGS`, `FETCH_CRD_AVAILABILITY_INFO` and `FETCH_SUPPORT_PACKET`. **device_id** `string` *required* Immutable. ID of Chrome OS Device. **customer_id** `string` Immutable. ID of the Google Workspace account. Default: `"my_customer"`. **payload** `string | null` The payload for the command, provide it only if command supports it. The following commands support adding payload: `SET_VOLUME` (payload is a stringified JSON object in the form `{ "volume": 50 }`, where the volume has to be an integer in the range \[0,100]); `DEVICE_START_CRD_SESSION` (payload is optionally a stringified JSON object in the form `{ "ackedUserPresence": true, "crdSessionType": string }`); `REBOOT` (payload is a stringified JSON object in the form `{ "user_session_delay_seconds": 300 }`, where the delay has to be an integer in the range \[0,300]); and `FETCH_SUPPORT_PACKET` (payload is optionally a stringified JSON object in the form `{"supportPacketDetails":{"issueCaseId": optional_support_case_id_string, "issueDescription": optional_issue_description_string, "requestedDataCollectors": []}}`). Default: `null`. ## List application-specific passwords Action ID: `tools.google_directory.list_asps` Lists the ASPs issued by a user. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/asps/list](https://developers.google.com/workspace/admin/directory/reference/rest/v1/asps/list) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **user_key** `string` *required* Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. ## List ChromeOS devices Action ID: `tools.google_directory.list_chromeos_devices` Retrieves a paginated list of Chrome OS devices within an account. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/chromeosdevices/list](https://developers.google.com/workspace/admin/directory/reference/rest/v1/chromeosdevices/list) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **customer_id** `string` The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. Default: `"my_customer"`. **include_child_orgunits** `boolean | null` Return devices from all child orgunits, as well as the specified org unit. If this is set to true, `orgUnitPath` must be provided. Default: `null`. **max_results** `integer | null` Maximum number of results to return. Value should not exceed 300. Default: `null`. **order_by** `string | null` Device property to use for sorting results. Acceptable values are `ANNOTATED_LOCATION`, `ANNOTATED_USER`, `LAST_SYNC`, `NOTES`, `SERIAL_NUMBER` and `STATUS`; the API's discovery document declares the equivalent `annotatedLocation`, `annotatedUser`, `lastSync`, `notes`, `serialNumber` and `status`. Default: `null`. **org_unit_path** `string | null` The full path of the organizational unit (minus the leading `/`) or its unique ID. Default: `null`. **page_token** `string | null` Used to request the next page of query results. Default: `null`. **projection** `string | null` Determines whether the response contains the full list of properties or only a subset. Acceptable values are `BASIC` (includes only the basic metadata fields, e.g. `deviceId`, `serialNumber`, `status` and `user`) and `FULL` (includes all metadata fields). Default: `null`. **query** `string | null` Search string in the format given at [https://developers.google.com/workspace/admin/directory/v1/list-query-operators](https://developers.google.com/workspace/admin/directory/v1/list-query-operators) Default: `null`. **sort_order** `string | null` Whether to return results in ascending or descending order. Must be used with the `orderBy` parameter. Acceptable values are `ASCENDING` and `DESCENDING`. Default: `null`. ## List domains Action ID: `tools.google_directory.list_domains` Lists the domains of the customer. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/domains/list](https://developers.google.com/workspace/admin/directory/reference/rest/v1/domains/list) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **customer** `string` The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can also use the `my_customer` alias to represent your account's `customerId`. Default: `"my_customer"`. ## List groups Action ID: `tools.google_directory.list_groups` Retrieves all groups of a domain or of a user given a userKey (paginated). Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/groups/list](https://developers.google.com/workspace/admin/directory/reference/rest/v1/groups/list) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **customer** `string | null` The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can also use the `my_customer` alias to represent your account's `customerId`. Set this to null when scoping the request with `domain` or `user_key`. Default: `"my_customer"`. **domain** `string | null` The domain name. Use this field to get groups from only one domain. To return all domains for a customer account, use the `customer` query parameter instead. Default: `null`. **max_results** `integer | null` Maximum number of results to return. Max allowed value is 200. Default: `null`. **order_by** `string | null` Column to use for sorting results. The only allowed value is `email`. Default: `null`. **page_token** `string | null` Token to specify next page in the list. Default: `null`. **query** `string | null` Query string search. Contains one or more search clauses, each with a field, operator, and value. For complete documentation, go to [https://developers.google.com/workspace/admin/directory/v1/guides/search-groups](https://developers.google.com/workspace/admin/directory/v1/guides/search-groups). Default: `null`. **sort_order** `string | null` Whether to return results in ascending or descending order. Only of use when orderBy is also used. Allowed values are `ASCENDING` and `DESCENDING`. Default: `null`. **user_key** `string | null` Email or immutable ID of the user if only those groups are to be listed, the given user is a member of. If it's an ID, it should match with the ID of the user object. Cannot be used with the `customer` parameter. Default: `null`. ## List members Action ID: `tools.google_directory.list_members` Retrieves a paginated list of all members in a group. This method times out after 60 minutes. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/members/list](https://developers.google.com/workspace/admin/directory/reference/rest/v1/members/list) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **group_key** `string` *required* Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID. **include_derived_membership** `boolean | null` Whether to list indirect memberships. Default: false. Default: `null`. **max_results** `integer | null` Maximum number of results to return. Max allowed value is 200. Default: `null`. **page_token** `string | null` Token to specify next page in the list. Default: `null`. **roles** `string | null` The `roles` query parameter allows you to retrieve group members by role. Allowed values are `OWNER`, `MANAGER`, and `MEMBER`. Default: `null`. ## List mobile devices Action ID: `tools.google_directory.list_mobile_devices` Retrieves a paginated list of all user-owned mobile devices for an account. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/mobiledevices/list](https://developers.google.com/workspace/admin/directory/reference/rest/v1/mobiledevices/list) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **customer_id** `string` The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. Default: `"my_customer"`. **max_results** `integer | null` Maximum number of results to return. Max allowed value is 100. Default: `null`. **order_by** `string | null` Device property to use for sorting results. Acceptable values are `DEVICE_ID`, `EMAIL`, `LAST_SYNC`, `MODEL`, `NAME`, `OS`, `STATUS` and `TYPE`; the API's discovery document declares the equivalent `deviceId`, `email`, `lastSync`, `model`, `name`, `os`, `status` and `type`. Default: `null`. **page_token** `string | null` Token to specify next page in the list. Default: `null`. **projection** `string | null` Restrict information returned to a set of selected fields. Acceptable values are `BASIC` (includes only the basic metadata fields, e.g. `deviceId`, `model`, `status`, `type` and `status`) and `FULL` (includes all metadata fields). Default: `null`. **query** `string | null` Search string in the format given at [https://developers.google.com/workspace/admin/directory/v1/search-operators](https://developers.google.com/workspace/admin/directory/v1/search-operators) Default: `null`. **sort_order** `string | null` Whether to return results in ascending or descending order. Must be used with the `orderBy` parameter. Acceptable values are `ASCENDING` and `DESCENDING`. Default: `null`. ## List OAuth tokens Action ID: `tools.google_directory.list_tokens` Returns the set of tokens specified user has issued to 3rd party applications. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/tokens/list](https://developers.google.com/workspace/admin/directory/reference/rest/v1/tokens/list) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **user_key** `string` *required* Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. ## List organizational units Action ID: `tools.google_directory.list_orgunits` Retrieves a list of all organizational units for an account. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/orgunits/list](https://developers.google.com/workspace/admin/directory/reference/rest/v1/orgunits/list) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **customer_id** `string` The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. Default: `"my_customer"`. **org_unit_path** `string | null` The full path to the organizational unit or its unique ID. Returns the children of the specified organizational unit. Default: `null`. **type** `string | null` Whether to return all sub-organizations or just immediate children. Allowed values are `all`, `children` (default), and `allIncludingParent`. Default: `null`. ## List privileges Action ID: `tools.google_directory.list_privileges` Retrieves a paginated list of all privileges for a customer. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/privileges/list](https://developers.google.com/workspace/admin/directory/reference/rest/v1/privileges/list) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **customer** `string` The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all privileges for a customer, use this field instead of `domain`. You can also use the `my_customer` alias to represent your account's `customerId`. Default: `"my_customer"`. ## List role assignments Action ID: `tools.google_directory.list_role_assignments` Fetches a paginated collection of all role assignments. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/roleAssignments/list](https://developers.google.com/workspace/admin/directory/reference/rest/v1/roleAssignments/list) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **customer** `string` The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can also use the `my_customer` alias to represent your account's `customerId`. Default: `"my_customer"`. **include_indirect_role_assignments** `boolean | null` When set to `true`, fetches indirect role assignments (i.e. role assignment via a group) as well as direct ones. Defaults to `false`. You must specify `userKey` or the indirect role assignments will not be included. Default: `null`. **max_results** `integer | null` Maximum number of results to return. Default: `null`. **page_token** `string | null` Token to specify the next page in the list. Default: `null`. **role_id** `string | null` Immutable ID of a role. If included in the request, returns only role assignments containing this role ID. Default: `null`. **user_key** `string | null` The primary email address, alias email address, or unique user or group ID. If included in the request, returns role assignments only for this user or group. Default: `null`. ## List roles Action ID: `tools.google_directory.list_roles` Retrieves a paginated list of all the roles in a domain. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/roles/list](https://developers.google.com/workspace/admin/directory/reference/rest/v1/roles/list) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **customer** `string` The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can also use the `my_customer` alias to represent your account's `customerId`. Default: `"my_customer"`. **max_results** `integer | null` Maximum number of results to return. Default: `null`. **page_token** `string | null` Token to specify the next page in the list. Default: `null`. ## List user aliases Action ID: `tools.google_directory.list_user_aliases` Lists all aliases for a user. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/users.aliases/list](https://developers.google.com/workspace/admin/directory/reference/rest/v1/users.aliases/list) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **user_key** `string` *required* Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. ## List users Action ID: `tools.google_directory.list_users` Retrieves a paginated list of either deleted users or all users in a domain. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/users/list](https://developers.google.com/workspace/admin/directory/reference/rest/v1/users/list) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **custom_field_mask** `string | null` A comma-separated list of schema names. All fields from these schemas are fetched. This should only be set when `projection=custom`. Default: `null`. **customer** `string | null` The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all users for a customer, use this field instead of `domain`. You can also use the `my_customer` alias to represent your account's `customerId`. You must provide either the `customer` or the `domain` parameter; set this to null when scoping the request with `domain`. Default: `"my_customer"`. **domain** `string | null` The domain name. Use this field to get users from only one domain. To return all domains for a customer account, use the `customer` query parameter instead. Default: `null`. **max_results** `integer | null` Maximum number of results to return. Default: `null`. **order_by** `string | null` Property to use for sorting results. Allowed values are `email`, `familyName`, and `givenName`. Default: `null`. **page_token** `string | null` Token to specify next page in the list. The page token is only valid for three days. Default: `null`. **projection** `string | null` What subset of fields to fetch for this user. Allowed values are `basic`, `custom`, and `full`. Default: `null`. **query** `string | null` Query string for searching user fields. For more information on constructing user queries, see [https://developers.google.com/workspace/admin/directory/v1/guides/search-users](https://developers.google.com/workspace/admin/directory/v1/guides/search-users). Default: `null`. **show_deleted** `string | null` If set to `true`, retrieves the list of deleted users. (Default: `false`) Default: `null`. **sort_order** `string | null` Whether to return results in ascending or descending order, ignoring case. Allowed values are `ASCENDING` and `DESCENDING`. Default: `null`. **view_type** `string | null` Whether to fetch the administrator-only or domain-wide public view of the user. Allowed values are `admin_view` and `domain_public`. Default: `null`. ## List verification codes Action ID: `tools.google_directory.list_verification_codes` Returns the current set of valid backup verification codes for the specified user. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/verificationCodes/list](https://developers.google.com/workspace/admin/directory/reference/rest/v1/verificationCodes/list) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **user_key** `string` *required* Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. ## Make user admin Action ID: `tools.google_directory.make_user_admin` Makes a user a super administrator. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/users/makeAdmin](https://developers.google.com/workspace/admin/directory/reference/rest/v1/users/makeAdmin) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **status** `boolean` *required* Indicates the administrator status of the user. **user_key** `string` *required* Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. ## Move ChromeOS devices to organizational unit Action ID: `tools.google_directory.move_chromeos_devices_to_ou` Moves or inserts multiple Chrome OS devices to an organizational unit. You can move up to 50 devices at once. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/chromeosdevices/moveDevicesToOu](https://developers.google.com/workspace/admin/directory/reference/rest/v1/chromeosdevices/moveDevicesToOu) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **device_ids** `array[string]` *required* Chrome OS devices to be moved to OU. You can move up to 50 devices at once. **org_unit_path** `string` *required* Full path of the target organizational unit or its ID. **customer_id** `string` Immutable. ID of the Google Workspace account. Default: `"my_customer"`. ## Patch ChromeOS device Action ID: `tools.google_directory.patch_chromeos_device` Updates a device's updatable properties, such as `annotatedUser`, `annotatedLocation`, `notes`, `orgUnitPath`, or `annotatedAssetId`. This method supports patch semantics. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/chromeosdevices/patch](https://developers.google.com/workspace/admin/directory/reference/rest/v1/chromeosdevices/patch) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **body** `object` *required* ChromeOsDevice resource ([https://developers.google.com/workspace/admin/directory/reference/rest/v1/chromeosdevices#ChromeOsDevice](https://developers.google.com/workspace/admin/directory/reference/rest/v1/chromeosdevices#ChromeOsDevice)). Updatable fields: `annotatedUser`, `annotatedLocation`, `annotatedAssetId`, `notes` and `orgUnitPath`. **device_id** `string` *required* The unique ID of the device. The `deviceId`s are returned in the response from the `chromeosdevices.list` method. **customer_id** `string` The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. Default: `"my_customer"`. **projection** `string | null` Determines whether the response contains the full list of properties or only a subset. Acceptable values are `BASIC` (includes only the basic metadata fields, e.g. `deviceId`, `serialNumber`, `status` and `user`) and `FULL` (includes all metadata fields). Default: `null`. ## Patch group Action ID: `tools.google_directory.patch_group` Updates a group's properties. This method supports patch semantics. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/groups/patch](https://developers.google.com/workspace/admin/directory/reference/rest/v1/groups/patch) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **body** `object` *required* Group fields to update. See [https://developers.google.com/workspace/admin/directory/reference/rest/v1/groups](https://developers.google.com/workspace/admin/directory/reference/rest/v1/groups) for the full field list. Writable fields: `email`, `name`, `description` (maximum length is 4,096 characters). **group_key** `string` *required* Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID. ## Patch member Action ID: `tools.google_directory.patch_member` Updates the membership properties of a user in the specified group. This method supports patch semantics. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/members/patch](https://developers.google.com/workspace/admin/directory/reference/rest/v1/members/patch) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **group_key** `string` *required* Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID. **member_key** `string` *required* Identifies the group member in the API request. A group member can be a user or another group. The value can be the member's (group or user) primary email address, alias, or unique ID. **delivery_settings** `string | null` Defines mail delivery preferences of member. Allowed values are `ALL_MAIL`, `DAILY`, `DIGEST`, `DISABLED`, and `NONE`. Default: `null`. **role** `string | null` The member's role in a group. Allowed values are `OWNER`, `MANAGER`, and `MEMBER`. Default: `null`. ## Patch organizational unit Action ID: `tools.google_directory.patch_orgunit` Updates an organizational unit. This method supports patch semantics. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/orgunits/patch](https://developers.google.com/workspace/admin/directory/reference/rest/v1/orgunits/patch) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **body** `object` *required* OrgUnit fields to update. See [https://developers.google.com/workspace/admin/directory/reference/rest/v1/orgunits](https://developers.google.com/workspace/admin/directory/reference/rest/v1/orgunits) for the full field list. Writable fields: `name`, `parentOrgUnitPath`, `parentOrgUnitId`, `description`. **org_unit_path** `string` *required* The full path of the organizational unit (minus the leading `/`) or its unique ID. For example, pass `corp/sales` rather than `/corp/sales`. **customer_id** `string` The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. Default: `"my_customer"`. ## Patch user Action ID: `tools.google_directory.patch_user` Updates a user using patch semantics. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/users/patch](https://developers.google.com/workspace/admin/directory/reference/rest/v1/users/patch) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **body** `object` *required* User fields to update. See [https://developers.google.com/workspace/admin/directory/reference/rest/v1/users](https://developers.google.com/workspace/admin/directory/reference/rest/v1/users) for the full field list. Most-used fields: `primaryEmail`, `name.givenName`, `name.familyName`, `password`, `changePasswordAtNextLogin`, `orgUnitPath`, `suspended`. This method is unable to clear fields that contain repeated objects (`addresses`, `phones`, etc). **user_key** `string` *required* Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. ## Perform mobile device action Action ID: `tools.google_directory.action_mobile_device` Takes an action that affects a mobile device. For example, remotely wiping a device. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/mobiledevices/action](https://developers.google.com/workspace/admin/directory/reference/rest/v1/mobiledevices/action) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **action** `string` *required* The action to be performed on the device. Acceptable values are `admin_account_wipe`, `admin_remote_wipe`, `approve`, `block`, `cancel_remote_wipe_then_activate` and `cancel_remote_wipe_then_block`. **resource_id** `string` *required* The unique ID the API service uses to identify the mobile device. **customer_id** `string` The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. Default: `"my_customer"`. ## Sign out user Action ID: `tools.google_directory.sign_out_user` Signs a user out of all web and device sessions and reset their sign-in cookies. User will have to sign in by authenticating again. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/users/signOut](https://developers.google.com/workspace/admin/directory/reference/rest/v1/users/signOut) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **user_key** `string` *required* Identifies the target user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. ## Turn off two-step verification Action ID: `tools.google_directory.turn_off_two_step_verification` Turns off 2-Step Verification for user. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/twoStepVerification/turnOff](https://developers.google.com/workspace/admin/directory/reference/rest/v1/twoStepVerification/turnOff) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **user_key** `string` *required* Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. ## Undelete user Action ID: `tools.google_directory.undelete_user` Undeletes a deleted user. Reference: [https://developers.google.com/workspace/admin/directory/reference/rest/v1/users/undelete](https://developers.google.com/workspace/admin/directory/reference/rest/v1/users/undelete) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **org_unit_path** `string` *required* OrgUnit of User. **user_key** `string` *required* The immutable id of the user. # Google Docs Source: https://docs.tracecat.com/tools/google_docs Reference for the Tracecat Google Docs integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Batch update document Action ID: `tools.google_docs.batch_update_document` Apply multiple updates to a Google Doc in a single request. Reference: [https://developers.google.com/workspace/docs/api/reference/rest/v1/documents/batchUpdate](https://developers.google.com/workspace/docs/api/reference/rest/v1/documents/batchUpdate) ### Secrets Optional secrets: * `google_docs_oauth`: OAuth token `GOOGLE_DOCS_USER_TOKEN`. * `google_docs_oauth`: OAuth token `GOOGLE_DOCS_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **document_id** `string` *required* ID of the document to update. **requests** `array[object]` *required* List of Docs API request objects to apply. **write_control** `object | null` Optional write control configuration (e.g., requiredRevisionId). Default: `null`. ## Create document Action ID: `tools.google_docs.create_document` Create a new Google Doc. Reference: [https://developers.google.com/workspace/docs/api/reference/rest/v1/documents/create](https://developers.google.com/workspace/docs/api/reference/rest/v1/documents/create) ### Secrets Optional secrets: * `google_docs_oauth`: OAuth token `GOOGLE_DOCS_USER_TOKEN`. * `google_docs_oauth`: OAuth token `GOOGLE_DOCS_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **title** `string | null` Optional document title. Default: `null`. ## Get document Action ID: `tools.google_docs.get_document` Retrieve a Google Doc with optional suggestions view mode. Reference: [https://developers.google.com/workspace/docs/api/reference/rest/v1/documents/get](https://developers.google.com/workspace/docs/api/reference/rest/v1/documents/get) ### Secrets Optional secrets: * `google_docs_oauth`: OAuth token `GOOGLE_DOCS_USER_TOKEN`. * `google_docs_oauth`: OAuth token `GOOGLE_DOCS_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **document_id** `string` *required* ID of the document to fetch. **suggestions_view_mode** `string | null` How to display suggestions in the response. Default: `null`. # Google Drive Source: https://docs.tracecat.com/tools/google_drive Reference for the Tracecat Google Drive integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Add Drive permission Action ID: `tools.google_drive.add_permission` Grant access to a file or folder Reference: [https://developers.google.com/workspace/drive/api/reference/rest/v3/permissions/create](https://developers.google.com/workspace/drive/api/reference/rest/v3/permissions/create) ### Secrets Optional secrets: * `google_drive_oauth`: OAuth token `GOOGLE_DRIVE_USER_TOKEN`. * `google_drive_oauth`: OAuth token `GOOGLE_DRIVE_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **email** `string` *required* Email address to grant access to **file_id** `string` *required* The file or folder ID **fields** `string` Fields to return ('\*' for all) Default: `"*"`. **role** `string` Role: reader, writer, commenter, owner Default: `"reader"`. **send_notification** `boolean` Send email notification Default: `false`. ## Create Drive folder Action ID: `tools.google_drive.create_folder` Create a new folder in Google Drive Reference: [https://developers.google.com/workspace/drive/api/reference/rest/v3/files/create](https://developers.google.com/workspace/drive/api/reference/rest/v3/files/create) ### Secrets Optional secrets: * `google_drive_oauth`: OAuth token `GOOGLE_DRIVE_USER_TOKEN`. * `google_drive_oauth`: OAuth token `GOOGLE_DRIVE_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **folder_name** `string` *required* Name for the new folder **fields** `string` Fields to return ('\*' for all) Default: `"*"`. **parent_folder_id** `string` Parent folder ID (empty = root) Default: `""`. ## Delete Drive file Action ID: `tools.google_drive.delete_file` Move a file or folder to trash Reference: [https://developers.google.com/workspace/drive/api/reference/rest/v3/files/update](https://developers.google.com/workspace/drive/api/reference/rest/v3/files/update) ### Secrets Optional secrets: * `google_drive_oauth`: OAuth token `GOOGLE_DRIVE_USER_TOKEN`. * `google_drive_oauth`: OAuth token `GOOGLE_DRIVE_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **file_id** `string` *required* The file or folder ID to delete **fields** `string` Fields to return ('\*' for all) Default: `"*"`. ## Get Drive file Action ID: `tools.google_drive.get_file` Get metadata for a specific file Reference: [https://developers.google.com/workspace/drive/api/reference/rest/v3/files/get](https://developers.google.com/workspace/drive/api/reference/rest/v3/files/get) ### Secrets Optional secrets: * `google_drive_oauth`: OAuth token `GOOGLE_DRIVE_USER_TOKEN`. * `google_drive_oauth`: OAuth token `GOOGLE_DRIVE_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **file_id** `string` *required* The file ID **fields** `string` Fields to return ('\*' for all) Default: `"*"`. ## Get Drive file permissions Action ID: `tools.google_drive.get_file_permissions` List all permissions for a file Reference: [https://developers.google.com/workspace/drive/api/reference/rest/v3/permissions/list](https://developers.google.com/workspace/drive/api/reference/rest/v3/permissions/list) ### Secrets Optional secrets: * `google_drive_oauth`: OAuth token `GOOGLE_DRIVE_USER_TOKEN`. * `google_drive_oauth`: OAuth token `GOOGLE_DRIVE_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **file_id** `string` *required* The file ID **fields** `string` Fields to return ('\*' for all) Default: `"*"`. **page_size** `integer | null` The maximum number of permissions to return per page. When not set for files in a shared drive, at most 100 results will be returned. When not set for files that are not in a shared drive, the entire list will be returned. Default: `null`. **page_token** `string | null` The token for continuing a previous list request on the next page. This should be set to the value of nextPageToken from the previous response. Default: `null`. ## List Drive files Action ID: `tools.google_drive.list_files` List and search files in Google Drive Reference: [https://developers.google.com/workspace/drive/api/reference/rest/v3/files/list](https://developers.google.com/workspace/drive/api/reference/rest/v3/files/list) ### Secrets Optional secrets: * `google_drive_oauth`: OAuth token `GOOGLE_DRIVE_USER_TOKEN`. * `google_drive_oauth`: OAuth token `GOOGLE_DRIVE_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **drive_id** `string` Optional Shared Drive ID to scope the search to a single Shared Drive. Implies include_shared_drives. Default: `""`. **fields** `string` Fields to return (e.g., 'files(id,name,mimeType)' or '\*' for all) Default: `"*"`. **include_shared_drives** `boolean` Include files from Shared Drives (sets supportsAllDrives and includeItemsFromAllDrives). Default: `false`. **max_results** `integer` Maximum number of results. The maximum value is 1000; values above 1000 will be coerced to 1000. Default: `10`. **order_by** `string` Sort order Default: `"modifiedTime desc"`. **page_token** `string | null` The token for continuing a previous list request on the next page. This should be set to the value of nextPageToken from the previous response. Default: `null`. **query** `string` Search query (e.g., 'name contains "report"') Default: `""`. ## Permanently delete Drive file Action ID: `tools.google_drive.permanently_delete_file` Permanently delete a file (bypass trash) Reference: [https://developers.google.com/workspace/drive/api/reference/rest/v3/files/delete](https://developers.google.com/workspace/drive/api/reference/rest/v3/files/delete) ### Secrets Optional secrets: * `google_drive_oauth`: OAuth token `GOOGLE_DRIVE_USER_TOKEN`. * `google_drive_oauth`: OAuth token `GOOGLE_DRIVE_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **file_id** `string` *required* The file or folder ID to permanently delete ## Query Drive activity Action ID: `tools.google_drive.query_activity` Query past activity in Google Drive. Reference: [https://developers.google.com/workspace/drive/activity/v2/reference/rest/v2/activity/query](https://developers.google.com/workspace/drive/activity/v2/reference/rest/v2/activity/query) ### Secrets Optional secrets: * `google_drive_oauth`: OAuth token `GOOGLE_DRIVE_USER_TOKEN`. * `google_drive_oauth`: OAuth token `GOOGLE_DRIVE_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **ancestor_name** `string | null` Return activities for this Drive folder, plus all children and descendants. The format is `items/ITEM_ID`. Default: `null`. **consolidation_strategy** `object | null` Details on how to consolidate related actions that make up the activity. If not set, then related actions aren't consolidated. Union field `strategy`, one of: `none` (the individual activities are not consolidated), `legacy` (the individual activities are consolidated using the legacy strategy). See [https://developers.google.com/workspace/drive/activity/v2/reference/rest/v2/activity/query#ConsolidationStrategy](https://developers.google.com/workspace/drive/activity/v2/reference/rest/v2/activity/query#ConsolidationStrategy) Default: `null`. **filter** `string | null` The filtering for items returned from this query request. The format of the filter string is a sequence of expressions, joined by an optional `AND`, where each expression is of the form `field operator value`. Supported fields are `time` and `detail.action_detail_case`. Default: `null`. **item_name** `string | null` Return activities for this Drive item. The format is `items/ITEM_ID`. Default: `null`. **page_size** `integer | null` The minimum number of activities desired in the response; the server attempts to return at least this quantity. The server may also return fewer activities if it has a partial response ready before the request times out. If not set, a default value is used. Default: `null`. **page_token** `string | null` The token identifies which page of results to return. Set this to the `nextPageToken` value returned from a previous query to obtain the following page of results. If not set, the first page of results is returned. Default: `null`. ## Revoke Drive permission Action ID: `tools.google_drive.revoke_permission` Remove access to a file or folder Reference: [https://developers.google.com/workspace/drive/api/reference/rest/v3/permissions/delete](https://developers.google.com/workspace/drive/api/reference/rest/v3/permissions/delete) ### Secrets Optional secrets: * `google_drive_oauth`: OAuth token `GOOGLE_DRIVE_USER_TOKEN`. * `google_drive_oauth`: OAuth token `GOOGLE_DRIVE_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **file_id** `string` *required* The file or folder ID **permission_id** `string` *required* The permission ID to revoke ## Update Drive permission Action ID: `tools.google_drive.update_permission` Modify an existing permission Reference: [https://developers.google.com/workspace/drive/api/reference/rest/v3/permissions/update](https://developers.google.com/workspace/drive/api/reference/rest/v3/permissions/update) ### Secrets Optional secrets: * `google_drive_oauth`: OAuth token `GOOGLE_DRIVE_USER_TOKEN`. * `google_drive_oauth`: OAuth token `GOOGLE_DRIVE_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **file_id** `string` *required* The file or folder ID **permission_id** `string` *required* The permission ID to update **role** `string` *required* New role: reader, writer, commenter **fields** `string` Fields to return ('\*' for all) Default: `"*"`. ## Upload Drive file Action ID: `tools.google_drive.upload_file` Upload a file to Google Drive Reference: [https://developers.google.com/workspace/drive/api/reference/rest/v3/files/create](https://developers.google.com/workspace/drive/api/reference/rest/v3/files/create) ### Secrets Optional secrets: * `google_drive_oauth`: OAuth token `GOOGLE_DRIVE_USER_TOKEN`. * `google_drive_oauth`: OAuth token `GOOGLE_DRIVE_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **file_content** `string` *required* Base64-encoded file content **file_name** `string` *required* Name for the uploaded file **fields** `string` Fields to return ('\*' for all) Default: `"*"`. **mime_type** `string` MIME type of file Default: `"application/octet-stream"`. **parent_folder_id** `string` Parent folder ID (empty = root) Default: `""`. # Google Forms Source: https://docs.tracecat.com/tools/google_forms Reference for the Tracecat Google Forms integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Batch update form Action ID: `tools.google_forms.batch_update_form` Change the form with a batch of updates. Reference: [https://developers.google.com/workspace/forms/api/reference/rest/v1/forms/batchUpdate](https://developers.google.com/workspace/forms/api/reference/rest/v1/forms/batchUpdate) ### Secrets Optional secrets: * `google_forms_oauth`: OAuth token `GOOGLE_FORMS_USER_TOKEN`. * `google_forms_oauth`: OAuth token `GOOGLE_FORMS_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **form_id** `string` *required* Required. The form ID. **requests** `array[object]` *required* The update requests of this batch. Each Request sets exactly one of the union fields documented at [https://developers.google.com/workspace/forms/api/reference/rest/v1/forms/batchUpdate#Request](https://developers.google.com/workspace/forms/api/reference/rest/v1/forms/batchUpdate#Request) (updateFormInfo, updateSettings, createItem, moveItem, deleteItem, updateItem). **include_form_in_response** `boolean | null` Whether to return an updated version of the model in the response. Default: `null`. **write_control** `object | null` Provides control over how write requests are executed. Documented fields: requiredRevisionId, targetRevisionId. Default: `null`. ## Create form Action ID: `tools.google_forms.create_form` Create a new form using the title given in the provided form message in the request. Reference: [https://developers.google.com/workspace/forms/api/reference/rest/v1/forms/create](https://developers.google.com/workspace/forms/api/reference/rest/v1/forms/create) ### Secrets Optional secrets: * `google_forms_oauth`: OAuth token `GOOGLE_FORMS_USER_TOKEN`. * `google_forms_oauth`: OAuth token `GOOGLE_FORMS_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **title** `string` *required* Required. The title of the form which is visible to responders. **document_title** `string | null` The title of the document which is visible in Drive. If `title` is empty, `document_title` may appear in its place in the Google Forms UI and be visible to responders. It can be set on create but cannot be modified by a batchUpdate request. Default: `null`. **unpublished** `boolean | null` Whether the form is unpublished. If set to `true`, the form doesn't accept responses. If set to `false` or unset, the form is published and accepts responses. Default: `null`. ## Create watch Action ID: `tools.google_forms.create_watch` Create a new watch. If a watch ID is provided, it must be unused. For each invoking project, the per form limit is one watch per event type. A watch expires seven days after it is created. Reference: [https://developers.google.com/workspace/forms/api/reference/rest/v1/forms.watches/create](https://developers.google.com/workspace/forms/api/reference/rest/v1/forms.watches/create) ### Secrets Optional secrets: * `google_forms_oauth`: OAuth token `GOOGLE_FORMS_USER_TOKEN`. * `google_forms_oauth`: OAuth token `GOOGLE_FORMS_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **event_type** `string` *required* Required. Which event type to watch for. `SCHEMA` (the schema, or form contents, changed) or `RESPONSES` (a form response was submitted). **form_id** `string` *required* Required. ID of the Form to watch. **topic_name** `string` *required* Required. A fully qualified Pub/Sub topic name to publish the events to. This topic must be owned by the calling project and already exist in Pub/Sub, and it must grant publish privileges to serviceAccount:[forms-notifications@system.gserviceaccount.com](mailto:forms-notifications@system.gserviceaccount.com). **watch_id** `string | null` The ID to use for the watch. If specified, the ID must not already be in use. If not specified, an ID is generated. This value should be 4-63 characters, and valid characters are /\[a-z]\[0-9]-/. Default: `null`. ## Delete watch Action ID: `tools.google_forms.delete_watch` Delete a watch. Reference: [https://developers.google.com/workspace/forms/api/reference/rest/v1/forms.watches/delete](https://developers.google.com/workspace/forms/api/reference/rest/v1/forms.watches/delete) ### Secrets Optional secrets: * `google_forms_oauth`: OAuth token `GOOGLE_FORMS_USER_TOKEN`. * `google_forms_oauth`: OAuth token `GOOGLE_FORMS_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **form_id** `string` *required* Required. The ID of the Form. **watch_id** `string` *required* Required. The ID of the Watch to delete. ## Get form Action ID: `tools.google_forms.get_form` Get a form. Reference: [https://developers.google.com/workspace/forms/api/reference/rest/v1/forms/get](https://developers.google.com/workspace/forms/api/reference/rest/v1/forms/get) ### Secrets Optional secrets: * `google_forms_oauth`: OAuth token `GOOGLE_FORMS_USER_TOKEN`. * `google_forms_oauth`: OAuth token `GOOGLE_FORMS_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **form_id** `string` *required* Required. The form ID. ## Get response Action ID: `tools.google_forms.get_response` Get one response from the form. Reference: [https://developers.google.com/workspace/forms/api/reference/rest/v1/forms.responses/get](https://developers.google.com/workspace/forms/api/reference/rest/v1/forms.responses/get) ### Secrets Optional secrets: * `google_forms_oauth`: OAuth token `GOOGLE_FORMS_USER_TOKEN`. * `google_forms_oauth`: OAuth token `GOOGLE_FORMS_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **form_id** `string` *required* Required. The form ID. **response_id** `string` *required* Required. The response ID within the form. ## List responses Action ID: `tools.google_forms.list_responses` List a form's responses. Reference: [https://developers.google.com/workspace/forms/api/reference/rest/v1/forms.responses/list](https://developers.google.com/workspace/forms/api/reference/rest/v1/forms.responses/list) ### Secrets Optional secrets: * `google_forms_oauth`: OAuth token `GOOGLE_FORMS_USER_TOKEN`. * `google_forms_oauth`: OAuth token `GOOGLE_FORMS_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **form_id** `string` *required* Required. ID of the Form whose responses to list. **filter** `string | null` Which form responses to return. Currently, the only supported filters are: `timestamp > N` which means to get all form responses submitted after (but not at) timestamp N, and `timestamp >= N` which means to get all form responses submitted at and after timestamp N. For both supported filters, timestamp must be formatted in RFC3339 UTC "Zulu" format. Default: `null`. **page_size** `integer | null` The maximum number of responses to return. The service may return fewer than this value. If unspecified or zero, at most 5000 responses are returned. Default: `null`. **page_token** `string | null` A page token returned by a previous list response. If this field is set, the form and the values of the filter must be the same as for the original request. Default: `null`. ## List watches Action ID: `tools.google_forms.list_watches` Return a list of the watches owned by the invoking project. The maximum number of watches is two: for each invoker, the limit is one for each event type per form. Reference: [https://developers.google.com/workspace/forms/api/reference/rest/v1/forms.watches/list](https://developers.google.com/workspace/forms/api/reference/rest/v1/forms.watches/list) ### Secrets Optional secrets: * `google_forms_oauth`: OAuth token `GOOGLE_FORMS_USER_TOKEN`. * `google_forms_oauth`: OAuth token `GOOGLE_FORMS_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **form_id** `string` *required* Required. ID of the Form whose watches to list. ## Renew watch Action ID: `tools.google_forms.renew_watch` Renew an existing watch for seven days. The state of the watch after renewal is ACTIVE, and the expireTime is seven days from the renewal. Reference: [https://developers.google.com/workspace/forms/api/reference/rest/v1/forms.watches/renew](https://developers.google.com/workspace/forms/api/reference/rest/v1/forms.watches/renew) ### Secrets Optional secrets: * `google_forms_oauth`: OAuth token `GOOGLE_FORMS_USER_TOKEN`. * `google_forms_oauth`: OAuth token `GOOGLE_FORMS_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **form_id** `string` *required* Required. The ID of the Form. **watch_id** `string` *required* Required. The ID of the Watch to renew. ## Set publish settings Action ID: `tools.google_forms.set_publish_settings` Updates the publish settings of a form. Reference: [https://developers.google.com/workspace/forms/api/reference/rest/v1/forms/setPublishSettings](https://developers.google.com/workspace/forms/api/reference/rest/v1/forms/setPublishSettings) ### Secrets Optional secrets: * `google_forms_oauth`: OAuth token `GOOGLE_FORMS_USER_TOKEN`. * `google_forms_oauth`: OAuth token `GOOGLE_FORMS_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **form_id** `string` *required* Required. The ID of the form. You can get the id from `Form.form_id` field. **is_accepting_responses** `boolean` *required* Required. Whether the form accepts responses. If `is_published` is set to `false`, this field is forced to `false`. **is_published** `boolean` *required* Required. Whether the form is published and visible to others. **update_mask** `string | null` Optional. The `publishSettings` fields to update. This field mask accepts the following values: `publishState` updates or replaces all `publishState` settings; `*` updates or replaces all `publishSettings` fields. Default: `null`. # Google Maps Source: https://docs.tracecat.com/tools/google_maps Reference for the Tracecat Google Maps integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Get location data Action ID: `tools.google_maps.get_location_data` Get location data from Google Maps. Reference: [https://developers.google.com/maps/documentation/geocoding/guides-v3/overview](https://developers.google.com/maps/documentation/geocoding/guides-v3/overview) ### Secrets Required secrets: * `google_maps`: required values `GOOGLE_MAPS_API_KEY`. ### Input fields **address** `string` *required* The address to get the location data for. # Google Workspace Reports Source: https://docs.tracecat.com/tools/google_reports Reference for the Tracecat Google Workspace Reports integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Get customer usage report Action ID: `tools.google_reports.get_customer_usage_report` Retrieves a report which is a collection of properties and statistics for a specific customer's account. Reference: [https://developers.google.com/workspace/admin/reports/reference/rest/v1/customerUsageReports/get](https://developers.google.com/workspace/admin/reports/reference/rest/v1/customerUsageReports/get) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **date** `string` *required* Represents the date the usage occurred, based on UTC-8:00 (Pacific Standard Time). The timestamp is in the ISO 8601 format, `yyyy-mm-dd`. **customer_id** `string | null` The unique ID of the customer to retrieve data for. Default: `null`. **page_token** `string | null` Token to specify next page. A report with multiple pages has a `nextPageToken` property in the response. Default: `null`. **parameters** `string | null` The `parameters` query string is a comma-separated list of event parameters that refine a report's results, in the form \{application name}:\{parameter name}. Applicable applications include `accounts`, `app_maker`, `apps_scripts`, `calendar`, `chat`, `classroom`, `cros`, `docs`, `gmail`, `gplus`, `device_management`, `meet` and `sites`. Default: `null`. ## Get entity usage report Action ID: `tools.google_reports.get_entity_usage_report` Retrieves a report which is a collection of properties and statistics for entities used by users within the account. Reference: [https://developers.google.com/workspace/admin/reports/reference/rest/v1/entityUsageReports/get](https://developers.google.com/workspace/admin/reports/reference/rest/v1/entityUsageReports/get) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **date** `string` *required* Represents the date the usage occurred, based on UTC-8:00 (Pacific Standard Time). The timestamp is in the ISO 8601 format, `yyyy-mm-dd`. **entity_key** `string` *required* Represents the key of the object to filter the data with. It is a string which can take the value `all` to get activity events for all users, or any other value for an app-specific entity. **entity_type** `string` *required* Represents the type of entity for the report. The only allowed value is `gplus_communities`, which returns a report on Google+ communities. **customer_id** `string | null` The unique ID of the customer to retrieve data for. Default: `null`. **filters** `string | null` The `filters` query string is a comma-separated list of an application's event parameters where the parameter's value is manipulated by a relational operator. Default: `null`. **max_results** `integer | null` Determines how many activity records are shown on each response page. The default value is 1000, which is also the maximum. Default: `null`. **page_token** `string | null` Token to specify next page. A report with multiple pages has a `nextPageToken` property in the response. Default: `null`. **parameters** `string | null` The `parameters` query string is a comma-separated list of event parameters that refine a report's results, in the form \{application name}:\{parameter name}. Default: `null`. ## Get user usage report Action ID: `tools.google_reports.get_user_usage_report` Retrieves a report which is a collection of properties and statistics for a set of users with the account. Reference: [https://developers.google.com/workspace/admin/reports/reference/rest/v1/userUsageReport/get](https://developers.google.com/workspace/admin/reports/reference/rest/v1/userUsageReport/get) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **date** `string` *required* Represents the date the usage occurred, based on UTC-8:00 (Pacific Standard Time). The timestamp is in the ISO 8601 format, `yyyy-mm-dd`. **customer_id** `string | null` The unique ID of the customer to retrieve data for. Default: `null`. **filters** `string | null` The `filters` query string is a comma-separated list of an application's event parameters where the parameter's value is manipulated by a relational operator. Default: `null`. **group_id_filter** `string | null` Comma separated group ids (obfuscated) on which user activities are filtered, i.e. the response will contain activities for only those users that are a part of at least one of the group ids mentioned here. Format: "id:abc123,id:xyz456". Default: `null`. **max_results** `integer | null` Determines how many activity records are shown on each response page. The default value is 1000, which is also the maximum. Default: `null`. **org_unit_id** `string | null` ID of the organizational unit to report on. User activity will be shown only for users who belong to the specified organizational unit. Default: `null`. **page_token** `string | null` Token to specify next page. A report with multiple pages has a `nextPageToken` property in the response. Default: `null`. **parameters** `string | null` The `parameters` query string is a comma-separated list of event parameters that refine a report's results, in the form \{application name}:\{parameter name}. Default: `null`. **user_key** `string` Represents the profile ID or the user email for which the data should be filtered. Can be `all` for all information, or `userKey` for a user's unique Google Workspace profile ID or their primary email address. Must not be a deleted user. Default: `"all"`. ## List activities Action ID: `tools.google_reports.list_activities` Retrieves a list of activities for a specific customer's account and application such as the Admin console application or the Google Drive application. Google is rolling out an audit log schema change that renames some event names and types, and after August 2026 only the updated names are returned; this action returns the events unchanged. Reference: [https://developers.google.com/workspace/admin/reports/reference/rest/v1/activities/list](https://developers.google.com/workspace/admin/reports/reference/rest/v1/activities/list) ### Secrets Optional secrets: * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_USER_TOKEN`. * `google_admin_oauth`: OAuth token `GOOGLE_ADMIN_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **application_name** `string` *required* Application name for which the events are to be retrieved. One of `access_transparency`, `admin`, `calendar`, `chat`, `drive`, `gcp`, `gmail`, `gplus`, `groups`, `groups_enterprise`, `jamboard`, `login`, `meet`, `mobile`, `rules`, `saml`, `token`, `user_accounts`, `context_aware_access`, `chrome`, `data_studio`, `keep`, `vault`, `gemini_in_workspace_apps`, `classroom`, `assignments`, `cloud_search`, `tasks`, `data_migration`, `meet_hardware`, `directory_sync`, `ldap`, `profile`, `access_evaluation`, `admin_data_action`, `contacts`, `takeout`, `graduation`. **actor_ip_address** `string | null` The Internet Protocol (IP) Address of host where the event was performed. This parameter supports both IPv4 and IPv6 address versions. Default: `null`. **customer_id** `string | null` The unique ID of the customer to retrieve data for. Default: `null`. **end_time** `string | null` Sets the end of the range of time shown in the report. The date is in the RFC 3339 format, for example 2010-10-28T10:26:35.000Z. The default value is the approximate time of the API request. For Gmail requests, `startTime` and `endTime` must be provided and the difference must not be greater than 30 days. Default: `null`. **event_name** `string | null` The name of the event being queried by the API. Each `eventName` is related to a specific Google Workspace service or feature which the API organizes into types of events. Default: `null`. **filters** `string | null` Comma-separated list composed of event parameters manipulated by relational operators, in the form \{parameter1 name}\{relational operator}\{parameter1 value},... These event parameters are associated with a specific `eventName`. Supported relational operators are `==`, `<>`, `<`, `<=`, `>` and `>=`. Default: `null`. **group_id_filter** `string | null` Comma separated group ids (obfuscated) on which user activities are filtered, i.e. the response will contain activities for only those users that are a part of at least one of the group ids mentioned here. Format: "id:abc123,id:xyz456". To filter by groups, you must explicitly add the groups to your filtering groups allowlist. Default: `null`. **max_results** `integer | null` Determines how many activity records are shown on each response page. The default value is 1000, which is also the maximum. Default: `null`. **org_unit_id** `string | null` ID of the organizational unit to report on. Activity records will be shown only for users who belong to the specified organizational unit. Data before Dec 17, 2018 doesn't appear in the filtered results. Default: `null`. **page_token** `string | null` The token to specify next page. A report with multiple pages has a `nextPageToken` property in the response. Default: `null`. **start_time** `string | null` Sets the beginning of the range of time shown in the report. The date is in the RFC 3339 format, for example 2010-10-28T10:26:35.000Z. The `startTime` must be before the `endTime` (if specified) and the current time when the request is made. For Gmail requests, `startTime` and `endTime` must be provided and the difference must not be greater than 30 days. Default: `null`. **user_key** `string` Represents the profile ID or the user email for which the data should be filtered. Can be `all` for all information, or `userKey` for a user's unique Google Workspace profile ID or their primary email address. Must not be a deleted user. Default: `"all"`. # Google Security Command Center Source: https://docs.tracecat.com/tools/google_scc Reference for the Tracecat Google Security Command Center integration: registered actions, required secrets, expected inputs, and example workflow usage. ## List findings Action ID: `tools.google_scc.list_findings` List Security Command Center findings under an organization, folder, or project scope. Returns `findings`, `total_size`, and a `truncated` flag. Pages are held in memory, so `max_pages` is bounded by default. Reference: [https://cloud.google.com/security-command-center/docs/reference/rest/v2/organizations.sources.findings/list](https://cloud.google.com/security-command-center/docs/reference/rest/v2/organizations.sources.findings/list) ### Secrets Optional secrets: * `google_oauth`: OAuth token `GOOGLE_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`. ### Input fields **scope** `string` *required* Parent scope. One of `organizations/{id}`, `folders/{id}`, or `projects/{id}`. **filter** `string | null` SCC filter expression, e.g. `state="ACTIVE" AND severity="HIGH"`. Default: `null`. **max_pages** `integer | null` Maximum pages to fetch. Null fetches every page. If the cap truncates the result, `truncated` is true and `next_page_token` is returned. Default: `10`. **order_by** `string | null` Comma-separated fields to sort by, e.g. `event_time desc`. Default: `null`. **page_size** `integer` Number of findings per page (max 1000). Default: `100`. **source** `string` Source ID to list findings from. Use `-` for all sources. Default: `"-"`. ## List sources Action ID: `tools.google_scc.list_sources` List Security Command Center finding sources under an organization, folder, or project scope. Returns a flat list of sources. Reference: [https://cloud.google.com/security-command-center/docs/reference/rest/v2/organizations.sources/list](https://cloud.google.com/security-command-center/docs/reference/rest/v2/organizations.sources/list) ### Secrets Optional secrets: * `google_oauth`: OAuth token `GOOGLE_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`. ### Input fields **scope** `string` *required* Parent scope. One of `organizations/{id}`, `folders/{id}`, or `projects/{id}`. **max_pages** `integer | null` Maximum number of pages to fetch. If null, fetches every page. Default: `null`. **page_size** `integer` Number of sources per page. Default: `100`. ## Mute finding Action ID: `tools.google_scc.mute_finding` Set the mute status of a Security Command Center finding. Reference: [https://cloud.google.com/security-command-center/docs/reference/rest/v2/organizations.sources.findings/setMute](https://cloud.google.com/security-command-center/docs/reference/rest/v2/organizations.sources.findings/setMute) ### Secrets Optional secrets: * `google_oauth`: OAuth token `GOOGLE_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`. ### Input fields **finding_name** `string` *required* Full finding resource name, e.g. `organizations/{org}/sources/{src}/locations/{loc}/findings/{id}`. The scope prefix decides which IAM permissions are checked, so pass `canonicalName` from `list_findings` if you hold project-level access; `name` is always organization-scoped. **mute** `string` *required* New mute state: `MUTED`, `UNMUTED`, or `UNDEFINED` (no explicit decision). ## Set finding state Action ID: `tools.google_scc.set_finding_state` Update the state of a Security Command Center finding. Reference: [https://cloud.google.com/security-command-center/docs/reference/rest/v2/organizations.sources.findings/setState](https://cloud.google.com/security-command-center/docs/reference/rest/v2/organizations.sources.findings/setState) ### Secrets Optional secrets: * `google_oauth`: OAuth token `GOOGLE_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`. ### Input fields **finding_name** `string` *required* Full finding resource name, e.g. `organizations/{org}/sources/{src}/locations/{loc}/findings/{id}`. The scope prefix decides which IAM permissions are checked, so pass `canonicalName` from `list_findings` if you hold project-level access; `name` is always organization-scoped. **state** `string` *required* New finding state: `ACTIVE` or `INACTIVE`. To silence an accepted risk rather than mark it fixed, use `mute_finding`. # Google Sheets Source: https://docs.tracecat.com/tools/google_sheets Reference for the Tracecat Google Sheets integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Append values Action ID: `tools.google_sheets.append_values` Append rows to a Google Sheets range. Reference: [https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/append](https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/append) ### Secrets Optional secrets: * `google_sheets_oauth`: OAuth token `GOOGLE_SHEETS_USER_TOKEN`. * `google_sheets_oauth`: OAuth token `GOOGLE_SHEETS_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **range** `string` *required* A1 notation range to append to. **spreadsheet_id** `string` *required* Target spreadsheet ID. **values** `array[array[string | integer | number | boolean | null]]` *required* Two-dimensional array of values to append. **include_values_in_response** `boolean` Include the appended values in the response payload. Default: `false`. **insert_data_option** `string` How the input data should be inserted. Default: `"INSERT_ROWS"`. Allowed values: `OVERWRITE`, `INSERT_ROWS`. **major_dimension** `string | null` Orientation of the values array. Default: `null`. **value_input_option** `string` How input data should be interpreted. Default: `"USER_ENTERED"`. Allowed values: `RAW`, `USER_ENTERED`. ## Batch clear values Action ID: `tools.google_sheets.batch_clear_values` Clear values from one or more ranges in a spreadsheet. Reference: [https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/batchClear](https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/batchClear) ### Secrets Optional secrets: * `google_sheets_oauth`: OAuth token `GOOGLE_SHEETS_USER_TOKEN`. * `google_sheets_oauth`: OAuth token `GOOGLE_SHEETS_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **ranges** `array[string]` *required* List of A1 notation ranges to clear. **spreadsheet_id** `string` *required* Spreadsheet ID to clear. ## Batch clear values by data filter Action ID: `tools.google_sheets.batch_clear_values_by_data_filter` Clears one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and one or more DataFilters. Ranges matching any of the specified data filters will be cleared. Only values are cleared -- all other properties of the cell (such as formatting, data validation, etc.) are kept. Reference: [https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/batchClearByDataFilter](https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/batchClearByDataFilter) ### Secrets Optional secrets: * `google_sheets_oauth`: OAuth token `GOOGLE_SHEETS_USER_TOKEN`. * `google_sheets_oauth`: OAuth token `GOOGLE_SHEETS_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **data_filters** `array[object]` *required* The DataFilters used to determine which ranges to clear. Each entry sets exactly one of `a1Range`, `gridRange` or `developerMetadataLookup`. See [https://developers.google.com/workspace/sheets/api/reference/rest/v4/DataFilter](https://developers.google.com/workspace/sheets/api/reference/rest/v4/DataFilter) **spreadsheet_id** `string` *required* The ID of the spreadsheet to update. ## Batch get values Action ID: `tools.google_sheets.batch_get_values` Retrieve values from multiple ranges in a spreadsheet. Reference: [https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/batchGet](https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/batchGet) ### Secrets Optional secrets: * `google_sheets_oauth`: OAuth token `GOOGLE_SHEETS_USER_TOKEN`. * `google_sheets_oauth`: OAuth token `GOOGLE_SHEETS_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **ranges** `array[string]` *required* A1 notation ranges to retrieve. **spreadsheet_id** `string` *required* Spreadsheet ID to read from. **date_time_render_option** `string | null` How dates and times should be represented. Default: `null`. **major_dimension** `string | null` Orientation of the returned values. Default: `null`. **value_render_option** `string | null` How values should be rendered in the response. Default: `null`. ## Batch get values by data filter Action ID: `tools.google_sheets.batch_get_values_by_data_filter` Returns one or more ranges of values that match the specified data filters. The caller must specify the spreadsheet ID and one or more DataFilters. Ranges that match any of the data filters in the request will be returned. Reference: [https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/batchGetByDataFilter](https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/batchGetByDataFilter) ### Secrets Optional secrets: * `google_sheets_oauth`: OAuth token `GOOGLE_SHEETS_USER_TOKEN`. * `google_sheets_oauth`: OAuth token `GOOGLE_SHEETS_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **data_filters** `array[object]` *required* The data filters used to match the ranges of values to retrieve. Ranges that match any of the specified data filters are included in the response. Each entry sets exactly one of `a1Range`, `gridRange` or `developerMetadataLookup`. See [https://developers.google.com/workspace/sheets/api/reference/rest/v4/DataFilter](https://developers.google.com/workspace/sheets/api/reference/rest/v4/DataFilter) **spreadsheet_id** `string` *required* The ID of the spreadsheet to retrieve data from. **date_time_render_option** `string | null` How dates, times, and durations should be represented in the output. One of `SERIAL_NUMBER` or `FORMATTED_STRING`. This is ignored if value_render_option is `FORMATTED_VALUE`. The default dateTime render option is `SERIAL_NUMBER`. Default: `null`. **major_dimension** `string | null` The major dimension that results should use. One of `ROWS` or `COLUMNS`. For example, if the spreadsheet data is `A1=1,B1=2,A2=3,B2=4`, then a request that selects that range and sets `majorDimension=ROWS` returns `[[1,2],[3,4]]`, whereas a request that sets `majorDimension=COLUMNS` returns `[[1,3],[2,4]]`. Default: `null`. **value_render_option** `string | null` How values should be represented in the output. One of `FORMATTED_VALUE`, `UNFORMATTED_VALUE` or `FORMULA`. The default render option is `FORMATTED_VALUE`. Default: `null`. ## Batch update spreadsheet Action ID: `tools.google_sheets.batch_update_spreadsheet` Applies one or more updates to the spreadsheet. Each request is validated before being applied. If any request is not valid then the entire request will fail and nothing will be applied. Reference: [https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/batchUpdate](https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/batchUpdate) ### Secrets Optional secrets: * `google_sheets_oauth`: OAuth token `GOOGLE_SHEETS_USER_TOKEN`. * `google_sheets_oauth`: OAuth token `GOOGLE_SHEETS_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **requests** `array[object]` *required* A list of updates to apply to the spreadsheet. Requests will be applied in the order they are specified. If any request is not valid, no requests will be applied. Each entry sets exactly one field of the `Request` union, for example `addSheet`, `deleteSheet`, `updateCells`, `mergeCells`, `copyPaste`, `addChart`, or `updateSpreadsheetProperties`. See [https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/request](https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/request) **spreadsheet_id** `string` *required* The spreadsheet to apply the updates to. **include_spreadsheet_in_response** `boolean | null` Determines if the update response should include the spreadsheet resource. Default: `null`. **response_include_grid_data** `boolean | null` True if grid data should be returned. Meaningful only if include_spreadsheet_in_response is `true`. This parameter is ignored if a field mask was set in the request. Default: `null`. **response_ranges** `array[string] | null` Limits the ranges included in the response spreadsheet. Meaningful only if include_spreadsheet_in_response is `true`. Default: `null`. ## Batch update values Action ID: `tools.google_sheets.batch_update_values` Update cell values across multiple ranges in one request. Reference: [https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/batchUpdate](https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/batchUpdate) ### Secrets Optional secrets: * `google_sheets_oauth`: OAuth token `GOOGLE_SHEETS_USER_TOKEN`. * `google_sheets_oauth`: OAuth token `GOOGLE_SHEETS_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **spreadsheet_id** `string` *required* Spreadsheet ID to update. **updates** `array[object]` *required* List of updates with range, values, and optional major_dimension per entry. **include_values_in_response** `boolean` Include the updated values in the response payload. Default: `false`. **response_date_time_render_option** `string | null` How dates and times should be represented in the response. Default: `null`. **response_value_render_option** `string | null` How updated values should be rendered in the response. Default: `null`. **value_input_option** `string` How input data should be interpreted. Default: `"USER_ENTERED"`. Allowed values: `RAW`, `USER_ENTERED`. ## Batch update values by data filter Action ID: `tools.google_sheets.batch_update_values_by_data_filter` Sets values in one or more ranges of a spreadsheet. The caller must specify the spreadsheet ID, a valueInputOption, and one or more DataFilterValueRanges. Reference: [https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/batchUpdateByDataFilter](https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/batchUpdateByDataFilter) ### Secrets Optional secrets: * `google_sheets_oauth`: OAuth token `GOOGLE_SHEETS_USER_TOKEN`. * `google_sheets_oauth`: OAuth token `GOOGLE_SHEETS_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **data** `array[object]` *required* The new values to apply to the spreadsheet. If more than one range is matched by the specified DataFilter the specified values are applied to all of those ranges. Each `DataFilterValueRange` entry has `dataFilter`, `values` and an optional `majorDimension`. See [https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/batchUpdateByDataFilter#DataFilterValueRange](https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/batchUpdateByDataFilter#DataFilterValueRange) **spreadsheet_id** `string` *required* The ID of the spreadsheet to update. **value_input_option** `string` *required* How the input data should be interpreted. `RAW` stores the values as-is; `USER_ENTERED` parses the values as if the user typed them into the UI. **include_values_in_response** `boolean | null` Determines if the update response should include the values of the cells that were updated. By default, responses do not include the updated values. The `updatedData` field within each of the BatchUpdateValuesResponse.responses contains the updated values. Default: `null`. **response_date_time_render_option** `string | null` Determines how dates, times, and durations in the response should be rendered. One of `SERIAL_NUMBER` or `FORMATTED_STRING`. This is ignored if response_value_render_option is `FORMATTED_VALUE`. The default dateTime render option is `SERIAL_NUMBER`. Default: `null`. **response_value_render_option** `string | null` Determines how values in the response should be rendered. One of `FORMATTED_VALUE`, `UNFORMATTED_VALUE` or `FORMULA`. The default render option is `FORMATTED_VALUE`. Default: `null`. ## Clear values Action ID: `tools.google_sheets.clear_values` Clears values from a spreadsheet. The caller must specify the spreadsheet ID and range. Only values are cleared -- all other properties of the cell (such as formatting, data validation, etc.) are kept. Reference: [https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/clear](https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/clear) ### Secrets Optional secrets: * `google_sheets_oauth`: OAuth token `GOOGLE_SHEETS_USER_TOKEN`. * `google_sheets_oauth`: OAuth token `GOOGLE_SHEETS_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **range** `string` *required* The A1 notation or R1C1 notation of the values to clear. **spreadsheet_id** `string` *required* The ID of the spreadsheet to update. ## Copy sheet Action ID: `tools.google_sheets.copy_sheet` Copy a sheet to another spreadsheet. Reference: [https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.sheets/copyTo](https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.sheets/copyTo) ### Secrets Optional secrets: * `google_sheets_oauth`: OAuth token `GOOGLE_SHEETS_USER_TOKEN`. * `google_sheets_oauth`: OAuth token `GOOGLE_SHEETS_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **destination_spreadsheet_id** `string` *required* Destination spreadsheet ID. **sheet_id** `integer` *required* ID of the sheet to copy. **spreadsheet_id** `string` *required* Source spreadsheet ID. ## Create spreadsheet Action ID: `tools.google_sheets.create_spreadsheet` Create a new Google Spreadsheet with an optional set of sheets. Reference: [https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/create](https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/create) ### Secrets Optional secrets: * `google_sheets_oauth`: OAuth token `GOOGLE_SHEETS_USER_TOKEN`. * `google_sheets_oauth`: OAuth token `GOOGLE_SHEETS_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **title** `string` *required* Spreadsheet title. **sheet_titles** `array[string] | null` Optional list of sheet titles to create. Default: `null`. ## Get developer metadata Action ID: `tools.google_sheets.get_developer_metadata` Returns the developer metadata with the specified ID. The caller must specify the spreadsheet ID and the developer metadata's unique metadataId. Reference: [https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.developerMetadata/get](https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.developerMetadata/get) ### Secrets Optional secrets: * `google_sheets_oauth`: OAuth token `GOOGLE_SHEETS_USER_TOKEN`. * `google_sheets_oauth`: OAuth token `GOOGLE_SHEETS_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **metadata_id** `integer` *required* The ID of the developer metadata to retrieve. **spreadsheet_id** `string` *required* The ID of the spreadsheet to retrieve metadata from. ## Get spreadsheet Action ID: `tools.google_sheets.get_spreadsheet` Retrieve spreadsheet metadata and optional grid data. Reference: [https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/get](https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/get) ### Secrets Optional secrets: * `google_sheets_oauth`: OAuth token `GOOGLE_SHEETS_USER_TOKEN`. * `google_sheets_oauth`: OAuth token `GOOGLE_SHEETS_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **spreadsheet_id** `string` *required* Spreadsheet ID to fetch. **include_grid_data** `boolean` Return grid data along with metadata. Default: `false`. **ranges** `array[string] | null` Optional A1 notation ranges to include. Default: `null`. ## Get spreadsheet by data filter Action ID: `tools.google_sheets.get_spreadsheet_by_data_filter` Returns the spreadsheet at the given ID. Specifying one or more data filters returns the portions of the spreadsheet that intersect ranges matched by any of the filters. By default, data within grids is not returned. Reference: [https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/getByDataFilter](https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/getByDataFilter) ### Secrets Optional secrets: * `google_sheets_oauth`: OAuth token `GOOGLE_SHEETS_USER_TOKEN`. * `google_sheets_oauth`: OAuth token `GOOGLE_SHEETS_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **data_filters** `array[object]` *required* The DataFilters used to select which ranges to retrieve from the spreadsheet. Each entry sets exactly one of `a1Range`, `gridRange` or `developerMetadataLookup`. See [https://developers.google.com/workspace/sheets/api/reference/rest/v4/DataFilter](https://developers.google.com/workspace/sheets/api/reference/rest/v4/DataFilter) **spreadsheet_id** `string` *required* The spreadsheet to request. **include_grid_data** `boolean | null` True if grid data should be returned. This parameter is ignored if a field mask was set in the request. Default: `null`. ## Get values Action ID: `tools.google_sheets.get_values` Returns a range of values from a spreadsheet. The caller must specify the spreadsheet ID and a range. Reference: [https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/get](https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/get) ### Secrets Optional secrets: * `google_sheets_oauth`: OAuth token `GOOGLE_SHEETS_USER_TOKEN`. * `google_sheets_oauth`: OAuth token `GOOGLE_SHEETS_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **range** `string` *required* The A1 notation or R1C1 notation of the range to retrieve values from. **spreadsheet_id** `string` *required* The ID of the spreadsheet to retrieve data from. **date_time_render_option** `string | null` How dates, times, and durations should be represented in the output. One of `SERIAL_NUMBER` or `FORMATTED_STRING`. This is ignored if value_render_option is `FORMATTED_VALUE`. The default dateTime render option is `SERIAL_NUMBER`. Default: `null`. **major_dimension** `string | null` The major dimension that results should use. One of `ROWS` or `COLUMNS`. For example, if the spreadsheet data in Sheet1 is `A1=1,B1=2,A2=3,B2=4`, then requesting `range=Sheet1!A1:B2` with `majorDimension=ROWS` returns `[[1,2],[3,4]]`, whereas `majorDimension=COLUMNS` returns `[[1,3],[2,4]]`. Default: `null`. **value_render_option** `string | null` How values should be represented in the output. One of `FORMATTED_VALUE`, `UNFORMATTED_VALUE` or `FORMULA`. The default render option is `FORMATTED_VALUE`. Default: `null`. ## Search developer metadata Action ID: `tools.google_sheets.search_developer_metadata` Returns all developer metadata matching the specified DataFilter. If the provided DataFilter represents a DeveloperMetadataLookup object, this will return all DeveloperMetadata entries selected by it. If the DataFilter represents a location in a spreadsheet, this will return all developer metadata associated with locations intersecting that region. Reference: [https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.developerMetadata/search](https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.developerMetadata/search) ### Secrets Optional secrets: * `google_sheets_oauth`: OAuth token `GOOGLE_SHEETS_USER_TOKEN`. * `google_sheets_oauth`: OAuth token `GOOGLE_SHEETS_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **data_filters** `array[object]` *required* The data filters describing the criteria used to determine which DeveloperMetadata entries to return. DeveloperMetadata matching any of the specified filters are included in the response. Each entry sets exactly one of `a1Range`, `gridRange` or `developerMetadataLookup`. See [https://developers.google.com/workspace/sheets/api/reference/rest/v4/DataFilter](https://developers.google.com/workspace/sheets/api/reference/rest/v4/DataFilter) **spreadsheet_id** `string` *required* The ID of the spreadsheet to retrieve metadata from. ## Update values Action ID: `tools.google_sheets.update_values` Sets values in a range of a spreadsheet. The caller must specify the spreadsheet ID, range, and a valueInputOption. Reference: [https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/update](https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/update) ### Secrets Optional secrets: * `google_sheets_oauth`: OAuth token `GOOGLE_SHEETS_USER_TOKEN`. * `google_sheets_oauth`: OAuth token `GOOGLE_SHEETS_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **range** `string` *required* The A1 notation of the values to update. **spreadsheet_id** `string` *required* The ID of the spreadsheet to update. **value_input_option** `string` *required* How the input data should be interpreted. `RAW` stores the values as-is; `USER_ENTERED` parses the values as if the user typed them into the UI. **values** `array[array[string | integer | number | boolean | null]]` *required* The data to be written. This is an array of arrays, the outer array representing all the data and each inner array representing a major dimension. Each item in the inner array corresponds with one cell. Supported value types are bool, string, and double. Null values will be skipped. To set a cell to an empty value, set the string value to an empty string. **include_values_in_response** `boolean | null` Determines if the update response should include the values of the cells that were updated. By default, responses do not include the updated values. If the range to write was larger than the range actually written, the response includes all values in the requested range (excluding trailing empty rows and columns). Default: `null`. **major_dimension** `string | null` The major dimension of the values. One of `ROWS` or `COLUMNS`. With `range=A1:B2,majorDimension=ROWS` then `[[1,2],[3,4]]` will set `A1=1,B1=2,A2=3,B2=4`. With `range=A1:B2,majorDimension=COLUMNS` then `[[1,2],[3,4]]` will set `A1=1,B1=3,A2=2,B2=4`. When writing, if this field is not set, it defaults to `ROWS`. Default: `null`. **response_date_time_render_option** `string | null` Determines how dates, times, and durations in the response should be rendered. One of `SERIAL_NUMBER` or `FORMATTED_STRING`. This is ignored if response_value_render_option is `FORMATTED_VALUE`. The default dateTime render option is `SERIAL_NUMBER`. Default: `null`. **response_value_render_option** `string | null` Determines how values in the response should be rendered. One of `FORMATTED_VALUE`, `UNFORMATTED_VALUE` or `FORMULA`. The default render option is `FORMATTED_VALUE`. Default: `null`. # Google Slides Source: https://docs.tracecat.com/tools/google_slides Reference for the Tracecat Google Slides integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Batch update presentation Action ID: `tools.google_slides.batch_update_presentation` Applies one or more updates to the presentation. Reference: [https://developers.google.com/workspace/slides/api/reference/rest/v1/presentations/batchUpdate](https://developers.google.com/workspace/slides/api/reference/rest/v1/presentations/batchUpdate) ### Secrets Optional secrets: * `google_slides_oauth`: OAuth token `GOOGLE_SLIDES_USER_TOKEN`. * `google_slides_oauth`: OAuth token `GOOGLE_SLIDES_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **presentation_id** `string` *required* The presentation to apply the updates to. **requests** `array[object]` *required* A list of updates to apply to the presentation. Each Request sets exactly one of the union fields documented at [https://developers.google.com/workspace/slides/api/reference/rest/v1/presentations/request](https://developers.google.com/workspace/slides/api/reference/rest/v1/presentations/request) (createSlide, createShape, createTable, insertText, replaceAllText, deleteObject, updatePageElementTransform, updateTextStyle, duplicateObject, and so on). **write_control** `object | null` Provides control over how write requests are executed. Documented fields: requiredRevisionId, targetRevisionId. Default: `null`. ## Create presentation Action ID: `tools.google_slides.create_presentation` Creates a blank presentation using the title given in the request. Reference: [https://developers.google.com/workspace/slides/api/reference/rest/v1/presentations/create](https://developers.google.com/workspace/slides/api/reference/rest/v1/presentations/create) ### Secrets Optional secrets: * `google_slides_oauth`: OAuth token `GOOGLE_SLIDES_USER_TOKEN`. * `google_slides_oauth`: OAuth token `GOOGLE_SLIDES_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **title** `string | null` The title of the presentation. Default: `null`. ## Get page Action ID: `tools.google_slides.get_page` Gets the latest version of the specified page in the presentation. Reference: [https://developers.google.com/workspace/slides/api/reference/rest/v1/presentations.pages/get](https://developers.google.com/workspace/slides/api/reference/rest/v1/presentations.pages/get) ### Secrets Optional secrets: * `google_slides_oauth`: OAuth token `GOOGLE_SLIDES_USER_TOKEN`. * `google_slides_oauth`: OAuth token `GOOGLE_SLIDES_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **page_object_id** `string` *required* The object ID of the page to retrieve. **presentation_id** `string` *required* The ID of the presentation to retrieve. ## Get page thumbnail Action ID: `tools.google_slides.get_page_thumbnail` Generates a thumbnail of the latest version of the specified page in the presentation and returns a URL to the thumbnail image. Reference: [https://developers.google.com/workspace/slides/api/reference/rest/v1/presentations.pages/getThumbnail](https://developers.google.com/workspace/slides/api/reference/rest/v1/presentations.pages/getThumbnail) ### Secrets Optional secrets: * `google_slides_oauth`: OAuth token `GOOGLE_SLIDES_USER_TOKEN`. * `google_slides_oauth`: OAuth token `GOOGLE_SLIDES_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **page_object_id** `string` *required* The object ID of the page whose thumbnail to retrieve. **presentation_id** `string` *required* The ID of the presentation to retrieve. **thumbnail_properties_mime_type** `string | null` The optional mime type of the thumbnail image. If you don't specify the mime type, the mime type defaults to PNG. Allowed value: PNG. Default: `null`. **thumbnail_properties_thumbnail_size** `string | null` The optional thumbnail image size. If you don't specify the size, the server chooses a default size of the image. Allowed values: THUMBNAIL_SIZE_UNSPECIFIED (the server chooses the size), LARGE (thumbnail image width of 1600px), MEDIUM (800px), SMALL (200px). Default: `null`. ## Get presentation Action ID: `tools.google_slides.get_presentation` Gets the latest version of the specified presentation. Reference: [https://developers.google.com/workspace/slides/api/reference/rest/v1/presentations/get](https://developers.google.com/workspace/slides/api/reference/rest/v1/presentations/get) ### Secrets Optional secrets: * `google_slides_oauth`: OAuth token `GOOGLE_SLIDES_USER_TOKEN`. * `google_slides_oauth`: OAuth token `GOOGLE_SLIDES_SERVICE_TOKEN`. * `google_api`: required values `GOOGLE_API_CREDENTIALS`; optional values `GOOGLE_API_SUBJECT`. ### Input fields **presentation_id** `string` *required* The ID of the presentation to retrieve. # Gophish Source: https://docs.tracecat.com/tools/gophish Reference for the Tracecat Gophish integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Create campaign Action ID: `tools.gophish.create_campaign` Create a campaign in Gophish. Reference: [https://docs.getgophish.com/api-documentation/campaigns#create-campaign](https://docs.getgophish.com/api-documentation/campaigns#create-campaign) ### Secrets Required secrets: * `gophish`: required values `GOPHISH_API_KEY`. ### Input fields **payload** `object` *required* The body of the campaign to create. Look at the Gophish API documentation for the expected body. **base_url** `string | null` The base URL of the Gophish instance. Default: `null`. **verify_ssl** `boolean` If False, disables SSL verification for internal networks. Default: `true`. ## Create group Action ID: `tools.gophish.create_group` Create a group in Gophish. Reference: [https://docs.getgophish.com/api-documentation/users-and-groups#create-group](https://docs.getgophish.com/api-documentation/users-and-groups#create-group) ### Secrets Required secrets: * `gophish`: required values `GOPHISH_API_KEY`. ### Input fields **payload** `object` *required* The body of the group to create. Look at the Gophish API documentation for the expected body. **base_url** `string | null` The base URL of the Gophish instance. Default: `null`. **verify_ssl** `boolean` If False, disables SSL verification for internal networks. Default: `true`. ## Create landing page Action ID: `tools.gophish.create_landing_page` Create a landing page in Gophish. Reference: [https://docs.getgophish.com/api-documentation/landing-pages#create-landing-page](https://docs.getgophish.com/api-documentation/landing-pages#create-landing-page) ### Secrets Required secrets: * `gophish`: required values `GOPHISH_API_KEY`. ### Input fields **payload** `object` *required* The body of the landing page to create. Look at the Gophish API documentation for the expected body. **base_url** `string | null` The base URL of the Gophish instance. Default: `null`. **verify_ssl** `boolean` If False, disables SSL verification for internal networks. Default: `true`. ## Create sending profile Action ID: `tools.gophish.create_sending_profile` Create a sending profile in Gophish. Reference: [https://docs.getgophish.com/api-documentation/sending-profiles#create-sending-profile](https://docs.getgophish.com/api-documentation/sending-profiles#create-sending-profile) ### Secrets Required secrets: * `gophish`: required values `GOPHISH_API_KEY`. ### Input fields **payload** `object` *required* The body of the sending profile to create. Look at the Gophish API documentation for the expected body. **base_url** `string | null` The base URL of the Gophish instance. Default: `null`. **verify_ssl** `boolean` If False, disables SSL verification for internal networks. Default: `true`. ## Create template Action ID: `tools.gophish.create_template` Create a template in Gophish. Reference: [https://docs.getgophish.com/api-documentation/templates#create-template](https://docs.getgophish.com/api-documentation/templates#create-template) ### Secrets Required secrets: * `gophish`: required values `GOPHISH_API_KEY`. ### Input fields **payload** `object` *required* The body of the template to create. Look at the Gophish API documentation for the expected body. **base_url** `string | null` The base URL of the Gophish instance. Default: `null`. **verify_ssl** `boolean` If False, disables SSL verification for internal networks. Default: `true`. ## Delete campaign Action ID: `tools.gophish.delete_campaign` Delete a campaign in Gophish. Reference: [https://docs.getgophish.com/api-documentation/campaigns#delete-campaign](https://docs.getgophish.com/api-documentation/campaigns#delete-campaign) ### Secrets Required secrets: * `gophish`: required values `GOPHISH_API_KEY`. ### Input fields **campaign_id** `integer` *required* The ID of the campaign to delete. **base_url** `string | null` The base URL of the Gophish instance. Default: `null`. **verify_ssl** `boolean` If False, disables SSL verification for internal networks. Default: `true`. ## Delete group Action ID: `tools.gophish.delete_group` Delete a group in Gophish. Reference: [https://docs.getgophish.com/api-documentation/users-and-groups#delete-group](https://docs.getgophish.com/api-documentation/users-and-groups#delete-group) ### Secrets Required secrets: * `gophish`: required values `GOPHISH_API_KEY`. ### Input fields **group_id** `integer` *required* The ID of the group to delete. **base_url** `string | null` The base URL of the Gophish instance. Default: `null`. **verify_ssl** `boolean` If False, disables SSL verification for internal networks. Default: `true`. ## Delete landing page Action ID: `tools.gophish.delete_landing_page` Delete a landing page in Gophish. Reference: [https://docs.getgophish.com/api-documentation/landing-pages#delete-landing-page](https://docs.getgophish.com/api-documentation/landing-pages#delete-landing-page) ### Secrets Required secrets: * `gophish`: required values `GOPHISH_API_KEY`. ### Input fields **landing_page_id** `integer` *required* The ID of the landing page to delete. **base_url** `string | null` The base URL of the Gophish instance. Default: `null`. **verify_ssl** `boolean` If False, disables SSL verification for internal networks. Default: `true`. ## Delete sending profile Action ID: `tools.gophish.delete_sending_profile` Delete a sending profile in Gophish. Reference: [https://docs.getgophish.com/api-documentation/sending-profiles#delete-sending-profile](https://docs.getgophish.com/api-documentation/sending-profiles#delete-sending-profile) ### Secrets Required secrets: * `gophish`: required values `GOPHISH_API_KEY`. ### Input fields **sending_profile_id** `integer` *required* The ID of the sending profile to delete. **base_url** `string | null` The base URL of the Gophish instance. Default: `null`. **verify_ssl** `boolean` If False, disables SSL verification for internal networks. Default: `true`. ## Delete template Action ID: `tools.gophish.delete_template` Delete a template in Gophish. Reference: [https://docs.getgophish.com/api-documentation/templates#delete-template](https://docs.getgophish.com/api-documentation/templates#delete-template) ### Secrets Required secrets: * `gophish`: required values `GOPHISH_API_KEY`. ### Input fields **template_id** `integer` *required* The ID of the template to delete. **base_url** `string | null` The base URL of the Gophish instance. Default: `null`. **verify_ssl** `boolean` If False, disables SSL verification for internal networks. Default: `true`. ## Get campaign Action ID: `tools.gophish.get_campaign` Get a campaign from Gophish. Reference: [https://docs.getgophish.com/api-documentation/campaigns#get-campaign](https://docs.getgophish.com/api-documentation/campaigns#get-campaign) ### Secrets Required secrets: * `gophish`: required values `GOPHISH_API_KEY`. ### Input fields **campaign_id** `integer` *required* The ID of the campaign to get. **base_url** `string | null` The base URL of the Gophish instance. Default: `null`. **verify_ssl** `boolean` If False, disables SSL verification for internal networks. Default: `true`. ## Get campaign results Action ID: `tools.gophish.get_campaign_results` Get a campaign's results from Gophish. Reference: [https://docs.getgophish.com/api-documentation/campaigns#get-campaign-results](https://docs.getgophish.com/api-documentation/campaigns#get-campaign-results) ### Secrets Required secrets: * `gophish`: required values `GOPHISH_API_KEY`. ### Input fields **campaign_id** `integer` *required* The ID of the campaign to get results for. **base_url** `string | null` The base URL of the Gophish instance. Default: `null`. **verify_ssl** `boolean` If False, disables SSL verification for internal networks. Default: `true`. ## Get campaign summary Action ID: `tools.gophish.get_campaign_summary` Get a campaign summary from Gophish. Reference: [https://docs.getgophish.com/api-documentation/campaigns#get-campaign-summary](https://docs.getgophish.com/api-documentation/campaigns#get-campaign-summary) ### Secrets Required secrets: * `gophish`: required values `GOPHISH_API_KEY`. ### Input fields **campaign_id** `integer` *required* The ID of the campaign to get summary for. **base_url** `string | null` The base URL of the Gophish instance. Default: `null`. **verify_ssl** `boolean` If False, disables SSL verification for internal networks. Default: `true`. ## Get group Action ID: `tools.gophish.get_group` Get a group from Gophish. Reference: [https://docs.getgophish.com/api-documentation/users-and-groups#get-group](https://docs.getgophish.com/api-documentation/users-and-groups#get-group) ### Secrets Required secrets: * `gophish`: required values `GOPHISH_API_KEY`. ### Input fields **group_id** `integer` *required* The ID of the group to get. **base_url** `string | null` The base URL of the Gophish instance. Default: `null`. **verify_ssl** `boolean` If False, disables SSL verification for internal networks. Default: `true`. ## Get group summary Action ID: `tools.gophish.get_group_summary` Get a group summary from Gophish. Reference: [https://docs.getgophish.com/api-documentation/users-and-groups#get-group-summary](https://docs.getgophish.com/api-documentation/users-and-groups#get-group-summary) ### Secrets Required secrets: * `gophish`: required values `GOPHISH_API_KEY`. ### Input fields **group_id** `integer` *required* The ID of the group to get. **base_url** `string | null` The base URL of the Gophish instance. Default: `null`. **verify_ssl** `boolean` If False, disables SSL verification for internal networks. Default: `true`. ## Get landing page Action ID: `tools.gophish.get_landing_page` Get a landing page in Gophish. Reference: [https://docs.getgophish.com/api-documentation/landing-pages#get-landing-page](https://docs.getgophish.com/api-documentation/landing-pages#get-landing-page) ### Secrets Required secrets: * `gophish`: required values `GOPHISH_API_KEY`. ### Input fields **landing_page_id** `integer` *required* The ID of the landing page to get. **base_url** `string | null` The base URL of the Gophish instance. Default: `null`. **verify_ssl** `boolean` If False, disables SSL verification for internal networks. Default: `true`. ## Get sending profile Action ID: `tools.gophish.get_sending_profile` Get a sending profile in Gophish. Reference: [https://docs.getgophish.com/api-documentation/sending-profiles#get-sending-profile](https://docs.getgophish.com/api-documentation/sending-profiles#get-sending-profile) ### Secrets Required secrets: * `gophish`: required values `GOPHISH_API_KEY`. ### Input fields **sending_profile_id** `integer` *required* The ID of the sending profile to get. **base_url** `string | null` The base URL of the Gophish instance. Default: `null`. **verify_ssl** `boolean` If False, disables SSL verification for internal networks. Default: `true`. ## Get template Action ID: `tools.gophish.get_template` Get a template in Gophish. Reference: [https://docs.getgophish.com/api-documentation/templates#get-template](https://docs.getgophish.com/api-documentation/templates#get-template) ### Secrets Required secrets: * `gophish`: required values `GOPHISH_API_KEY`. ### Input fields **template_id** `integer` *required* The ID of the template to get. **base_url** `string | null` The base URL of the Gophish instance. Default: `null`. **verify_ssl** `boolean` If False, disables SSL verification for internal networks. Default: `true`. ## List campaigns Action ID: `tools.gophish.list_campaigns` List campaigns from Gophish. Reference: [https://docs.getgophish.com/api-documentation/campaigns#get-campaigns](https://docs.getgophish.com/api-documentation/campaigns#get-campaigns) ### Secrets Required secrets: * `gophish`: required values `GOPHISH_API_KEY`. ### Input fields **base_url** `string | null` The base URL of the Gophish instance. Default: `null`. **verify_ssl** `boolean` If False, disables SSL verification for internal networks. Default: `true`. ## List groups Action ID: `tools.gophish.list_groups` List groups from Gophish. Reference: [https://docs.getgophish.com/api-documentation/users-and-groups#get-groups](https://docs.getgophish.com/api-documentation/users-and-groups#get-groups) ### Secrets Required secrets: * `gophish`: required values `GOPHISH_API_KEY`. ### Input fields **base_url** `string | null` The base URL of the Gophish instance. Default: `null`. **verify_ssl** `boolean` If False, disables SSL verification for internal networks. Default: `true`. ## List groups summary Action ID: `tools.gophish.list_groups_summary` List groups summary from Gophish. Reference: [https://docs.getgophish.com/api-documentation/users-and-groups#get-groups-summary](https://docs.getgophish.com/api-documentation/users-and-groups#get-groups-summary) ### Secrets Required secrets: * `gophish`: required values `GOPHISH_API_KEY`. ### Input fields **base_url** `string | null` The base URL of the Gophish instance. Default: `null`. **verify_ssl** `boolean` If False, disables SSL verification for internal networks. Default: `true`. ## List landing pages Action ID: `tools.gophish.list_landing_pages` List landing pages from Gophish. Reference: [https://docs.getgophish.com/api-documentation/landing-pages#get-landing-pages](https://docs.getgophish.com/api-documentation/landing-pages#get-landing-pages) ### Secrets Required secrets: * `gophish`: required values `GOPHISH_API_KEY`. ### Input fields **base_url** `string | null` The base URL of the Gophish instance. Default: `null`. **verify_ssl** `boolean` If False, disables SSL verification for internal networks. Default: `true`. ## List sending profiles Action ID: `tools.gophish.list_sending_profiles` List sending profiles from Gophish. Reference: [https://docs.getgophish.com/api-documentation/sending-profiles#get-sending-profiles](https://docs.getgophish.com/api-documentation/sending-profiles#get-sending-profiles) ### Secrets Required secrets: * `gophish`: required values `GOPHISH_API_KEY`. ### Input fields **base_url** `string | null` The base URL of the Gophish instance. Default: `null`. **verify_ssl** `boolean` If False, disables SSL verification for internal networks. Default: `true`. ## List templates Action ID: `tools.gophish.list_templates` List templates from Gophish. Reference: [https://docs.getgophish.com/api-documentation/templates#get-templates](https://docs.getgophish.com/api-documentation/templates#get-templates) ### Secrets Required secrets: * `gophish`: required values `GOPHISH_API_KEY`. ### Input fields **base_url** `string | null` The base URL of the Gophish instance. Default: `null`. **verify_ssl** `boolean` If False, disables SSL verification for internal networks. Default: `true`. ## Modify group Action ID: `tools.gophish.modify_group` Modify a group in Gophish. Reference: [https://docs.getgophish.com/api-documentation/users-and-groups#modify-group](https://docs.getgophish.com/api-documentation/users-and-groups#modify-group) ### Secrets Required secrets: * `gophish`: required values `GOPHISH_API_KEY`. ### Input fields **group_id** `integer` *required* The ID of the group to modify. **payload** `object` *required* The body of the group to modify. Look at the Gophish API documentation for the expected body. **base_url** `string | null` The base URL of the Gophish instance. Default: `null`. **verify_ssl** `boolean` If False, disables SSL verification for internal networks. Default: `true`. ## Modify landing page Action ID: `tools.gophish.modify_landing_page` Modify a landing page in Gophish. Reference: [https://docs.getgophish.com/api-documentation/landing-pages#modify-landing-page](https://docs.getgophish.com/api-documentation/landing-pages#modify-landing-page) ### Secrets Required secrets: * `gophish`: required values `GOPHISH_API_KEY`. ### Input fields **landing_page_id** `integer` *required* The ID of the landing page to modify. **payload** `object` *required* The body of the landing page to modify. Look at the Gophish API documentation for the expected body. **base_url** `string | null` The base URL of the Gophish instance. Default: `null`. **verify_ssl** `boolean` If False, disables SSL verification for internal networks. Default: `true`. ## Modify sending profile Action ID: `tools.gophish.modify_sending_profile` Modify a sending profile in Gophish. Reference: [https://docs.getgophish.com/api-documentation/sending-profiles#modify-sending-profile](https://docs.getgophish.com/api-documentation/sending-profiles#modify-sending-profile) ### Secrets Required secrets: * `gophish`: required values `GOPHISH_API_KEY`. ### Input fields **payload** `object` *required* The body of the sending profile to modify. Look at the Gophish API documentation for the expected body. **sending_profile_id** `integer` *required* The ID of the sending profile to modify. **base_url** `string | null` The base URL of the Gophish instance. Default: `null`. **verify_ssl** `boolean` If False, disables SSL verification for internal networks. Default: `true`. ## Modify template Action ID: `tools.gophish.modify_template` Modify a template in Gophish. Reference: [https://docs.getgophish.com/api-documentation/templates#modify-template](https://docs.getgophish.com/api-documentation/templates#modify-template) ### Secrets Required secrets: * `gophish`: required values `GOPHISH_API_KEY`. ### Input fields **payload** `object` *required* The body of the template to modify. Look at the Gophish API documentation for the expected body. **template_id** `integer` *required* The ID of the template to modify. **base_url** `string | null` The base URL of the Gophish instance. Default: `null`. **verify_ssl** `boolean` If False, disables SSL verification for internal networks. Default: `true`. # GreyNoise Source: https://docs.tracecat.com/tools/greynoise Reference for the Tracecat GreyNoise integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Get IP timeline Action ID: `tools.greynoise.get_ip_timeline` Get an IP timeline field summary. Calls GET /v3/noise/ips/\{ip}/timeline directly. Reference: [https://docs.greynoise.io/reference/getiptimelinefieldsummary](https://docs.greynoise.io/reference/getiptimelinefieldsummary) ### Secrets Required secrets: * `greynoise`: required values `GREYNOISE_API_KEY`. ### Input fields **ip** `string` *required* IPv4 address to lookup. **base_url** `string | null` GreyNoise API base URL. Default: `null`. **days** `string | null` Number of days to show data for. source_asn_subnet is limited to 90 days. GreyNoise defaults to 1. Default: `null`. **field** `string` Field over which to show activity breakdown. Supported values are destination_port, http_path, http_user_agent, source_asn, source_asn_subnet, source_org, source_rdns, tag_ids and classification. Default: `"classification"`. **granularity** `string | null` Granularity of activity date ranges. This can be in hours (e.g. Xh) or days (Xd). Valid hours are between 1 and 24. Valid days are between 1 and 90. source_asn_subnet supports daily granularity only (1d or 24h). GreyNoise defaults to 1d. Default: `null`. **workspace_labels** `string | null` Comma-separated list of dataset scopes to include in the query. When omitted, only the default GreyNoise global dataset is queried. Allowed values are greynoise (GreyNoise's global dataset), community (aggregated community-contributed data), and personal (the authenticated caller's own workspace data). Default: `null`. ## GNQL stats Action ID: `tools.greynoise.gnql_stats` Get GNQL statistics. Calls GET /v3/gnql/stats directly. Reference: [https://docs.greynoise.io/reference/gnqlv3stats](https://docs.greynoise.io/reference/gnqlv3stats) ### Secrets Required secrets: * `greynoise`: required values `GREYNOISE_API_KEY`. ### Input fields **query** `string` *required* GNQL query string. **base_url** `string | null` GreyNoise API base URL. Default: `null`. **count** `integer | null` Number of top aggregates to grab. Minimum 1, maximum 10000. GreyNoise defaults to 1000. Default: `null`. ## Lookup IP context Action ID: `tools.greynoise.lookup_ip_context` Get full context for an IP address. Calls GET /v3/ip/\{ip} directly. Reference: [https://docs.greynoise.io/reference/v3ip](https://docs.greynoise.io/reference/v3ip) ### Secrets Required secrets: * `greynoise`: required values `GREYNOISE_API_KEY`. ### Input fields **ip** `string` *required* IPv4 address to lookup. **base_url** `string | null` GreyNoise API base URL. Default: `null`. **workspace_labels** `string | null` Comma-separated list of dataset scopes to include in the query. When omitted, only the default GreyNoise global dataset is queried. Allowed values are greynoise (GreyNoise's global dataset), community (aggregated community-contributed data), and personal (the authenticated caller's own workspace data). Default: `null`. ## Lookup IPs context Action ID: `tools.greynoise.lookup_ips_context` Get full context for multiple IP addresses. Calls POST /v3/ip directly. Reference: [https://docs.greynoise.io/reference/v3multiip](https://docs.greynoise.io/reference/v3multiip) ### Secrets Required secrets: * `greynoise`: required values `GREYNOISE_API_KEY`. ### Input fields **ips** `array[string]` *required* IPv4 addresses to lookup. GreyNoise supports up to 10000 per request. **base_url** `string | null` GreyNoise API base URL. Default: `null`. **workspace_labels** `string | null` Comma-separated list of dataset scopes to include in the query. When omitted, only the default GreyNoise global dataset is queried. Allowed values are greynoise (GreyNoise's global dataset), community (aggregated community-contributed data), and personal (the authenticated caller's own workspace data). Default: `null`. ## Lookup RIOT IP Action ID: `tools.greynoise.lookup_riot_ip` Get Business Service Intelligence, formerly RIOT, for an IP address. Calls GET /v3/ip/\{ip} directly. Reference: [https://docs.greynoise.io/reference/v3ip](https://docs.greynoise.io/reference/v3ip) ### Secrets Required secrets: * `greynoise`: required values `GREYNOISE_API_KEY`. ### Input fields **ip** `string` *required* IPv4 address to lookup. **base_url** `string | null` GreyNoise API base URL. Default: `null`. **workspace_labels** `string | null` Comma-separated list of dataset scopes to include in the query. When omitted, only the default GreyNoise global dataset is queried. Allowed values are greynoise (GreyNoise's global dataset), community (aggregated community-contributed data), and personal (the authenticated caller's own workspace data). Default: `null`. ## Query GNQL Action ID: `tools.greynoise.query_gnql` Query GNQL. Calls GET /v3/gnql directly. Reference: [https://docs.greynoise.io/reference/gnqlv3query](https://docs.greynoise.io/reference/gnqlv3query) ### Secrets Required secrets: * `greynoise`: required values `GREYNOISE_API_KEY`. ### Input fields **query** `string` *required* GNQL query string. **base_url** `string | null` GreyNoise API base URL. Default: `null`. **exclude** `string | null` Comma-separated list of fields to exclude from the response. Recognized top-level response fields (e.g. tags, cves, vpn, tor, raw_data, metadata), metadata.\ paths (e.g. metadata.organization, metadata.source_country, metadata.destination_countries), and raw_data.\ paths (e.g. raw_data.ja3, raw_data.http.useragent) are accepted. The special value tags.details preserves tag identity (id, slug) and strips only the enriched details. Unknown field names return 400. Default: `null`. **format** `string | null` Specifies the desired format of the results. Must be either csv or json. GreyNoise defaults to json. Default: `null`. **quick** `boolean | null` If true, the response will only include the IP address and the classification or trust level. Default: `null`. **scroll** `string | null` Scroll token to paginate through results. Incompatible with format=csv. Default: `null`. **size** `integer | null` The number of results provided per page for paginating through all results of a query. Minimum 1, maximum 10000. GreyNoise defaults to 10000. Default: `null`. ## Quick IP Action ID: `tools.greynoise.quick_ip` Get quick context for an IP address. Calls GET /v3/ip/\{ip} directly with quick enabled. Reference: [https://docs.greynoise.io/reference/v3ip](https://docs.greynoise.io/reference/v3ip) ### Secrets Required secrets: * `greynoise`: required values `GREYNOISE_API_KEY`. ### Input fields **ip** `string` *required* IPv4 address to lookup. **base_url** `string | null` GreyNoise API base URL. Default: `null`. **workspace_labels** `string | null` Comma-separated list of dataset scopes to include in the query. When omitted, only the default GreyNoise global dataset is queried. Allowed values are greynoise (GreyNoise's global dataset), community (aggregated community-contributed data), and personal (the authenticated caller's own workspace data). Default: `null`. ## Quick IPs Action ID: `tools.greynoise.quick_ips` Get quick context for multiple IP addresses. Calls POST /v3/ip directly with quick enabled. Reference: [https://docs.greynoise.io/reference/v3multiip](https://docs.greynoise.io/reference/v3multiip) ### Secrets Required secrets: * `greynoise`: required values `GREYNOISE_API_KEY`. ### Input fields **ips** `array[string]` *required* IPv4 addresses to lookup. GreyNoise supports up to 10000 per request. **base_url** `string | null` GreyNoise API base URL. Default: `null`. **workspace_labels** `string | null` Comma-separated list of dataset scopes to include in the query. When omitted, only the default GreyNoise global dataset is queried. Allowed values are greynoise (GreyNoise's global dataset), community (aggregated community-contributed data), and personal (the authenticated caller's own workspace data). Default: `null`. # Hacker News Source: https://docs.tracecat.com/tools/hackernews Reference for the Tracecat Hacker News integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Get item Action ID: `tools.hackernews.get_item` Get an item. Calls GET /v0/item/\{item_id}.json directly. Reference: [https://github.com/HackerNews/API](https://github.com/HackerNews/API) ### Input fields **item_id** `integer` *required* Hacker News item ID. **base_url** `string | null` Base URL of the Hacker News Firebase API. Default: `null`. ## Get user Action ID: `tools.hackernews.get_user` Get a user. Calls GET /v0/user/\{user_id}.json directly. Reference: [https://github.com/HackerNews/API](https://github.com/HackerNews/API) ### Input fields **user_id** `string` *required* Case-sensitive Hacker News username. **base_url** `string | null` Base URL of the Hacker News Firebase API. Default: `null`. ## Search Action ID: `tools.hackernews.search` Search Hacker News. Calls GET /api/v1/search directly. Reference: [https://hn.algolia.com/api](https://hn.algolia.com/api) ### Input fields **base_url** `string | null` Base URL of the HN Algolia API. Default: `null`. **hitsPerPage** `integer | null` Number of hits per page. Default: `null`. **numericFilters** `string | null` Algolia numeric filters, such as created_at_i>1700000000, points>10, or num_comments>=5. Default: `null`. **page** `integer | null` Page number to retrieve. Default: `null`. **query** `string | null` Full-text search query. Default: `null`. **restrictSearchableAttributes** `string | null` Comma-delimited attributes to search, such as url. Default: `null`. **tags** `string | null` Algolia tag filter, such as story, comment, front_page, author_pg, story_1, or grouped tags. Default: `null`. ## Search by date Action ID: `tools.hackernews.search_by_date` Search Hacker News by date. Calls GET /api/v1/search_by_date directly. Reference: [https://hn.algolia.com/api](https://hn.algolia.com/api) ### Input fields **base_url** `string | null` Base URL of the HN Algolia API. Default: `null`. **hitsPerPage** `integer | null` Number of hits per page. Default: `null`. **numericFilters** `string | null` Algolia numeric filters, such as created_at_i>1700000000, points>10, or num_comments>=5. Default: `null`. **page** `integer | null` Page number to retrieve. Default: `null`. **query** `string | null` Full-text search query. Default: `null`. **restrictSearchableAttributes** `string | null` Comma-delimited attributes to search, such as url. Default: `null`. **tags** `string | null` Algolia tag filter, such as story, comment, front_page, author_pg, story_1, or grouped tags. Default: `null`. # HackerOne Source: https://docs.tracecat.com/tools/hackerone Reference for the Tracecat HackerOne integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Get program Action ID: `tools.hackerone.get_program` Get details of a specific program from HackerOne. Reference: [https://api.hackerone.com/customer-resources/?python#programs-get-program](https://api.hackerone.com/customer-resources/?python#programs-get-program) ### Secrets Required secrets: * `hackerone`: required values `HACKERONE_API_USERNAME`, `HACKERONE_API_TOKEN`. ### Input fields **program_id** `integer` *required* The ID of the program to retrieve. ## Get programs Action ID: `tools.hackerone.get_programs` Get a paginated list of programs from HackerOne. Reference: [https://api.hackerone.com/customer-resources/?python#programs-get-programs](https://api.hackerone.com/customer-resources/?python#programs-get-programs) ### Secrets Required secrets: * `hackerone`: required values `HACKERONE_API_USERNAME`, `HACKERONE_API_TOKEN`. ### Input fields **page_number** `integer` The page number to retrieve (starts at 1). Default: `1`. **page_size** `integer` Number of programs per page (1-100). Default: `25`. ## Get report Action ID: `tools.hackerone.get_report` Get details of a specific report from HackerOne. Reference: [https://api.hackerone.com/customer-resources/?python#reports-get-report](https://api.hackerone.com/customer-resources/?python#reports-get-report) ### Secrets Required secrets: * `hackerone`: required values `HACKERONE_API_USERNAME`, `HACKERONE_API_TOKEN`. ### Input fields **report_id** `integer` *required* The ID of the report to retrieve. ## Get reports Action ID: `tools.hackerone.get_reports` Get a paginated list of reports from HackerOne. Reference: [https://api.hackerone.com/customer-resources/?python#reports-update-weakness](https://api.hackerone.com/customer-resources/?python#reports-update-weakness) ### Secrets Required secrets: * `hackerone`: required values `HACKERONE_API_USERNAME`, `HACKERONE_API_TOKEN`. ### Input fields **filters** `object` *required* Filters to apply to the reports. For example, \{'filter\[program]\[]': 'tracecat', 'filter\[state]\[]': \['new', 'triaged'], 'filter\[assignee]\[]': 'Tracecat Team'} **page_number** `integer` The page number to retrieve (starts at 1). Default: `1`. **page_size** `integer` Number of reports per page (1-100). Default: `25`. # Have I Been Pwned Source: https://docs.tracecat.com/tools/hibp Reference for the Tracecat Have I Been Pwned integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Check email for breaches Action ID: `tools.hibp.check_email_breaches` Check if an email address has been compromised in known data breaches. Reference: [https://haveibeenpwned.com/API/v3#BreachesForAccount](https://haveibeenpwned.com/API/v3#BreachesForAccount) ### Secrets Required secrets: * `hibp`: required values `HIBP_API_KEY`. ### Input fields **email** `string` *required* Email address to check for breaches. **domain_filter** `string | null` Filter results to only breaches from this domain. Default: `null`. **include_unverified** `boolean` Include unverified breaches in results. Default: `true`. **truncate_response** `boolean` Return only breach names (True) or full breach details (False). Default: `true`. ## Check email for pastes Action ID: `tools.hibp.check_email_pastes` Check if an email address has been found in any pastes. Reference: [https://haveibeenpwned.com/API/v3#PastesForAccount](https://haveibeenpwned.com/API/v3#PastesForAccount) ### Secrets Required secrets: * `hibp`: required values `HIBP_API_KEY`. ### Input fields **email** `string` *required* Email address to check for pastes. ## Get all breaches Action ID: `tools.hibp.get_all_breaches` Get a list of all data breaches in the system. Reference: [https://haveibeenpwned.com/API/v3#AllBreaches](https://haveibeenpwned.com/API/v3#AllBreaches) ### Input fields **domain_filter** `string | null` Filter breaches to only those affecting this domain. Default: `null`. ## Get breach details Action ID: `tools.hibp.get_breach_details` Get detailed information about a specific data breach. Reference: [https://haveibeenpwned.com/API/v3#SingleBreach](https://haveibeenpwned.com/API/v3#SingleBreach) ### Input fields **breach_name** `string` *required* Name of the breach to get details for. ## Get data classes Action ID: `tools.hibp.get_data_classes` Get all data classes in the system. Reference: [https://haveibeenpwned.com/API/v3#DataClasses](https://haveibeenpwned.com/API/v3#DataClasses) ### Input fields This action does not take input fields. ## Get latest breach Action ID: `tools.hibp.get_latest_breach` Get the most recently added breach in the system. Reference: [https://haveibeenpwned.com/API/v3#LatestBreach](https://haveibeenpwned.com/API/v3#LatestBreach) ### Input fields This action does not take input fields. # HudsonRock Source: https://docs.tracecat.com/tools/hudsonrock Reference for the Tracecat HudsonRock integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Assess third-party risk Action ID: `tools.hudsonrock.assess_third_party_risk` Assess third-party risk. Calls POST /json/v3/search-by-domain/assessment directly. Reference: [https://docs.hudsonrock.com/docs/third-party-risk-assessment](https://docs.hudsonrock.com/docs/third-party-risk-assessment) ### Secrets Required secrets: * `hudsonrock`: required values `HUDSONROCK_API_KEY`. ### Input fields **domain** `string` *required* The domain to evaluate for potential security risks. **base_url** `string | null` Base URL of the HudsonRock API. Default: `null`. ## Discover assets Action ID: `tools.hudsonrock.discover_assets` Discover assets. Calls POST /json/v3/search-by-domain/discovery directly. Reference: [https://docs.hudsonrock.com/reference/assets-discovery](https://docs.hudsonrock.com/reference/assets-discovery) ### Secrets Required secrets: * `hudsonrock`: required values `HUDSONROCK_API_KEY`. ### Input fields **domains** `array[string]` *required* List of domains to perform discovery on. Accepts root domains (example.com) and will match all subdomains. Between 1-500 domains can be specified per request. **base_url** `string | null` Base URL of the HudsonRock API. Default: `null`. **cursor** `string | null` Base64 encoded pagination cursor for retrieving the next set of results. Obtained from the 'nextCursor' field in the previous response. Default: `null`. **keywords** `array[string] | null` Optional keywords to narrow discovery results to specific services or applications. Default: `null`. **keywords_match** `string | null` Determines how multiple keywords are matched during discovery. 'any' returns results matching at least one keyword (broader discovery), while 'all' requires all keywords to match. Default: `null`. **types** `array[string] | null` Types of compromises to discover. 'employees' finds corporate email credentials (@company.com), while 'users' finds consumer credentials. Default: `null`. ## Get account info Action ID: `tools.hudsonrock.get_account_info` Get account information. Calls GET /json/v3/my-account directly. Reference: [https://docs.hudsonrock.com/reference/getmyaccount](https://docs.hudsonrock.com/reference/getmyaccount) ### Secrets Required secrets: * `hudsonrock`: required values `HUDSONROCK_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the HudsonRock API. Default: `null`. ## Get domain overview Action ID: `tools.hudsonrock.get_domain_overview` Get a domain overview. Calls POST /json/v3/search-by-domain/overview directly. Reference: [https://docs.hudsonrock.com/reference/domains-overview](https://docs.hudsonrock.com/reference/domains-overview) ### Secrets Required secrets: * `hudsonrock`: required values `HUDSONROCK_API_KEY`. ### Input fields **domains** `array[string]` *required* List of domains to retrieve compromise overview statistics for. Accepts root domains (example.com) and will aggregate data across all subdomains. Between 1-500 domains can be specified per request. **base_url** `string | null` Base URL of the HudsonRock API. Default: `null`. **cursor** `string | null` Base64 encoded pagination cursor for retrieving the next set of overview results. Obtained from the 'nextCursor' field in the previous response. Essential for processing large domain lists. Default: `null`. **last_employee_compromised** `string | null` ISO 8601 formatted timestamp (YYYY-MM-DDThh:mm:ssZ) to filter for domains with employee compromises after this date. Identifies domains with recent corporate breaches. Default: `null`. **last_employee_uploaded** `string | null` ISO 8601 formatted timestamp (YYYY-MM-DDThh:mm:ssZ) to filter for domains with employee data uploaded after this date. Reflects when the data became available in our system. Default: `null`. **last_user_compromised** `string | null` ISO 8601 formatted timestamp (YYYY-MM-DDThh:mm:ssZ) to filter for domains with user compromises after this date. Identifies domains with recent consumer-facing breaches. Default: `null`. **last_user_uploaded** `string | null` ISO 8601 formatted timestamp (YYYY-MM-DDThh:mm:ssZ) to filter for domains with user data uploaded after this date. Reflects when the data became available in our system. Default: `null`. **max_employees_compromised** `integer | null` Maximum threshold for employee compromises. Returns only domains with no more than this many compromised employee accounts. Useful for focusing on organizations within specific size ranges. Default: `null`. **max_users_compromised** `integer | null` Maximum threshold for user compromises. Returns only domains with no more than this many compromised user accounts. Helps focus on domains with specific consumer impact ranges. Default: `null`. **min_employees_compromised** `integer | null` Minimum threshold for employee compromises. Returns only domains with at least this many compromised employee accounts. Useful for filtering out domains with negligible compromise counts. Default: `null`. **min_users_compromised** `integer | null` Minimum threshold for user compromises. Returns only domains with at least this many compromised user accounts. Helps identify domains with significant consumer impact. Default: `null`. **sort_by** `string | null` Field to sort overview results by. Time-based sorting helps identify recent breaches, while count-based sorting identifies the most severely affected domains. Default: `null`. **sort_direction** `string | null` 'desc' prioritizes recent breaches or highest compromise counts (recommended for threat monitoring), while 'asc' shows oldest breaches or lowest counts first. Default: `null`. ## Search domain compromises Action ID: `tools.hudsonrock.search_domain_compromises` Search domain compromises. Calls POST /json/v3/search-by-domain directly. Reference: [https://docs.hudsonrock.com/reference/search-by-domains](https://docs.hudsonrock.com/reference/search-by-domains) ### Secrets Required secrets: * `hudsonrock`: required values `HUDSONROCK_API_KEY`. ### Input fields **domains** `array[string]` *required* List of domains to filter results by. Accepts root domains (example.com) and will match all subdomains. Maximum 50 domains per request. **additional_fields** `array[string] | null` Optional additional data to include in results: 'search_data', 'installed_software', 'employee_session_cookies', 'password_strength', 'sensitive_applications', 'dir_tree'. Default: `null`. **base_url** `string | null` Base URL of the HudsonRock API. Default: `null`. **cursor** `string | null` Base64 encoded pagination cursor for retrieving the next set of results. Obtained from the 'nextCursor' field in the previous response. Default: `null`. **end_date** `string | null` Filter results up to this date/time. Applies to the field specified in 'sort_by'. Default: `null`. **external_domains** `array[string] | null` List of third-party domains associated with your organization to search for. Ideal for SaaS platforms (company.salesforce.com), cloud services, or other external services your organization uses. Limited to 50 domains per request. Default: `null`. **filter_credentials** `boolean | null` When true, returns only credentials matching the search criteria. When false, returns all credentials from matching stealers. Default: `null`. **keywords** `array[string] | null` Filter results to URLs containing specified keywords. Useful for finding credentials for specific services. Case-insensitive matching. Maximum 10 keywords per request. Default: `null`. **keywords_match** `string | null` 'any' returns results matching at least one keyword (broader results), while 'all' requires all keywords to match. Default: `null`. **sort_by** `string | null` Field to sort results by. 'date_compromised' sorts by when the infection occurred, while 'date_uploaded' sorts by when the data was integrated into our platform. Default: `null`. **sort_direction** `string | null` Direction to sort results. 'desc' returns newest records first (recommended for monitoring), while 'asc' returns oldest records first. Default: `null`. **start_date** `string | null` Filter results from this date/time onward. Applies to the field specified in 'sort_by'. Default: `null`. **subdomains** `array[string] | null` Subdomain filters to match against subdomains in the URL field. Maximum 5 items allowed. Cannot be used together with 'keywords' or 'keywords_match' parameters. Default: `null`. **types** `array[string] | null` Filter results by credential type. 'employees' returns corporate email credentials, 'users' returns consumer credentials, and 'third_parties' returns credentials from related domains. Default: `null`. ## Search email compromises Action ID: `tools.hudsonrock.search_email_compromises` Search email compromises. Calls POST /json/v3/search-by-login/emails directly. Reference: [https://docs.hudsonrock.com/reference/search-by-login-emails](https://docs.hudsonrock.com/reference/search-by-login-emails) ### Secrets Required secrets: * `hudsonrock`: required values `HUDSONROCK_API_KEY`. ### Input fields **logins** `array[string]` *required* Array of email addresses to search for. **additional_fields** `array[string] | null` Optional additional data to include in results: 'search_data', 'installed_software', 'employee_session_cookies', 'password_strength', 'sensitive_applications', 'dir_tree'. Default: `null`. **base_url** `string | null` Base URL of the HudsonRock API. Default: `null`. **cursor** `string | null` Base64 encoded pagination cursor for retrieving the next set of results. Obtained from the 'nextCursor' field in the previous response. Default: `null`. **domains** `array[string] | null` List of domains to filter results by. Accepts root domains (example.com) and will match all subdomains. Maximum 50 domains per request. Default: `null`. **end_date** `string | null` ISO 8601 formatted timestamp (YYYY-MM-DDThh:mm:ssZ) to filter results up to this date/time. Default: `null`. **filter_credentials** `boolean | null` Controls credential filtering in results. When true, returns only credentials matching the search criteria. When false, returns all credentials from matching stealers. Default: `null`. **keywords** `array[string] | null` Filter results to URLs containing specified keywords. Useful for finding credentials for specific services. Case-insensitive matching. Maximum 10 keywords per request. Default: `null`. **keywords_match** `string | null` Determines how multiple keywords are matched. 'any' returns results matching at least one keyword (broader results), while 'all' requires all keywords to match (narrower, more specific results). Default: `null`. **sort_by** `string | null` Field to sort results by. 'date_compromised' sorts by when the infection occurred, while 'date_uploaded' sorts by when the data was integrated into our platform. Default: `null`. **sort_direction** `string | null` Direction to sort results. 'desc' returns newest records first (recommended for monitoring), while 'asc' returns oldest records first (useful for historical analysis). Default: `null`. **start_date** `string | null` ISO 8601 formatted timestamp (YYYY-MM-DDThh:mm:ssZ) to filter results from this date/time onward. Default: `null`. **types** `array[string] | null` Filter results by credential type. 'employees' returns corporate email credentials (@company.com), 'users' returns consumer credentials, and 'third_parties' returns credentials from related domains. Default: `null`. ## Search IP compromises Action ID: `tools.hudsonrock.search_ip_compromises` Search IP compromises. Calls POST /json/v3/search-by-ip directly. Reference: [https://docs.hudsonrock.com/docs/ipcidr-search](https://docs.hudsonrock.com/docs/ipcidr-search) ### Secrets Required secrets: * `hudsonrock`: required values `HUDSONROCK_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the HudsonRock API. Default: `null`. **cidr** `string | null` CIDR range. Valid CIDR 21-32. One of ips or cidr is required. Default: `null`. **cursor** `string | null` Base64 encoded pagination cursor for retrieving the next set of results. Obtained from the 'nextCursor' field in the previous response. Default: `null`. **end_date** `string | null` Filter results before this date. Default: `null`. **filter_credentials** `boolean | null` Return only matched credentials. Default: `null`. **ips** `array[string] | null` List of IP addresses. 1-50 IPs, IPv4/IPv6 format. One of ips or cidr is required. Default: `null`. **sort_by** `string | null` Sort results by 'date_compromised' or 'date_uploaded'. Default: `null`. **sort_direction** `string | null` Sort direction: 'asc' or 'desc'. Default: `null`. **start_date** `string | null` Filter results after this date. Default: `null`. ## Search PC compromises Action ID: `tools.hudsonrock.search_pc_compromises` Search PC compromises. Calls POST /json/v3/search-by-pc directly. Reference: [https://docs.hudsonrock.com/reference/searchbypc](https://docs.hudsonrock.com/reference/searchbypc) ### Secrets Required secrets: * `hudsonrock`: required values `HUDSONROCK_API_KEY`. ### Input fields **pcs** `array[string]` *required* Array of computer names to search for. **additional_fields** `array[string] | null` Optional additional data to include in results: 'search_data', 'installed_software', 'employee_session_cookies', 'password_strength', 'sensitive_applications', 'dir_tree'. Default: `null`. **base_url** `string | null` Base URL of the HudsonRock API. Default: `null`. **cursor** `string | null` Base64 encoded pagination cursor for retrieving the next set of results. Obtained from the 'nextCursor' field in the previous response. Provides more reliable pagination than offset-based approaches. Default: `null`. **domains** `array[string] | null` List of domains to filter results by. Accepts root domains (example.com) and will match all subdomains. Maximum 50 domains per request. Required for 'third_parties' type filtering. Default: `null`. **end_date** `string | null` ISO 8601 formatted timestamp (YYYY-MM-DDThh:mm:ssZ) to filter results up to this date/time. Applies to the field specified in 'sort_by'. Default: `null`. **filter_credentials** `boolean | null` Controls credential filtering in results. When true, returns only credentials matching the search criteria. When false, returns all credentials from matching stealers, which may include credentials for unrelated domains/services. Default: `null`. **keywords** `array[string] | null` Filter results to URLs containing specified keywords. Useful for finding credentials for specific services (e.g., \['vpn', 'admin', 'portal']). Case-insensitive matching. Maximum 10 keywords per request. Default: `null`. **keywords_match** `string | null` Determines how multiple keywords are matched. 'any' returns results matching at least one keyword (broader results), while 'all' requires all keywords to match (narrower, more specific results). Default: `null`. **sort_by** `string | null` Field to sort results by. 'date_compromised' sorts by when the infection occurred, while 'date_uploaded' sorts by when the data was integrated into our platform. Default: `null`. **sort_direction** `string | null` Direction to sort results. 'desc' returns newest records first (recommended for monitoring), while 'asc' returns oldest records first (useful for historical analysis). Default: `null`. **start_date** `string | null` ISO 8601 formatted timestamp (YYYY-MM-DDThh:mm:ssZ) to filter results from this date/time onward. Applies to the field specified in 'sort_by'. Default: `null`. **types** `array[string] | null` Filter results by credential type. 'employees' returns corporate email credentials (@company.com), 'users' returns consumer credentials, and 'third_parties' returns credentials from related domains (only available when 'domains' parameter is provided). Default: `null`. ## Search stealer compromises Action ID: `tools.hudsonrock.search_stealer_compromises` Search stealer compromises. Calls POST /json/v3/search-by-stealer directly. Reference: [https://docs.hudsonrock.com/reference/search-by-stealer](https://docs.hudsonrock.com/reference/search-by-stealer) ### Secrets Required secrets: * `hudsonrock`: required values `HUDSONROCK_API_KEY`. ### Input fields **stealers** `array[string]` *required* Array of stealer IDs to search for. **additional_fields** `array[string] | null` Optional additional data to include in results: 'search_data', 'installed_software', 'employee_session_cookies', 'password_strength', 'sensitive_applications', 'dir_tree'. Default: `null`. **base_url** `string | null` Base URL of the HudsonRock API. Default: `null`. **cursor** `string | null` Base64 encoded pagination cursor for retrieving the next set of results. Obtained from the 'nextCursor' field in the previous response. Default: `null`. **domains** `array[string] | null` List of domains to filter results by. Accepts root domains (example.com) and will match all subdomains. Maximum 50 domains per request. Default: `null`. **end_date** `string | null` ISO 8601 formatted timestamp to filter results up to this date/time. Applies to the field specified in 'sort_by'. Default: `null`. **filter_credentials** `boolean | null` Controls credential filtering in results. When true, returns only credentials matching the search criteria. When false, returns all credentials from matching stealers. Default: `null`. **keywords** `array[string] | null` Filter results to URLs containing specified keywords. Useful for finding credentials for specific services. Case-insensitive matching. Maximum 10 keywords per request. Default: `null`. **keywords_match** `string | null` 'any' returns results matching at least one keyword (broader results), while 'all' requires all keywords to match (narrower, more specific results). Default: `null`. **sort_by** `string | null` Field to sort results by. 'date_compromised' sorts by when the infection occurred, while 'date_uploaded' sorts by when the data was integrated into our platform. Default: `null`. **sort_direction** `string | null` Direction to sort results. 'desc' returns newest records first (recommended for monitoring), while 'asc' returns oldest records first. Default: `null`. **start_date** `string | null` ISO 8601 formatted timestamp to filter results from this date/time onward. Applies to the field specified in 'sort_by'. Default: `null`. **types** `array[string] | null` Filter results by credential type. 'employees' returns corporate email credentials, 'users' returns consumer credentials, and 'third_parties' returns credentials from related domains. Default: `null`. ## Search username compromises Action ID: `tools.hudsonrock.search_username_compromises` Search username compromises. Calls POST /json/v3/search-by-login/usernames directly. Reference: [https://docs.hudsonrock.com/reference/search-by-login-usernames](https://docs.hudsonrock.com/reference/search-by-login-usernames) ### Secrets Required secrets: * `hudsonrock`: required values `HUDSONROCK_API_KEY`. ### Input fields **logins** `array[string]` *required* Array of usernames to search for. **additional_fields** `array[string] | null` Optional additional data to include in results: 'search_data', 'installed_software', 'employee_session_cookies', 'password_strength', 'sensitive_applications', 'dir_tree'. Default: `null`. **base_url** `string | null` Base URL of the HudsonRock API. Default: `null`. **cursor** `string | null` Base64 encoded pagination cursor for retrieving the next set of results. Obtained from the 'nextCursor' field in the previous response. Default: `null`. **domains** `array[string] | null` List of domains to filter results by. Accepts root domains (example.com) and will match all subdomains. Maximum 50 domains per request. Default: `null`. **end_date** `string | null` ISO 8601 formatted timestamp to filter results up to this date/time. Default: `null`. **filter_credentials** `boolean | null` Controls credential filtering in results. When true, returns only credentials matching the search criteria. When false, returns all credentials from matching stealers. Default: `null`. **keywords** `array[string] | null` Filter results to URLs containing specified keywords. Useful for finding credentials for specific services (e.g., \['vpn', 'admin', 'portal']). Maximum 10 keywords. Default: `null`. **keywords_match** `string | null` Determines how multiple keywords are matched. 'any' returns results matching at least one keyword, while 'all' requires all keywords to match. Default: `null`. **sort_by** `string | null` Field to sort results by. 'date_compromised' sorts by when the infection occurred, while 'date_uploaded' sorts by when the data was integrated into our platform. Default: `null`. **sort_direction** `string | null` Direction to sort results. 'desc' returns newest records first (recommended for monitoring), while 'asc' returns oldest records first. Default: `null`. **start_date** `string | null` ISO 8601 formatted timestamp to filter results from this date/time onward. Default: `null`. **types** `array[string] | null` Filter results by credential type. 'employees' returns corporate email credentials (@company.com), 'users' returns consumer credentials, and 'third_parties' returns credentials from related domains. Default: `null`. # Hunter.io Source: https://docs.tracecat.com/tools/hunter Reference for the Tracecat Hunter.io integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Combined enrichment Action ID: `tools.hunter.combined_enrichment` Combined enrichment. Calls GET /v2/combined/find directly. Reference: [https://hunter.io/api-documentation#combined-enrichment](https://hunter.io/api-documentation#combined-enrichment) ### Secrets Required secrets: * `hunter`: required values `HUNTER_API_KEY`. ### Input fields **email** `string` *required* The email address name for which you to find associated information. **base_url** `string | null` Base URL of the Hunter API. Default: `null`. **clearbit_format** `string | null` As more customers switch to Clearbit, we've updated the Enrichment API to support the same Clearbit schema. Any value you provide will now be formatted to match Clearbit's schema for consistency. Default: `null`. ## Company enrichment Action ID: `tools.hunter.company_enrichment` Company enrichment. Calls GET /v2/companies/find directly. Reference: [https://hunter.io/api-documentation#company-enrichment](https://hunter.io/api-documentation#company-enrichment) ### Secrets Required secrets: * `hunter`: required values `HUNTER_API_KEY`. ### Input fields **domain** `string` *required* The domain name for which you to find associated information. **base_url** `string | null` Base URL of the Hunter API. Default: `null`. **clearbit_format** `string | null` As more customers switch to Clearbit, we've updated the Enrichment API to support the same Clearbit schema. Any value you provide will now be formatted to match Clearbit's schema for consistency. Default: `null`. ## Domain search Action ID: `tools.hunter.domain_search` Search a domain. Calls GET /v2/domain-search directly. Reference: [https://hunter.io/api-documentation#domain-search](https://hunter.io/api-documentation#domain-search) ### Secrets Required secrets: * `hunter`: required values `HUNTER_API_KEY`. ### Input fields **aggregations** `boolean | null` Set to `true` or `false` to include a breakdown of the domain's email addresses in `meta.aggregations`: the number of personal email addresses per department, the number of decision makers, and the split between personal and generic addresses. The counts reflect the filters applied to the search. Omitted by default. Default: `null`. **base_url** `string | null` Base URL of the Hunter API. Default: `null`. **company** `string | null` The company name from which you want to find the email addresses. For example, "stripe". Note that you'll get better results by supplying the domain name as we won't have to find it. If you send a request with both the domain and the company name, we'll use the domain name. It doesn't need to be in lowercase. Required unless domain is provided. Default: `null`. **decision_maker** `boolean | null` Set to `true` or `false` to get only the email addresses of the company's decision makers (or, with `false`, only the non-decision-makers). Decision makers are the people most likely to hold buying authority, inferred from their seniority and department. Default: `null`. **department** `string | null` Get only email addresses for people working in the selected department(s). The possible values are `executive`, `it`, `finance`, `management`, `sales`, `legal`, `support`, `hr`, `marketing`, `communication`, `education`, `design`, `health`, `operations`, `product`, `research`, `consulting`, `administrative` or `procurement`. Several departments can be selected (comma-delimited). Default: `null`. **domain** `string | null` Domain name from which you want to find the email addresses. For example, "stripe.com". Required unless company is provided. Default: `null`. **job_titles** `string | null` Get only email addresses for people that have the selected job title(s). Several job titles can be selected (comma-delimited). Default: `null`. **limit** `integer | null` Specifies the max number of email addresses to return. The default is 10. Default: `null`. **offset** `integer | null` Specifies the number of email addresses to skip. The default is 0. Default: `null`. **required_field** `string | null` Get only email addresses for people that have the selected field(s). The possible values are `full_name`, `position` and `phone_number`. Several fields can be selected (comma-delimited). Default: `null`. **seniority** `string | null` Get only email addresses for people with the selected seniority level. The possible values are `junior`, `senior` or `executive`. Several seniority levels can be selected (delimited by a comma). Default: `null`. **type** `string | null` Get only `personal` or `generic` email addresses. Default: `null`. **verification_status** `string | null` Get only email addresses that have the selected verification status(es). The possible values are `valid`, `accept_all` and `unknown`. Several statuses can be selected (comma-delimited). Default: `null`. ## Email count Action ID: `tools.hunter.email_count` Count email addresses. Calls GET /v2/email-count directly. Reference: [https://hunter.io/api-documentation#email-count](https://hunter.io/api-documentation#email-count) ### Secrets Required secrets: * `hunter`: required values `HUNTER_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the Hunter API. Default: `null`. **company** `string | null` The company name for which you want to know how many email addresses we have. For example, "stripe". Note that you'll get better results by supplying the domain name as we won't have to find it. If you send a request with both the domain and the company name, we'll use the domain name. It doesn't need to be in lowercase. It must be composed of at least 3 characters. Required unless domain is provided. Default: `null`. **domain** `string | null` The domain name for which you want to know how many email addresses we have. Required unless company is provided. Default: `null`. **type** `string | null` Get the count of only `personal` or `generic` email addresses. Default: `null`. ## Email finder Action ID: `tools.hunter.email_finder` Find an email address. Calls GET /v2/email-finder directly. Reference: [https://hunter.io/api-documentation#email-finder](https://hunter.io/api-documentation#email-finder) ### Secrets Required secrets: * `hunter`: required values `HUNTER_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the Hunter API. Default: `null`. **company** `string | null` The company name from which you want to find the email addresses. For example, "stripe". Note that providing the domain name gives better results as it removes the conversion from the company name. If you send a request with both the domain and the company name, the domain name will be used. The company name doesn't need to be in lowercase. Required unless domain or linkedin_handle is provided. Default: `null`. **domain** `string | null` The domain name of the company. Required unless company or linkedin_handle is provided. Default: `null`. **first_name** `string | null` The person's first name. It doesn't need to be in lowercase. Required unless full_name or linkedin_handle is provided. Default: `null`. **full_name** `string | null` The person's full name. Note that you'll get better results by supplying the person's first and last name if you can. It doesn't need to be in lowercase. Required unless first_name and last_name, or linkedin_handle is provided. Default: `null`. **last_name** `string | null` The person's last name. It doesn't need to be in lowercase. Required unless full_name or linkedin_handle is provided. Default: `null`. **linkedin_handle** `string | null` The handle of the LinkedIn profile for which you to find the email address. Required unless domain or company is provided. Default: `null`. **max_duration** `integer | null` The maximum duration of the request in seconds. Setting a longer duration allows us to refine the results and provide more accurate data. It must range between 3 and 20. The default is 10. Default: `null`. ## Email verifier Action ID: `tools.hunter.email_verifier` Verify an email address. Calls GET /v2/email-verifier directly. Reference: [https://hunter.io/api-documentation#email-verifier](https://hunter.io/api-documentation#email-verifier) ### Secrets Required secrets: * `hunter`: required values `HUNTER_API_KEY`. ### Input fields **email** `string` *required* The email address you want to verify. **base_url** `string | null` Base URL of the Hunter API. Default: `null`. ## Find person Action ID: `tools.hunter.find_person` Find a person. Calls GET /v2/people/find directly. Reference: [https://hunter.io/api-documentation#email-enrichment](https://hunter.io/api-documentation#email-enrichment) ### Secrets Required secrets: * `hunter`: required values `HUNTER_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the Hunter API. Default: `null`. **clearbit_format** `string | null` As more customers switch to Clearbit, we've updated the Enrichment API to support the same Clearbit schema. Any value you provide will now be formatted to match Clearbit's schema for consistency. Default: `null`. **email** `string | null` The email address name for which you to find associated information. Required unless linkedin_handle is provided. Default: `null`. **linkedin_handle** `string | null` The handle of the LinkedIn profile for which you to find associated information. Required unless email is provided. Default: `null`. # Hybrid Analysis Source: https://docs.tracecat.com/tools/hybrid_analysis Reference for the Tracecat Hybrid Analysis integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Get sandbox report Action ID: `tools.hybrid_analysis.get_sandbox_report` Get sandbox report summary from Hybrid Analysis. Reference: [https://hybrid-analysis.com/docs/api/v2#/Sandbox%20Report/b7bf5dba3bdd7e12a97034ad679b7358](https://hybrid-analysis.com/docs/api/v2#/Sandbox%20Report/b7bf5dba3bdd7e12a97034ad679b7358) ### Secrets Required secrets: * `hybrid_analysis`: required values `HYBRID_ANALYSIS_API_KEY`. ### Input fields **job_id** `string` *required* Job ID to get the report for. ## Lookup file Action ID: `tools.hybrid_analysis.lookup_file` Lookup a file with Hybrid Analysis. Reference: [https://hybrid-analysis.com/docs/api/v2#/Analysis%20Overview/052627a17af8cc6ae5240f4684040902](https://hybrid-analysis.com/docs/api/v2#/Analysis%20Overview/052627a17af8cc6ae5240f4684040902) ### Secrets Required secrets: * `hybrid_analysis`: required values `HYBRID_ANALYSIS_API_KEY`. ### Input fields **sha256** `string` *required* SHA256 hash of the file to lookup. ## Submit file Action ID: `tools.hybrid_analysis.submit_file` Submit a file to Hybrid Analysis sandbox for analysis. Reference: [https://hybrid-analysis.com/docs/api/v2#/Sandbox%20Submission/e306d626e3fbbe3f10982ff88251b2b7](https://hybrid-analysis.com/docs/api/v2#/Sandbox%20Submission/e306d626e3fbbe3f10982ff88251b2b7) ### Secrets Required secrets: * `hybrid_analysis`: required values `HYBRID_ANALYSIS_API_KEY`. ### Input fields **file** `string` *required* File to submit for analysis. **environment_id** `integer` 400 (Mac Catalina 64 bit x86); 310 (Linux (Ubuntu 20.04, 64 bit)); 200 (Android Static Analysis); 160 (Windows 10 64 bit); 140 (Windows 11 64 bit); 120 (Windows 7 64 bit); 110 (Windows 7 32 bit HWP Support); 100 (Windows 7 32 bit); Default: `310`. ## Submit URL Action ID: `tools.hybrid_analysis.submit_url` Submit a URL for analysis with Hybrid Analysis. Reference: [https://hybrid-analysis.com/docs/api/v2#/Sandbox%20Submission/22e1723d4cec5c9b20d50715e4e5de8f](https://hybrid-analysis.com/docs/api/v2#/Sandbox%20Submission/22e1723d4cec5c9b20d50715e4e5de8f) ### Secrets Required secrets: * `hybrid_analysis`: required values `HYBRID_ANALYSIS_API_KEY`. ### Input fields **url** `string` *required* URL to submit for analysis. **environment_id** `integer` 400 (Mac Catalina 64 bit x86); 310 (Linux (Ubuntu 20.04, 64 bit)); 200 (Android Static Analysis); 160 (Windows 10 64 bit); 140 (Windows 11 64 bit); 120 (Windows 7 64 bit); 110 (Windows 7 32 bit HWP Support); 100 (Windows 7 32 bit); Default: `160`. # incident.io Source: https://docs.tracecat.com/tools/incident_io Reference for the Tracecat incident.io integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Add alert tags Action ID: `tools.incident_io.add_alert_tags` Add tags to an alert without changing its existing tags. Calls POST /v2/alerts/\{id}/actions/add_tags directly. Requires API key scope: alerts.edit. Reference: [https://docs.incident.io/api-reference/alerts-v2/add-tags](https://docs.incident.io/api-reference/alerts-v2/add-tags) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **id** `string` *required* Unique identifier for the alert **tags** `array[string]` *required* Tag names to add to this alert **base_url** `string | null` incident.io API base URL. Default: `null`. ## Connect follow-up external issue Action ID: `tools.incident_io.connect_follow_up_external_issue` Connect a follow-up to an existing issue in an issue tracker, using the URL of the issue. Calls POST /v3/follow_ups/\{id}/actions/connect_external_issue directly. Requires API key scope: follow_ups.connect_external_issue. Reference: [https://docs.incident.io/api-reference/follow-ups-v3/connect-external-issue](https://docs.incident.io/api-reference/follow-ups-v3/connect-external-issue) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **id** `string` *required* Unique identifier for the follow-up **provider** `string` *required* The issue tracker provider the issue belongs to. Allowed values: `asana`, `azure_devops`, `click_up`, `freshservice`, `linear`, `jira`, `salesforce`, `jira_server`, `github`, `gitlab`, `service_now`, `shortcut`, `notion`. **url** `string` *required* URL of the issue in the external provider **base_url** `string | null` incident.io API base URL. Default: `null`. ## Connect incident external issue Action ID: `tools.incident_io.connect_incident_external_issue` Connect an existing issue in an issue tracker to an incident, as its external issue. Calls POST /v2/incidents/\{id}/actions/connect_external_issue directly. Reference: [https://docs.incident.io/api-reference/incidents-v2/connect-external-issue](https://docs.incident.io/api-reference/incidents-v2/connect-external-issue) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **id** `string` *required* The unique identifier of the incident **issue_template_id** `string` *required* ID of the incident ticket template to sync the issue with **provider** `string` *required* The issue tracker provider the issue belongs to. It must match the provider of the incident ticket template. Allowed values: `asana`, `azure_devops`, `click_up`, `freshservice`, `linear`, `jira`, `salesforce`, `jira_server`, `github`, `gitlab`, `service_now`, `shortcut`, `notion`. **url** `string` *required* URL of the issue in the issue tracker **base_url** `string | null` incident.io API base URL. Default: `null`. **replace** `boolean | null` Whether to replace the incident's current external issue, if it has a different one Default: `null`. ## Create action Action ID: `tools.incident_io.create_action` Create a new incident action. Calls POST /v3/actions directly. Requires API key scope: actions.create. Reference: [https://docs.incident.io/api-reference/actions-v3/create](https://docs.incident.io/api-reference/actions-v3/create) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **description** `string` *required* Description of the action. Supports Markdown. **incident_id** `string` *required* Unique identifier of the incident the action belongs to **assignee_id** `string | null` ID of the user this action is assigned to Default: `null`. **base_url** `string | null` incident.io API base URL. Default: `null`. ## Create escalation Action ID: `tools.incident_io.create_escalation` Create an escalation. Calls POST /v2/escalations directly. Requires API key scope: escalations.create. Reference: [https://docs.incident.io/api-reference/escalations-v2/create](https://docs.incident.io/api-reference/escalations-v2/create) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **idempotency_key** `string` *required* Unique key to prevent duplicate escalations. If this key has already been used, the existing escalation will be returned. **title** `string` *required* The title of the escalation. This message will be included in all notifications about this escalation. **base_url** `string | null` incident.io API base URL. Default: `null`. **description** `string | null` Additional details about the escalation Default: `null`. **escalation_path_id** `string | null` ID of the escalation path to follow Default: `null`. **incident_id** `string | null` ID of an incident to associate with this escalation. The linked incident will appear in the escalation's related_incidents field. Default: `null`. **user_ids** `array[string] | null` IDs of users to escalate directly to Default: `null`. ## Create follow-up Action ID: `tools.incident_io.create_follow_up` Create a new incident follow-up. Calls POST /v3/follow_ups directly. Requires API key scope: follow_ups.create. Reference: [https://docs.incident.io/api-reference/follow-ups-v3/create](https://docs.incident.io/api-reference/follow-ups-v3/create) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **incident_id** `string` *required* Unique identifier of the incident the follow-up belongs to **title** `string` *required* Title of the follow-up **assignee_id** `string | null` ID of the user this follow-up is assigned to Default: `null`. **assignee_team_id** `string | null` ID of the team this follow-up is assigned to Default: `null`. **base_url** `string | null` incident.io API base URL. Default: `null`. **description** `string | null` Description of the follow-up. Supports Markdown. Default: `null`. **external_issue_reference_id** `string | null` If this follow-up is related to an external issue, the ID of that issue Default: `null`. **follow_up_category_id** `string | null` ID of the category for this follow-up Default: `null`. **follow_up_priority_option_id** `string | null` ID of the priority for this follow-up Default: `null`. **labels** `array[string] | null` Labels associated with this follow-up Default: `null`. ## Create HTTP alert event Action ID: `tools.incident_io.create_http_alert_event` Create an alert event using an HTTP source. Calls POST /v2/alert_events/http/\{alert_source_config_id} directly. Authenticates with the HTTP alert source secret, not an API key. Reference: [https://docs.incident.io/api-reference/alert-events-v2/create](https://docs.incident.io/api-reference/alert-events-v2/create) ### Secrets Required secrets: * `incident_io_alert_source`: required values `INCIDENT_IO_ALERT_SOURCE_TOKEN`. ### Input fields **alert_source_config_id** `string` *required* Which alert source config produced this alert **status** `string` *required* Current status of this alert. Allowed values: `firing`, `resolved`. **title** `string` *required* The title of the alert, parsed from the alert payload according to the alert source configuration **base_url** `string | null` incident.io API base URL. Default: `null`. **deduplication_key** `string | null` A deduplication key which uniquely references this alert from your alert source. For newly created HTTP sources, this field is required. If you send an event with the same deduplication_key multiple times, only one alert will be created in incident.io for this alert source config. You can filter on this field to find the alert created by an event you've sent us. Default: `null`. **description** `string | null` Description that optionally adds more detail to title. Supports markdown. Default: `null`. **metadata** `object | null` Any additional metadata that you've configured your alert source to parse Default: `null`. **source_url** `string | null` If applicable, a link to the alert in the upstream system Default: `null`. ## Create incident Action ID: `tools.incident_io.create_incident` Create a new incident. Calls POST /v2/incidents directly. Requires API key scope: incidents.create. Reference: [https://docs.incident.io/api-reference/incidents-v2/create](https://docs.incident.io/api-reference/incidents-v2/create) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **idempotency_key** `string` *required* Unique string used to de-duplicate incident create requests **visibility** `string` *required* Whether the incident should be open to anyone in your Slack workspace (public), or invite-only (private). For more information on Private Incidents see our [docs](https://docs.incident.io/incidents/sensitive-incidents). Allowed values: `public`, `private`. **base_url** `string | null` incident.io API base URL. Default: `null`. **custom_field_entries** `array[object] | null` Set the incident's custom fields to these values Default: `null`. **incident_role_assignments** `array[object] | null` Assign incident roles to these people Default: `null`. **incident_status_id** `string | null` Incident status to assign to the incident Default: `null`. **incident_timestamp_values** `array[object] | null` Assign the incident's timestamps to these values Default: `null`. **incident_type_id** `string | null` Incident type to create this incident as Default: `null`. **mode** `string | null` Whether the incident is real, a test, a tutorial, or importing as a retrospective incident. Allowed values: `standard`, `retrospective`, `test`, `tutorial`. Default: `null`. **name** `string | null` Explanation of the incident Default: `null`. **retrospective_incident_options** `object | null` `retrospective_incident_options` object. Fields: external_id, postmortem_document_url, slack_channel_id. Default: `null`. **severity_id** `string | null` Severity to create incident as Default: `null`. **slack_channel_name_override** `string | null` Name of the Slack channel to create for this incident Default: `null`. **slack_team_id** `string | null` Slack Team to create the incident in Default: `null`. **summary** `string | null` Detailed description of the incident Default: `null`. ## Create incident alert Action ID: `tools.incident_io.create_incident_alert` Attach an alert to an incident, creating the connection between them. Calls POST /v2/incident_alerts directly. Requires API key scope: alerts.attach_to_incident. Reference: [https://docs.incident.io/api-reference/incident-alerts-v2/create](https://docs.incident.io/api-reference/incident-alerts-v2/create) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **alert_id** `string` *required* Alert to attach to the incident **incident_id** `string` *required* Incident to attach the alert to **base_url** `string | null` incident.io API base URL. Default: `null`. **re_relate** `boolean | null` Relate the alert again even though someone previously marked it unrelated to this incident. Defaults to false, which preserves that decision and returns a 422 Default: `null`. ## Create incident update Action ID: `tools.incident_io.create_incident_update` Share an update against an incident. Calls POST /v2/incident_updates directly. Requires API key scope: incident_updates.create. Reference: [https://docs.incident.io/api-reference/incident-updates-v2/create](https://docs.incident.io/api-reference/incident-updates-v2/create) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **idempotency_key** `string` *required* Unique string used to de-duplicate incident update requests. Retrying with the same key returns the update the first request created, rather than sharing a second one. **incident_id** `string` *required* The incident you want to update **base_url** `string | null` incident.io API base URL. Default: `null`. **message** `string | null` Message that explains the context behind the update, in markdown Default: `null`. **to_incident_status_id** `string | null` Move the incident to this status Default: `null`. **to_severity_id** `string | null` Move the incident to this severity Default: `null`. ## Create schedule override Action ID: `tools.incident_io.create_schedule_override` Create a new schedule override. Calls POST /v2/schedule_overrides directly. Requires API key scope: schedule_overrides.create. Reference: [https://docs.incident.io/api-reference/schedule-overrides-v2/create](https://docs.incident.io/api-reference/schedule-overrides-v2/create) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **end_at** `string` *required* End time of the override **layer_id** `string` *required* The layer this override applies to **rotation_id** `string` *required* The rotation this override applies to **schedule_id** `string` *required* The schedule this override applies to **start_at** `string` *required* Start time of the override **user** `object` *required* `user` object. Fields: email, id, slack_user_id. **base_url** `string | null` incident.io API base URL. Default: `null`. ## Delete action Action ID: `tools.incident_io.delete_action` Delete an incident action. Calls DELETE /v3/actions/\{id} directly. Requires API key scope: actions.destroy. Reference: [https://docs.incident.io/api-reference/actions-v3/delete](https://docs.incident.io/api-reference/actions-v3/delete) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **id** `string` *required* Unique identifier for the action **base_url** `string | null` incident.io API base URL. Default: `null`. ## Delete schedule override Action ID: `tools.incident_io.delete_schedule_override` Delete a schedule override, restoring whoever the rotations put on-call for that window. Calls DELETE /v2/schedule_overrides/\{id} directly. Requires API key scope: schedule_overrides.destroy. Reference: [https://docs.incident.io/api-reference/schedule-overrides-v2/delete](https://docs.incident.io/api-reference/schedule-overrides-v2/delete) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **id** `string` *required* The override ID to delete **base_url** `string | null` incident.io API base URL. Default: `null`. ## Edit incident Action ID: `tools.incident_io.edit_incident` Edit an existing incident. Calls POST /v2/incidents/\{id}/actions/edit directly. Reference: [https://docs.incident.io/api-reference/incidents-v2/edit](https://docs.incident.io/api-reference/incidents-v2/edit) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **id** `string` *required* The unique identifier of the incident that you want to edit **incident** `object` *required* `incident` object. Fields: call_url, custom_field_entries, incident_role_assignments, incident_status_id, incident_timestamp_values, name, severity_id, slack_channel_name_override, summary. **notify_incident_channel** `boolean` *required* Should we send Slack channel notifications to inform responders of this update? Note that this won't work if the Slack channel has already been archived. **base_url** `string | null` incident.io API base URL. Default: `null`. ## Get alert Action ID: `tools.incident_io.get_alert` Show a single alert for your account. Calls GET /v2/alerts/\{id} directly. Requires API key scope: alerts.view. Reference: [https://docs.incident.io/api-reference/alerts-v2/show](https://docs.incident.io/api-reference/alerts-v2/show) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **id** `string` *required* Unique identifier for the alert **base_url** `string | null` incident.io API base URL. Default: `null`. ## Get catalog entry Action ID: `tools.incident_io.get_catalog_entry` Show a single catalog entry. Calls GET /v3/catalog_entries/\{id} directly. Requires API key scope: catalog_entries.view. Reference: [https://docs.incident.io/api-reference/catalog-entries-v3/show-entry](https://docs.incident.io/api-reference/catalog-entries-v3/show-entry) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **id** `string` *required* ID of this catalog entry **base_url** `string | null` incident.io API base URL. Default: `null`. **expand** `boolean | null` Whether to include details of all attribute links (forwards and backwards) within the response. Default behaviour (no query param) is to include only forward links. When expand is false, we only show attributes of the catalog entry itself.When expand is true, we show forward and backward links Default: `null`. ## Get escalation Action ID: `tools.incident_io.get_escalation` Show a specific escalation. Calls GET /v2/escalations/\{id} directly. Requires API key scope: escalations.view. Reference: [https://docs.incident.io/api-reference/escalations-v2/show](https://docs.incident.io/api-reference/escalations-v2/show) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **id** `string` *required* Unique ID of the escalation **base_url** `string | null` incident.io API base URL. Default: `null`. ## Get escalation path Action ID: `tools.incident_io.get_escalation_path` Show an escalation path. Calls GET /v2/escalation_paths/\{id} directly. Requires API key scope: escalation_paths.view. Reference: [https://docs.incident.io/api-reference/escalation-paths-v2/show](https://docs.incident.io/api-reference/escalation-paths-v2/show) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **id** `string` *required* Unique identifier for this escalation path. **base_url** `string | null` incident.io API base URL. Default: `null`. ## Get incident Action ID: `tools.incident_io.get_incident` Get a single incident. Calls GET /v2/incidents/\{id} directly. Requires API key scope: incidents.view. Reference: [https://docs.incident.io/api-reference/incidents-v2/show](https://docs.incident.io/api-reference/incidents-v2/show) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **id** `string` *required* Unique identifier for the incident **base_url** `string | null` incident.io API base URL. Default: `null`. ## Get schedule Action ID: `tools.incident_io.get_schedule` Get a single schedule. Calls GET /v2/schedules/\{id} directly. Requires API key scope: schedules.view. Reference: [https://docs.incident.io/api-reference/schedules-v2/show](https://docs.incident.io/api-reference/schedules-v2/show) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **id** `string` *required* Unique internal ID of the schedule **base_url** `string | null` incident.io API base URL. Default: `null`. ## List actions Action ID: `tools.incident_io.list_actions` List actions for an organisation. Calls GET /v3/actions directly. Requires API key scope: actions.view. Reference: [https://docs.incident.io/api-reference/actions-v3/list](https://docs.incident.io/api-reference/actions-v3/list) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **after** `string | null` An action's ID. This endpoint will return a list of actions after this ID in relation to the API response order. Default: `null`. **base_url** `string | null` incident.io API base URL. Default: `null`. **created_at_date_range** `string | null` Filter on action created at timestamp. Accepted operators are 'gte', 'lte' and 'date_range'. Value for the `date_range` operator. Two dates joined by `~`, for example `2024-12-02~2024-12-08`. Default: `null`. **created_at_gte** `string | null` Filter on action created at timestamp. Accepted operators are 'gte', 'lte' and 'date_range'. Value for the `gte` operator. Default: `null`. **created_at_lte** `string | null` Filter on action created at timestamp. Accepted operators are 'gte', 'lte' and 'date_range'. Value for the `lte` operator. Default: `null`. **incident_id** `string | null` Find actions related to this incident Default: `null`. **incident_mode** `string | null` Filter to actions from incidents of the given mode. If not set, only actions from `standard` and `retrospective` incidents are returned. Allowed values: `standard`, `retrospective`, `test`, `tutorial`, `stream`. Default: `null`. **page_size** `integer | null` Integer number of records to return. Maximum 250. Default: `null`. **updated_at_date_range** `string | null` Filter on action updated at timestamp. Accepted operators are 'gte', 'lte' and 'date_range'. Value for the `date_range` operator. Two dates joined by `~`, for example `2024-12-02~2024-12-08`. Default: `null`. **updated_at_gte** `string | null` Filter on action updated at timestamp. Accepted operators are 'gte', 'lte' and 'date_range'. Value for the `gte` operator. Default: `null`. **updated_at_lte** `string | null` Filter on action updated at timestamp. Accepted operators are 'gte', 'lte' and 'date_range'. Value for the `lte` operator. Default: `null`. ## List alert sources Action ID: `tools.incident_io.list_alert_sources` List all alert sources in your account. Calls GET /v2/alert_sources directly. Requires API key scope: alert_sources.view. Reference: [https://docs.incident.io/api-reference/alert-sources-v2/list](https://docs.incident.io/api-reference/alert-sources-v2/list) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **base_url** `string | null` incident.io API base URL. Default: `null`. ## List alert tags Action ID: `tools.incident_io.list_alert_tags` List the alert tags in your organisation's vocabulary. Calls GET /v2/alert_tags directly. Requires API key scope: alerts.view. Reference: [https://docs.incident.io/api-reference/alert-tags-v2/list](https://docs.incident.io/api-reference/alert-tags-v2/list) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **after** `string | null` A tag's ID. This endpoint will return a list of tags after this ID in relation to the API response order. Default: `null`. **base_url** `string | null` incident.io API base URL. Default: `null`. **page_size** `integer | null` Integer number of records to return. Maximum 250. Default: `null`. **search** `string | null` Filter to tags whose name contains this value (case-insensitive) Default: `null`. ## List alerts Action ID: `tools.incident_io.list_alerts` List all alerts for your account. \`\`\`bash. Calls GET /v2/alerts directly. Requires API key scope: alerts.view. Reference: [https://docs.incident.io/api-reference/alerts-v2/list](https://docs.incident.io/api-reference/alerts-v2/list) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **after** `string | null` If provided, pass this as the 'after' param to load the next page Default: `null`. **alert_group_id_one_of** `array[string] | null` Filter on alert group ID. Returns alerts that belong to any of the specified groups. The accepted operator is 'one_of'. Value for the `one_of` operator. Default: `null`. **alert_source_not_in** `array[string] | null` Filter on alert source by ID. The accepted operators are 'one_of', or 'not_in'. Value for the `not_in` operator. Default: `null`. **alert_source_one_of** `array[string] | null` Filter on alert source by ID. The accepted operators are 'one_of', or 'not_in'. Value for the `one_of` operator. Default: `null`. **attributes** `object | null` Filter on an alerts attributes. Alert attribute ID should be sent, followed by the operator and values. Accepted operator will depend on the attribute type. Sent as deepObject query parameters, for example `{"01GBSQF3FHF7FWZQNWGHAVQ804": {"one_of": ["01GBSQF3FHF7FWZQNWGHAVQ804", "01ET65M7ZARSFZ6TFDFVQDN9AA"]}}`. Default: `null`. **base_url** `string | null` incident.io API base URL. Default: `null`. **created_at_date_range** `string | null` Filter on alert created at timestamp. Accepted operators are 'gte', 'lte' and 'date_range'. Value for the `date_range` operator. Two dates joined by `~`, for example `2024-12-02~2024-12-08`. Default: `null`. **created_at_gte** `string | null` Filter on alert created at timestamp. Accepted operators are 'gte', 'lte' and 'date_range'. Value for the `gte` operator. Default: `null`. **created_at_lte** `string | null` Filter on alert created at timestamp. Accepted operators are 'gte', 'lte' and 'date_range'. Value for the `lte` operator. Default: `null`. **deduplication_key_is** `string | null` Filter on alert deduplication key. The accepted operator is 'is'. Value for the `is` operator. Default: `null`. **has_notes_is** `string | null` Filter on whether an alert has notes. The accepted operator is 'is'. Value for the `is` operator. Default: `null`. **include_maintenance_window_is** `string | null` Filter on whether to include maintenance window alerts. The accepted operator is 'is'. Value for the `is` operator. Default: `null`. **page_size** `integer | null` Number of alerts to return per page. Maximum 50. Default: `null`. **status_not_in** `array[string] | null` Filter on alert status. The accepted operators are 'one_of', or 'not_in'. Value for the `not_in` operator. Default: `null`. **status_one_of** `array[string] | null` Filter on alert status. The accepted operators are 'one_of', or 'not_in'. Value for the `one_of` operator. Default: `null`. **tags_all_of** `array[string] | null` Filter on the tags applied to an alert, by tag name. The accepted operators are 'one_of', 'all_of' and 'not_in'. Value for the `all_of` operator. Default: `null`. **tags_not_in** `array[string] | null` Filter on the tags applied to an alert, by tag name. The accepted operators are 'one_of', 'all_of' and 'not_in'. Value for the `not_in` operator. Default: `null`. **tags_one_of** `array[string] | null` Filter on the tags applied to an alert, by tag name. The accepted operators are 'one_of', 'all_of' and 'not_in'. Value for the `one_of` operator. Default: `null`. **updated_at_date_range** `string | null` Filter on alert updated at timestamp. Accepted operators are 'gte', 'lte' and 'date_range'. Value for the `date_range` operator. Two dates joined by `~`, for example `2024-12-02~2024-12-08`. Default: `null`. **updated_at_gte** `string | null` Filter on alert updated at timestamp. Accepted operators are 'gte', 'lte' and 'date_range'. Value for the `gte` operator. Default: `null`. **updated_at_lte** `string | null` Filter on alert updated at timestamp. Accepted operators are 'gte', 'lte' and 'date_range'. Value for the `lte` operator. Default: `null`. ## List catalog entries Action ID: `tools.incident_io.list_catalog_entries` List entries for a catalog type. Calls GET /v3/catalog_entries directly. Requires API key scope: catalog_entries.view. Reference: [https://docs.incident.io/api-reference/catalog-entries-v3/list-entries](https://docs.incident.io/api-reference/catalog-entries-v3/list-entries) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **after** `string | null` An record's ID. This endpoint will return a list of records after this ID in relation to the API response order. Default: `null`. **base_url** `string | null` incident.io API base URL. Default: `null`. **catalog_type_id** `string | null` ID of this catalog type Default: `null`. **identifier** `string | null` If specified, only entries with this identifier will be returned. This will search by ID, external ID, and aliases. If 'use name as identifier' is enabled for the catalog type, this will also match on name. Default: `null`. **page_size** `integer | null` The integer number of records to return. Maximum 250. Default: `null`. ## List catalog types Action ID: `tools.incident_io.list_catalog_types` List all catalog types for an organisation, including those synced from external resources. Calls GET /v3/catalog_types directly. Requires API key scope: catalog_types.view. Reference: [https://docs.incident.io/api-reference/catalog-types-v3/list-types](https://docs.incident.io/api-reference/catalog-types-v3/list-types) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **base_url** `string | null` incident.io API base URL. Default: `null`. ## List custom field options Action ID: `tools.incident_io.list_custom_field_options` Show custom field options for a custom field. Calls GET /v1/custom_field_options directly. Requires API key scope: custom_fields.view. Reference: [https://docs.incident.io/api-reference/custom-field-options-v1/list](https://docs.incident.io/api-reference/custom-field-options-v1/list) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **after** `string | null` A custom field option's ID. This endpoint will return a list of custom field options created after this option. Default: `null`. **base_url** `string | null` incident.io API base URL. Default: `null`. **custom_field_id** `string | null` The custom field to list options for. Default: `null`. **page_size** `integer | null` Integer number of records to return. Maximum 250. Default: `null`. ## List custom fields Action ID: `tools.incident_io.list_custom_fields` List all custom fields for an organisation. Calls GET /v2/custom_fields directly. Requires API key scope: custom_fields.view. Reference: [https://docs.incident.io/api-reference/custom-fields-v2/list](https://docs.incident.io/api-reference/custom-fields-v2/list) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **base_url** `string | null` incident.io API base URL. Default: `null`. ## List escalation paths Action ID: `tools.incident_io.list_escalation_paths` List all escalation paths in your account. Calls GET /v2/escalation_paths directly. Requires API key scope: escalation_paths.view. Reference: [https://docs.incident.io/api-reference/escalation-paths-v2/list](https://docs.incident.io/api-reference/escalation-paths-v2/list) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **after** `string | null` An record's ID. This endpoint will return a list of records after this ID in relation to the API response order. Default: `null`. **base_url** `string | null` incident.io API base URL. Default: `null`. **page_size** `integer | null` Integer number of records to return. Maximum 25. Default: `null`. ## List escalations Action ID: `tools.incident_io.list_escalations` List all escalations for your account. Calls GET /v2/escalations directly. Requires API key scope: escalations.view. Reference: [https://docs.incident.io/api-reference/escalations-v2/list](https://docs.incident.io/api-reference/escalations-v2/list) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **after** `string | null` An escalation's ID. This endpoint will return a list of escalations after this ID in relation to the API response order. Default: `null`. **alert_not_in** `array[string] | null` Filter on the alert that created an escalation. Accepted operators are 'one_of' and 'not_in'. Value for the `not_in` operator. Default: `null`. **alert_one_of** `array[string] | null` Filter on the alert that created an escalation. Accepted operators are 'one_of' and 'not_in'. Value for the `one_of` operator. Default: `null`. **base_url** `string | null` incident.io API base URL. Default: `null`. **created_at_date_range** `string | null` Filter on the created_at timestamp of the escalation. Accepted operators are 'gte', 'lte' and 'date_range'. Value for the `date_range` operator. Two dates joined by `~`, for example `2024-12-02~2024-12-08`. Default: `null`. **created_at_gte** `string | null` Filter on the created_at timestamp of the escalation. Accepted operators are 'gte', 'lte' and 'date_range'. Value for the `gte` operator. Default: `null`. **created_at_lte** `string | null` Filter on the created_at timestamp of the escalation. Accepted operators are 'gte', 'lte' and 'date_range'. Value for the `lte` operator. Default: `null`. **escalation_path_not_in** `array[string] | null` Filter on the escalation path for which the escalation was triggered. Accepted operators are 'one_of' and 'not_in'. Value for the `not_in` operator. Default: `null`. **escalation_path_one_of** `array[string] | null` Filter on the escalation path for which the escalation was triggered. Accepted operators are 'one_of' and 'not_in'. Value for the `one_of` operator. Default: `null`. **idempotency_key_is** `string | null` Filter on the idempotency key of the escalation. This is the key set when creating escalations via the API, and is distinct from alert deduplication keys. Accepted operators are 'is' for exact matches and 'starts_with' for prefix matching. Value for the `is` operator. Default: `null`. **idempotency_key_starts_with** `string | null` Filter on the idempotency key of the escalation. This is the key set when creating escalations via the API, and is distinct from alert deduplication keys. Accepted operators are 'is' for exact matches and 'starts_with' for prefix matching. Value for the `starts_with` operator. Default: `null`. **incident_not_in** `array[string] | null` Filter on the incident that the escalation is connected to. Accepted operators are 'one_of' and 'not_in'. Value for the `not_in` operator. Default: `null`. **incident_one_of** `array[string] | null` Filter on the incident that the escalation is connected to. Accepted operators are 'one_of' and 'not_in'. Value for the `one_of` operator. Default: `null`. **page_size** `integer | null` Number of escalations to return per page. Maximum 50. Default: `null`. **status_not_in** `array[string] | null` Filter on the status of the escalation. Accepted operators are 'one_of' and 'not_in'. Value for the `not_in` operator. Default: `null`. **status_one_of** `array[string] | null` Filter on the status of the escalation. Accepted operators are 'one_of' and 'not_in'. Value for the `one_of` operator. Default: `null`. **updated_at_date_range** `string | null` Filter on the updated_at timestamp of the escalation. Accepted operators are 'gte', 'lte' and 'date_range'. Value for the `date_range` operator. Two dates joined by `~`, for example `2024-12-02~2024-12-08`. Default: `null`. **updated_at_gte** `string | null` Filter on the updated_at timestamp of the escalation. Accepted operators are 'gte', 'lte' and 'date_range'. Value for the `gte` operator. Default: `null`. **updated_at_lte** `string | null` Filter on the updated_at timestamp of the escalation. Accepted operators are 'gte', 'lte' and 'date_range'. Value for the `lte` operator. Default: `null`. ## List follow-ups Action ID: `tools.incident_io.list_follow_ups` List follow-ups for an organisation. Calls GET /v3/follow_ups directly. Requires API key scope: actions.view. Reference: [https://docs.incident.io/api-reference/follow-ups-v3/list](https://docs.incident.io/api-reference/follow-ups-v3/list) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **after** `string | null` A follow-up's ID. This endpoint will return a list of follow-ups after this ID in relation to the API response order. Default: `null`. **assignee_team_id** `string | null` Filter follow-ups that are assigned to the given team Default: `null`. **base_url** `string | null` incident.io API base URL. Default: `null`. **created_at_date_range** `string | null` Filter on follow-up created at timestamp. Accepted operators are 'gte', 'lte' and 'date_range'. Value for the `date_range` operator. Two dates joined by `~`, for example `2024-12-02~2024-12-08`. Default: `null`. **created_at_gte** `string | null` Filter on follow-up created at timestamp. Accepted operators are 'gte', 'lte' and 'date_range'. Value for the `gte` operator. Default: `null`. **created_at_lte** `string | null` Filter on follow-up created at timestamp. Accepted operators are 'gte', 'lte' and 'date_range'. Value for the `lte` operator. Default: `null`. **incident_id** `string | null` Find follow-ups related to this incident Default: `null`. **incident_mode** `string | null` Filter to follow-ups from incidents of the given mode. If not set, only follow-ups from `standard` and `retrospective` incidents are returned. Allowed values: `standard`, `retrospective`, `test`, `tutorial`, `stream`. Default: `null`. **page_size** `integer | null` Integer number of records to return. Maximum 250. Default: `null`. **updated_at_date_range** `string | null` Filter on follow-up updated at timestamp. Accepted operators are 'gte', 'lte' and 'date_range'. Value for the `date_range` operator. Two dates joined by `~`, for example `2024-12-02~2024-12-08`. Default: `null`. **updated_at_gte** `string | null` Filter on follow-up updated at timestamp. Accepted operators are 'gte', 'lte' and 'date_range'. Value for the `gte` operator. Default: `null`. **updated_at_lte** `string | null` Filter on follow-up updated at timestamp. Accepted operators are 'gte', 'lte' and 'date_range'. Value for the `lte` operator. Default: `null`. ## List incident alerts Action ID: `tools.incident_io.list_incident_alerts` List the connections between incidents and alerts. Calls GET /v2/incident_alerts directly. Requires API key scope: alerts.view. Reference: [https://docs.incident.io/api-reference/incident-alerts-v2/list](https://docs.incident.io/api-reference/incident-alerts-v2/list) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **after** `string | null` If provided, pass this as the 'after' param to load the next page Default: `null`. **alert_id** `string | null` Alert that this incident alert refers to Default: `null`. **base_url** `string | null` incident.io API base URL. Default: `null`. **incident_id** `string | null` Incident that this incident alert is attached to Default: `null`. **page_size** `integer | null` Number of incident alerts to return per page. Maximum 50. Default: `null`. ## List incident roles Action ID: `tools.incident_io.list_incident_roles` List all incident roles for an organisation. Calls GET /v2/incident_roles directly. Requires API key scope: incident_roles.view. Reference: [https://docs.incident.io/api-reference/incident-roles-v2/list](https://docs.incident.io/api-reference/incident-roles-v2/list) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **base_url** `string | null` incident.io API base URL. Default: `null`. ## List incident statuses Action ID: `tools.incident_io.list_incident_statuses` List all incident statuses for an organisation. Calls GET /v1/incident_statuses directly. Requires API key scope: incident_statuses.view. Reference: [https://docs.incident.io/api-reference/incident-statuses-v1/list](https://docs.incident.io/api-reference/incident-statuses-v1/list) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **base_url** `string | null` incident.io API base URL. Default: `null`. ## List incident types Action ID: `tools.incident_io.list_incident_types` List all incident types for an organisation. Calls GET /v1/incident_types directly. Requires API key scope: incident_types.view. Reference: [https://docs.incident.io/api-reference/incident-types-v1/list](https://docs.incident.io/api-reference/incident-types-v1/list) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **base_url** `string | null` incident.io API base URL. Default: `null`. ## List incident updates Action ID: `tools.incident_io.list_incident_updates` List all incident updates for an organisation, or for a specific incident. Calls GET /v2/incident_updates directly. Requires API key scope: incidents.view. Reference: [https://docs.incident.io/api-reference/incident-updates-v2/list](https://docs.incident.io/api-reference/incident-updates-v2/list) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **after** `string | null` An record's ID. This endpoint will return a list of records after this ID in relation to the API response order. Default: `null`. **base_url** `string | null` incident.io API base URL. Default: `null`. **incident_id** `string | null` Incident whose updates you want to list Default: `null`. **page_size** `integer | null` Integer number of records to return. Maximum 250. Default: `null`. ## List incidents Action ID: `tools.incident_io.list_incidents` List all incidents for an organisation. Calls GET /v2/incidents directly. Requires API key scope: incidents.view. Reference: [https://docs.incident.io/api-reference/incidents-v2/list](https://docs.incident.io/api-reference/incidents-v2/list) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **after** `string | null` An incident's ID. This endpoint will return a list of incidents after this ID in relation to the API response order. Default: `null`. **base_url** `string | null` incident.io API base URL. Default: `null`. **created_at_date_range** `string | null` Filter on incident created at timestamp. The accepted operators are 'gte', 'lte' and 'date_range'. Value for the `date_range` operator. Two dates joined by `~`, for example `2024-12-02~2024-12-08`. Default: `null`. **created_at_gte** `string | null` Filter on incident created at timestamp. The accepted operators are 'gte', 'lte' and 'date_range'. Value for the `gte` operator. Default: `null`. **created_at_lte** `string | null` Filter on incident created at timestamp. The accepted operators are 'gte', 'lte' and 'date_range'. Value for the `lte` operator. Default: `null`. **custom_field** `object | null` Filter on an incident custom field. Custom field ID should be sent, followed by the operator and values. Accepted operator will depend on the custom field type. Sent as deepObject query parameters, for example `{"01GBSQF3FHF7FWZQNWGHAVQ804": {"one_of": ["01GBSQF3FHF7FWZQNWGHAVQ804", "01ET65M7ZARSFZ6TFDFVQDN9AA"]}}`. Default: `null`. **filter_mode** `string | null` How to combine the filters: 'all' combines them with AND logic (all must match), 'any' combines them with OR logic (any can match). Defaults to 'all'. Default: `null`. **incident_role** `object | null` Filter on an incident role. Role ID should be sent, along with backlink attribute ID (if needed) followed by the operator and values. The accepted operators are 'one_of', 'is_blank'. Sent as deepObject query parameters, for example `{"01GBSQF3FHF7FWZQNWGHAVQ804": {"one_of": ["01GBSQF3FHF7FWZQNWGHAVQ804", "01ET65M7ZARSFZ6TFDFVQDN9AA"]}}`. Default: `null`. **incident_type_not_in** `array[string] | null` Filter on incident type. The accepted operators are 'one_of, or 'not_in'. Value for the `not_in` operator. Default: `null`. **incident_type_one_of** `array[string] | null` Filter on incident type. The accepted operators are 'one_of, or 'not_in'. Value for the `one_of` operator. Default: `null`. **mode_one_of** `array[string] | null` Filter on incident mode. The accepted operator is 'one_of'. If this is not provided, this value defaults to `{"one_of": ["standard", "retrospective"] }`, meaning that test and tutorial incidents are not included. Value for the `one_of` operator. Default: `null`. **page_size** `integer | null` Integer number of records to return. Maximum 500. Default: `null`. **severity_gte** `string | null` Filter on incident severity. The accepted operators are 'one_of', 'not_in', 'gte', 'lte'. Value for the `gte` operator. Default: `null`. **severity_lte** `string | null` Filter on incident severity. The accepted operators are 'one_of', 'not_in', 'gte', 'lte'. Value for the `lte` operator. Default: `null`. **severity_not_in** `array[string] | null` Filter on incident severity. The accepted operators are 'one_of', 'not_in', 'gte', 'lte'. Value for the `not_in` operator. Default: `null`. **severity_one_of** `array[string] | null` Filter on incident severity. The accepted operators are 'one_of', 'not_in', 'gte', 'lte'. Value for the `one_of` operator. Default: `null`. **sort_by** `string | null` What order to return results in. Allowed values: `created_at_newest_first`, `created_at_oldest_first`. Default: `null`. **status_category_not_in** `array[string] | null` Filter on the category of the incidents status. The accepted operators are 'one_of', or 'not_in'. Value for the `not_in` operator. Default: `null`. **status_category_one_of** `array[string] | null` Filter on the category of the incidents status. The accepted operators are 'one_of', or 'not_in'. Value for the `one_of` operator. Default: `null`. **status_not_in** `array[string] | null` Filter on incident status. The accepted operators are 'one_of', or 'not_in'. Value for the `not_in` operator. Default: `null`. **status_one_of** `array[string] | null` Filter on incident status. The accepted operators are 'one_of', or 'not_in'. Value for the `one_of` operator. Default: `null`. **updated_at_date_range** `string | null` Filter on incident updated at timestamp. The accepted operators are 'gte', 'lte' and 'date_range'. Value for the `date_range` operator. Two dates joined by `~`, for example `2024-12-02~2024-12-08`. Default: `null`. **updated_at_gte** `string | null` Filter on incident updated at timestamp. The accepted operators are 'gte', 'lte' and 'date_range'. Value for the `gte` operator. Default: `null`. **updated_at_lte** `string | null` Filter on incident updated at timestamp. The accepted operators are 'gte', 'lte' and 'date_range'. Value for the `lte` operator. Default: `null`. ## List schedule entries Action ID: `tools.incident_io.list_schedule_entries` List the schedule entries for a schedule over a window of time. Calls GET /v2/schedule_entries directly. Requires API key scope: schedules.view. Reference: [https://docs.incident.io/api-reference/schedule-entries-v2/list](https://docs.incident.io/api-reference/schedule-entries-v2/list) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **base_url** `string | null` incident.io API base URL. Default: `null`. **entry_window_end** `string | null` The end of the window to get entries for. Default: `null`. **entry_window_start** `string | null` The start of the window to get entries for. May also carry an opaque pagination cursor previously returned in `pagination_meta.after` — pass it back here unchanged to fetch the next page (leave `entry_window_end` unchanged from the original request). Default: `null`. **schedule_id** `string | null` The ID of the schedule to get entries for. Default: `null`. ## List schedules Action ID: `tools.incident_io.list_schedules` List configured schedules. Calls GET /v2/schedules directly. Requires API key scope: schedules.view. Reference: [https://docs.incident.io/api-reference/schedules-v2/list](https://docs.incident.io/api-reference/schedules-v2/list) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **after** `string | null` A schedule's ID. This endpoint will return a list of schedules after this ID in relation to the API response order. Default: `null`. **base_url** `string | null` incident.io API base URL. Default: `null`. **page_size** `integer | null` Note that next_shifts will only be returned when the page size is 25 or lower. Maximum 10000. Default: `null`. ## List severities Action ID: `tools.incident_io.list_severities` List all incident severities for an organisation. Calls GET /v1/severities directly. Requires API key scope: severities.view. Reference: [https://docs.incident.io/api-reference/severities-v1/list](https://docs.incident.io/api-reference/severities-v1/list) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **base_url** `string | null` incident.io API base URL. Default: `null`. ## List teams Action ID: `tools.incident_io.list_teams` List all teams in the organisation. Calls GET /v3/teams directly. Requires API key scope: catalog_entries.view. Reference: [https://docs.incident.io/api-reference/teams-v3/list](https://docs.incident.io/api-reference/teams-v3/list) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **after** `string | null` An record's ID. This endpoint will return a list of records after this ID in relation to the API response order. Default: `null`. **base_url** `string | null` incident.io API base URL. Default: `null`. **page_size** `integer | null` Integer number of records to return. Maximum 250. Default: `null`. ## List users Action ID: `tools.incident_io.list_users` List users in your account. Calls GET /v2/users directly. Requires API key scope: users.view. Reference: [https://docs.incident.io/api-reference/users-v2/list](https://docs.incident.io/api-reference/users-v2/list) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **after** `string | null` An record's ID. This endpoint will return a list of records after this ID in relation to the API response order. Default: `null`. **base_url** `string | null` incident.io API base URL. Default: `null`. **email** `string | null` Filter by email address Default: `null`. **include_inactive** `boolean | null` Include deactivated or not-yet-active users (defaults to false). Useful for resolving users who have since been offboarded. Default: `null`. **page_size** `integer | null` Integer number of records to return. Maximum 10000. Default: `null`. **slack_user_id** `string | null` Filter by Slack user ID Default: `null`. ## Remove alert tags Action ID: `tools.incident_io.remove_alert_tags` Remove tags from an alert without changing its other tags. Calls POST /v2/alerts/\{id}/actions/remove_tags directly. Requires API key scope: alerts.edit. Reference: [https://docs.incident.io/api-reference/alerts-v2/remove-tags](https://docs.incident.io/api-reference/alerts-v2/remove-tags) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **id** `string` *required* Unique identifier for the alert **tags** `array[string]` *required* Tag names to remove from this alert **base_url** `string | null` incident.io API base URL. Default: `null`. ## Resolve alert Action ID: `tools.incident_io.resolve_alert` Resolve a currently firing alert. Calls POST /v2/alerts/\{id}/actions/resolve directly. Requires API key scope: alerts.resolve. Reference: [https://docs.incident.io/api-reference/alerts-v2/resolve](https://docs.incident.io/api-reference/alerts-v2/resolve) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **id** `string` *required* Unique identifier for the alert **base_url** `string | null` incident.io API base URL. Default: `null`. ## Respond to escalation Action ID: `tools.incident_io.respond_to_escalation` Respond to an escalation. Calls POST /v2/escalations/\{escalation_id}/actions/respond directly. Requires API key scope: escalations.respond. Reference: [https://docs.incident.io/api-reference/escalations-v2/respond](https://docs.incident.io/api-reference/escalations-v2/respond) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **escalation_id** `string` *required* The ID of the escalation **response** `string` *required* Whether to acknowledge, decline or snooze the escalation. Allowed values: `ack`, `nack`, `snooze`. **base_url** `string | null` incident.io API base URL. Default: `null`. **snooze_details** `object | null` `snooze_details` object. Fields: reason, snooze_until. Default: `null`. ## Set alert tags Action ID: `tools.incident_io.set_alert_tags` Replace all tags on an alert. Calls POST /v2/alerts/\{id}/actions/set_tags directly. Requires API key scope: alerts.edit. Reference: [https://docs.incident.io/api-reference/alerts-v2/set-tags](https://docs.incident.io/api-reference/alerts-v2/set-tags) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **id** `string` *required* Unique identifier for the alert **tags** `array[string]` *required* The complete set of tag names for this alert **base_url** `string | null` incident.io API base URL. Default: `null`. ## Update action Action ID: `tools.incident_io.update_action` Update an existing incident action. Calls PUT /v3/actions/\{id} directly. Requires API key scope: actions.update. Reference: [https://docs.incident.io/api-reference/actions-v3/update](https://docs.incident.io/api-reference/actions-v3/update) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **description** `string` *required* Description of the action. Supports Markdown. **id** `string` *required* Unique identifier for the action **status** `string` *required* Status of the action. Setting this to `deleted` is not allowed; use the delete endpoint instead. Allowed values: `outstanding`, `completed`, `deleted`, `not_doing`. **assignee_id** `string | null` ID of the user this action is assigned to. Set to null to unassign. Default: `null`. **base_url** `string | null` incident.io API base URL. Default: `null`. ## Update follow-up Action ID: `tools.incident_io.update_follow_up` Update an existing incident follow-up. Calls PUT /v3/follow_ups/\{id} directly. Requires API key scope: follow_ups.update. Reference: [https://docs.incident.io/api-reference/follow-ups-v3/update](https://docs.incident.io/api-reference/follow-ups-v3/update) ### Secrets Required secrets: * `incident_io`: required values `INCIDENT_IO_API_KEY`. ### Input fields **id** `string` *required* Unique identifier for the follow-up **status** `string` *required* Status of the follow-up. Setting this to `deleted` is not allowed; use the delete endpoint instead. Allowed values: `outstanding`, `completed`, `deleted`, `not_doing`. **title** `string` *required* Title of the follow-up **assignee_id** `string | null` ID of the user this follow-up is assigned to. Set to null to unassign. Default: `null`. **assignee_team_id** `string | null` ID of the team this follow-up is assigned to. Set to null to unassign. Default: `null`. **base_url** `string | null` incident.io API base URL. Default: `null`. **description** `string | null` Description of the follow-up. Supports Markdown. Default: `null`. **follow_up_category_id** `string | null` ID of the category for this follow-up Default: `null`. **follow_up_priority_option_id** `string | null` ID of the priority for this follow-up Default: `null`. **labels** `array[string] | null` Labels associated with this follow-up Default: `null`. # IPinfo Source: https://docs.tracecat.com/tools/ipinfo Reference for the Tracecat IPinfo integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Lookup IP address Action ID: `tools.ipinfo.lookup_ip_address` Get IPinfo.io report for an IP address. Reference: [https://ipinfo.io/developers](https://ipinfo.io/developers) ### Secrets Required secrets: * `ipinfo`: required values `IPINFO_API_TOKEN`. ### Input fields **ip_address** `string` *required* IP address to lookup. # Iru (Kandji) Source: https://docs.tracecat.com/tools/iru Reference for the Tracecat Iru (Kandji) integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Add device note Action ID: `tools.iru.add_device_note` Add a note to a device record. Reference: [https://api-docs.iru.com/#fc3a2a64-b772-4145-a216-0b7ba8e0ff90](https://api-docs.iru.com/#fc3a2a64-b772-4145-a216-0b7ba8e0ff90) ### Secrets Required secrets: * `iru`: required values `IRU_API_TOKEN`. ### Input fields **device_id** `string` *required* Device UUID. **note** `string` *required* Note content to add. **base_url** `string | null` Iru (Kandji) API base URL (e.g. [https://acme.api.kandji.io](https://acme.api.kandji.io)). Default: `null`. ## Delete device Action ID: `tools.iru.delete_device` Delete a device. Removes the device record, unenrolls the device from MDM, and causes the Iru agent to uninstall itself at next check-in. This cannot be undone. Reference: [https://api-docs.iru.com/#97deb582-d86c-444a-aa3b-3528b9a8478f](https://api-docs.iru.com/#97deb582-d86c-444a-aa3b-3528b9a8478f) ### Secrets Required secrets: * `iru`: required values `IRU_API_TOKEN`. ### Input fields **device_id** `string` *required* Device UUID. **base_url** `string | null` Iru (Kandji) API base URL (e.g. [https://acme.api.kandji.io](https://acme.api.kandji.io)). Default: `null`. ## Erase device Action ID: `tools.iru.erase_device` Irreversibly erase a device. Optionally control platform-specific erase behavior. Reference: [https://api-docs.iru.com/#149ae2cc-fb7f-42ce-8379-187878685303](https://api-docs.iru.com/#149ae2cc-fb7f-42ce-8379-187878685303) ### Secrets Required secrets: * `iru`: required values `IRU_API_TOKEN`. ### Input fields **device_id** `string` *required* Device UUID. **base_url** `string | null` Iru (Kandji) API base URL (e.g. [https://acme.api.kandji.io](https://acme.api.kandji.io)). Default: `null`. **disallow_proximity_setup** `boolean | null` Whether to disallow proximity setup after erase. Default: `null`. **erase_flags** `string | null` Erase flags. Android only. Default: `null`. **erase_mode** `string | null` Erase mode. Windows only. Default: `null`. **pin** `string | null` Six-character macOS erase PIN; ignored for iOS, iPadOS, and tvOS. Default: `null`. **preserve_data_plan** `boolean | null` Whether to preserve the cellular data plan during erase. Default: `null`. **return_to_service** `object | null` Return to Service settings for iOS 17 and later, so the device re-enrolls after erase. Default: `null`. ## Get Activation Lock bypass code Action ID: `tools.iru.get_activation_lock_bypass_code` Get a device's Activation Lock bypass code. Retrieval is recorded in the Iru audit log. Escrow the code before any destructive offboarding step. Reference: [https://api-docs.iru.com/#f593744e-eedc-4d4d-ac0d-45d54860bbc5](https://api-docs.iru.com/#f593744e-eedc-4d4d-ac0d-45d54860bbc5) ### Secrets Required secrets: * `iru`: required values `IRU_API_TOKEN`. ### Input fields **device_id** `string` *required* Device UUID. **base_url** `string | null` Iru (Kandji) API base URL (e.g. [https://acme.api.kandji.io](https://acme.api.kandji.io)). Default: `null`. ## Get device Action ID: `tools.iru.get_device` Get a device record by UUID. Reference: [https://api-docs.iru.com/#10a56208-b230-455a-a835-32b6cfb2803d](https://api-docs.iru.com/#10a56208-b230-455a-a835-32b6cfb2803d) ### Secrets Required secrets: * `iru`: required values `IRU_API_TOKEN`. ### Input fields **device_id** `string` *required* Device UUID. **base_url** `string | null` Iru (Kandji) API base URL (e.g. [https://acme.api.kandji.io](https://acme.api.kandji.io)). Default: `null`. ## Get device details Action ID: `tools.iru.get_device_details` Get detailed inventory information for a device. Reference: [https://api-docs.iru.com/#efa2170d-e5f7-4b97-8f4c-da6f84ba58b5](https://api-docs.iru.com/#efa2170d-e5f7-4b97-8f4c-da6f84ba58b5) ### Secrets Required secrets: * `iru`: required values `IRU_API_TOKEN`. ### Input fields **device_id** `string` *required* Device UUID. **base_url** `string | null` Iru (Kandji) API base URL (e.g. [https://acme.api.kandji.io](https://acme.api.kandji.io)). Default: `null`. ## Get FileVault recovery key Action ID: `tools.iru.get_filevault_key` Get a device's FileVault recovery key. Retrieval is recorded in the Iru audit log. Escrow the key before any destructive offboarding step. Reference: [https://api-docs.iru.com/#1577d0da-7b69-4c2b-a322-32bf1cfffee2](https://api-docs.iru.com/#1577d0da-7b69-4c2b-a322-32bf1cfffee2) ### Secrets Required secrets: * `iru`: required values `IRU_API_TOKEN`. ### Input fields **device_id** `string` *required* Device UUID. **base_url** `string | null` Iru (Kandji) API base URL (e.g. [https://acme.api.kandji.io](https://acme.api.kandji.io)). Default: `null`. ## Get recovery lock password Action ID: `tools.iru.get_recovery_password` Get a device's recovery lock password. Retrieval is recorded in the Iru audit log. Escrow the password before any destructive offboarding step. Reference: [https://api-docs.iru.com/#a0c3f9a9-485b-46ec-922c-fc5f0e9a48d9](https://api-docs.iru.com/#a0c3f9a9-485b-46ec-922c-fc5f0e9a48d9) ### Secrets Required secrets: * `iru`: required values `IRU_API_TOKEN`. ### Input fields **device_id** `string` *required* Device UUID. **base_url** `string | null` Iru (Kandji) API base URL (e.g. [https://acme.api.kandji.io](https://acme.api.kandji.io)). Default: `null`. ## List audit events Action ID: `tools.iru.list_audit_events` List tenant audit events. Covers Blueprint and Library Item changes, access to sensitive data such as FileVault and recovery keys, device lifecycle events, and API token management. Reference: [https://api-docs.iru.com/#06022d9d-426b-4aea-826a-d7f084e4f1e3](https://api-docs.iru.com/#06022d9d-426b-4aea-826a-d7f084e4f1e3) ### Secrets Required secrets: * `iru`: required values `IRU_API_TOKEN`. ### Input fields **base_url** `string | null` Iru (Kandji) API base URL (e.g. [https://acme.api.kandji.io](https://acme.api.kandji.io)). Default: `null`. **cursor** `string | null` Cursor identifying the requested page. Default: `null`. **end_date** `string | null` Latest event date to include. Default: `null`. **limit** `integer | null` Results per page. Maximum 500. Default: `null`. **sort_by** `string | null` Sort field, occurred_at or id; prefix with - for descending order. Default: `null`. **start_date** `string | null` Earliest event date to include. Default: `null`. ## List blueprints Action ID: `tools.iru.list_blueprints` List Blueprints in the tenant. Reference: [https://api-docs.iru.com/#44d3765c-ef17-4226-9104-47e5cef1d370](https://api-docs.iru.com/#44d3765c-ef17-4226-9104-47e5cef1d370) ### Secrets Required secrets: * `iru`: required values `IRU_API_TOKEN`. ### Input fields **base_url** `string | null` Iru (Kandji) API base URL (e.g. [https://acme.api.kandji.io](https://acme.api.kandji.io)). Default: `null`. **id** `string | null` Blueprint UUID to filter by. Default: `null`. **id__in** `string | null` Comma-separated Blueprint UUIDs to include. Default: `null`. **limit** `integer | null` Results per page. Maximum 300. Default: `null`. **name** `string | null` Blueprint name substring to match. Default: `null`. **offset** `integer | null` Number of results to skip. Default: `null`. ## List device activity Action ID: `tools.iru.list_device_activity` List activity records for a device. Reference: [https://api-docs.iru.com/#80710108-fbdb-4dfd-af84-50adf15c5a23](https://api-docs.iru.com/#80710108-fbdb-4dfd-af84-50adf15c5a23) ### Secrets Required secrets: * `iru`: required values `IRU_API_TOKEN`. ### Input fields **device_id** `string` *required* Device UUID. **base_url** `string | null` Iru (Kandji) API base URL (e.g. [https://acme.api.kandji.io](https://acme.api.kandji.io)). Default: `null`. **limit** `integer | null` Results per page. Maximum 300. Default: `null`. **offset** `integer | null` Number of results to skip. Default: `null`. ## List device apps Action ID: `tools.iru.list_device_apps` List applications installed on a device. Reference: [https://api-docs.iru.com/#f8cd9733-89b6-40f0-a7ca-76829c6974df](https://api-docs.iru.com/#f8cd9733-89b6-40f0-a7ca-76829c6974df) ### Secrets Required secrets: * `iru`: required values `IRU_API_TOKEN`. ### Input fields **device_id** `string` *required* Device UUID. **base_url** `string | null` Iru (Kandji) API base URL (e.g. [https://acme.api.kandji.io](https://acme.api.kandji.io)). Default: `null`. ## List device behavioral detections Action ID: `tools.iru.list_device_behavioral_detections` List EDR behavioral detection events for a single device. The v2 endpoint is device-scoped, so a device UUID is required and fleet-wide sweeps are not available. Threat state is read-only through the API. Reference: [https://api-docs.iru.com/#39bfcf91-086a-4907-a69d-b5bca6a1a1a8](https://api-docs.iru.com/#39bfcf91-086a-4907-a69d-b5bca6a1a1a8) ### Secrets Required secrets: * `iru`: required values `IRU_API_TOKEN`. ### Input fields **device_id** `string` *required* Required. Device UUID to return detection events for. **base_url** `string | null` Iru base URL (e.g. [https://acme.api.kandji.io](https://acme.api.kandji.io)). Default: `null`. **classifications** `string | null` Detection classifications to filter by. Default: `null`. **detection_from** `string | null` Earliest detection timestamp in UTC (e.g. 2026-01-21T16:08:00.0). Default: `null`. **detection_to** `string | null` Latest detection timestamp in UTC (e.g. 2026-01-21T16:08:00.0). Default: `null`. **limit** `integer | null` Results per page. Maximum 1000. Default: `null`. **management_state** `string | null` Management states to filter by. Default: `null`. **offset** `integer | null` Number of results to skip. Default: `null`. **search_term** `string | null` Search term to filter results. Default: `null`. **severities** `string | null` Severity levels to filter by. Default: `null`. **sort_by** `string | null` Field to sort by; prefix with - to reverse the order. Default: `null`. **statuses** `string | null` Detection statuses to filter by. Default: `null`. **tags** `string | null` Tags to filter by. Default: `null`. ## List device commands Action ID: `tools.iru.list_device_commands` List commands sent to a device. Status codes are 1 Pending, 2 Running, 3 Completed, 4 Failed, and 5 Not Now. Reference: [https://api-docs.iru.com/#740d515c-218d-48db-b452-959c3c73aaeb](https://api-docs.iru.com/#740d515c-218d-48db-b452-959c3c73aaeb) ### Secrets Required secrets: * `iru`: required values `IRU_API_TOKEN`. ### Input fields **device_id** `string` *required* Device UUID. **base_url** `string | null` Iru (Kandji) API base URL (e.g. [https://acme.api.kandji.io](https://acme.api.kandji.io)). Default: `null`. **limit** `integer | null` Results per page. Maximum 300. Default: `null`. **offset** `integer | null` Number of results to skip. Default: `null`. ## List device library items Action ID: `tools.iru.list_device_library_items` List Library Items assigned to a device. Reference: [https://api-docs.iru.com/#005bf79f-3458-4834-9c2f-4e0c792069f4](https://api-docs.iru.com/#005bf79f-3458-4834-9c2f-4e0c792069f4) ### Secrets Required secrets: * `iru`: required values `IRU_API_TOKEN`. ### Input fields **device_id** `string` *required* Device UUID. **base_url** `string | null` Iru (Kandji) API base URL (e.g. [https://acme.api.kandji.io](https://acme.api.kandji.io)). Default: `null`. ## List device parameters Action ID: `tools.iru.list_device_parameters` List management parameter (compliance check) results for a device. Reference: [https://api-docs.iru.com/#8ca8c0e9-654e-40c1-8d8c-c9a8a6e262c6](https://api-docs.iru.com/#8ca8c0e9-654e-40c1-8d8c-c9a8a6e262c6) ### Secrets Required secrets: * `iru`: required values `IRU_API_TOKEN`. ### Input fields **device_id** `string` *required* Device UUID. **base_url** `string | null` Iru (Kandji) API base URL (e.g. [https://acme.api.kandji.io](https://acme.api.kandji.io)). Default: `null`. ## List devices Action ID: `tools.iru.list_devices` List devices in the tenant. Returns a bare JSON array rather than a paged envelope, and extra fields appear when Windows or Android management is enabled. Reference: [https://api-docs.iru.com/#78209960-31a7-4e3b-a2c0-95c7e65bb5f9](https://api-docs.iru.com/#78209960-31a7-4e3b-a2c0-95c7e65bb5f9) ### Secrets Required secrets: * `iru`: required values `IRU_API_TOKEN`. ### Input fields **asset_tag** `string | null` Asset tag to filter by. Default: `null`. **base_url** `string | null` Iru (Kandji) API base URL (e.g. [https://acme.api.kandji.io](https://acme.api.kandji.io)). Default: `null`. **blueprint_id** `string | null` Blueprint UUID to filter by. Default: `null`. **device_id** `string | null` Device UUID to filter by. Default: `null`. **device_name** `string | null` Device name to filter by. Default: `null`. **filevault_enabled** `boolean | null` Whether to filter for devices with FileVault enabled or disabled. Default: `null`. **limit** `integer | null` Results per page. Maximum 300. Default: `null`. **mac_address** `string | null` MAC address to filter by. Default: `null`. **model** `string | null` Device model to filter by. Default: `null`. **offset** `integer | null` Number of results to skip. Default: `null`. **ordering** `string | null` Field to order results by; prefix with - to reverse the order. Default: `null`. **os_version** `string | null` Operating system version to filter by. Default: `null`. **platform** `string | null` Platform to filter by, such as Mac, iPad, iPhone, AppleTV, or Android. Default: `null`. **serial_number** `string | null` Serial number to filter by. Default: `null`. **tag_id** `string | null` Tag UUID to filter by. Default: `null`. **tag_id_in** `string | null` Tag IDs to filter by, separated by commas. Case sensitive. Default: `null`. **tag_name** `string | null` Tag name to filter by. Default: `null`. **tag_name_in** `string | null` Tag names to filter by, separated by commas. Case sensitive. Default: `null`. **user** `string | null` Assigned user to filter by. Default: `null`. **user_email** `string | null` Assigned user email to filter by. Default: `null`. **user_email_exact** `string | null` Exact match on the assigned user's email address. Default: `null`. **user_id** `string | null` Assigned user UUID to filter by. Default: `null`. **user_name** `string | null` Assigned user name to filter by. Default: `null`. ## List threat details Action ID: `tools.iru.list_threat_details` List malware and potentially unwanted program detections. Threat state is read-only through the API; there is no endpoint to release a detection from quarantine. Reference: [https://api-docs.iru.com/#92ff98c7-c048-4f1e-9ac2-3b65ea9af5dd](https://api-docs.iru.com/#92ff98c7-c048-4f1e-9ac2-3b65ea9af5dd) ### Secrets Required secrets: * `iru`: required values `IRU_API_TOKEN`. ### Input fields **statuses** `string` *required* Required. Threat statuses to return, such as quarantined, not_quarantined, or released. **base_url** `string | null` Iru base URL (e.g. [https://acme.api.kandji.io](https://acme.api.kandji.io)). Default: `null`. **classification** `string | null` Threat classification to filter by, such as malware or pup. Default: `null`. **date_range** `integer | null` Return records from the last N days. Default: `null`. **detection_date_from** `string | null` Earliest detection timestamp in UTC (e.g. 2026-01-21T16:08:00.0). Default: `null`. **detection_date_to** `string | null` Latest detection timestamp in UTC (e.g. 2026-01-21T16:08:00.0). Default: `null`. **device_id** `string | null` Return detections for a single device UUID. Default: `null`. **limit** `integer | null` Results per page. Maximum 1000. Default: `null`. **management_state** `string | null` Management states to filter by. Default: `null`. **offset** `integer | null` Number of results to skip. Default: `null`. **severities** `string | null` Severity levels to filter by. Default: `null`. **sort_by** `string | null` Field to sort by; prefix with - to reverse the order. Default: `null`. **tags** `string | null` Tags to filter by. Default: `null`. **term** `string | null` Search term matched against fields such as device name and file hash. Default: `null`. ## Lock device Action ID: `tools.iru.lock_device` Lock a device. For macOS an unlock PIN is generated and returned in the response. On Apple silicon running macOS earlier than 11.5 this deactivates the Mac, and reactivation requires network access and a Secure Token administrator. Reference: [https://api-docs.iru.com/#f2fc0e99-c758-4eb8-bb3d-0ea72d0c0213](https://api-docs.iru.com/#f2fc0e99-c758-4eb8-bb3d-0ea72d0c0213) ### Secrets Required secrets: * `iru`: required values `IRU_API_TOKEN`. ### Input fields **device_id** `string` *required* Device UUID. **base_url** `string | null` Iru (Kandji) API base URL (e.g. [https://acme.api.kandji.io](https://acme.api.kandji.io)). Default: `null`. **message** `string | null` Message to display on the locked device. Default: `null`. **phone_number** `string | null` Phone number to display on the locked device. Default: `null`. ## Query Prism inventory Action ID: `tools.iru.query_prism` Query a fleet-wide Prism inventory category. Reference: [https://api-docs.iru.com/#d538b34f-5343-416e-be53-2ba108c51dfa](https://api-docs.iru.com/#d538b34f-5343-416e-be53-2ba108c51dfa) ### Secrets Required secrets: * `iru`: required values `IRU_API_TOKEN`. ### Input fields **category** `string` *required* Prism category, such as activation_lock, application_firewall, apps, cellular, certificates, desktop_and_screensaver, device_information, filevault, gatekeeper_and_xprotect, installed_profiles, kernel_extensions, launch_agents_and_daemons, local_users, startup_settings, system_extensions, or transparency_database. **base_url** `string | null` Iru (Kandji) API base URL (e.g. [https://acme.api.kandji.io](https://acme.api.kandji.io)). Default: `null`. **blueprint_ids** `array[string] | null` Blueprint UUIDs to filter by. Default: `null`. **cursor** `string | null` Pagination cursor. Iru recommends cursor paging for Prism; pass an empty string to get the first cursor, then loop on the cursor returned by each page. Default: `null`. **device_families** `array[string] | null` Device families to filter by. Default: `null`. **filter** `object | null` Provider-native Prism filter object. Default: `null`. **limit** `integer | null` Results per page. Maximum 300. Default: `null`. **offset** `integer | null` Number of results to skip. Cannot be combined with cursor. Default: `null`. **sort_by** `string | null` Field to sort by; prefix with - to reverse the order. Default: `null`. ## Send device action Action ID: `tools.iru.send_device_action` Send a device action that takes no request body. Lock and erase have dedicated actions because they accept request bodies. Reference: [https://api-docs.iru.com/#8c0c2c1a-4d57-4a56-80f9-87d0793f0006](https://api-docs.iru.com/#8c0c2c1a-4d57-4a56-80f9-87d0793f0006) ### Secrets Required secrets: * `iru`: required values `IRU_API_TOKEN`. ### Input fields **action** `string` *required* Action to send, such as restart, shutdown, blankpush, dailycheckin, updateinventory, reinstallagent, renewmdmprofile, clearpasscode, enablelostmode, disablelostmode, playlostmodesound or updatelocation. **device_id** `string` *required* Device UUID. **base_url** `string | null` Iru (Kandji) API base URL (e.g. [https://acme.api.kandji.io](https://acme.api.kandji.io)). Default: `null`. ## Update device Action ID: `tools.iru.update_device` Update a device's assignment and metadata. There is no separate blueprint-assignment endpoint, so use this action to assign a Blueprint during onboarding. Reference: [https://api-docs.iru.com/#b70f2ddc-cc1b-4b4f-8eec-e481d8a17927](https://api-docs.iru.com/#b70f2ddc-cc1b-4b4f-8eec-e481d8a17927) ### Secrets Required secrets: * `iru`: required values `IRU_API_TOKEN`. ### Input fields **device_id** `string` *required* Device UUID. **asset_tag** `string | null` Asset tag to set on the device. Default: `null`. **base_url** `string | null` Iru (Kandji) API base URL (e.g. [https://acme.api.kandji.io](https://acme.api.kandji.io)). Default: `null`. **blueprint_id** `string | null` Blueprint UUID to assign to the device. Default: `null`. **payload** `object | null` Extra body fields, merged over the named inputs above. Use this to send an explicit null, which is how Iru clears a field — for example an asset_tag or user key set to null. Default: `null`. **tags** `array[string] | null` Tag names to assign to the device. Replaces the current tags; pass an empty list to clear them. Default: `null`. **user** `string | null` User UUID to assign to the device. Default: `null`. # Jamf Pro Source: https://docs.tracecat.com/tools/jamf Reference for the Tracecat Jamf Pro integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Add serial numbers to computer PreStage scope Action ID: `tools.jamf.add_computer_prestage_scope` Add serial numbers to a computer PreStage scope; a 409 is an optimistic-locking conflict, so refetch the scope for the current versionLock and retry. Reference: [https://developer.jamf.com/jamf-pro/reference/post_v2-computer-prestages-id-scope](https://developer.jamf.com/jamf-pro/reference/post_v2-computer-prestages-id-scope) ### Secrets Optional secrets: * `jamf_oauth`: OAuth token `JAMF_SERVICE_TOKEN`. * `jamf`: required values `JAMF_API_TOKEN`. ### Input fields **prestage_id** `string` *required* Computer PreStage enrollment ID. **serial_numbers** `array[string]` *required* Serial numbers to add to the PreStage scope. **version_lock** `integer` *required* Current optimistic-lock version from the PreStage scope. **base_url** `string | null` Jamf Pro base URL (e.g. [https://acme.jamfcloud.com](https://acme.jamfcloud.com)). Default: `null`. ## Delete computer Action ID: `tools.jamf.delete_computer` Permanently delete a computer's inventory record from Jamf Pro. The computer is not erased, but it stops being managed and its inventory history is lost. This cannot be undone. Reference: [https://developer.jamf.com/jamf-pro/reference/delete_v4-computers-inventory-id](https://developer.jamf.com/jamf-pro/reference/delete_v4-computers-inventory-id) ### Secrets Optional secrets: * `jamf_oauth`: OAuth token `JAMF_SERVICE_TOKEN`. * `jamf`: required values `JAMF_API_TOKEN`. ### Input fields **computer_id** `string` *required* Computer ID. **base_url** `string | null` Jamf Pro base URL (e.g. [https://acme.jamfcloud.com](https://acme.jamfcloud.com)). Default: `null`. ## Erase computer Action ID: `tools.jamf.erase_computer` Irreversibly erase a Jamf Pro computer, optionally supplying command options such as a PIN. Reference: [https://developer.jamf.com/jamf-pro/reference/post_v4-computers-inventory-id-erase](https://developer.jamf.com/jamf-pro/reference/post_v4-computers-inventory-id-erase) ### Secrets Optional secrets: * `jamf_oauth`: OAuth token `JAMF_SERVICE_TOKEN`. * `jamf`: required values `JAMF_API_TOKEN`. ### Input fields **computer_id** `string` *required* Computer ID. **base_url** `string | null` Jamf Pro base URL (e.g. [https://acme.jamfcloud.com](https://acme.jamfcloud.com)). Default: `null`. **payload** `object | null` Optional erase command fields such as pin. Default: `null`. ## Get computer device lock PIN Action ID: `tools.jamf.get_computer_device_lock_pin` Get the device lock PIN for a Jamf Pro computer. Reference: [https://developer.jamf.com/jamf-pro/reference/get_v4-computers-inventory-id-view-device-lock-pin](https://developer.jamf.com/jamf-pro/reference/get_v4-computers-inventory-id-view-device-lock-pin) ### Secrets Optional secrets: * `jamf_oauth`: OAuth token `JAMF_SERVICE_TOKEN`. * `jamf`: required values `JAMF_API_TOKEN`. ### Input fields **computer_id** `string` *required* Computer ID. **base_url** `string | null` Jamf Pro base URL (e.g. [https://acme.jamfcloud.com](https://acme.jamfcloud.com)). Default: `null`. ## Get computer FileVault recovery key Action ID: `tools.jamf.get_computer_filevault_key` Get the FileVault recovery key for a Jamf Pro computer. Reference: [https://developer.jamf.com/jamf-pro/reference/get_v4-computers-inventory-id-filevault](https://developer.jamf.com/jamf-pro/reference/get_v4-computers-inventory-id-filevault) ### Secrets Optional secrets: * `jamf_oauth`: OAuth token `JAMF_SERVICE_TOKEN`. * `jamf`: required values `JAMF_API_TOKEN`. ### Input fields **computer_id** `string` *required* Computer ID. **base_url** `string | null` Jamf Pro base URL (e.g. [https://acme.jamfcloud.com](https://acme.jamfcloud.com)). Default: `null`. ## Get computer inventory detail Action ID: `tools.jamf.get_computer_inventory_detail` Get detailed inventory for a Jamf Pro computer. Reference: [https://developer.jamf.com/jamf-pro/reference/get_v4-computers-inventory-detail-id](https://developer.jamf.com/jamf-pro/reference/get_v4-computers-inventory-detail-id) ### Secrets Optional secrets: * `jamf_oauth`: OAuth token `JAMF_SERVICE_TOKEN`. * `jamf`: required values `JAMF_API_TOKEN`. ### Input fields **computer_id** `string` *required* Computer ID. **base_url** `string | null` Jamf Pro base URL (e.g. [https://acme.jamfcloud.com](https://acme.jamfcloud.com)). Default: `null`. ## Get computer PreStage scope Action ID: `tools.jamf.get_computer_prestage_scope` Get the serial numbers and version lock in a Jamf Pro computer PreStage scope. Reference: [https://developer.jamf.com/jamf-pro/reference/get_v2-computer-prestages-id-scope](https://developer.jamf.com/jamf-pro/reference/get_v2-computer-prestages-id-scope) ### Secrets Optional secrets: * `jamf_oauth`: OAuth token `JAMF_SERVICE_TOKEN`. * `jamf`: required values `JAMF_API_TOKEN`. ### Input fields **prestage_id** `string` *required* Computer PreStage enrollment ID. **base_url** `string | null` Jamf Pro base URL (e.g. [https://acme.jamfcloud.com](https://acme.jamfcloud.com)). Default: `null`. ## Get computer recovery lock password Action ID: `tools.jamf.get_computer_recovery_lock_password` Get the recovery lock password for a Jamf Pro computer. Reference: [https://developer.jamf.com/jamf-pro/reference/get_v4-computers-inventory-id-view-recovery-lock-password](https://developer.jamf.com/jamf-pro/reference/get_v4-computers-inventory-id-view-recovery-lock-password) ### Secrets Optional secrets: * `jamf_oauth`: OAuth token `JAMF_SERVICE_TOKEN`. * `jamf`: required values `JAMF_API_TOKEN`. ### Input fields **computer_id** `string` *required* Computer ID. **base_url** `string | null` Jamf Pro base URL (e.g. [https://acme.jamfcloud.com](https://acme.jamfcloud.com)). Default: `null`. ## Get mobile device detail Action ID: `tools.jamf.get_mobile_device_detail` Get detailed inventory for a Jamf Pro mobile device. Reference: [https://developer.jamf.com/jamf-pro/reference/get_v2-mobile-devices-id-detail](https://developer.jamf.com/jamf-pro/reference/get_v2-mobile-devices-id-detail) ### Secrets Optional secrets: * `jamf_oauth`: OAuth token `JAMF_SERVICE_TOKEN`. * `jamf`: required values `JAMF_API_TOKEN`. ### Input fields **mobile_device_id** `string` *required* Mobile device ID. **base_url** `string | null` Jamf Pro base URL (e.g. [https://acme.jamfcloud.com](https://acme.jamfcloud.com)). Default: `null`. ## Get smart computer group membership Action ID: `tools.jamf.get_smart_group_membership` Get the computer membership of a Jamf Pro smart group. Reference: [https://developer.jamf.com/jamf-pro/reference/get_v3-computer-groups-smart-group-membership-id](https://developer.jamf.com/jamf-pro/reference/get_v3-computer-groups-smart-group-membership-id) ### Secrets Optional secrets: * `jamf_oauth`: OAuth token `JAMF_SERVICE_TOKEN`. * `jamf`: required values `JAMF_API_TOKEN`. ### Input fields **group_id** `string` *required* Smart computer group ID. **base_url** `string | null` Jamf Pro base URL (e.g. [https://acme.jamfcloud.com](https://acme.jamfcloud.com)). Default: `null`. ## List automated device enrollment devices Action ID: `tools.jamf.list_device_enrollment_devices` List devices associated with an Automated Device Enrollment instance. Reference: [https://developer.jamf.com/jamf-pro/reference/get_v1-device-enrollments-id-devices](https://developer.jamf.com/jamf-pro/reference/get_v1-device-enrollments-id-devices) ### Secrets Optional secrets: * `jamf_oauth`: OAuth token `JAMF_SERVICE_TOKEN`. * `jamf`: required values `JAMF_API_TOKEN`. ### Input fields **device_enrollment_id** `string` *required* Automated Device Enrollment instance ID. **base_url** `string | null` Jamf Pro base URL (e.g. [https://acme.jamfcloud.com](https://acme.jamfcloud.com)). Default: `null`. ## List computer groups Action ID: `tools.jamf.list_computer_groups` List Jamf Pro computer groups. Reference: [https://developer.jamf.com/jamf-pro/reference/get_v1-computer-groups](https://developer.jamf.com/jamf-pro/reference/get_v1-computer-groups) ### Secrets Optional secrets: * `jamf_oauth`: OAuth token `JAMF_SERVICE_TOKEN`. * `jamf`: required values `JAMF_API_TOKEN`. ### Input fields **base_url** `string | null` Jamf Pro base URL (e.g. [https://acme.jamfcloud.com](https://acme.jamfcloud.com)). Default: `null`. ## List computer inventory Action ID: `tools.jamf.list_computer_inventory` Search Jamf Pro computer inventory. Use section to choose which detail sections are returned. Reference: [https://developer.jamf.com/jamf-pro/reference/get_v4-computers-inventory](https://developer.jamf.com/jamf-pro/reference/get_v4-computers-inventory) ### Secrets Optional secrets: * `jamf_oauth`: OAuth token `JAMF_SERVICE_TOKEN`. * `jamf`: required values `JAMF_API_TOKEN`. ### Input fields **base_url** `string | null` Jamf Pro base URL (e.g. [https://acme.jamfcloud.com](https://acme.jamfcloud.com)). Default: `null`. **filter** `string | null` RSQL filter expression. See [https://developer.jamf.com/jamf-pro/docs/filtering-with-rsql](https://developer.jamf.com/jamf-pro/docs/filtering-with-rsql). Default: `null`. **page** `integer | null` Zero-indexed page number. Default: `null`. **page_size** `integer | null` Number of results per page. Default: `null`. **section** `array[string] | null` Inventory sections to return. Defaults to GENERAL when omitted. Accepted values: GENERAL, DISK_ENCRYPTION, PURCHASING, APPLICATIONS, STORAGE, USER_AND_LOCATION, CONFIGURATION_PROFILES, PRINTERS, SERVICES, HARDWARE, LOCAL_USER_ACCOUNTS, CERTIFICATES, ATTACHMENTS, PACKAGE_RECEIPTS, SECURITY, OPERATING_SYSTEM, LICENSED_SOFTWARE, IBEACONS, SOFTWARE_UPDATES, EXTENSION_ATTRIBUTES, CONTENT_CACHING, GROUP_MEMBERSHIPS. Default: `null`. **sort** `array[string] | null` Sort expressions in property:asc or property:desc format. Default: `null`. ## List computer PreStage enrollments Action ID: `tools.jamf.list_computer_prestages` List Jamf Pro computer PreStage enrollment objects. Reference: [https://developer.jamf.com/jamf-pro/reference/get_v3-computer-prestages](https://developer.jamf.com/jamf-pro/reference/get_v3-computer-prestages) ### Secrets Optional secrets: * `jamf_oauth`: OAuth token `JAMF_SERVICE_TOKEN`. * `jamf`: required values `JAMF_API_TOKEN`. ### Input fields **base_url** `string | null` Jamf Pro base URL (e.g. [https://acme.jamfcloud.com](https://acme.jamfcloud.com)). Default: `null`. **page** `integer | null` Zero-indexed page number. Loop over this to walk every page. Default: `null`. **page_size** `integer | null` Results per page. Defaults to 100 when omitted. Default: `null`. **sort** `array[string] | null` Sort expressions in property:asc or property:desc format. Defaults to id:desc. Default: `null`. ## List MDM commands Action ID: `tools.jamf.list_mdm_commands` List Jamf Pro MDM commands matching a required RSQL filter. Reference: [https://developer.jamf.com/jamf-pro/reference/get_v2-mdm-commands](https://developer.jamf.com/jamf-pro/reference/get_v2-mdm-commands) ### Secrets Optional secrets: * `jamf_oauth`: OAuth token `JAMF_SERVICE_TOKEN`. * `jamf`: required values `JAMF_API_TOKEN`. ### Input fields **filter** `string` *required* Required RSQL filter. Filterable fields: uuid, clientManagementId, command, status, clientType, dateSent, validAfter, dateCompleted, profileId, profileIdentifier, active. See [https://developer.jamf.com/jamf-pro/docs/filtering-with-rsql](https://developer.jamf.com/jamf-pro/docs/filtering-with-rsql). **base_url** `string | null` Jamf Pro base URL (e.g. [https://acme.jamfcloud.com](https://acme.jamfcloud.com)). Default: `null`. **page** `integer | null` Zero-indexed page number. Default: `null`. **page_size** `integer | null` Number of results per page. Default: `null`. **sort** `array[string] | null` Sort expressions in property:asc or property:desc format. Defaults to dateSent:asc. Default: `null`. ## List mobile devices Action ID: `tools.jamf.list_mobile_devices` List mobile devices in Jamf Pro. Reference: [https://developer.jamf.com/jamf-pro/reference/get_v2-mobile-devices](https://developer.jamf.com/jamf-pro/reference/get_v2-mobile-devices) ### Secrets Optional secrets: * `jamf_oauth`: OAuth token `JAMF_SERVICE_TOKEN`. * `jamf`: required values `JAMF_API_TOKEN`. ### Input fields **base_url** `string | null` Jamf Pro base URL (e.g. [https://acme.jamfcloud.com](https://acme.jamfcloud.com)). Default: `null`. **page** `integer | null` Zero-indexed page number. Default: `null`. **page_size** `integer | null` Number of results per page. Default: `null`. **sort** `array[string] | null` Sort expressions in property:asc or property:desc format. Defaults to id:asc. Default: `null`. ## Redeploy Jamf management framework Action ID: `tools.jamf.redeploy_management_framework` Reinstall the Jamf management framework on a computer. Returns 202 with a deviceId and commandUuid. Reference: [https://developer.jamf.com/jamf-pro/reference/post_v1-jamf-management-framework-redeploy-id](https://developer.jamf.com/jamf-pro/reference/post_v1-jamf-management-framework-redeploy-id) ### Secrets Optional secrets: * `jamf_oauth`: OAuth token `JAMF_SERVICE_TOKEN`. * `jamf`: required values `JAMF_API_TOKEN`. ### Input fields **computer_id** `string` *required* Computer ID. **base_url** `string | null` Jamf Pro base URL (e.g. [https://acme.jamfcloud.com](https://acme.jamfcloud.com)). Default: `null`. ## Remove computer MDM profile Action ID: `tools.jamf.remove_computer_mdm_profile` Remove the MDM profile from a Jamf Pro computer. Reference: [https://developer.jamf.com/jamf-pro/reference/post_v4-computers-inventory-id-remove-mdm-profile](https://developer.jamf.com/jamf-pro/reference/post_v4-computers-inventory-id-remove-mdm-profile) ### Secrets Optional secrets: * `jamf_oauth`: OAuth token `JAMF_SERVICE_TOKEN`. * `jamf`: required values `JAMF_API_TOKEN`. ### Input fields **computer_id** `string` *required* Computer ID. **base_url** `string | null` Jamf Pro base URL (e.g. [https://acme.jamfcloud.com](https://acme.jamfcloud.com)). Default: `null`. ## Remove serial numbers from computer PreStage scope Action ID: `tools.jamf.remove_computer_prestage_scope` Remove serial numbers from a computer PreStage scope; a 409 is an optimistic-locking conflict, so refetch the scope for the current versionLock and retry. Reference: [https://developer.jamf.com/jamf-pro/reference/post_v2-computer-prestages-id-scope-delete-multiple](https://developer.jamf.com/jamf-pro/reference/post_v2-computer-prestages-id-scope-delete-multiple) ### Secrets Optional secrets: * `jamf_oauth`: OAuth token `JAMF_SERVICE_TOKEN`. * `jamf`: required values `JAMF_API_TOKEN`. ### Input fields **prestage_id** `string` *required* Computer PreStage enrollment ID. **serial_numbers** `array[string]` *required* Serial numbers to remove from the PreStage scope. **version_lock** `integer` *required* Current optimistic-lock version from the PreStage scope. **base_url** `string | null` Jamf Pro base URL (e.g. [https://acme.jamfcloud.com](https://acme.jamfcloud.com)). Default: `null`. ## Send MDM command Action ID: `tools.jamf.send_mdm_command` Send an MDM command to one or more Jamf Pro clients; returns 201 with each command ID and href. Reference: [https://developer.jamf.com/jamf-pro/reference/post_v2-mdm-commands](https://developer.jamf.com/jamf-pro/reference/post_v2-mdm-commands) ### Secrets Optional secrets: * `jamf_oauth`: OAuth token `JAMF_SERVICE_TOKEN`. * `jamf`: required values `JAMF_API_TOKEN`. ### Input fields **client_data** `array[object]` *required* Target clients. Each entry is an object with a managementId UUID. **command_data** `object` *required* Command fields including commandType. Accepted command types: APPLY_REDEMPTION_CODE, CANCEL_ENHANCED_LOG_COLLECTION, CERTIFICATE_LIST, CLEAR_PASSCODE, CLEAR_RESTRICTIONS_PASSWORD, DECLARATIVE_MANAGEMENT, DELETE_USER, DEVICE_INFORMATION, DEVICE_LOCATION, DEVICE_LOCK, DISABLE_LOST_MODE, DISABLE_REMOTE_DESKTOP, ENABLE_LOST_MODE, ENABLE_REMOTE_DESKTOP, ERASE_DEVICE, INSTALLED_APPLICATION_LIST, LOG_OUT_USER, MANAGED_APPLICATION_LIST, MANAGED_MEDIA_LIST, REFRESH_CELLULAR_PLANS, PLAY_LOST_MODE_SOUND, PROFILE_LIST, PROVISIONING_PROFILE_LIST, RESTART_DEVICE, REQUEST_MIRRORING, SECURITY_INFO, SETTINGS, SET_AUTO_ADMIN_PASSWORD, SET_RECOVERY_LOCK, SHUT_DOWN_DEVICE, STOP_MIRRORING, TRIGGER_ENHANCED_LOG_COLLECTION, UNLOCK_USER_ACCOUNT, VALIDATE_APPLICATIONS, VERIFY_RECOVERY_LOCK. **base_url** `string | null` Jamf Pro base URL (e.g. [https://acme.jamfcloud.com](https://acme.jamfcloud.com)). Default: `null`. ## Update computer inventory detail Action ID: `tools.jamf.update_computer_inventory_detail` Partially update computer inventory detail; use the userAndLocation section to assign the device to a user. Reference: [https://developer.jamf.com/jamf-pro/reference/patch_v4-computers-inventory-detail-id](https://developer.jamf.com/jamf-pro/reference/patch_v4-computers-inventory-detail-id) ### Secrets Optional secrets: * `jamf_oauth`: OAuth token `JAMF_SERVICE_TOKEN`. * `jamf`: required values `JAMF_API_TOKEN`. ### Input fields **computer_id** `string` *required* Computer ID. **payload** `object` *required* Partial inventory update; the userAndLocation section assigns the device to a user. **base_url** `string | null` Jamf Pro base URL (e.g. [https://acme.jamfcloud.com](https://acme.jamfcloud.com)). Default: `null`. ## Update static computer group Action ID: `tools.jamf.update_static_group` Update a Jamf Pro static computer group. Replaces the entire membership, so assignments must be the full desired set of computer IDs rather than only the additions. Reference: [https://developer.jamf.com/jamf-pro/reference/put_v3-computer-groups-static-groups-id](https://developer.jamf.com/jamf-pro/reference/put_v3-computer-groups-static-groups-id) ### Secrets Optional secrets: * `jamf_oauth`: OAuth token `JAMF_SERVICE_TOKEN`. * `jamf`: required values `JAMF_API_TOKEN`. ### Input fields **group_id** `string` *required* Static computer group ID. **name** `string` *required* Group name, from 1 to 255 characters. **assignments** `array[string] | null` Full desired set of computer IDs, replacing the entire current membership. Default: `null`. **base_url** `string | null` Jamf Pro base URL (e.g. [https://acme.jamfcloud.com](https://acme.jamfcloud.com)). Default: `null`. **description** `string | null` Group description. Default: `null`. **site_id** `string | null` Jamf Pro site ID. Default: `null`. # Jira Source: https://docs.tracecat.com/tools/jira Reference for the Tracecat Jira integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Add comment to issue Action ID: `tools.jira.add_issue_comment` Add a comment to an issue in Jira. Reference: [https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-comments/#api-rest-api-3-issue-issueidorkey-comment-post](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-comments/#api-rest-api-3-issue-issueidorkey-comment-post) ### Secrets Optional secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. * `jira`: required values `JIRA_USEREMAIL`, `JIRA_API_TOKEN`. ### Input fields **comment** `string | object` *required* Comment to add to the issue. Plain strings are wrapped as ADF text paragraphs. JSON object strings are deserialized. Dictionaries are sent as the Jira comment `body` value. **issue_id_or_key** `string` *required* ID or key of the issue to add a comment to. **base_url** `string | null` Jira tenant URL (e.g. [https://your-domain.atlassian.net](https://your-domain.atlassian.net)). With Atlassian OAuth, use [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});. Default: `null`. ## Assign issue Action ID: `tools.jira.assign_issue` Assign an issue to a user. Reference: [https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-assignee-put](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-assignee-put) ### Secrets Optional secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. * `jira`: required values `JIRA_USEREMAIL`, `JIRA_API_TOKEN`. ### Input fields **issue_key** `string` *required* Jira issue key (e.g. TC-123) **user_id** `string` *required* Jira user ID (e.g. 1234567890) **base_url** `string | null` Jira tenant URL (e.g. [https://your-domain.atlassian.net](https://your-domain.atlassian.net)). With Atlassian OAuth, use [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});. Default: `null`. ## Create issue Action ID: `tools.jira.create_issue` Create a new issue in Jira. Reference: [https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-post](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-post) ### Secrets Optional secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. * `jira`: required values `JIRA_USEREMAIL`, `JIRA_API_TOKEN`. ### Input fields **description** `string | object` *required* Detailed description of the incident. Plain strings are wrapped as ADF text paragraphs. JSON object strings are deserialized. Dictionaries are sent as provided. **issue_type_id** `string` *required* Jira issue type ID. **priority_id** `string` *required* Priority ID. Must be one of the priorities in the priority scheme. **project_id** `string` *required* Jira project ID. **summary** `string` *required* Brief one-line summary of the incident. **base_url** `string | null` Jira tenant URL (e.g. [https://your-domain.atlassian.net](https://your-domain.atlassian.net)). With Atlassian OAuth, use [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});. Default: `null`. **fields** `array[object]` List of fields to add to the issue. ADF values can be passed as objects. For example usage: `[ {"customfield_10000": "New value"}, {"customfield_10001": {"version": 1, "type": "doc", "content": []}} ]` Default: `[]`. **tags** `array[string]` Tags to categorize the incident. Added as Jira labels. Default: `[]`. ## Get fields Action ID: `tools.jira.get_fields` Get a list of fields from Jira. Reference: [https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-fields/#api-group-issue-fields](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-fields/#api-group-issue-fields) ### Secrets Optional secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. * `jira`: required values `JIRA_USEREMAIL`, `JIRA_API_TOKEN`. ### Input fields **base_url** `string | null` Jira tenant URL (e.g. [https://your-domain.atlassian.net](https://your-domain.atlassian.net)). With Atlassian OAuth, use [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});. Default: `null`. ## Get issue Action ID: `tools.jira.get_issue` Get an issue from Jira by ID or key. Reference: [https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-get](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-get) ### Secrets Optional secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. * `jira`: required values `JIRA_USEREMAIL`, `JIRA_API_TOKEN`. ### Input fields **issue_id_or_key** `string` *required* ID or key of the issue to get. **base_url** `string | null` Jira tenant URL (e.g. [https://your-domain.atlassian.net](https://your-domain.atlassian.net)). With Atlassian OAuth, use [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});. Default: `null`. **fields** `string` A list of fields to return for each issue, use it to retrieve a subset of fields. This parameter accepts a comma-separated list of strings. Expand options include: \*all, \*navigable, summary, comment,-description, -comment (defaults to \*all). Default: `"*all"`. ## Get priorities by scheme Action ID: `tools.jira.get_priorities` Get a list of priorities from Jira for a given priority scheme. Reference: [https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-priority-schemes/#api-rest-api-3-priorityscheme-schemeid-priorities-get](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-priority-schemes/#api-rest-api-3-priorityscheme-schemeid-priorities-get) ### Secrets Optional secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. * `jira`: required values `JIRA_USEREMAIL`, `JIRA_API_TOKEN`. ### Input fields **priority_scheme_id** `string` *required* Jira priority scheme ID. **base_url** `string | null` Jira tenant URL (e.g. [https://your-domain.atlassian.net](https://your-domain.atlassian.net)). With Atlassian OAuth, use [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});. Default: `null`. **limit** `integer` Maximum number of priorities to return. Default: `50`. ## Get priority schemes Action ID: `tools.jira.get_priority_schemes` Get a list of priority schemes from Jira. Reference: [https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-priority-schemes/#api-rest-api-3-priorityscheme-get](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-priority-schemes/#api-rest-api-3-priorityscheme-get) ### Secrets Optional secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. * `jira`: required values `JIRA_USEREMAIL`, `JIRA_API_TOKEN`. ### Input fields **base_url** `string | null` Jira tenant URL (e.g. [https://your-domain.atlassian.net](https://your-domain.atlassian.net)). With Atlassian OAuth, use [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});. Default: `null`. **limit** `integer` Maximum number of priority schemes to return. Default: `50`. ## Get projects Action ID: `tools.jira.get_projects` Get a list of projects from Jira. Reference: [https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects/#api-rest-api-3-project-search-get](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects/#api-rest-api-3-project-search-get) ### Secrets Optional secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. * `jira`: required values `JIRA_USEREMAIL`, `JIRA_API_TOKEN`. ### Input fields **base_url** `string | null` Jira tenant URL (e.g. [https://your-domain.atlassian.net](https://your-domain.atlassian.net)). With Atlassian OAuth, use [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});. Default: `null`. **limit** `integer` Maximum number of projects to return. Default: `50`. ## Get transitions Action ID: `tools.jira.get_transitions` Get a list of available transitions for an issue. Reference: [https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-transitions-get](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-transitions-get) ### Secrets Optional secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. * `jira`: required values `JIRA_USEREMAIL`, `JIRA_API_TOKEN`. ### Input fields **issue_id_or_key** `string` *required* ID or key of the issue to get transitions for. **base_url** `string | null` Jira tenant URL (e.g. [https://your-domain.atlassian.net](https://your-domain.atlassian.net)). With Atlassian OAuth, use [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});. Default: `null`. ## Get user ID Action ID: `tools.jira.get_user_id` Get a user ID from Jira. Reference: [https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-user-search/#api-rest-api-3-user-search-get](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-user-search/#api-rest-api-3-user-search-get) ### Secrets Optional secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. * `jira`: required values `JIRA_USEREMAIL`, `JIRA_API_TOKEN`. ### Input fields **username** `string` *required* Jira username (e.g. [john.doe@example.com](mailto:john.doe@example.com)) **base_url** `string | null` Jira tenant URL (e.g. [https://your-domain.atlassian.net](https://your-domain.atlassian.net)). With Atlassian OAuth, use [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});. Default: `null`. ## Search issues Action ID: `tools.jira.search_issues` Search for issues in Jira using JQL. Reference: [https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-jql-get](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-jql-get) ### Secrets Optional secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. * `jira`: required values `JIRA_USEREMAIL`, `JIRA_API_TOKEN`. ### Input fields **jql** `string` *required* JQL query to search for issues. **base_url** `string | null` Jira tenant URL (e.g. [https://your-domain.atlassian.net](https://your-domain.atlassian.net)). With Atlassian OAuth, use [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});. Default: `null`. **fields** `string` A list of fields to return for each issue, use it to retrieve a subset of fields. This parameter accepts a comma-separated list. Expand options include: \*all, \*navigable, summary, comment, -description, -comment (defaults to id). Default: `"id"`. **max_results** `integer` Maximum number of results to return. Default: `100`. **next_page** `string` Next page token to get the next page of results. If not provided, the first page of results will be returned. Default: `null`. ## Update issue description Action ID: `tools.jira.update_issue_description` Update the description of an existing issue in Jira. Reference: [https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-put](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-put) ### Secrets Optional secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. * `jira`: required values `JIRA_USEREMAIL`, `JIRA_API_TOKEN`. ### Input fields **description** `string | object` *required* Updated description of the incident. Plain strings are wrapped as ADF text paragraphs. JSON object strings are deserialized. Dictionaries are sent as provided. **issue_id_or_key** `string` *required* ID or key of the issue to update. **base_url** `string | null` Jira tenant URL (e.g. [https://your-domain.atlassian.net](https://your-domain.atlassian.net)). With Atlassian OAuth, use [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});. Default: `null`. ## Update issue fields Action ID: `tools.jira.update_issue_fields` Update the fields of an existing issue in Jira. Reference: [https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-put](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-put) ### Secrets Optional secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. * `jira`: required values `JIRA_USEREMAIL`, `JIRA_API_TOKEN`. ### Input fields **fields** `array[object]` *required* List of fields to update in the issue. ADF values can be passed as objects. For example usage: `[ {"customfield_10000": "New value"}, {"customfield_10001": {"version": 1, "type": "doc", "content": []}} ]` **issue_id_or_key** `string` *required* ID or key of the issue to update. **base_url** `string | null` Jira tenant URL (e.g. [https://your-domain.atlassian.net](https://your-domain.atlassian.net)). With Atlassian OAuth, use [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});. Default: `null`. ## Update issue status Action ID: `tools.jira.update_issue_status` Update the status of an issue. Reference: [https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-transitions-post](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-transitions-post) ### Secrets Optional secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. * `jira`: required values `JIRA_USEREMAIL`, `JIRA_API_TOKEN`. ### Input fields **issue_id_or_key** `string` *required* ID or key of the issue to update. **transition_id** `string` *required* ID of the transition to perform. **base_url** `string | null` Jira tenant URL (e.g. [https://your-domain.atlassian.net](https://your-domain.atlassian.net)). With Atlassian OAuth, use [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});. Default: `null`. ## Upload attachment Action ID: `tools.jira.upload_attachment` Upload an attachment to a Jira issue. Reference: [https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-attachments/#api-rest-api-3-issue-issueidorkey-attachments-post](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-attachments/#api-rest-api-3-issue-issueidorkey-attachments-post) ### Secrets Optional secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. * `jira`: required values `JIRA_USEREMAIL`, `JIRA_API_TOKEN`. ### Input fields **base64_content** `string` *required* Base64 encoded content of the file to upload. **content_type** `string` *required* MIME type of the file (e.g., "application/pdf", "image/png", "text/plain"). **filename** `string` *required* Name of the file to upload. **ticket** `string` *required* Jira issue key or ID to upload the attachment to (e.g., "PROJ-123"). **base_url** `string | null` Jira tenant URL (e.g. [https://your-domain.atlassian.net](https://your-domain.atlassian.net)). With Atlassian OAuth, use [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});. Default: `null`. # Jira Service Management Source: https://docs.tracecat.com/tools/jira_service_management Reference for the Tracecat Jira Service Management integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Acknowledge alert Action ID: `tools.jira_service_management.acknowledge_alert` Mark an alert as acknowledged, indicating it has been received and is being acted upon. Reference: [https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-acknowledge-post](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-acknowledge-post) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **alert_id** `string` *required* Identifier of the alert. **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. **note** `string | null` Additional note to add. Default: `null`. **source** `string | null` Display name of the request source. Default: `null`. **user** `string | null` Display name of the request owner. Default: `null`. ## Add alert note Action ID: `tools.jira_service_management.add_alert_note` Add a note to an existing alert. Reference: [https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-notes-post](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-notes-post) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **alert_id** `string` *required* Identifier of the alert. **note** `string` *required* Note text to add to the alert (max 25,000 chars). **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. **source** `string | null` Display name of the request source. Default: `null`. **user** `string | null` Display name of the request owner. Default: `null`. ## Add comment to service request Action ID: `tools.jira_service_management.add_request_comment` Add a comment to a service request in Jira Service Management. Supports setting visibility to public (customer-visible) or internal (agent-only). Reference: [https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-request/#api-rest-servicedeskapi-request-issueidorkey-comment-post](https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-request/#api-rest-servicedeskapi-request-issueidorkey-comment-post) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **comment** `string` *required* The comment body text. **issue_id_or_key** `string` *required* ID or key of the service request (e.g. SD-123). **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. **public** `boolean` Whether the comment is visible to the customer on the portal. Set to true for customer-visible, false for internal agent-only. Default: `true`. ## Add extra properties to alert Action ID: `tools.jira_service_management.add_extra_properties` Enrich an alert with additional contextual key-value properties. Reference: [https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-extra-properties-post](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-extra-properties-post) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **alert_id** `string` *required* Identifier of the alert. **details** `map[string, string]` *required* Key-value pairs of extra properties to add. **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. **note** `string | null` Additional note to add. Default: `null`. **source** `string | null` Display name of the request source. Default: `null`. **user** `string | null` Display name of the request owner. Default: `null`. ## Add responder to alert Action ID: `tools.jira_service_management.add_responder` Assign a responder (user, team, or escalation) to an existing alert. Reference: [https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-responders-post](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-responders-post) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **alert_id** `string` *required* Identifier of the alert. **responder** `map[string, string]` *required* Responder to add. Object with "type" and identifier. Example: \{"type": "team", "id": "team-id"} or \{"type": "user", "id": "user-id"} or \{"type": "escalation", "id": "escalation-id"} **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. **note** `string | null` Additional note to add. Default: `null`. **source** `string | null` Display name of the request source. Default: `null`. **user** `string | null` Display name of the request owner. Default: `null`. ## Add tags to alert Action ID: `tools.jira_service_management.add_tags` Add tags to an alert for categorization and organization. Reference: [https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-tags-post](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-tags-post) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **alert_id** `string` *required* Identifier of the alert. **tags** `array[string]` *required* Tags to add to the alert (max 20, each max 50 chars). **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. **note** `string | null` Additional note to add. Default: `null`. **source** `string | null` Display name of the request source. Default: `null`. **user** `string | null` Display name of the request owner. Default: `null`. ## Assign alert Action ID: `tools.jira_service_management.assign_alert` Assign an alert to a user or group for responsibility. Reference: [https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-assign-post](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-assign-post) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **alert_id** `string` *required* Identifier of the alert. **owner** `map[string, string]` *required* Owner to assign. Object with "type" and identifier. Example: \{"type": "user", "id": "user-id"} or \{"type": "user", "username": "[john@example.com](mailto:john@example.com)"} **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. **note** `string | null` Additional note to add. Default: `null`. **source** `string | null` Display name of the request source. Default: `null`. **user** `string | null` Display name of the request owner. Default: `null`. ## Close alert Action ID: `tools.jira_service_management.close_alert` Close an alert, indicating the issue has been resolved. Reference: [https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-close-post](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-close-post) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **alert_id** `string` *required* Identifier of the alert. **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. **note** `string | null` Additional note to add. Default: `null`. **source** `string | null` Display name of the request source. Default: `null`. **user** `string | null` Display name of the request owner. Default: `null`. ## Create alert Action ID: `tools.jira_service_management.create_alert` Create a new alert. The request is processed asynchronously; use the returned request ID with get_request_status to track it. Reference: [https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-post](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-post) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **message** `string` *required* Alert message (limited to 130 characters). **actions** `array[string] | null` Custom actions available for the alert (max 10, each max 50 chars). Default: `null`. **alias** `string | null` Client-defined unique identifier for the alert, used for deduplication. Maximum 512 characters. Default: `null`. **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. **description** `string | null` Detailed description of the alert (up to 15,000 characters). Default: `null`. **details** `map[string, string] | null` Key-value pairs of additional properties (max 8000 chars total). Default: `null`. **entity** `string | null` Entity field of the alert, generally for domain of the alert (max 512 chars). Default: `null`. **note** `string | null` Additional note to add when creating the alert (max 25,000 chars). Default: `null`. **priority** `string | null` Priority level (P1, P2, P3, P4, P5). Default is P3. Default: `null`. **responders** `array[object] | null` List of responders. Each responder is an object with "type" and an identifier. Example: \[\{"type": "team", "id": "team-id"}, \{"type": "user", "id": "user-id"}] Default: `null`. **source** `string | null` Source field of the alert (max 100 chars). Default: `null`. **tags** `array[string] | null` Tags for the alert (max 20, each max 50 chars). Default: `null`. **visible_to** `array[object] | null` Teams and users the alert will be visible to without sending notifications. Example: \[\{"type": "team", "id": "team-id"}] Default: `null`. ## Create heartbeat Action ID: `tools.jira_service_management.create_heartbeat` Create a heartbeat monitor for a team. When the heartbeat stops receiving pings within its interval, Jira Service Management raises an alert. Heartbeat names must be unique within the team. Reference: [https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-heartbeats/#api-api-cloudid-v1-teams-teamid-heartbeats-post](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-heartbeats/#api-api-cloudid-v1-teams-teamid-heartbeats-post) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **interval** `integer` *required* Number of interval units before the heartbeat expires and an alert is raised. **interval_unit** `string` *required* Unit of the interval. One of "minutes", "hours", or "days". **name** `string` *required* Unique name of the heartbeat within the team. **team_id** `string` *required* Identifier of the team that owns the heartbeat. **alert_message** `string | null` Message of the alert raised when the heartbeat expires. Default: `null`. **alert_priority** `string | null` Priority (P1, P2, P3, P4, P5) of the alert raised when the heartbeat expires. Default: `null`. **alert_tags** `array[string] | null` Tags applied to the alert raised when the heartbeat expires. Default: `null`. **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. **description** `string | null` Detailed description of the heartbeat. Default: `null`. **enabled** `boolean | null` Whether the heartbeat is active. Defaults to true when omitted. Default: `null`. ## Create service request Action ID: `tools.jira_service_management.create_service_request` Create a customer service request in Jira Service Management. Unlike the standard Jira create issue API, this creates a proper service request with queue placement, SLA tracking, and customer visibility. Reference: [https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-request/#api-rest-servicedeskapi-request-post](https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-request/#api-rest-servicedeskapi-request-post) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **request_type_id** `string` *required* The ID of the request type. Use the get_request_types action to discover valid IDs for a service desk. **service_desk_id** `string` *required* The ID of the service desk to create the request in. **summary** `string` *required* Brief one-line summary of the service request. **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. **description** `string | null` Detailed description of the service request. Default: `null`. **raise_on_behalf_of** `string | null` Account ID of the customer to raise the request on behalf of. Requires the agent to have the "Add customers" permission. Default: `null`. **request_field_values** `object` Additional field values for the request, keyed by Jira field ID. For example: `{ "customfield_10000": "New value", "priority": {"id": "3"} }` Default: `{}`. **request_participants** `array[string]` List of account IDs to add as request participants. Requires the agent to have the "Add request participants" permission. Default: `[]`. ## Delete alert Action ID: `tools.jira_service_management.delete_alert` Delete an alert by its unique identifier. Processed asynchronously. Reference: [https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-delete](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-delete) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **alert_id** `string` *required* Identifier of the alert. **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. ## Delete alert note Action ID: `tools.jira_service_management.delete_alert_note` Remove a specific note from an alert. Reference: [https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-alertid-notes-id-delete](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-alertid-notes-id-delete) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **alert_id** `string` *required* Identifier of the alert. **note_id** `string` *required* Identifier of the note to delete. **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. ## Delete extra properties from alert Action ID: `tools.jira_service_management.delete_extra_properties` Remove specified extra properties from an alert. Reference: [https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-extra-properties-delete](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-extra-properties-delete) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **alert_id** `string` *required* Identifier of the alert. **keys** `array[string]` *required* List of extra property keys to remove. **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. **note** `string | null` Additional note to add. Default: `null`. **source** `string | null` Display name of the request source. Default: `null`. **user** `string | null` Display name of the request owner. Default: `null`. ## Delete heartbeat Action ID: `tools.jira_service_management.delete_heartbeat` Delete a heartbeat monitor from a team, identified by name. Reference: [https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-heartbeats/#api-api-cloudid-v1-teams-teamid-heartbeats-delete](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-heartbeats/#api-api-cloudid-v1-teams-teamid-heartbeats-delete) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **name** `string` *required* Name of the heartbeat to delete. **team_id** `string` *required* Identifier of the team that owns the heartbeat. **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. ## Delete tags from alert Action ID: `tools.jira_service_management.delete_tags` Remove tags from an alert. Reference: [https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-tags-delete](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-tags-delete) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **alert_id** `string` *required* Identifier of the alert. **tags** `array[string]` *required* Tags to remove from the alert. **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. **note** `string | null` Additional note to add. Default: `null`. **source** `string | null` Display name of the request source. Default: `null`. **user** `string | null` Display name of the request owner. Default: `null`. ## Escalate alert to next Action ID: `tools.jira_service_management.escalate_alert` Trigger escalation policies for an alert, notifying additional users or teams. Reference: [https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-escalate-post](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-escalate-post) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **alert_id** `string` *required* Identifier of the alert. **escalation** `map[string, string]` *required* Escalation target. Object with "id" or "name". Example: \{"id": "escalation-id"} or \{"name": "escalation-name"} **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. **note** `string | null` Additional note to add. Default: `null`. **source** `string | null` Display name of the request source. Default: `null`. **user** `string | null` Display name of the request owner. Default: `null`. ## Execute custom action on alert Action ID: `tools.jira_service_management.execute_custom_action` Execute a custom action on an alert, including integrations with external systems. Reference: [https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-action-post](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-action-post) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **action_name** `string` *required* Name of the custom action to execute. **alert_id** `string` *required* Identifier of the alert. **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. **note** `string | null` Additional note to add. Default: `null`. **source** `string | null` Display name of the request source. Default: `null`. **user** `string | null` Display name of the request owner. Default: `null`. ## Get alert Action ID: `tools.jira_service_management.get_alert` Retrieve comprehensive details of a specific alert by its ID. Reference: [https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-get](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-get) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **alert_id** `string` *required* Identifier of the alert. **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. ## Get alert by alias Action ID: `tools.jira_service_management.get_alert_by_alias` Retrieve comprehensive details of a specific alert using its alias. Reference: [https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-alias-get](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-alias-get) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **alias** `string` *required* Alias of the alert to retrieve. **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. ## Get alert request status Action ID: `tools.jira_service_management.get_request_status` Track status and details of an asynchronous alert request. Alert creation, deletion, and action requests are processed asynchronously; use this endpoint to check their status. Reference: [https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-requests-id-get](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-requests-id-get) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **request_id** `string` *required* Identifier of the request (returned in the original async response). **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. ## Get customer request by id or key Action ID: `tools.jira_service_management.get_customer_request` Get a customer service request from Jira Service Management by its ID or key. Returns the full details of the request including status, reporter, and request field values. Reference: [https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-request/#api-rest-servicedeskapi-request-issueidorkey-get](https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-request/#api-rest-servicedeskapi-request-issueidorkey-get) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **issue_id_or_key** `string` *required* ID or key of the customer request (e.g. SD-123). **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. **expand** `array[string] | null` List of properties to expand in the response. Valid values include participant, status, sla, requestType, serviceDesk, attachment, action, comment, and comment.renderedBody. Default: `null`. ## Get next on-call participants Action ID: `tools.jira_service_management.get_next_on_calls` Retrieve who is on-call in the next rotation period for a schedule, optionally relative to a specific point in time. Reference: [https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-schedule-on-calls/#api-api-cloudid-v1-schedules-scheduleid-next-on-calls-get](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-schedule-on-calls/#api-api-cloudid-v1-schedules-scheduleid-next-on-calls-get) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **schedule_id** `string` *required* Identifier of the schedule. **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. **date** `string | null` Point in time (ISO 8601) to query the next on-call responders relative to. Defaults to the current time when omitted. Default: `null`. **flat** `boolean | null` When true, returns a flattened list of on-call user IDs. When false, returns detailed participant objects. Default: `null`. ## Get on-call participants Action ID: `tools.jira_service_management.get_on_calls` Retrieve who is currently on-call for a schedule, optionally at a specific point in time. Set flat to true to return only user IDs, or false for detailed participant objects (users, teams, escalations). Reference: [https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-schedule-on-calls/#api-api-cloudid-v1-schedules-scheduleid-on-calls-get](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-schedule-on-calls/#api-api-cloudid-v1-schedules-scheduleid-on-calls-get) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **schedule_id** `string` *required* Identifier of the schedule. **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. **date** `string | null` Point in time (ISO 8601) to query on-call responders for. Defaults to the current time when omitted. Default: `null`. **flat** `boolean | null` When true, returns a flattened list of on-call user IDs. When false, returns detailed participant objects. Default: `null`. ## Get request types Action ID: `tools.jira_service_management.get_request_types` Get the request types for a service desk in Jira Service Management. Use this to discover valid request type IDs for creating service requests. Reference: [https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-servicedesk/#api-rest-servicedeskapi-servicedesk-servicedeskid-requesttype-get](https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-servicedesk/#api-rest-servicedeskapi-servicedesk-servicedeskid-requesttype-get) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **service_desk_id** `string` *required* The ID of the service desk. **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. **limit** `integer` Maximum number of request types to return. Default: `50`. **start** `integer` Starting index of the returned request types. Default: `0`. ## Get service desks Action ID: `tools.jira_service_management.get_service_desks` Get a list of service desks in Jira Service Management. Reference: [https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-servicedesk/#api-rest-servicedeskapi-servicedesk-get](https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-servicedesk/#api-rest-servicedeskapi-servicedesk-get) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. **limit** `integer` Maximum number of service desks to return. Default: `50`. **start** `integer` Starting index of the returned service desks. Default: `0`. ## List alert logs Action ID: `tools.jira_service_management.list_alert_logs` Retrieve a paginated list of alert activity logs for audit purposes, including creation, acknowledgment, assignment, and other events. Reference: [https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-logs-get](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-logs-get) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **alert_id** `string` *required* Identifier of the alert. **after** `string | null` Pagination cursor - key of the last record from the previous page. Default: `null`. **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. **size** `integer | null` Maximum number of logs to retrieve. Default: `null`. ## List alert notes Action ID: `tools.jira_service_management.list_alert_notes` Retrieve a paginated list of notes for a specified alert. Reference: [https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-notes-get](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-notes-get) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **alert_id** `string` *required* Identifier of the alert. **after** `string | null` Pagination cursor - key of the last record from the previous page. Default: `null`. **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. **size** `integer | null` Maximum number of notes to retrieve. Default: `null`. ## List alerts Action ID: `tools.jira_service_management.list_alerts` Retrieve all alerts with pagination and filtering support. Returns up to 20,000 alerts. Use the query parameter for search filtering. Reference: [https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-get](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-get) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. **from_date** `string | null` Starting date-time filter (ISO 8601). Default: `null`. **offset** `integer | null` Starting point within the collection of results. Default: `null`. **order** `string | null` Sorting order of the result set (asc or desc). Default: `null`. **query** `string | null` Search query to filter alerts. Default: `null`. **size** `integer | null` Maximum number of items to return. Default: `null`. **sort** `string | null` Name of the field to sort results by. Default: `null`. **to_date** `string | null` Ending date-time filter (ISO 8601). Default: `null`. ## List heartbeats Action ID: `tools.jira_service_management.list_heartbeats` Retrieve the heartbeats configured for a team. Use this to discover heartbeat names and inspect their status, interval, and last ping time. Reference: [https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-heartbeats/#api-api-cloudid-v1-teams-teamid-heartbeats-get](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-heartbeats/#api-api-cloudid-v1-teams-teamid-heartbeats-get) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **team_id** `string` *required* Identifier of the team that owns the heartbeats. **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. ## List schedules Action ID: `tools.jira_service_management.list_schedules` Retrieve on-call schedules with pagination and search support. Use this to discover schedule IDs for the on-call lookups. Reference: [https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-schedules/#api-api-cloudid-v1-schedules-get](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-schedules/#api-api-cloudid-v1-schedules-get) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. **expand** `string | null` Comma-separated fields to expand in the response (e.g. rotation). Default: `null`. **offset** `integer | null` Starting point within the collection of results. Default: `null`. **query** `string | null` Search query to filter schedules. Default: `null`. **size** `integer | null` Maximum number of items to return. Default: `null`. ## Ping heartbeat Action ID: `tools.jira_service_management.ping_heartbeat` Send a ping to a heartbeat to signal that the monitored system is alive. Each ping resets the heartbeat's expiration timer, preventing the expiry alert. Reference: [https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-heartbeats/#api-api-cloudid-v1-teams-teamid-heartbeats-ping-post](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-heartbeats/#api-api-cloudid-v1-teams-teamid-heartbeats-ping-post) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **name** `string` *required* Name of the heartbeat to ping. **team_id** `string` *required* Identifier of the team that owns the heartbeat. **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. ## Snooze alert Action ID: `tools.jira_service_management.snooze_alert` Temporarily silence an alert for a specified period, preventing notifications. Reference: [https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-snooze-post](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-snooze-post) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **alert_id** `string` *required* Identifier of the alert. **end_time** `string` *required* Snooze end time in ISO 8601 format. **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. **note** `string | null` Additional note to add. Default: `null`. **source** `string | null` Display name of the request source. Default: `null`. **user** `string | null` Display name of the request owner. Default: `null`. ## Unacknowledge alert Action ID: `tools.jira_service_management.unacknowledge_alert` Set the acknowledged property to false, marking the alert status as open. Reference: [https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-unacknowledge-post](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-unacknowledge-post) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **alert_id** `string` *required* Identifier of the alert. **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. **note** `string | null` Additional note to add. Default: `null`. **source** `string | null` Display name of the request source. Default: `null`. **user** `string | null` Display name of the request owner. Default: `null`. ## Update alert description Action ID: `tools.jira_service_management.update_alert_description` Update the description of an alert to provide current incident details. Reference: [https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-description-patch](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-description-patch) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **alert_id** `string` *required* Identifier of the alert. **description** `string` *required* New alert description (max 15,000 characters). **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. ## Update alert message Action ID: `tools.jira_service_management.update_alert_message` Update the message of an alert to keep it accurate and current. Reference: [https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-message-patch](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-message-patch) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **alert_id** `string` *required* Identifier of the alert. **message** `string` *required* New alert message (max 130 characters). **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. ## Update alert note Action ID: `tools.jira_service_management.update_alert_note` Modify a note associated with a specific alert. Reference: [https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-alertid-notes-id-patch](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-alertid-notes-id-patch) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **alert_id** `string` *required* Identifier of the alert. **note** `string` *required* Updated note text. **note_id** `string` *required* Identifier of the note to update. **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. **source** `string | null` Display name of the request source. Default: `null`. **user** `string | null` Display name of the request owner. Default: `null`. ## Update alert priority Action ID: `tools.jira_service_management.update_alert_priority` Modify the priority level of an alert for dynamic urgency control. Reference: [https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-priority-patch](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-api-cloudid-v1-alerts-id-priority-patch) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **alert_id** `string` *required* Identifier of the alert. **priority** `string` *required* New priority level (P1, P2, P3, P4, P5). **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. ## Update heartbeat Action ID: `tools.jira_service_management.update_heartbeat` Update the configuration of an existing heartbeat, identified by name. Only supplied fields are changed. The heartbeat name itself cannot be changed. Reference: [https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-heartbeats/#api-api-cloudid-v1-teams-teamid-heartbeats-patch](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-heartbeats/#api-api-cloudid-v1-teams-teamid-heartbeats-patch) ### Secrets Required secrets: * `atlassian_oauth`: OAuth token `ATLASSIAN_USER_TOKEN`. ### Input fields **name** `string` *required* Name of the heartbeat to update. **team_id** `string` *required* Identifier of the team that owns the heartbeat. **alert_message** `string | null` Message of the alert raised when the heartbeat expires. Default: `null`. **alert_priority** `string | null` Priority (P1, P2, P3, P4, P5) of the alert raised when the heartbeat expires. Default: `null`. **alert_tags** `array[string] | null` Tags applied to the alert raised when the heartbeat expires. Default: `null`. **base_url** `string | null` Atlassian API URL for the Jira site (e.g. [https://api.atlassian.com/ex/jira/\{cloudId\}](https://api.atlassian.com/ex/jira/\{cloudId\});). Default: `null`. **description** `string | null` Detailed description of the heartbeat. Default: `null`. **enabled** `boolean | null` Whether the heartbeat is active. Default: `null`. **interval** `integer | null` Number of interval units before the heartbeat expires and an alert is raised. Default: `null`. **interval_unit** `string | null` Unit of the interval. One of "minutes", "hours", or "days". Default: `null`. # Kubernetes SDK Source: https://docs.tracecat.com/tools/kubernetes_sdk Reference for the Tracecat Kubernetes SDK integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Call API Action ID: `tools.kubernetes_sdk.call_api` Instantiate an isolated Kubernetes SDK client and call an API method. Reference: [https://github.com/kubernetes-client/python](https://github.com/kubernetes-client/python) ### Secrets Required secrets: * `kubernetes`: required values `KUBECONFIG`; optional values `KUBECONFIG_CONTEXT`. ### Input fields **api_class** `string` *required* Kubernetes API class, e.g. `CoreV1Api`. **method_name** `string` *required* Kubernetes API method, e.g. `list_namespaced_pod`. **params** `object | null` Parameters for the Kubernetes API method. Default: `null`. # LDAP Source: https://docs.tracecat.com/tools/ldap Reference for the Tracecat LDAP integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Add LDAP entry Action ID: `tools.ldap.add_entry` Add an entry to the LDAP directory. Reference: [https://ldap3.readthedocs.io/en/latest/add.html](https://ldap3.readthedocs.io/en/latest/add.html) ### Secrets Required secrets: * `ldap`: required values `LDAP_HOST`, `LDAP_PORT`, `LDAP_USER`, `LDAP_PASSWORD`. ### Input fields **attributes** `object` *required* Attributes of the entry **dn** `string` *required* Distinguished name of the entry **object_class** `string` *required* Object class of the entry **connection_kwargs** `object | null` Additional connection parameters Default: `null`. **server_kwargs** `object | null` Additional server parameters Default: `null`. ## Delete LDAP entry Action ID: `tools.ldap.delete_entry` Delete an entry from the LDAP directory. Reference: [https://ldap3.readthedocs.io/en/latest/delete.html](https://ldap3.readthedocs.io/en/latest/delete.html) ### Secrets Required secrets: * `ldap`: required values `LDAP_HOST`, `LDAP_PORT`, `LDAP_USER`, `LDAP_PASSWORD`. ### Input fields **dn** `string` *required* Distinguished name of the entry **connection_kwargs** `object | null` Additional connection parameters Default: `null`. **server_kwargs** `object | null` Additional server parameters Default: `null`. ## Modify LDAP entry Action ID: `tools.ldap.modify_entry` Modify an LDAP entry in the directory. Reference: [https://ldap3.readthedocs.io/en/latest/modify.html](https://ldap3.readthedocs.io/en/latest/modify.html) ### Secrets Required secrets: * `ldap`: required values `LDAP_HOST`, `LDAP_PORT`, `LDAP_USER`, `LDAP_PASSWORD`. ### Input fields **changes** `map[string, array[array[any]]]` *required* Changes to the entry **dn** `string` *required* Distinguished name of the entry **connection_kwargs** `object | null` Additional connection parameters Default: `null`. **server_kwargs** `object | null` Additional server parameters Default: `null`. ## Search LDAP directory Action ID: `tools.ldap.search_entries` Search the LDAP directory for entries matching the query. Reference: [https://ldap3.readthedocs.io/en/latest/searches.html](https://ldap3.readthedocs.io/en/latest/searches.html) ### Secrets Required secrets: * `ldap`: required values `LDAP_HOST`, `LDAP_PORT`, `LDAP_USER`, `LDAP_PASSWORD`. ### Input fields **search_base** `string` *required* Search base DN **search_filter** `string` *required* LDAP search filter (RFC4515 syntax). Example: '(cn=John\*)' or '(&(objectClass=person)(mail=\*@example.com))' **connection_kwargs** `object | null` Additional connection parameters Default: `null`. **server_kwargs** `object | null` Additional server parameters Default: `null`. # LeakCheck Source: https://docs.tracecat.com/tools/leakcheck Reference for the Tracecat LeakCheck integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Lookup Domain leak Action ID: `tools.leakcheck.search_domain_leak` Retrieve leaks linked to a domain name Reference: [https://wiki.leakcheck.io/en/api](https://wiki.leakcheck.io/en/api) ### Secrets Required secrets: * `leakcheck`: required values `LEAKCHECK_API_KEY`. ### Input fields **domain_name** `string` *required* Domain name to search for leaks. ## Lookup Email leak Action ID: `tools.leakcheck.search_email_leak` Retrieve leaks linked to an email address Reference: [https://wiki.leakcheck.io/en/api](https://wiki.leakcheck.io/en/api) ### Secrets Required secrets: * `leakcheck`: required values `LEAKCHECK_API_KEY`. ### Input fields **email_address** `string` *required* Email address to search for leaks. ## Search leak Action ID: `tools.leakcheck.search_leak` Search leaks. Calls GET /api/v2/query/\{query} directly. Reference: [https://wiki.leakcheck.io/en/api/api-v2-pro](https://wiki.leakcheck.io/en/api/api-v2-pro) ### Secrets Required secrets: * `leakcheck`: required values `LEAKCHECK_API_KEY`. ### Input fields **query** `string` *required* Search value used as the API path value. **base_url** `string | null` Base URL of the LeakCheck API. Default: `null`. **limit** `integer | null` Maximum number of rows to return. Defaults to 100 and cannot exceed 1000. Default: `null`. **offset** `integer | null` Number of rows to skip, for pagination. Defaults to 0 and cannot exceed 2500. Default: `null`. **type** `string | null` Search type. When omitted, the type is detected automatically (works for email, username, phone number and hash). Default: `null`. # Microsoft Defender for Endpoint Source: https://docs.tracecat.com/tools/microsoft_defender_endpoint Reference for the Tracecat Microsoft Defender for Endpoint integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Create machine action Action ID: `tools.microsoft_defender_endpoint.create_machine_action` Submit a machine action (for example, isolate or run an antivirus scan) in Microsoft Defender for Endpoint. Reference: [https://learn.microsoft.com/en-us/defender-endpoint/api/machineaction](https://learn.microsoft.com/en-us/defender-endpoint/api/machineaction) ### Secrets Optional secrets: * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_USER_TOKEN`. * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_SERVICE_TOKEN`. ### Input fields **action_type** `string` *required* Type of machine action to perform. Allowed values: `Isolate`, `Unisolate`, `CollectInvestigationPackage`, `RunAntivirusScan`, `RestrictCodeExecution`, `UnrestrictCodeExecution`, `StopAndQuarantineFile`, `LiveResponse`, `Offboard`, `RequestSample`. **comment** `string` *required* Comment describing why the action is being taken. **machine_id** `string` *required* Machine ID to target with the action. **base_url** `string` Base URL for the Microsoft Defender for Endpoint API. Default: `"https://api.securitycenter.microsoft.com"`. Allowed values: `https://api.securitycenter.microsoft.com`, `https://api-gcc.securitycenter.microsoft.us`, `https://api-gov.securitycenter.microsoft.us`. **parameters** `object | null` Optional action parameters payload (for example, \{"scanType": "Quick"} for RunAntivirusScan). Default: `null`. ## Create or update indicator Action ID: `tools.microsoft_defender_endpoint.create_or_update_indicator` Create or update a Microsoft Defender for Endpoint custom indicator of compromise. Reference: [https://learn.microsoft.com/en-us/defender-endpoint/api/post-ti-indicator](https://learn.microsoft.com/en-us/defender-endpoint/api/post-ti-indicator) ### Secrets Optional secrets: * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_USER_TOKEN`. * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_SERVICE_TOKEN`. ### Input fields **action** `string` *required* Enforcement action for the indicator. Allowed values: `Alert`, `Warn`, `Block`, `Audit`, `BlockAndRemediate`, `AlertAndBlock`, `Allowed`. **description** `string` *required* Indicator description. **indicator_type** `string` *required* Indicator type. Allowed values: `FileSha1`, `FileSha256`, `FileMd5`, `CertificateThumbprint`, `IpAddress`, `DomainName`, `Url`. **indicator_value** `string` *required* Indicator value (for example, SHA1 hash, domain, URL, or IP address). **title** `string` *required* Indicator alert title. **application** `string | null` Friendly application name to display in end-user notifications. Default: `null`. **base_url** `string` Base URL for the Microsoft Defender for Endpoint API. Default: `"https://api.securitycenter.microsoft.com"`. Allowed values: `https://api.securitycenter.microsoft.com`, `https://api-gcc.securitycenter.microsoft.us`, `https://api-gov.securitycenter.microsoft.us`. **expiration_time** `string | null` Optional ISO 8601 timestamp when the indicator expires (for example, 2025-12-31T00:00:00Z). Default: `null`. **generate_alert** `boolean | null` Whether Defender should generate an alert when the indicator matches. Default: `null`. **rbac_group_names** `array[string] | null` Optional list of RBAC device group names that the indicator applies to. Default: `null`. **recommended_actions** `string | null` Recommended remediation steps to include with the indicator. Default: `null`. **severity** `string | null` Optional severity to associate with the indicator. Default: `null`. ## Get alert Action ID: `tools.microsoft_defender_endpoint.get_alert` Retrieve a Microsoft Defender for Endpoint alert by ID. Reference: [https://learn.microsoft.com/en-us/defender-endpoint/api/get-alert-info-by-id](https://learn.microsoft.com/en-us/defender-endpoint/api/get-alert-info-by-id) ### Secrets Optional secrets: * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_USER_TOKEN`. * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_SERVICE_TOKEN`. ### Input fields **alert_id** `string` *required* Alert ID to retrieve. **base_url** `string` Base URL for the Microsoft Defender for Endpoint API. Default: `"https://api.securitycenter.microsoft.com"`. Allowed values: `https://api.securitycenter.microsoft.com`, `https://api-gcc.securitycenter.microsoft.us`, `https://api-gov.securitycenter.microsoft.us`. ## Get file from machine Action ID: `tools.microsoft_defender_endpoint.get_file_from_machine` Request a file from a device using Microsoft Defender Live Response. Reference: [https://learn.microsoft.com/en-us/defender-endpoint/api/run-live-response](https://learn.microsoft.com/en-us/defender-endpoint/api/run-live-response) ### Secrets Optional secrets: * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_USER_TOKEN`. * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_SERVICE_TOKEN`. ### Input fields **file_path** `string` *required* Absolute file path on the device (escape backslashes, for example C:\\\Windows\\\Temp\\\sample.txt). **machine_id** `string` *required* Machine ID to collect the file from. **base_url** `string` Base URL for the Microsoft Defender for Endpoint API. Default: `"https://api.securitycenter.microsoft.com"`. Allowed values: `https://api.securitycenter.microsoft.com`, `https://api-gcc.securitycenter.microsoft.us`, `https://api-gov.securitycenter.microsoft.us`. **comment** `string | null` Comment describing the Live Response action. Default: `null`. ## Get incident Action ID: `tools.microsoft_defender_endpoint.get_incident` Retrieve a Microsoft Defender for Endpoint incident by ID. Reference: [https://learn.microsoft.com/en-us/defender-endpoint/api/exposed-apis-list](https://learn.microsoft.com/en-us/defender-endpoint/api/exposed-apis-list) ### Secrets Optional secrets: * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_USER_TOKEN`. * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_SERVICE_TOKEN`. ### Input fields **incident_id** `string` *required* Incident ID to retrieve. **base_url** `string` Base URL for the Microsoft Defender for Endpoint API. Default: `"https://api.securitycenter.microsoft.com"`. Allowed values: `https://api.securitycenter.microsoft.com`, `https://api-gcc.securitycenter.microsoft.us`, `https://api-gov.securitycenter.microsoft.us`. ## Get machine Action ID: `tools.microsoft_defender_endpoint.get_machine` Retrieve detailed information about a device from Microsoft Defender for Endpoint. Reference: [https://learn.microsoft.com/en-us/defender-endpoint/api/get-machine-by-id](https://learn.microsoft.com/en-us/defender-endpoint/api/get-machine-by-id) ### Secrets Optional secrets: * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_USER_TOKEN`. * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_SERVICE_TOKEN`. ### Input fields **machine_id** `string` *required* Machine ID to retrieve, as returned by the alerts or incidents APIs. **base_url** `string` Base URL for the Microsoft Defender for Endpoint API. Default: `"https://api.securitycenter.microsoft.com"`. Allowed values: `https://api.securitycenter.microsoft.com`, `https://api-gcc.securitycenter.microsoft.us`, `https://api-gov.securitycenter.microsoft.us`. ## Isolate machine Action ID: `tools.microsoft_defender_endpoint.isolate_machine` Isolate a device from the network using Microsoft Defender for Endpoint. Reference: [https://learn.microsoft.com/en-us/defender-endpoint/api/isolate-machine](https://learn.microsoft.com/en-us/defender-endpoint/api/isolate-machine) ### Secrets Optional secrets: * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_USER_TOKEN`. * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_SERVICE_TOKEN`. ### Input fields **comment** `string` *required* Comment describing why the device is being isolated. **machine_id** `string` *required* Machine ID to isolate. **base_url** `string` Base URL for the Microsoft Defender for Endpoint API. Default: `"https://api.securitycenter.microsoft.com"`. Allowed values: `https://api.securitycenter.microsoft.com`, `https://api-gcc.securitycenter.microsoft.us`, `https://api-gov.securitycenter.microsoft.us`. **isolation_type** `string` Isolation scope to apply. Default: `"Full"`. Allowed values: `Full`, `Selective`, `UnManagedDevice`. ## List alerts Action ID: `tools.microsoft_defender_endpoint.list_alerts` List Microsoft Defender for Endpoint alerts with optional filtering and time range. Reference: [https://learn.microsoft.com/en-us/defender-endpoint/api/get-alerts](https://learn.microsoft.com/en-us/defender-endpoint/api/get-alerts) ### Secrets Optional secrets: * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_USER_TOKEN`. * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_SERVICE_TOKEN`. ### Input fields **base_url** `string` Base URL for the Microsoft Defender for Endpoint API. Default: `"https://api.securitycenter.microsoft.com"`. Allowed values: `https://api.securitycenter.microsoft.com`, `https://api-gcc.securitycenter.microsoft.us`, `https://api-gov.securitycenter.microsoft.us`. **filter** `string | null` OData filter expression to apply (for example, status eq 'Active' and severity eq 'High'). Default: `null`. **order_by** `string | null` OData order by clause (for example, lastUpdateTime desc). Default: `null`. **since_time** `string | null` ISO 8601 timestamp to restrict alerts updated after this time (convenience filter applied as lastUpdateTime ge). Default: `null`. **top** `integer | null` Maximum number of alerts to return (maps to \$top OData query option). Default: `null`. ## List incidents Action ID: `tools.microsoft_defender_endpoint.list_incidents` List Microsoft Defender for Endpoint incidents with optional OData filtering. Reference: [https://learn.microsoft.com/en-us/defender-endpoint/api/exposed-apis-list](https://learn.microsoft.com/en-us/defender-endpoint/api/exposed-apis-list) ### Secrets Optional secrets: * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_USER_TOKEN`. * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_SERVICE_TOKEN`. ### Input fields **base_url** `string` Base URL for the Microsoft Defender for Endpoint API. Default: `"https://api.securitycenter.microsoft.com"`. Allowed values: `https://api.securitycenter.microsoft.com`, `https://api-gcc.securitycenter.microsoft.us`, `https://api-gov.securitycenter.microsoft.us`. **filter** `string | null` OData filter expression to apply (for example, status eq 'Active' and severity eq 'High'). Default: `null`. **order_by** `string | null` OData order by clause (for example, lastUpdateTime desc). Default: `null`. **top** `integer | null` Maximum number of incidents to return (maps to \$top OData query option). Default: `null`. ## List indicators Action ID: `tools.microsoft_defender_endpoint.list_indicators` Retrieve Microsoft Defender for Endpoint indicators with optional OData filters. Reference: [https://learn.microsoft.com/en-us/defender-endpoint/api/get-ti-indicators-collection](https://learn.microsoft.com/en-us/defender-endpoint/api/get-ti-indicators-collection) ### Secrets Optional secrets: * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_USER_TOKEN`. * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_SERVICE_TOKEN`. ### Input fields **base_url** `string` Base URL for the Microsoft Defender for Endpoint API. Default: `"https://api.securitycenter.microsoft.com"`. Allowed values: `https://api.securitycenter.microsoft.com`, `https://api-gcc.securitycenter.microsoft.us`, `https://api-gov.securitycenter.microsoft.us`. **filter** `string | null` OData filter expression to apply (for example, action eq 'AlertAndBlock'). Default: `null`. **order_by** `string | null` OData order by clause (for example, creationTimeDateTimeUtc desc). Default: `null`. **skip_token** `string | null` OData skip token to continue pagination. Default: `null`. **top** `integer | null` Maximum number of indicators to return (maps to \$top). Default: `null`. ## List machine actions Action ID: `tools.microsoft_defender_endpoint.list_machine_actions` List Microsoft Defender for Endpoint machine actions with optional filters. Reference: [https://learn.microsoft.com/en-us/defender-endpoint/api/get-machineactions-collection](https://learn.microsoft.com/en-us/defender-endpoint/api/get-machineactions-collection) ### Secrets Optional secrets: * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_USER_TOKEN`. * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_SERVICE_TOKEN`. ### Input fields **base_url** `string` Base URL for the Microsoft Defender for Endpoint API. Default: `"https://api.securitycenter.microsoft.com"`. Allowed values: `https://api.securitycenter.microsoft.com`, `https://api-gcc.securitycenter.microsoft.us`, `https://api-gov.securitycenter.microsoft.us`. **filter** `string | null` OData filter expression to apply (for example, machineId eq 'deviceId'). Default: `null`. **order_by** `string | null` OData order by clause (for example, creationDateTimeUtc desc). Default: `null`. **skip_token** `string | null` OData skip token to continue pagination. Default: `null`. **top** `integer | null` Maximum number of machine actions to return (maps to \$top). Default: `null`. ## List machines Action ID: `tools.microsoft_defender_endpoint.list_machines` List Microsoft Defender for Endpoint machines with optional filters. Reference: [https://learn.microsoft.com/en-us/defender-endpoint/api/get-machines](https://learn.microsoft.com/en-us/defender-endpoint/api/get-machines) ### Secrets Optional secrets: * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_USER_TOKEN`. * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_SERVICE_TOKEN`. ### Input fields **base_url** `string` Base URL for the Microsoft Defender for Endpoint API. Default: `"https://api.securitycenter.microsoft.com"`. Allowed values: `https://api.securitycenter.microsoft.com`, `https://api-gcc.securitycenter.microsoft.us`, `https://api-gov.securitycenter.microsoft.us`. **filter** `string | null` OData filter expression to apply (for example, healthStatus eq 'Active'). Default: `null`. **order_by** `string | null` OData order by clause (for example, lastSeen desc). Default: `null`. **skip_token** `string | null` OData skip token to continue pagination. Default: `null`. **top** `integer | null` Maximum number of machines to return (maps to \$top). Default: `null`. ## Put file on machine Action ID: `tools.microsoft_defender_endpoint.put_file_on_machine` Copy a file from the Live Response library onto a device. Reference: [https://learn.microsoft.com/en-us/defender-endpoint/api/run-live-response](https://learn.microsoft.com/en-us/defender-endpoint/api/run-live-response) ### Secrets Optional secrets: * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_USER_TOKEN`. * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_SERVICE_TOKEN`. ### Input fields **file_name** `string` *required* Name of the file in the Live Response library to push to the device. **machine_id** `string` *required* Machine ID to receive the file. **base_url** `string` Base URL for the Microsoft Defender for Endpoint API. Default: `"https://api.securitycenter.microsoft.com"`. Allowed values: `https://api.securitycenter.microsoft.com`, `https://api-gcc.securitycenter.microsoft.us`, `https://api-gov.securitycenter.microsoft.us`. **comment** `string | null` Comment describing why the file was delivered. Default: `null`. ## Release machine from isolation Action ID: `tools.microsoft_defender_endpoint.unisolate_machine` Release a device from network isolation in Microsoft Defender for Endpoint. Reference: [https://learn.microsoft.com/en-us/defender-endpoint/api/unisolate-machine](https://learn.microsoft.com/en-us/defender-endpoint/api/unisolate-machine) ### Secrets Optional secrets: * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_USER_TOKEN`. * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_SERVICE_TOKEN`. ### Input fields **comment** `string` *required* Comment describing why the device is being released. **machine_id** `string` *required* Machine ID to release from isolation. **base_url** `string` Base URL for the Microsoft Defender for Endpoint API. Default: `"https://api.securitycenter.microsoft.com"`. Allowed values: `https://api.securitycenter.microsoft.com`, `https://api-gcc.securitycenter.microsoft.us`, `https://api-gov.securitycenter.microsoft.us`. ## Run advanced hunting query Action ID: `tools.microsoft_defender_endpoint.run_advanced_hunting_query` Execute a Microsoft Defender advanced hunting query across Defender for Endpoint data. Reference: [https://learn.microsoft.com/en-us/defender-endpoint/api/run-advanced-query-api](https://learn.microsoft.com/en-us/defender-endpoint/api/run-advanced-query-api) ### Secrets Optional secrets: * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_USER_TOKEN`. * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_SERVICE_TOKEN`. ### Input fields **query** `string` *required* Kusto Query Language (KQL) query to run (for example, "DeviceNetworkEvents | take 25"). **advanced_query_run_settings** `object | null` Optional AdvancedQueryRunSettings object (for example, \{"TimeoutInSeconds": 120}). Default: `null`. **base_url** `string` Base URL for the Microsoft Defender for Endpoint API. Default: `"https://api.securitycenter.microsoft.com"`. Allowed values: `https://api.securitycenter.microsoft.com`, `https://api-gcc.securitycenter.microsoft.us`, `https://api-gov.securitycenter.microsoft.us`. ## Run antivirus scan Action ID: `tools.microsoft_defender_endpoint.run_antivirus_scan` Trigger a Microsoft Defender Antivirus scan on a device. Reference: [https://learn.microsoft.com/en-us/defender-endpoint/api/run-av-scan](https://learn.microsoft.com/en-us/defender-endpoint/api/run-av-scan) ### Secrets Optional secrets: * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_USER_TOKEN`. * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_SERVICE_TOKEN`. ### Input fields **comment** `string` *required* Comment describing why the scan was requested. **machine_id** `string` *required* Machine ID to scan. **base_url** `string` Base URL for the Microsoft Defender for Endpoint API. Default: `"https://api.securitycenter.microsoft.com"`. Allowed values: `https://api.securitycenter.microsoft.com`, `https://api-gcc.securitycenter.microsoft.us`, `https://api-gov.securitycenter.microsoft.us`. **scan_type** `string` Type of antivirus scan to perform. Default: `"Quick"`. Allowed values: `Quick`, `Full`. ## Run live response Action ID: `tools.microsoft_defender_endpoint.run_live_response` Run a sequence of Live Response commands on a device in Microsoft Defender for Endpoint. Reference: [https://learn.microsoft.com/en-us/defender-endpoint/api/run-live-response](https://learn.microsoft.com/en-us/defender-endpoint/api/run-live-response) ### Secrets Optional secrets: * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_USER_TOKEN`. * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_SERVICE_TOKEN`. ### Input fields **commands** `array[object]` *required* Ordered list of Live Response commands (each object requires at least a 'type' key and optional 'params' list of key/value objects). **machine_id** `string` *required* Machine ID to target with Live Response commands. **base_url** `string` Base URL for the Microsoft Defender for Endpoint API. Default: `"https://api.securitycenter.microsoft.com"`. Allowed values: `https://api.securitycenter.microsoft.com`, `https://api-gcc.securitycenter.microsoft.us`, `https://api-gov.securitycenter.microsoft.us`. **comment** `string | null` Comment describing the purpose of the Live Response session. Default: `null`. ## Run script on machine Action ID: `tools.microsoft_defender_endpoint.run_script_on_machine` Execute a script from the Live Response library on a device. Reference: [https://learn.microsoft.com/en-us/defender-endpoint/api/run-live-response](https://learn.microsoft.com/en-us/defender-endpoint/api/run-live-response) ### Secrets Optional secrets: * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_USER_TOKEN`. * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_SERVICE_TOKEN`. ### Input fields **machine_id** `string` *required* Machine ID to target with the script. **script_name** `string` *required* Name of the uploaded Live Response script to run. **base_url** `string` Base URL for the Microsoft Defender for Endpoint API. Default: `"https://api.securitycenter.microsoft.com"`. Allowed values: `https://api.securitycenter.microsoft.com`, `https://api-gcc.securitycenter.microsoft.us`, `https://api-gov.securitycenter.microsoft.us`. **comment** `string | null` Comment describing the Live Response action. Default: `null`. **script_arguments** `string | null` Optional arguments passed to the script (quoted as a single string). Default: `null`. ## Update alert Action ID: `tools.microsoft_defender_endpoint.update_alert` Update status, ownership, or classification details for a Microsoft Defender for Endpoint alert. Reference: [https://learn.microsoft.com/en-us/defender-endpoint/api/update-alert](https://learn.microsoft.com/en-us/defender-endpoint/api/update-alert) ### Secrets Optional secrets: * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_USER_TOKEN`. * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_SERVICE_TOKEN`. ### Input fields **alert_id** `string` *required* Alert ID to update. **assigned_to** `string | null` User principal name (UPN) or email address to assign the alert to. Default: `null`. **base_url** `string` Base URL for the Microsoft Defender for Endpoint API. Default: `"https://api.securitycenter.microsoft.com"`. Allowed values: `https://api.securitycenter.microsoft.com`, `https://api-gcc.securitycenter.microsoft.us`, `https://api-gov.securitycenter.microsoft.us`. **classification** `string | null` Updated alert classification. Default: `null`. **comment** `string | null` Comment to append to the alert. Default: `null`. **determination** `string | null` Determination that provides additional context for the classification (for example, Malware, SecurityTesting, NotMalicious). Default: `null`. **status** `string | null` Updated alert status. Default: `null`. ## Update incident Action ID: `tools.microsoft_defender_endpoint.update_incident` Update classification, determination, or assignment details for a Microsoft Defender for Endpoint incident. Reference: [https://learn.microsoft.com/en-us/defender-endpoint/api/exposed-apis-list](https://learn.microsoft.com/en-us/defender-endpoint/api/exposed-apis-list) ### Secrets Optional secrets: * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_USER_TOKEN`. * `microsoft_defender_endpoint_oauth`: OAuth token `MICROSOFT_DEFENDER_ENDPOINT_SERVICE_TOKEN`. ### Input fields **incident_id** `string` *required* Incident ID to update. **assigned_to** `string | null` User principal name (UPN) or email to assign the incident to. Default: `null`. **base_url** `string` Base URL for the Microsoft Defender for Endpoint API. Default: `"https://api.securitycenter.microsoft.com"`. Allowed values: `https://api.securitycenter.microsoft.com`, `https://api-gcc.securitycenter.microsoft.us`, `https://api-gov.securitycenter.microsoft.us`. **classification** `string | null` Classification to apply to the incident (for example, Unknown, TruePositive, FalsePositive, InformationalExpectedActivity). Default: `null`. **comment** `string | null` Comment to add to the incident history. Default: `null`. **determination** `string | null` Determination that provides additional context for the classification (for example, Unknown, Malware, SecurityTesting). Default: `null`. **status** `string | null` Incident status (for example, Active, Resolved, InProgress, Redirected). Default: `null`. **tags** `array[string] | null` Tags to associate with the incident. Default: `null`. # Microsoft Entra Source: https://docs.tracecat.com/tools/microsoft_entra Reference for the Tracecat Microsoft Entra integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Add user to group Action ID: `tools.microsoft_entra.add_user_to_group` Add a Microsoft Entra ID user to a group. Reference: [https://learn.microsoft.com/en-us/graph/api/group-post-members?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/group-post-members?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_entra_oauth`: OAuth token `MICROSOFT_ENTRA_USER_TOKEN`. * `microsoft_entra_oauth`: OAuth token `MICROSOFT_ENTRA_SERVICE_TOKEN`. ### Input fields **group_id** `string` *required* The unique identifier of the group. **user_id** `string` *required* The unique identifier of the user (directory object) to add. **api_version** `string` Microsoft Graph API version. Default: `"v1.0"`. **base_url** `string` Base URL for the Microsoft Graph API. Default: `"https://graph.microsoft.com"`. Allowed values: `https://graph.microsoft.com`, `https://graph.microsoft.us`. ## Create group Action ID: `tools.microsoft_entra.create_group` Create a Microsoft Entra ID group. Reference: [https://learn.microsoft.com/en-us/graph/api/group-post-groups?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/group-post-groups?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_entra_oauth`: OAuth token `MICROSOFT_ENTRA_USER_TOKEN`. * `microsoft_entra_oauth`: OAuth token `MICROSOFT_ENTRA_SERVICE_TOKEN`. ### Input fields **group** `object` *required* Properties for the new group resource (displayName, mailEnabled, mailNickname, securityEnabled, etc.). **api_version** `string` Microsoft Graph API version. Default: `"v1.0"`. **base_url** `string` Base URL for the Microsoft Graph API. Default: `"https://graph.microsoft.com"`. Allowed values: `https://graph.microsoft.com`, `https://graph.microsoft.us`. ## Create user Action ID: `tools.microsoft_entra.create_user` Create a Microsoft Entra ID user account. Reference: [https://learn.microsoft.com/en-us/graph/api/user-post-users?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/user-post-users?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_entra_oauth`: OAuth token `MICROSOFT_ENTRA_USER_TOKEN`. * `microsoft_entra_oauth`: OAuth token `MICROSOFT_ENTRA_SERVICE_TOKEN`. ### Input fields **user** `object` *required* User properties for the request body (e.g. accountEnabled, displayName, mailNickname, userPrincipalName, passwordProfile). **api_version** `string` Microsoft Graph API version. Default: `"v1.0"`. **base_url** `string` Base URL for the Microsoft Graph API. Default: `"https://graph.microsoft.com"`. Allowed values: `https://graph.microsoft.com`, `https://graph.microsoft.us`. ## Delete group Action ID: `tools.microsoft_entra.delete_group` Delete a Microsoft Entra ID group. Reference: [https://learn.microsoft.com/en-us/graph/api/group-delete?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/group-delete?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_entra_oauth`: OAuth token `MICROSOFT_ENTRA_USER_TOKEN`. * `microsoft_entra_oauth`: OAuth token `MICROSOFT_ENTRA_SERVICE_TOKEN`. ### Input fields **group_id** `string` *required* The unique identifier of the group to delete. **api_version** `string` Microsoft Graph API version. Default: `"v1.0"`. **base_url** `string` Base URL for the Microsoft Graph API. Default: `"https://graph.microsoft.com"`. Allowed values: `https://graph.microsoft.com`, `https://graph.microsoft.us`. ## Delete user Action ID: `tools.microsoft_entra.delete_user` Delete a Microsoft Entra ID user. Reference: [https://learn.microsoft.com/en-us/graph/api/user-delete?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/user-delete?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_entra_oauth`: OAuth token `MICROSOFT_ENTRA_USER_TOKEN`. * `microsoft_entra_oauth`: OAuth token `MICROSOFT_ENTRA_SERVICE_TOKEN`. ### Input fields **user_id** `string` *required* The unique identifier of the user to delete. **api_version** `string` Microsoft Graph API version. Default: `"v1.0"`. **base_url** `string` Base URL for the Microsoft Graph API. Default: `"https://graph.microsoft.com"`. Allowed values: `https://graph.microsoft.com`, `https://graph.microsoft.us`. ## Get group Action ID: `tools.microsoft_entra.get_group` Retrieve details for a Microsoft Entra ID group. Reference: [https://learn.microsoft.com/en-us/graph/api/group-get?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/group-get?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_entra_oauth`: OAuth token `MICROSOFT_ENTRA_USER_TOKEN`. * `microsoft_entra_oauth`: OAuth token `MICROSOFT_ENTRA_SERVICE_TOKEN`. ### Input fields **group_id** `string` *required* The unique identifier of the group to retrieve. **api_version** `string` Microsoft Graph API version. Default: `"v1.0"`. **base_url** `string` Base URL for the Microsoft Graph API. Default: `"https://graph.microsoft.com"`. Allowed values: `https://graph.microsoft.com`, `https://graph.microsoft.us`. **expand** `array[string]` Optional related entities to expand in the response. Default: `null`. **select** `array[string]` Optional set of group properties to return. Default: `null`. ## Get user Action ID: `tools.microsoft_entra.get_user` Retrieve details for a Microsoft Entra ID user. Reference: [https://learn.microsoft.com/en-us/graph/api/user-get?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/user-get?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_entra_oauth`: OAuth token `MICROSOFT_ENTRA_USER_TOKEN`. * `microsoft_entra_oauth`: OAuth token `MICROSOFT_ENTRA_SERVICE_TOKEN`. ### Input fields **user_id** `string` *required* The unique identifier of the user to retrieve. **api_version** `string` Microsoft Graph API version. Default: `"v1.0"`. **base_url** `string` Base URL for the Microsoft Graph API. Default: `"https://graph.microsoft.com"`. Allowed values: `https://graph.microsoft.com`, `https://graph.microsoft.us`. **expand** `array[string]` Optional related entities to expand in the response. Default: `null`. **select** `array[string]` Optional set of user properties to return. Default: `null`. ## Get user ID by email Action ID: `tools.microsoft_entra.get_user_id_by_email` Get a user's ID by searching for their email address in mail or userPrincipalName. Reference: [https://learn.microsoft.com/en-us/graph/api/user-list?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/user-list?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_entra_oauth`: OAuth token `MICROSOFT_ENTRA_USER_TOKEN`. * `microsoft_entra_oauth`: OAuth token `MICROSOFT_ENTRA_SERVICE_TOKEN`. ### Input fields **email** `string` *required* The email address to search for. **api_version** `string` Microsoft Graph API version. Default: `"v1.0"`. **base_url** `string` Base URL for the Microsoft Graph API. Default: `"https://graph.microsoft.com"`. Allowed values: `https://graph.microsoft.com`, `https://graph.microsoft.us`. ## List groups Action ID: `tools.microsoft_entra.list_groups` List Microsoft Entra ID groups with optional OData queries. Reference: [https://learn.microsoft.com/en-us/graph/api/group-list?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/group-list?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_entra_oauth`: OAuth token `MICROSOFT_ENTRA_USER_TOKEN`. * `microsoft_entra_oauth`: OAuth token `MICROSOFT_ENTRA_SERVICE_TOKEN`. ### Input fields **api_version** `string` Microsoft Graph API version. Default: `"v1.0"`. **base_url** `string` Base URL for the Microsoft Graph API. Default: `"https://graph.microsoft.com"`. Allowed values: `https://graph.microsoft.com`, `https://graph.microsoft.us`. **consistency_level_eventual** `boolean` Set ConsistencyLevel=eventual for advanced queries when required by Microsoft Graph. Default: `false`. **expand** `array[string]` Optional related entities to expand in the response. Default: `null`. **filter** `string` Optional OData \$filter expression. Default: `null`. **max_page_size** `integer` Optional maximum page size to request via Prefer=odata.maxpagesize. Default: `null`. **orderby** `string` Optional OData \$orderby expression. Default: `null`. **search** `string` Optional search phrase. Use quoted property names as documented, for example "displayName:Engineering". Default: `null`. **select** `array[string]` Optional set of group properties to return. Default: `null`. **skip_token** `string` Opaque continuation token from a previous response (\$skiptoken). Default: `null`. **top** `integer` Maximum number of results to return in a single page (\$top). Default: `null`. ## List users Action ID: `tools.microsoft_entra.list_users` List Microsoft Entra ID users with optional OData query parameters. Reference: [https://learn.microsoft.com/en-us/graph/api/user-list?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/user-list?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_entra_oauth`: OAuth token `MICROSOFT_ENTRA_USER_TOKEN`. * `microsoft_entra_oauth`: OAuth token `MICROSOFT_ENTRA_SERVICE_TOKEN`. ### Input fields **api_version** `string` Microsoft Graph API version. Default: `"v1.0"`. **base_url** `string` Base URL for the Microsoft Graph API. Default: `"https://graph.microsoft.com"`. Allowed values: `https://graph.microsoft.com`, `https://graph.microsoft.us`. **consistency_level_eventual** `boolean` Set ConsistencyLevel=eventual for advanced queries when required by Microsoft Graph. Default: `false`. **count** `boolean` Include @odata.count in the response by setting \$count=true. Default: `false`. **expand** `array[string]` Optional related entities to expand in the response. Default: `null`. **filter** `string` Optional OData \$filter expression. Default: `null`. **max_page_size** `integer` Optional maximum page size to request via Prefer=odata.maxpagesize. Default: `null`. **orderby** `string` Optional OData \$orderby expression. Default: `null`. **search** `string` Optional search phrase. Use quoted property names per Microsoft Graph syntax, for example "displayName:Alex". Default: `null`. **select** `array[string]` Optional set of user properties to return. Default: `null`. **skip_token** `string` Opaque continuation token from a previous response (\$skiptoken). Default: `null`. **top** `integer` Maximum number of results to return in a single page (\$top). Default: `null`. ## Remove user from group Action ID: `tools.microsoft_entra.remove_user_from_group` Remove a Microsoft Entra ID user from a group. Reference: [https://learn.microsoft.com/en-us/graph/api/group-delete-members?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/group-delete-members?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_entra_oauth`: OAuth token `MICROSOFT_ENTRA_USER_TOKEN`. * `microsoft_entra_oauth`: OAuth token `MICROSOFT_ENTRA_SERVICE_TOKEN`. ### Input fields **group_id** `string` *required* The unique identifier of the group. **user_id** `string` *required* The unique identifier of the user (directory object) to remove. **api_version** `string` Microsoft Graph API version. Default: `"v1.0"`. **base_url** `string` Base URL for the Microsoft Graph API. Default: `"https://graph.microsoft.com"`. Allowed values: `https://graph.microsoft.com`, `https://graph.microsoft.us`. ## Update group Action ID: `tools.microsoft_entra.update_group` Update properties on a Microsoft Entra ID group. Reference: [https://learn.microsoft.com/en-us/graph/api/group-update?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/group-update?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_entra_oauth`: OAuth token `MICROSOFT_ENTRA_USER_TOKEN`. * `microsoft_entra_oauth`: OAuth token `MICROSOFT_ENTRA_SERVICE_TOKEN`. ### Input fields **group_id** `string` *required* The unique identifier of the group to update. **updates** `object` *required* Group properties to update as defined in the Microsoft Graph group resource. **api_version** `string` Microsoft Graph API version. Default: `"v1.0"`. **base_url** `string` Base URL for the Microsoft Graph API. Default: `"https://graph.microsoft.com"`. Allowed values: `https://graph.microsoft.com`, `https://graph.microsoft.us`. ## Update user Action ID: `tools.microsoft_entra.update_user` Update properties on a Microsoft Entra ID user. Reference: [https://learn.microsoft.com/en-us/graph/api/user-update?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/user-update?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_entra_oauth`: OAuth token `MICROSOFT_ENTRA_USER_TOKEN`. * `microsoft_entra_oauth`: OAuth token `MICROSOFT_ENTRA_SERVICE_TOKEN`. ### Input fields **updates** `object` *required* User properties to update as defined in the Microsoft Graph user resource. **user_id** `string` *required* The unique identifier of the user to update. **api_version** `string` Microsoft Graph API version. Default: `"v1.0"`. **base_url** `string` Base URL for the Microsoft Graph API. Default: `"https://graph.microsoft.com"`. Allowed values: `https://graph.microsoft.com`, `https://graph.microsoft.us`. # Microsoft Graph SDK Source: https://docs.tracecat.com/tools/microsoft_graph_sdk Reference for the Tracecat Microsoft Graph SDK integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Call continuation method Action ID: `tools.microsoft_graph_sdk.call_continuation_method` Follow one validated Graph next or delta link. Reference: [https://learn.microsoft.com/en-us/graph/paging](https://learn.microsoft.com/en-us/graph/paging) ### Secrets Optional secrets: * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN`. * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_USER_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_SERVICE_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_USER_TOKEN`. ### Input fields **continuation_url** `string` *required* Complete `@odata.nextLink` or `@odata.deltaLink` returned by Microsoft Graph. The URL must remain on the selected national-cloud v1.0 root. **auth_mode** `MicrosoftGraphAuthMode` Credential type to use from the selected OAuth provider. `application` uses its service token, `delegated` uses its user token, and `auto` tries the service chain before the user chain. Product providers fall back to the matching generic Microsoft Graph token. Default: `"application"`. **base_url** `string | null` Microsoft Graph v1.0 API root. Defaults to `https://graph.microsoft.com/v1.0`. Also accepts `https://graph.microsoft.us/v1.0`, `https://dod-graph.microsoft.us/v1.0` and `https://microsoftgraph.chinacloudapi.cn/v1.0`. Default: `null`. **headers** `map[string, string | null] | null` Additional request headers. `null` values are dropped. `Authorization` and `Host` are owned by the SDK and are rejected (case-insensitive). Default: `null`. **oauth_provider** `MicrosoftGraphOAuthProvider` OAuth provider to use. Product providers prefer their own token and fall back to the matching generic Microsoft Graph token. Security and Outlook credentials are never used as fallbacks for each other. Default: `"microsoft_graph"`. ## Call method Action ID: `tools.microsoft_graph_sdk.call_method` Send one Microsoft Graph v1.0 request and return its untouched JSON body. Reference: [https://learn.microsoft.com/en-us/graph/use-the-api](https://learn.microsoft.com/en-us/graph/use-the-api) ### Secrets Optional secrets: * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN`. * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_USER_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_SERVICE_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_USER_TOKEN`. ### Input fields **method** `string` *required* HTTP method. One of GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS. **path** `string` *required* Resource path relative to the Microsoft Graph v1.0 root, e.g. `/security/alerts_v2`. Absolute URLs, dot-segments and encoded separators are rejected. **auth_mode** `MicrosoftGraphAuthMode` Credential type to use from the selected OAuth provider. `application` uses its service token, `delegated` uses its user token, and `auto` tries the service chain before the user chain. Product providers fall back to the matching generic Microsoft Graph token. Default: `"application"`. **base_url** `string | null` Microsoft Graph v1.0 API root. Defaults to `https://graph.microsoft.com/v1.0`. Also accepts `https://graph.microsoft.us/v1.0`, `https://dod-graph.microsoft.us/v1.0` and `https://microsoftgraph.chinacloudapi.cn/v1.0`. Default: `null`. **headers** `map[string, string | null] | null` Additional request headers. `null` values are dropped. `Authorization` and `Host` are owned by the SDK and are rejected (case-insensitive). Default: `null`. **oauth_provider** `MicrosoftGraphOAuthProvider` OAuth provider to use. Product providers prefer their own token and fall back to the matching generic Microsoft Graph token. Security and Outlook credentials are never used as fallbacks for each other. Default: `"microsoft_graph"`. **omit_none_payload_fields** `boolean` Drop top-level payload fields whose value is `null` instead of sending JSON `null`. Nested `null` values are always preserved. Default: `false`. **params** `object | null` Query parameters, e.g. `{"$top": 50}`. Only `None` values are dropped: `false`, `0` and `""` are sent. Booleans are serialized as OData `true`/`false` and lists as repeated keys. Default: `null`. **payload** `object | null` JSON request body. Explicit `null` values are sent as JSON `null` unless `omit_none_payload_fields` is enabled. Default: `null`. ## Call paginated method Action ID: `tools.microsoft_graph_sdk.call_paginated_method` Fetch every page of a Microsoft Graph collection, bounded by `limit`. Reference: [https://learn.microsoft.com/en-us/graph/paging](https://learn.microsoft.com/en-us/graph/paging) ### Secrets Optional secrets: * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN`. * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_USER_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_SERVICE_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_USER_TOKEN`. ### Input fields **path** `string` *required* Resource path relative to the Microsoft Graph v1.0 root, e.g. `/security/alerts_v2`. Absolute URLs, dot-segments and encoded separators are rejected. **auth_mode** `MicrosoftGraphAuthMode` Credential type to use from the selected OAuth provider. `application` uses its service token, `delegated` uses its user token, and `auto` tries the service chain before the user chain. Product providers fall back to the matching generic Microsoft Graph token. Default: `"application"`. **base_url** `string | null` Microsoft Graph v1.0 API root. Defaults to `https://graph.microsoft.com/v1.0`. Also accepts `https://graph.microsoft.us/v1.0`, `https://dod-graph.microsoft.us/v1.0` and `https://microsoftgraph.chinacloudapi.cn/v1.0`. Default: `null`. **headers** `map[string, string | null] | null` Additional request headers. `null` values are dropped. `Authorization` and `Host` are owned by the SDK and are rejected (case-insensitive). Default: `null`. **limit** `integer | null` Maximum number of items to return across all pages. Paging stops as soon as the bound is reached. Set to `null` to follow every `@odata.nextLink`. Default: `1000`. **oauth_provider** `MicrosoftGraphOAuthProvider` OAuth provider to use. Product providers prefer their own token and fall back to the matching generic Microsoft Graph token. Security and Outlook credentials are never used as fallbacks for each other. Default: `"microsoft_graph"`. **params** `object | null` Query parameters, e.g. `{"$top": 50}`. Only `None` values are dropped: `false`, `0` and `""` are sent. Booleans are serialized as OData `true`/`false` and lists as repeated keys. Default: `null`. # Microsoft Graph Security Source: https://docs.tracecat.com/tools/microsoft_graph_security Reference for the Tracecat Microsoft Graph Security integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Create alert comment Action ID: `tools.microsoft_graph_security.create_alert_comment` Create a comment for an existing alert based on the specified alert id property. Least privileged permission: SecurityAlert.ReadWrite.All for both delegated (work or school account) and application; no higher privileged permission is available. Delegated access is not supported for personal Microsoft accounts. Delegated callers must hold a supported Microsoft Entra role: Security Operator or Security Administrator. Available in the global service, US Government L4 and US Government L5 (DOD); not available in China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement. Reference: [https://learn.microsoft.com/en-us/graph/api/security-alert-post-comments?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/security-alert-post-comments?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN`. * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **alertId** `string` *required* The unique identifier of the alert. **comment** `string` *required* The comment to be added. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_GRAPH_SECURITY_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_graph_security.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4) and [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD). Default: `null`. ## Create audit log query Action ID: `tools.microsoft_graph_security.create_audit_log_query` Create a new auditLogQuery object. Returns `201 Created` and the auditLogQuery, whose `status` moves from notStarted to succeeded before records can be read. Auditing data is accessed through the Microsoft Purview Audit Search API. Least privileged permission: AuditLogsQuery-Entra.Read.All for both delegated (work or school account) and application; higher privileged: AuditLogsQuery-CRM.Read.All, AuditLogsQuery-Endpoint.Read.All, AuditLogsQuery-Exchange.Read.All, AuditLogsQuery-OneDrive.Read.All, AuditLogsQuery-SharePoint.Read.All or AuditLogsQuery.Read.All. Delegated access is not supported for personal Microsoft accounts. Available in the global service only; not available in US Government L4, US Government L5 (DOD) or China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement. Reference: [https://learn.microsoft.com/en-us/graph/api/security-auditcoreroot-post-auditlogqueries?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/security-auditcoreroot-post-auditlogqueries?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN`. * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **administrativeUnitIdFilters** `array[string] | null` Administrative units tagged to an audit log record. Default: `null`. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_GRAPH_SECURITY_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_graph_security.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). This endpoint is only available in the global service. Default: `null`. **displayName** `string | null` Display name for the saved audit log query. Default: `null`. **filterEndDateTime** `string | null` End date of the date range in the query, as an ISO 8601 timestamp, for example "2024-10-08T00:00:00Z". Default: `null`. **filterStartDateTime** `string | null` Start date of the date range in the query, as an ISO 8601 timestamp, for example "2024-10-01T00:00:00Z". Default: `null`. **ipAddressFilters** `array[string] | null` The IP address of the device that was used when the activity was logged. Default: `null`. **keywordFilter** `string | null` Free text field to search non-indexed properties of the audit log. Default: `null`. **objectIdFilters** `array[string] | null` For SharePoint and OneDrive for Business activity, the full path name of the file or folder accessed by the user. For Exchange admin audit logging, the name of the object that was modified by the cmdlet. Default: `null`. **operationFilters** `array[string] | null` The name of the user or admin activity. Default: `null`. **recordTypeFilters** `array[string] | null` The operation type or types indicated by the record, for example "azureActiveDirectory", "exchangeAdmin", "sharePointFileOperation" or "microsoftTeams". See the auditLogRecordType enumeration for the full list of members. Default: `null`. **serviceFilter** `string | null` Refers to the workload property in the audit record. This is the Microsoft service where the activity occurred. Default: `null`. **status** `string | null` Current status of the query. The possible values are notStarted, running, succeeded, failed, cancelled and unknownFutureValue. Default: `null`. **userPrincipalNameFilters** `array[string] | null` The UPN (user principal name) of the user who performed the action (specified in the operation property) that resulted in the record being logged. Default: `null`. ## Create incident comment Action ID: `tools.microsoft_graph_security.create_incident_comment` Create a comment for an existing incident based on the specified incident id property. Least privileged permission: SecurityIncident.ReadWrite.All for both delegated (work or school account) and application; no higher privileged permission is available. Delegated access is not supported for personal Microsoft accounts. Delegated callers must hold a supported Microsoft Entra role: Security Operator or Security Administrator. Microsoft does not document national cloud availability for this endpoint. Microsoft's endpoint reference does not state a separate licensing requirement. Reference: [https://learn.microsoft.com/en-us/graph/api/security-incident-post-comments?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/security-incident-post-comments?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN`. * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **comment** `string` *required* The comment to be added. **incidentId** `string` *required* The unique identifier of the incident. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_GRAPH_SECURITY_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_graph_security.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4) and [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD). Default: `null`. ## Get alert Action ID: `tools.microsoft_graph_security.get_alert` Get the properties and relationships of an alert object. Least privileged permission: SecurityAlert.Read.All for both delegated (work or school account) and application; higher privileged: SecurityAlert.ReadWrite.All. Delegated access is not supported for personal Microsoft accounts. Delegated callers must hold a supported Microsoft Entra role: Security Reader, Global Reader, Security Operator or Security Administrator. Available in the global service, US Government L4 and US Government L5 (DOD); not available in China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement. Reference: [https://learn.microsoft.com/en-us/graph/api/security-alert-get?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/security-alert-get?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN`. * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **alertId** `string` *required* The unique identifier of the alert. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_GRAPH_SECURITY_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_graph_security.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4) and [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD). Default: `null`. ## Get audit log query Action ID: `tools.microsoft_graph_security.get_audit_log_query` Read the properties and relationships of an auditLogQuery object, including its `status`. Auditing data is accessed through the Microsoft Purview Audit Search API. Least privileged permission: ThreatIntelligence.Read.All for both delegated (work or school account) and application; no higher privileged permission is available. Delegated access is not supported for personal Microsoft accounts. Available in the global service only; not available in US Government L4, US Government L5 (DOD) or China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement. Reference: [https://learn.microsoft.com/en-us/graph/api/security-auditlogquery-get?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/security-auditlogquery-get?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN`. * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **auditLogQueryId** `string` *required* The unique identifier of the auditLogQuery. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_GRAPH_SECURITY_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_graph_security.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). This endpoint is only available in the global service. Default: `null`. ## Get incident Action ID: `tools.microsoft_graph_security.get_incident` Retrieve the properties and relationships of an incident object. Least privileged permission: SecurityIncident.Read.All for both delegated (work or school account) and application; higher privileged: SecurityIncident.ReadWrite.All. Delegated access is not supported for personal Microsoft accounts. Delegated callers must hold a supported Microsoft Entra role: Security Reader, Global Reader, Security Operator or Security Administrator. Available in the global service, US Government L4 and US Government L5 (DOD); not available in China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement. Reference: [https://learn.microsoft.com/en-us/graph/api/security-incident-get?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/security-incident-get?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN`. * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **incidentId** `string` *required* The unique identifier of the incident. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_GRAPH_SECURITY_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_graph_security.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4) and [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD). Default: `null`. ## Get secure score Action ID: `tools.microsoft_graph_security.get_secure_score` Retrieve the properties and relationships of a secureScore object. Least privileged permission: SecurityEvents.Read.All for both delegated (work or school account) and application; higher privileged: SecurityEvents.ReadWrite.All. Delegated access is not supported for personal Microsoft accounts. Available in the global service, US Government L4 and US Government L5 (DOD); not available in China operated by 21Vianet. If a status code other than 2xx or 404 is returned from a provider, or if a provider times out, Microsoft Graph responds `206 Partial Content` with the provider's response in a warning header. Microsoft's endpoint reference does not state a separate licensing requirement. Reference: [https://learn.microsoft.com/en-us/graph/api/securescore-get?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/securescore-get?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN`. * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **secureScoreId** `string` *required* The `id` of the secureScore, for example "00000001-0001-0001-0001-000000000001c_2019-03-19". **auth_mode** `string` Credential to use. `application` requires MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_GRAPH_SECURITY_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_graph_security.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4) and [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD). Default: `null`. ## Get secure score control profile Action ID: `tools.microsoft_graph_security.get_secure_score_control_profile` Retrieve the properties and relationships of a secureScoreControlProfile object. Least privileged permission: SecurityEvents.Read.All for both delegated (work or school account) and application; higher privileged: SecurityEvents.ReadWrite.All. Delegated access is not supported for personal Microsoft accounts. Available in the global service, US Government L4 and US Government L5 (DOD); not available in China operated by 21Vianet. If a status code other than 2xx or 404 is returned from a provider, or if a provider times out, Microsoft Graph responds `206 Partial Content` with the provider's response in a warning header. Microsoft's endpoint reference does not state a separate licensing requirement. Reference: [https://learn.microsoft.com/en-us/graph/api/securescorecontrolprofile-get?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/securescorecontrolprofile-get?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN`. * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **secureScoreControlProfileId** `string` *required* The `id` of the secureScoreControlProfile, for example "DLPEnabled". **auth_mode** `string` Credential to use. `application` requires MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_GRAPH_SECURITY_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_graph_security.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4) and [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD). Default: `null`. ## List alerts Action ID: `tools.microsoft_graph_security.list_alerts` Get a list of alert resources created to track suspicious activities in an organization. Returns the single Microsoft Graph page, including `@odata.nextLink`. Least privileged permission: SecurityAlert.Read.All for both delegated (work or school account) and application; higher privileged: SecurityAlert.ReadWrite.All. Delegated access is not supported for personal Microsoft accounts. Delegated callers must hold a supported Microsoft Entra role: Security Reader, Global Reader, Security Operator or Security Administrator. Available in the global service, US Government L4 and US Government L5 (DOD); not available in China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement. Reference: [https://learn.microsoft.com/en-us/graph/api/security-list-alerts_v2?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/security-list-alerts_v2?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN`. * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **auth_mode** `string` Credential to use. `application` requires MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_GRAPH_SECURITY_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_graph_security.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4) and [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD). Default: `null`. **count** `boolean | null` OData `$count`. Include a count of the matching resources. Default: `null`. **filter** `string | null` OData `$filter`. The following properties support `$filter`: assignedTo, classification, determination, createdDateTime, lastUpdateDateTime, severity, serviceSource and status. Default: `null`. **skip** `integer | null` OData `$skip`. Number of alerts to skip. Default: `null`. **top** `integer | null` OData `$top`. Number of alerts to return. Default: `null`. ## List audit log queries Action ID: `tools.microsoft_graph_security.list_audit_log_queries` List auditLogQuery objects. Returns the single Microsoft Graph page, including `@odata.nextLink`. Auditing data is accessed through the Microsoft Purview Audit Search API. Least privileged permission: AuditLogsQuery-Entra.Read.All for both delegated (work or school account) and application; higher privileged: AuditLogsQuery-CRM.Read.All, AuditLogsQuery-Endpoint.Read.All, AuditLogsQuery-Exchange.Read.All, AuditLogsQuery-OneDrive.Read.All, AuditLogsQuery-SharePoint.Read.All or AuditLogsQuery.Read.All. Delegated access is not supported for personal Microsoft accounts. Available in the global service only; not available in US Government L4, US Government L5 (DOD) or China operated by 21Vianet. Microsoft says this method supports unnamed OData query parameters, so this action exposes none. For other parameters, use `tools.microsoft_graph_sdk.call_method` with `oauth_provider` set to `microsoft_graph_security`. No separate licensing requirement is documented. Reference: [https://learn.microsoft.com/en-us/graph/api/security-auditcoreroot-list-auditlogqueries?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/security-auditcoreroot-list-auditlogqueries?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN`. * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **auth_mode** `string` Credential to use. `application` requires MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_GRAPH_SECURITY_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_graph_security.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). This endpoint is only available in the global service. Default: `null`. ## List audit log records Action ID: `tools.microsoft_graph_security.list_audit_log_records` List auditLogRecord objects for a completed audit log query. Returns the single Microsoft Graph page, including `@odata.nextLink`. Auditing data is accessed through the Microsoft Purview Audit Search API. Least privileged permission: AuditLogsQuery-Entra.Read.All for both delegated (work or school account) and application; higher privileged: AuditLogsQuery-CRM.Read.All, AuditLogsQuery-Endpoint.Read.All, AuditLogsQuery-Exchange.Read.All, AuditLogsQuery-OneDrive.Read.All, AuditLogsQuery-SharePoint.Read.All or AuditLogsQuery.Read.All. Delegated access is not supported for personal Microsoft accounts. Available in the global service only; not available in US Government L4, US Government L5 (DOD) or China operated by 21Vianet. Microsoft says this method supports unnamed OData query parameters, so this action exposes none. For other parameters, use `tools.microsoft_graph_sdk.call_method` with `oauth_provider` set to `microsoft_graph_security`. No separate licensing requirement is documented. Reference: [https://learn.microsoft.com/en-us/graph/api/security-auditlogquery-list-records?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/security-auditlogquery-list-records?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN`. * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **auditLogQueryId** `string` *required* The unique identifier of the auditLogQuery. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_GRAPH_SECURITY_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_graph_security.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). This endpoint is only available in the global service. Default: `null`. ## List incidents Action ID: `tools.microsoft_graph_security.list_incidents` Get a list of incident objects that Microsoft 365 Defender created to track attacks in an organization. Returns the single Microsoft Graph page, including `@odata.nextLink`. Least privileged permission: SecurityIncident.Read.All for both delegated (work or school account) and application; higher privileged: SecurityIncident.ReadWrite.All. Delegated access is not supported for personal Microsoft accounts. Delegated callers must hold a supported Microsoft Entra role: Security Reader, Global Reader, Security Operator or Security Administrator. Available in the global service, US Government L4 and US Government L5 (DOD); not available in China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement. Reference: [https://learn.microsoft.com/en-us/graph/api/security-list-incidents?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/security-list-incidents?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN`. * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **auth_mode** `string` Credential to use. `application` requires MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_GRAPH_SECURITY_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_graph_security.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4) and [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD). Default: `null`. **count** `boolean | null` OData `$count`. Include a count of the matching resources. Default: `null`. **expand** `string | null` OData `$expand`. The `alerts` relationship supports `$expand`. Default: `null`. **filter** `string | null` OData `$filter`. The following properties support `$filter`: assignedTo, classification, createdDateTime, determination, lastUpdateDateTime, severity and status. Default: `null`. **skip** `integer | null` OData `$skip`. Number of incidents to skip. Default: `null`. **top** `integer | null` OData `$top`. Number of incidents to return. Default: `null`. ## List secure score control profiles Action ID: `tools.microsoft_graph_security.list_secure_score_control_profiles` Retrieve the properties and relationships of a secureScoreControlProfiles object. Returns the single Microsoft Graph page, including `@odata.nextLink`. Least privileged permission: SecurityEvents.Read.All for both delegated (work or school account) and application; higher privileged: SecurityEvents.ReadWrite.All. Delegated access is not supported for personal Microsoft accounts. Available in the global service, US Government L4 and US Government L5 (DOD); not available in China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement. Reference: [https://learn.microsoft.com/en-us/graph/api/security-list-securescorecontrolprofiles?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/security-list-securescorecontrolprofiles?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN`. * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **auth_mode** `string` Credential to use. `application` requires MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_GRAPH_SECURITY_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_graph_security.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4) and [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD). Default: `null`. **count** `boolean | null` OData `$count`. Include a count of the matching resources. Default: `null`. **filter** `string | null` OData `$filter`, for example "controlCategory eq 'Identity'". Default: `null`. **skip** `integer | null` OData `$skip`. Number of control profiles to skip. Default: `null`. **top** `integer | null` OData `$top`. Returns the aggregated top results from each security API provider. Default: `null`. ## List secure scores Action ID: `tools.microsoft_graph_security.list_secure_scores` Retrieve a list of secureScore objects. Returns the single Microsoft Graph page, including `@odata.nextLink`. Least privileged permission: SecurityEvents.Read.All for both delegated (work or school account) and application; higher privileged: SecurityEvents.ReadWrite.All. Delegated access is not supported for personal Microsoft accounts. Available in the global service, US Government L4 and US Government L5 (DOD); not available in China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement. Reference: [https://learn.microsoft.com/en-us/graph/api/security-list-securescores?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/security-list-securescores?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN`. * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **auth_mode** `string` Credential to use. `application` requires MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_GRAPH_SECURITY_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_graph_security.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4) and [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD). Default: `null`. **count** `boolean | null` OData `$count`. Include a count of the matching resources. Default: `null`. **filter** `string | null` OData `$filter`, for example "createdDateTime eq '2024-01-01'". Default: `null`. **skip** `integer | null` OData `$skip`. Number of secure scores to skip. Default: `null`. **top** `integer | null` OData `$top`. Returns the aggregated top results from each security API provider. Secure score data is sorted by createdDateTime from latest to earliest, and 90 days of data is held by default, so `$top=n` returns the most recent n days. Default: `null`. ## Merge incidents Action ID: `tools.microsoft_graph_security.merge_incidents` Merge multiple incident resources into a single incident. Least privileged permission: SecurityData.Manage.All for both delegated (work or school account) and application; no higher privileged permission is available. Delegated access is not supported for personal Microsoft accounts. Delegated callers must hold a supported Microsoft Entra role: Security Operator (least privileged for this operation) or Security Administrator. Available in the global service, US Government L4 and US Government L5 (DOD); not available in China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement. Reference: [https://learn.microsoft.com/en-us/graph/api/security-incident-mergeincidents?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/security-incident-mergeincidents?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN`. * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **incidentIds** `array[string]` *required* The IDs of the incidents to merge. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_GRAPH_SECURITY_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_graph_security.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4) and [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD). Default: `null`. **incidentComment** `string | null` A comment to add to the merged incident. Default: `null`. **mergeReasons** `string | null` The correlation reasons for merging the incidents. This object is a flags enum that allows multiple values to be specified, for example "sameCampaign, sameActor". Default: `null`. ## Move alerts Action ID: `tools.microsoft_graph_security.move_alerts` Move one or more alert resources to a new or existing incident. Least privileged permission: SecurityData.Manage.All for both delegated (work or school account) and application; no higher privileged permission is available. Delegated access is not supported for personal Microsoft accounts. Delegated callers must hold a supported Microsoft Entra role: Security Operator (least privileged for this operation) or Security Administrator. Available in the global service, US Government L4 and US Government L5 (DOD); not available in China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement. Reference: [https://learn.microsoft.com/en-us/graph/api/security-alert-movealerts?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/security-alert-movealerts?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN`. * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **alertIds** `array[string]` *required* The IDs of the alerts to move. **alertComment** `string | null` A comment to add when moving the alerts. Default: `null`. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_GRAPH_SECURITY_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_graph_security.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4) and [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD). Default: `null`. **incidentId** `string | null` The ID of the target incident. A request with `null` creates a new incident. Default: `null`. **newCorrelationReasons** `string | null` The correlation reasons to associate with the move operation. This object is a flags enum that allows multiple values to be specified, for example "sameAsset, temporalProximity". Default: `null`. ## Run hunting query Action ID: `tools.microsoft_graph_security.run_hunting_query` Queries a specified set of event, activity, or entity data supported by Microsoft 365 Defender to proactively look for specific threats in your environment. Least privileged permission: ThreatHunting.Read.All for both delegated (work or school account) and application; no higher privileged permission is available. Delegated access is not supported for personal Microsoft accounts. Available in the global service, US Government L4 and US Government L5 (DOD); not available in China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement. Reference: [https://learn.microsoft.com/en-us/graph/api/security-security-runhuntingquery?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/security-security-runhuntingquery?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN`. * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **Query** `string` *required* The hunting query in Kusto Query Language (KQL). **Timespan** `string | null` The interval of time over which to query data, in ISO 8601 format. The default value is 30 days, meaning if no startTime is specified, the query looks back 30 days from now. If a time filter is specified in both the query and the startTime parameter, the shorter time span is applied. Default: `null`. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_GRAPH_SECURITY_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_graph_security.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4) and [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD). Default: `null`. **workspaceId** `string | null` The GUID of a specific Log Analytics workspace to target. If omitted, the service uses the caller's primary workspace. If the workspace isn't found or not accessible, the service falls back to the caller's primary workspace. Default: `null`. ## Update alert Action ID: `tools.microsoft_graph_security.update_alert` Update the properties of an alert object in an organization based on the specified alert id property. Least privileged permission: SecurityAlert.ReadWrite.All for both delegated (work or school account) and application; no higher privileged permission is available. Delegated access is not supported for personal Microsoft accounts. Delegated callers must hold a supported Microsoft Entra role: Security Operator or Security Administrator. Available in the global service, US Government L4 and US Government L5 (DOD); not available in China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement. Reference: [https://learn.microsoft.com/en-us/graph/api/security-alert-update?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/security-alert-update?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN`. * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **alertId** `string` *required* The unique identifier of the alert. **payload** `object` *required* API-native request body. Supply only the values for properties to update. Updatable properties for PATCH /security/alerts_v2/\{alertId}: status (new, inProgress, resolved, unknownFutureValue), classification (unknown, falsePositive, truePositive, informationalExpectedActivity, unknownFutureValue), customDetails (user defined custom fields with string values), determination (unknown, apt, malware, securityPersonnel, securityTesting, unwantedSoftware, other, multiStagedAttack, compromisedUser, phishing, maliciousUserActivity, clean, insufficientData, confirmedUserActivity, lineOfBusinessApplication, unknownFutureValue) and assignedTo (owner of the incident, or null if no owner is assigned). **auth_mode** `string` Credential to use. `application` requires MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_GRAPH_SECURITY_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_graph_security.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4) and [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD). Default: `null`. ## Update incident Action ID: `tools.microsoft_graph_security.update_incident` Update the properties of an incident object. Least privileged permission: SecurityIncident.ReadWrite.All for both delegated (work or school account) and application; no higher privileged permission is available. Delegated access is not supported for personal Microsoft accounts. Delegated callers must hold a supported Microsoft Entra role: Security Operator or Security Administrator. Available in the global service, US Government L4 and US Government L5 (DOD); not available in China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement. Reference: [https://learn.microsoft.com/en-us/graph/api/security-incident-update?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/security-incident-update?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN`. * `microsoft_graph_security_oauth`: OAuth token `MICROSOFT_GRAPH_SECURITY_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **incidentId** `string` *required* The unique identifier of the incident. **payload** `object` *required* API-native request body. Supply only the values for properties to update. Updatable properties for PATCH /security/incidents/\{incidentId}: assignedTo (owner of the incident, or null if no owner is assigned), classification (unknown, falsePositive, truePositive, informationalExpectedActivity, unknownFutureValue), customTags, description, determination (unknown, apt, malware, securityPersonnel, securityTesting, unwantedSoftware, other, multiStagedAttack, compromisedAccount, phishing, maliciousUserActivity, notMalicious, notEnoughDataToValidate, confirmedUserActivity, lineOfBusinessApplication, unknownFutureValue), displayName, severity (unknown, informational, low, medium, high, unknownFutureValue), resolvingComment, status (active, resolved, redirected, unknownFutureValue) and summary. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_GRAPH_SECURITY_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_GRAPH_SECURITY_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_graph_security.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4) and [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD). Default: `null`. # Microsoft Outlook Mail Source: https://docs.tracecat.com/tools/microsoft_outlook Reference for the Tracecat Microsoft Outlook Mail integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Add file attachment Action ID: `tools.microsoft_outlook.add_file_attachment` Add a `fileAttachment` to a message, normally a draft that has not been sent. Returns `201 Created` and the attachment object. This operation limits the size of the attachment you can add to under 3 MB; larger files need an upload session, which is not covered by this action. Least privileged permission: Mail.ReadWrite for delegated (work or school account), delegated (personal Microsoft account) and application; no higher privileged permission is available. Attaching in another user's mailbox needs application permissions, or delegated permissions plus that user sharing the mail folder with, or granting delegate access to, the signed-in user. Available in the global service, US Government L4, US Government L5 (DOD) and China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement; the mailbox itself still needs an Exchange Online or Outlook.com account. Reference: [https://learn.microsoft.com/en-us/graph/api/message-post-attachments?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/message-post-attachments?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_SERVICE_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **contentBytes** `string` *required* The base64-encoded contents of the file. **mailbox_user_id** `string` *required* Target mailbox, given as a user ID or userPrincipalName and used in the `/users/{id | userPrincipalName}` path. Delegated callers may pass their own userPrincipalName; application callers must always name the mailbox to act on, because an application token has no signed-in user. **messageId** `string` *required* The unique identifier of the message to attach the file to. **name** `string` *required* The name representing the text that is displayed below the icon representing the embedded attachment. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_OUTLOOK_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_OUTLOOK_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_outlook.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4), [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD) and [https://microsoftgraph.chinacloudapi.cn/v1.0](https://microsoftgraph.chinacloudapi.cn/v1.0) (China operated by 21Vianet). Default: `null`. **contentId** `string | null` The ID of the attachment in the Exchange store. Default: `null`. **contentType** `string | null` The content type of the attachment. Default: `null`. **isInline** `boolean | null` Set to `true` if the attachment is an inline attachment. Default: `null`. ## Copy message Action ID: `tools.microsoft_outlook.copy_message` Copy a message to a folder. Returns `201 Created` with the new message resource. Least privileged permission: Mail.ReadWrite for delegated (work or school account), delegated (personal Microsoft account) and application; no higher privileged permission is available. Copying in another user's mailbox needs application permissions, or delegated permissions plus that user sharing the mail folder with, or granting delegate access to, the signed-in user. Available in the global service, US Government L4, US Government L5 (DOD) and China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement; the mailbox itself still needs an Exchange Online or Outlook.com account. Reference: [https://learn.microsoft.com/en-us/graph/api/message-copy?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/message-copy?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_SERVICE_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **destinationId** `string` *required* The destination folder ID, or a well-known folder name. Well-known names include archive, clutter, conflicts, conversationhistory, deleteditems, drafts, inbox, junkemail, localfailures, msgfolderroot, outbox, recoverableitemsdeletions, scheduled, searchfolders, sentitems, serverfailures and syncissues. **mailbox_user_id** `string` *required* Target mailbox, given as a user ID or userPrincipalName and used in the `/users/{id | userPrincipalName}` path. Delegated callers may pass their own userPrincipalName; application callers must always name the mailbox to act on, because an application token has no signed-in user. **messageId** `string` *required* The unique identifier of the message. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_OUTLOOK_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_OUTLOOK_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_outlook.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4), [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD) and [https://microsoftgraph.chinacloudapi.cn/v1.0](https://microsoftgraph.chinacloudapi.cn/v1.0) (China operated by 21Vianet). Default: `null`. ## Create child folder Action ID: `tools.microsoft_outlook.create_child_folder` Create a new child mail folder under the specified mail folder. Returns `201 Created` and the mail folder resource. Least privileged permission: Mail.ReadWrite for delegated (work or school account), delegated (personal Microsoft account) and application; no higher privileged permission is available. Creating in another user's mailbox needs application permissions, or delegated permissions plus that user sharing the mail folder with, or granting delegate access to, the signed-in user. Available in the global service, US Government L4, US Government L5 (DOD) and China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement; the mailbox itself still needs an Exchange Online or Outlook.com account. Reference: [https://learn.microsoft.com/en-us/graph/api/mailfolder-post-childfolders?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/mailfolder-post-childfolders?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_SERVICE_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **displayName** `string` *required* The display name of the new folder. **folderId** `string` *required* The parent mail folder, as a folder ID or a well-known folder name such as inbox, msgfolderroot or archive. **mailbox_user_id** `string` *required* Target mailbox, given as a user ID or userPrincipalName and used in the `/users/{id | userPrincipalName}` path. Delegated callers may pass their own userPrincipalName; application callers must always name the mailbox to act on, because an application token has no signed-in user. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_OUTLOOK_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_OUTLOOK_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_outlook.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4), [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD) and [https://microsoftgraph.chinacloudapi.cn/v1.0](https://microsoftgraph.chinacloudapi.cn/v1.0) (China operated by 21Vianet). Default: `null`. **isHidden** `boolean | null` Indicates whether the new folder is hidden. The default value is `false`. Setting the property is optional. Once set, you cannot update this property. Default: `null`. ## Create draft Action ID: `tools.microsoft_outlook.create_draft` Create a draft of a new message in the specified user's mailbox. The draft can later be sent with `send_draft`. Returns `201 Created` and the message object. Least privileged permission: Mail.ReadWrite for delegated (work or school account), delegated (personal Microsoft account) and application. Drafting in another user's mailbox needs application permissions, or delegated permissions plus that user sharing the mail folder with, or granting delegate access to, the signed-in user. This action exposes common API-native message properties. For other Graph JSON message properties or extension properties, call `tools.microsoft_graph_sdk.call_method` with `oauth_provider` set to `microsoft_outlook`; the dispatcher does not support MIME requests. Available in the global service, US Government L4, US Government L5 (DOD) and China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement; the mailbox still needs Exchange Online or Outlook.com. Reference: [https://learn.microsoft.com/en-us/graph/api/user-post-messages?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/user-post-messages?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_SERVICE_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **mailbox_user_id** `string` *required* Target mailbox, given as a user ID or userPrincipalName and used in the `/users/{id | userPrincipalName}` path. Delegated callers may pass their own userPrincipalName; application callers must always name the mailbox to act on, because an application token has no signed-in user. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_OUTLOOK_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_OUTLOOK_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_outlook.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4), [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD) and [https://microsoftgraph.chinacloudapi.cn/v1.0](https://microsoftgraph.chinacloudapi.cn/v1.0) (China operated by 21Vianet). Default: `null`. **bccRecipients** `array[object] | null` The Bcc recipients for the message, as Graph recipient objects. Default: `null`. **body** `object | null` The body of the message, as an API-native itemBody object with `contentType` (`Text` or `HTML`) and `content` properties. Default: `null`. **ccRecipients** `array[object] | null` The Cc recipients for the message, as Graph recipient objects. Default: `null`. **from** `object | null` The mailbox owner and sender of the message, as a Graph recipient object. It must correspond to the actual mailbox used. Default: `null`. **importance** `string | null` The importance of the message. The possible values are `Low`, `Normal` and `High`. Default: `null`. **isDeliveryReceiptRequested** `boolean | null` Indicates whether a delivery receipt is requested for the message. Default: `null`. **isReadReceiptRequested** `boolean | null` Indicates whether a read receipt is requested for the message. Default: `null`. **replyTo** `array[object] | null` The email addresses to use when replying, as Graph recipient objects. Default: `null`. **sender** `object | null` The account actually used to generate the message, as a Graph recipient object. Set it when drafting from a shared mailbox or as a delegate; the value must correspond to the actual mailbox used. Default: `null`. **subject** `string | null` The subject of the message. Default: `null`. **toRecipients** `array[object] | null` The To recipients for the message, as Graph recipient objects. Default: `null`. ## Create mail folder Action ID: `tools.microsoft_outlook.create_mail_folder` Create a new mail folder in the root folder of the specified user's mailbox. Returns `201 Created` and the mail folder resource. Least privileged permission: Mail.ReadWrite for delegated (work or school account), delegated (personal Microsoft account) and application. Creating in another user's mailbox needs application permissions, or delegated permissions plus that user sharing the mail folder with, or granting delegate access to, the signed-in user. Available in the global service, US Government L4, US Government L5 (DOD) and China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement; the mailbox itself still needs an Exchange Online or Outlook.com account. Reference: [https://learn.microsoft.com/en-us/graph/api/user-post-mailfolders?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/user-post-mailfolders?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_SERVICE_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **displayName** `string` *required* The display name of the new folder. **mailbox_user_id** `string` *required* Target mailbox, given as a user ID or userPrincipalName and used in the `/users/{id | userPrincipalName}` path. Delegated callers may pass their own userPrincipalName; application callers must always name the mailbox to act on, because an application token has no signed-in user. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_OUTLOOK_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_OUTLOOK_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_outlook.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4), [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD) and [https://microsoftgraph.chinacloudapi.cn/v1.0](https://microsoftgraph.chinacloudapi.cn/v1.0) (China operated by 21Vianet). Default: `null`. **isHidden** `boolean | null` Indicates whether the new folder is hidden. The default value is `false`. Setting the property is optional. Once set, you cannot update this property. Default: `null`. ## Create message rule Action ID: `tools.microsoft_outlook.create_message_rule` Create a message rule by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. Returns `201 Created` and the message rule. Message rules are exposed only through the `messageRules` navigation property of the Inbox folder. Least privileged permission: MailboxSettings.ReadWrite for delegated (work or school account), delegated (personal Microsoft account) and application; no higher privileged permission is available. Available in the global service, US Government L4 and US Government L5 (DOD); not available in China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement; the mailbox itself still needs an Exchange Online or Outlook.com account. Reference: [https://learn.microsoft.com/en-us/graph/api/mailfolder-post-messagerules?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/mailfolder-post-messagerules?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_SERVICE_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **mailbox_user_id** `string` *required* Target mailbox, given as a user ID or userPrincipalName and used in the `/users/{id | userPrincipalName}` path. Delegated callers may pass their own userPrincipalName; application callers must always name the mailbox to act on, because an application token has no signed-in user. **payload** `object` *required* API-native request body. Commonly used body parameters when creating rules: actions (messageRuleActions; required), conditions (messageRulePredicates; optional), displayName (String; required), exceptions (messageRulePredicates; optional), isEnabled (Boolean; optional) and sequence (Int32; required, the order in which the rule is executed among other rules). **auth_mode** `string` Credential to use. `application` requires MICROSOFT_OUTLOOK_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_OUTLOOK_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_outlook.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4) and [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD). Default: `null`. ## Delete mail folder Action ID: `tools.microsoft_outlook.delete_mail_folder` Delete the specified mail folder, or delete a search folder. Returns `204 No Content` with no response body. Least privileged permission: Mail.ReadWrite for delegated (work or school account), delegated (personal Microsoft account) and application; no higher privileged permission is available. Deleting in another user's mailbox needs application permissions, or delegated permissions plus that user sharing the mail folder with, or granting delegate access to, the signed-in user. Available in the global service, US Government L4, US Government L5 (DOD) and China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement; the mailbox itself still needs an Exchange Online or Outlook.com account. Reference: [https://learn.microsoft.com/en-us/graph/api/mailfolder-delete?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/mailfolder-delete?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_SERVICE_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **folderId** `string` *required* The unique identifier of the mail folder to delete. **mailbox_user_id** `string` *required* Target mailbox, given as a user ID or userPrincipalName and used in the `/users/{id | userPrincipalName}` path. Delegated callers may pass their own userPrincipalName; application callers must always name the mailbox to act on, because an application token has no signed-in user. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_OUTLOOK_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_OUTLOOK_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_outlook.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4), [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD) and [https://microsoftgraph.chinacloudapi.cn/v1.0](https://microsoftgraph.chinacloudapi.cn/v1.0) (China operated by 21Vianet). Default: `null`. ## Delete message Action ID: `tools.microsoft_outlook.delete_message` Delete a message in the specified user's mailbox, or delete a relationship of the message. Returns `204 No Content` with no response body. Least privileged permission: Mail.ReadWrite for delegated (work or school account), delegated (personal Microsoft account) and application; no higher privileged permission is available. Deleting in another user's mailbox needs application permissions, or delegated permissions plus that user sharing the mail folder with, or granting delegate access to, the signed-in user. Available in the global service, US Government L4, US Government L5 (DOD) and China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement; the mailbox itself still needs an Exchange Online or Outlook.com account. Reference: [https://learn.microsoft.com/en-us/graph/api/message-delete?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/message-delete?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_SERVICE_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **mailbox_user_id** `string` *required* Target mailbox, given as a user ID or userPrincipalName and used in the `/users/{id | userPrincipalName}` path. Delegated callers may pass their own userPrincipalName; application callers must always name the mailbox to act on, because an application token has no signed-in user. **messageId** `string` *required* The unique identifier of the message. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_OUTLOOK_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_OUTLOOK_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_outlook.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4), [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD) and [https://microsoftgraph.chinacloudapi.cn/v1.0](https://microsoftgraph.chinacloudapi.cn/v1.0) (China operated by 21Vianet). Default: `null`. ## Delete message rule Action ID: `tools.microsoft_outlook.delete_message_rule` Delete the specified message rule from the Inbox of the specified user. Returns `204 No Content` with no response body. Message rules are exposed only through the `messageRules` navigation property of the Inbox folder. Least privileged permission: MailboxSettings.ReadWrite for delegated (work or school account), delegated (personal Microsoft account) and application; no higher privileged permission is available. Available in the global service, US Government L4 and US Government L5 (DOD); not available in China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement; the mailbox itself still needs an Exchange Online or Outlook.com account. Reference: [https://learn.microsoft.com/en-us/graph/api/messagerule-delete?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/messagerule-delete?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_SERVICE_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **mailbox_user_id** `string` *required* Target mailbox, given as a user ID or userPrincipalName and used in the `/users/{id | userPrincipalName}` path. Delegated callers may pass their own userPrincipalName; application callers must always name the mailbox to act on, because an application token has no signed-in user. **ruleId** `string` *required* The unique identifier of the message rule. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_OUTLOOK_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_OUTLOOK_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_outlook.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4) and [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD). Default: `null`. ## Forward message Action ID: `tools.microsoft_outlook.forward_message` Forward a message to the given recipients. The forwarded message is saved in Sent Items. Returns `202 Accepted` with no response body. Microsoft returns HTTP 400 if neither `toRecipients` nor the message `toRecipients` property is specified. Least privileged permission: Mail.Send for delegated (work or school account), delegated (personal Microsoft account) and application; no higher privileged permission is available. Forwarding from another user's mailbox with a user token additionally requires Mail.Send.Shared plus the Exchange Send As or Send on Behalf permission on that mailbox, and addressing the mailbox through `/users/{id}` also requires Full Access. Available in the global service, US Government L4, US Government L5 (DOD) and China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement; the mailbox itself still needs an Exchange Online or Outlook.com account. Reference: [https://learn.microsoft.com/en-us/graph/api/message-forward?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/message-forward?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_SERVICE_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **mailbox_user_id** `string` *required* Sending mailbox, given as a user ID or userPrincipalName and used in the `/users/{id | userPrincipalName}` path. Delegated callers may pass their own userPrincipalName; application callers must always name the mailbox to forward from, because an application token has no signed-in user. **messageId** `string` *required* The unique identifier of the message to forward. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_OUTLOOK_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_OUTLOOK_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_outlook.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4), [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD) and [https://microsoftgraph.chinacloudapi.cn/v1.0](https://microsoftgraph.chinacloudapi.cn/v1.0) (China operated by 21Vianet). Default: `null`. **comment** `string | null` A comment to include. Can be an empty string. Default: `null`. **message** `object | null` Any writable properties to update in the forwarded message. Specify either `comment` or the message `body` property, not both. Specify either `toRecipients` or the message `toRecipients` property; specifying both or neither returns HTTP 400. Default: `null`. **toRecipients** `array[object] | null` The list of recipients, as Graph recipient objects. Default: `null`. ## Get mail folder Action ID: `tools.microsoft_outlook.get_mail_folder` Get the properties and relationships of a mail folder object. Least privileged permission: Mail.ReadBasic for delegated (work or school account) and delegated (personal Microsoft account), and Mail.ReadBasic.All for application; higher privileged: Mail.ReadWrite or Mail.Read. Reading another user's folder needs application permissions, or delegated permissions plus that user sharing the mail folder with, or granting delegate access to, the signed-in user. Available in the global service, US Government L4, US Government L5 (DOD) and China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement; the mailbox itself still needs an Exchange Online or Outlook.com account. Reference: [https://learn.microsoft.com/en-us/graph/api/mailfolder-get?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/mailfolder-get?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_SERVICE_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **folderId** `string` *required* The mail folder, as a folder ID or a well-known folder name such as inbox, sentitems, drafts, deleteditems, junkemail, archive or msgfolderroot. **mailbox_user_id** `string` *required* Target mailbox, given as a user ID or userPrincipalName and used in the `/users/{id | userPrincipalName}` path. Delegated callers may pass their own userPrincipalName; application callers must always name the mailbox to act on, because an application token has no signed-in user. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_OUTLOOK_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_OUTLOOK_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_outlook.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4), [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD) and [https://microsoftgraph.chinacloudapi.cn/v1.0](https://microsoftgraph.chinacloudapi.cn/v1.0) (China operated by 21Vianet). Default: `null`. **expand** `string | null` OData `$expand`. Related resources to include in the response. Default: `null`. **select** `string | null` OData `$select`. Comma-separated properties to return. Default: `null`. ## Get mailbox settings Action ID: `tools.microsoft_outlook.get_mailbox_settings` Get the specified user's mailbox settings, including automatic replies, date format, time format, time zone, language, working hours, delegateMeetingMessageDeliveryOptions, archiveFolder and the read-only userPurpose. Least privileged permission: MailboxSettings.Read for delegated (work or school account), delegated (personal Microsoft account) and application; higher privileged: MailboxSettings.ReadWrite. Available in the global service, US Government L4, US Government L5 (DOD) and China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement; the mailbox itself still needs an Exchange Online or Outlook.com account. Reference: [https://learn.microsoft.com/en-us/graph/api/user-get-mailboxsettings?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/user-get-mailboxsettings?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_SERVICE_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **mailbox_user_id** `string` *required* Target mailbox, given as a user ID or userPrincipalName and used in the `/users/{id | userPrincipalName}` path. Delegated callers may pass their own userPrincipalName; application callers must always name the mailbox to act on, because an application token has no signed-in user. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_OUTLOOK_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_OUTLOOK_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_outlook.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4), [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD) and [https://microsoftgraph.chinacloudapi.cn/v1.0](https://microsoftgraph.chinacloudapi.cn/v1.0) (China operated by 21Vianet). Default: `null`. **select** `string | null` OData `$select`. Comma-separated properties to return. This method supports some of the OData query parameters. Default: `null`. ## Get message Action ID: `tools.microsoft_outlook.get_message` Retrieve the properties and relationships of a message object. Least privileged permission: Mail.ReadBasic, then Mail.Read, for delegated (work or school account) and delegated (personal Microsoft account); Mail.ReadBasic.All, then Mail.Read, for application. An app can get a message in another user's mail folder if it has application permissions, or if it has delegated permissions and that user has shared the mail folder with, or granted delegate access to, the signed-in user. Available in the global service, US Government L4, US Government L5 (DOD) and China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement; the mailbox itself still needs an Exchange Online or Outlook.com account. Reference: [https://learn.microsoft.com/en-us/graph/api/message-get?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/message-get?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_SERVICE_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **mailbox_user_id** `string` *required* Target mailbox, given as a user ID or userPrincipalName and used in the `/users/{id | userPrincipalName}` path. Delegated callers may pass their own userPrincipalName; application callers must always name the mailbox to act on, because an application token has no signed-in user. **messageId** `string` *required* The unique identifier of the message. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_OUTLOOK_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_OUTLOOK_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_outlook.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4), [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD) and [https://microsoftgraph.chinacloudapi.cn/v1.0](https://microsoftgraph.chinacloudapi.cn/v1.0) (China operated by 21Vianet). Default: `null`. **expand** `string | null` OData `$expand`. Related resources to include in the response. Default: `null`. **prefer** `string | null` `Prefer` request header. `outlook.body-content-type="text"` or `outlook.body-content-type="html"` sets the format of the returned `body` and `uniqueBody` properties. If omitted, they are returned in HTML format. Default: `null`. **select** `string | null` OData `$select`. Comma-separated properties to return. Default: `null`. ## Get message attachment Action ID: `tools.microsoft_outlook.get_message_attachment` Read the properties, relationships or raw contents of an attachment attached to a message. Required permission for the message resource: Mail.Read for delegated (work or school account), delegated (personal Microsoft account) and application. A `fileAttachment` returns its base64-encoded file contents in `contentBytes`. Reading attachments in another user's mailbox needs application permissions, or delegated permissions plus that user sharing the mail folder with, or granting delegate access to, the signed-in user. Available in the global service, US Government L4, US Government L5 (DOD) and China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement; the mailbox itself still needs an Exchange Online or Outlook.com account. Reference: [https://learn.microsoft.com/en-us/graph/api/attachment-get?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/attachment-get?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_SERVICE_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **attachmentId** `string` *required* The unique identifier of the attachment. **mailbox_user_id** `string` *required* Target mailbox, given as a user ID or userPrincipalName and used in the `/users/{id | userPrincipalName}` path. Delegated callers may pass their own userPrincipalName; application callers must always name the mailbox to act on, because an application token has no signed-in user. **messageId** `string` *required* The unique identifier of the message. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_OUTLOOK_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_OUTLOOK_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_outlook.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4), [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD) and [https://microsoftgraph.chinacloudapi.cn/v1.0](https://microsoftgraph.chinacloudapi.cn/v1.0) (China operated by 21Vianet). Default: `null`. **expand** `string | null` OData `$expand`. Use it to get the properties of an item attachment (contact, event or message). Default: `null`. **select** `string | null` OData `$select`. Comma-separated properties to return. Default: `null`. ## Get message rule Action ID: `tools.microsoft_outlook.get_message_rule` Get the properties and relationships of a message rule in the Inbox of the specified user. Message rules are exposed only through the `messageRules` navigation property of the Inbox folder. Least privileged permission: MailboxSettings.Read for delegated (work or school account), delegated (personal Microsoft account) and application; no higher privileged permission is available. Available in the global service, US Government L4 and US Government L5 (DOD); not available in China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement; the mailbox itself still needs an Exchange Online or Outlook.com account. Reference: [https://learn.microsoft.com/en-us/graph/api/messagerule-get?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/messagerule-get?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_SERVICE_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **mailbox_user_id** `string` *required* Target mailbox, given as a user ID or userPrincipalName and used in the `/users/{id | userPrincipalName}` path. Delegated callers may pass their own userPrincipalName; application callers must always name the mailbox to act on, because an application token has no signed-in user. **ruleId** `string` *required* The unique identifier of the message rule. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_OUTLOOK_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_OUTLOOK_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_outlook.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4) and [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD). Default: `null`. **select** `string | null` OData `$select`. Comma-separated properties to return. Default: `null`. ## List child folders Action ID: `tools.microsoft_outlook.list_child_folders` Get the folder collection under the specified mail folder. Returns the single Microsoft Graph page, including `@odata.nextLink`. Least privileged permission: Mail.ReadBasic for delegated (work or school account) and delegated (personal Microsoft account), and Mail.ReadBasic.All for application; higher privileged: Mail.ReadWrite or Mail.Read. Reading another user's folders needs application permissions, or delegated permissions plus that user sharing the mail folder with, or granting delegate access to, the signed-in user. Available in the global service, US Government L4, US Government L5 (DOD) and China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement; the mailbox itself still needs an Exchange Online or Outlook.com account. Reference: [https://learn.microsoft.com/en-us/graph/api/mailfolder-list-childfolders?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/mailfolder-list-childfolders?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_SERVICE_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **folderId** `string` *required* The parent mail folder, as a folder ID or a well-known folder name such as inbox, msgfolderroot or archive. **mailbox_user_id** `string` *required* Target mailbox, given as a user ID or userPrincipalName and used in the `/users/{id | userPrincipalName}` path. Delegated callers may pass their own userPrincipalName; application callers must always name the mailbox to act on, because an application token has no signed-in user. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_OUTLOOK_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_OUTLOOK_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_outlook.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4), [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD) and [https://microsoftgraph.chinacloudapi.cn/v1.0](https://microsoftgraph.chinacloudapi.cn/v1.0) (China operated by 21Vianet). Default: `null`. **filter** `string | null` OData `$filter`. Filter the returned child folders. Default: `null`. **includeHiddenFolders** `string | null` Endpoint-native query parameter. Specify `true` to return all child folders including those whose `isHidden` property is true. Default: `null`. **orderby** `string | null` OData `$orderby`. Sort order of the returned child folders. Default: `null`. **select** `string | null` OData `$select`. Comma-separated properties to return. Default: `null`. **skip** `integer | null` OData `$skip`. Number of child folders to skip. Default: `null`. **top** `integer | null` OData `$top`. Number of child folders to return. Default: `null`. ## List folder messages Action ID: `tools.microsoft_outlook.list_folder_messages` Get the messages in the specified mail folder of the specified user's mailbox. Returns the single Microsoft Graph page, including `@odata.nextLink`. Least privileged permission: Mail.ReadBasic for delegated (work or school account) and delegated (personal Microsoft account), and Mail.ReadBasic.All for application; higher privileged: Mail.ReadWrite or Mail.Read. Reading another user's mail folder needs application permissions, or delegated permissions plus that user sharing the mail folder with, or granting delegate access to, the signed-in user. Available in the global service, US Government L4, US Government L5 (DOD) and China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement; the mailbox itself still needs an Exchange Online or Outlook.com account. Reference: [https://learn.microsoft.com/en-us/graph/api/mailfolder-list-messages?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/mailfolder-list-messages?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_SERVICE_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **folderId** `string` *required* The mail folder, as a folder ID or a well-known folder name such as inbox, sentitems, drafts, deleteditems, junkemail or archive. **mailbox_user_id** `string` *required* Target mailbox, given as a user ID or userPrincipalName and used in the `/users/{id | userPrincipalName}` path. Delegated callers may pass their own userPrincipalName; application callers must always name the mailbox to act on, because an application token has no signed-in user. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_OUTLOOK_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_OUTLOOK_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_outlook.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4), [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD) and [https://microsoftgraph.chinacloudapi.cn/v1.0](https://microsoftgraph.chinacloudapi.cn/v1.0) (China operated by 21Vianet). Default: `null`. **expand** `string | null` OData `$expand`. Related resources to include in the response. Default: `null`. **filter** `string | null` OData `$filter`. Properties in `$orderby` must also appear in `$filter`, in the same order, and before any properties that are not in `$orderby`; otherwise Microsoft Graph returns the `InefficientFilter` error. Default: `null`. **orderby** `string | null` OData `$orderby`. Sort order of the returned messages. Default: `null`. **prefer** `string | null` `Prefer` request header. `outlook.body-content-type="text"` or `outlook.body-content-type="html"` sets the format of the returned `body` and `uniqueBody` properties. If omitted, they are returned in HTML format. Default: `null`. **search** `string | null` OData `$search`. Search the messages in the mail folder. Default: `null`. **select** `string | null` OData `$select`. Comma-separated properties to return. Default: `null`. **skip** `integer | null` OData `$skip`. Number of messages to skip. Default: `null`. **top** `integer | null` OData `$top`. Page size, within the range of 1 and 1000. Default: `null`. ## List mail folders Action ID: `tools.microsoft_outlook.list_mail_folders` Get the mail folder collection directly under the root folder of the specified user's mailbox. Returns the single Microsoft Graph page, including `@odata.nextLink`. Least privileged permission: Mail.ReadBasic for delegated (work or school account) and delegated (personal Microsoft account), and Mail.ReadBasic.All for application; higher privileged: Mail.ReadWrite or Mail.Read. Reading another user's folders needs application permissions, or delegated permissions plus that user sharing the mail folder with, or granting delegate access to, the signed-in user. Available in the global service, US Government L4, US Government L5 (DOD) and China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement; the mailbox itself still needs an Exchange Online or Outlook.com account. Reference: [https://learn.microsoft.com/en-us/graph/api/user-list-mailfolders?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/user-list-mailfolders?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_SERVICE_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **mailbox_user_id** `string` *required* Target mailbox, given as a user ID or userPrincipalName and used in the `/users/{id | userPrincipalName}` path. Delegated callers may pass their own userPrincipalName; application callers must always name the mailbox to act on, because an application token has no signed-in user. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_OUTLOOK_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_OUTLOOK_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_outlook.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4), [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD) and [https://microsoftgraph.chinacloudapi.cn/v1.0](https://microsoftgraph.chinacloudapi.cn/v1.0) (China operated by 21Vianet). Default: `null`. **filter** `string | null` OData `$filter`. Filter the returned mail folders. Default: `null`. **includeHiddenFolders** `string | null` Endpoint-native query parameter. Specify `true` to return all mail folders including those whose `isHidden` property is true. Default: `null`. **orderby** `string | null` OData `$orderby`. Sort order of the returned mail folders. Default: `null`. **select** `string | null` OData `$select`. Comma-separated properties to return. Default: `null`. **skip** `integer | null` OData `$skip`. Number of mail folders to skip. Default: `null`. **top** `integer | null` OData `$top`. Number of mail folders to return. Default: `null`. ## List message attachments Action ID: `tools.microsoft_outlook.list_message_attachments` Retrieve a list of attachment objects attached to a message. Returns the single Microsoft Graph page, including `@odata.nextLink`. Required permission: Mail.Read for delegated (work or school account), delegated (personal Microsoft account) and application. Listing attachments in another user's mailbox needs application permissions, or delegated permissions plus that user sharing the mail folder with, or granting delegate access to, the signed-in user. Available in the global service, US Government L4, US Government L5 (DOD) and China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement; the mailbox itself still needs an Exchange Online or Outlook.com account. Reference: [https://learn.microsoft.com/en-us/graph/api/message-list-attachments?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/message-list-attachments?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_SERVICE_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **mailbox_user_id** `string` *required* Target mailbox, given as a user ID or userPrincipalName and used in the `/users/{id | userPrincipalName}` path. Delegated callers may pass their own userPrincipalName; application callers must always name the mailbox to act on, because an application token has no signed-in user. **messageId** `string` *required* The unique identifier of the message. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_OUTLOOK_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_OUTLOOK_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_outlook.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4), [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD) and [https://microsoftgraph.chinacloudapi.cn/v1.0](https://microsoftgraph.chinacloudapi.cn/v1.0) (China operated by 21Vianet). Default: `null`. **expand** `string | null` OData `$expand`. Related resources to include in the response. Default: `null`. **filter** `string | null` OData `$filter`. Filter the returned attachments. Default: `null`. **select** `string | null` OData `$select`. Comma-separated properties to return. Default: `null`. **top** `integer | null` OData `$top`. Number of attachments to return. Default: `null`. ## List message delta Action ID: `tools.microsoft_outlook.list_message_delta` List messages added, deleted or updated in a mail folder. Returns one Graph page with `@odata.nextLink` or the terminal `@odata.deltaLink`; pass either opaque URL unchanged to `tools.microsoft_graph_sdk.call_continuation_method` with `oauth_provider` set to `microsoft_outlook`. Do not use `call_paginated_method`, which discards the terminal delta link. Least privileged permission: Mail.ReadBasic for delegated work or school and personal Microsoft accounts, and Mail.ReadBasic.All for application; higher privileged: Mail.Read or Mail.ReadWrite. Tracking another user's folder needs application permissions, or delegated access to a shared or delegated folder. Available in the global service, US Government L4 and US Government L5 (DOD); unavailable in China operated by 21Vianet. No separate licensing requirement is documented; the mailbox needs Exchange Online or Outlook.com. Reference: [https://learn.microsoft.com/en-us/graph/api/message-delta?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/message-delta?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_SERVICE_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **mailbox_user_id** `string` *required* Target mailbox, given as a user ID or userPrincipalName and used in the `/users/{id | userPrincipalName}` path. Delegated callers may pass their own userPrincipalName; application callers must always name the mailbox to act on, because an application token has no signed-in user. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_OUTLOOK_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_OUTLOOK_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_outlook.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4) and [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD). Default: `null`. **changeType** `string | null` Endpoint-native `changeType` filter. The possible values are `created`, `updated` and `deleted`. Default: `null`. **expand** `string | null` OData `$expand`. Related resources to include in the response. Default: `null`. **filter** `string | null` OData `$filter`. Limited support: only `receivedDateTime` comparisons are supported, and it must be specified in the initial request. Default: `null`. **folderId** `string` The mail folder to track, as a folder ID or a well-known folder name such as inbox, sentitems, drafts, deleteditems, junkemail or archive. Delta change tracking for messages is scoped to one folder. Default: `"inbox"`. **orderby** `string | null` OData `$orderby`. Limited support: only `receivedDateTime desc` is supported, and it must be specified in the initial request. Default: `null`. **prefer** `string | null` `Prefer` request header. `odata.maxpagesize={x}` sets the maximum number of messages Microsoft Graph returns per page. Default: `null`. **select** `string | null` OData `$select`. Comma-separated properties to return. It must be specified in the initial request. Default: `null`. **top** `integer | null` OData `$top`. It must be specified in the initial request. Default: `null`. ## List message rules Action ID: `tools.microsoft_outlook.list_message_rules` Get all the message rules in the Inbox of the specified user. Returns the single Microsoft Graph page, including `@odata.nextLink`. Message rules are exposed only through the `messageRules` navigation property of the Inbox folder. Least privileged permission: MailboxSettings.Read for delegated (work or school account), delegated (personal Microsoft account) and application; no higher privileged permission is available. Available in the global service, US Government L4 and US Government L5 (DOD); not available in China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement; the mailbox itself still needs an Exchange Online or Outlook.com account. Reference: [https://learn.microsoft.com/en-us/graph/api/mailfolder-list-messagerules?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/mailfolder-list-messagerules?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_SERVICE_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **mailbox_user_id** `string` *required* Target mailbox, given as a user ID or userPrincipalName and used in the `/users/{id | userPrincipalName}` path. Delegated callers may pass their own userPrincipalName; application callers must always name the mailbox to act on, because an application token has no signed-in user. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_OUTLOOK_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_OUTLOOK_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_outlook.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4) and [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD). Default: `null`. **filter** `string | null` OData `$filter`. Filter the returned message rules. Default: `null`. **orderby** `string | null` OData `$orderby`. Sort order of the returned message rules. Default: `null`. **select** `string | null` OData `$select`. Comma-separated properties to return. Default: `null`. **top** `integer | null` OData `$top`. Number of message rules to return. Default: `null`. ## List messages Action ID: `tools.microsoft_outlook.list_messages` Get the messages in the specified user's mailbox, including the Deleted Items and Clutter folders. Returns the single Microsoft Graph page, including `@odata.nextLink`. Least privileged permission: Mail.ReadBasic for delegated (work or school account) and delegated (personal Microsoft account), and Mail.ReadBasic.All for application; higher privileged: Mail.ReadWrite or Mail.Read. An app can read another user's mail folder if it has application permissions, or if it has delegated permissions and that user has shared the mail folder with, or granted delegate access to, the signed-in user. The default page size is 10 messages. Available in the global service, US Government L4, US Government L5 (DOD) and China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement; the mailbox itself still needs an Exchange Online or Outlook.com account. Reference: [https://learn.microsoft.com/en-us/graph/api/user-list-messages?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/user-list-messages?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_SERVICE_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **mailbox_user_id** `string` *required* Target mailbox, given as a user ID or userPrincipalName and used in the `/users/{id | userPrincipalName}` path. Delegated callers may pass their own userPrincipalName; application callers must always name the mailbox to act on, because an application token has no signed-in user. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_OUTLOOK_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_OUTLOOK_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_outlook.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4), [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD) and [https://microsoftgraph.chinacloudapi.cn/v1.0](https://microsoftgraph.chinacloudapi.cn/v1.0) (China operated by 21Vianet). Default: `null`. **expand** `string | null` OData `$expand`. Related resources to include in the response. Default: `null`. **filter** `string | null` OData `$filter`. Properties in `$orderby` must also appear in `$filter`, in the same order, and before any properties that are not in `$orderby`; otherwise Microsoft Graph returns the `InefficientFilter` error. Default: `null`. **orderby** `string | null` OData `$orderby`. Sort order of the returned messages. Default: `null`. **prefer** `string | null` `Prefer` request header. `outlook.body-content-type="text"` or `outlook.body-content-type="html"` sets the format of the returned `body` and `uniqueBody` properties. If omitted, they are returned in HTML format. Default: `null`. **search** `string | null` OData `$search`. Search the messages in the mailbox. Default: `null`. **select** `string | null` OData `$select`. Comma-separated properties to return. Selecting only the properties you need improves the operation response time. Default: `null`. **skip** `integer | null` OData `$skip`. Number of messages to skip. Default: `null`. **top** `integer | null` OData `$top`. Page size, within the range of 1 and 1000. The default is 10. Large pages of full message payloads can trigger the gateway timeout (HTTP 504). Default: `null`. ## Move message Action ID: `tools.microsoft_outlook.move_message` Move a message to a folder. This creates a new copy of the message in the destination folder and removes the original, and returns `201 Created` with the new message resource. Least privileged permission: Mail.ReadWrite for delegated (work or school account), delegated (personal Microsoft account) and application; no higher privileged permission is available. Moving in another user's mailbox needs application permissions, or delegated permissions plus that user sharing the mail folder with, or granting delegate access to, the signed-in user. Available in the global service, US Government L4, US Government L5 (DOD) and China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement; the mailbox itself still needs an Exchange Online or Outlook.com account. Reference: [https://learn.microsoft.com/en-us/graph/api/message-move?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/message-move?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_SERVICE_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **destinationId** `string` *required* The destination folder ID, or a well-known folder name. Well-known names include archive, clutter, conflicts, conversationhistory, deleteditems, drafts, inbox, junkemail, localfailures, msgfolderroot, outbox, recoverableitemsdeletions, scheduled, searchfolders, sentitems, serverfailures and syncissues. **mailbox_user_id** `string` *required* Target mailbox, given as a user ID or userPrincipalName and used in the `/users/{id | userPrincipalName}` path. Delegated callers may pass their own userPrincipalName; application callers must always name the mailbox to act on, because an application token has no signed-in user. **messageId** `string` *required* The unique identifier of the message. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_OUTLOOK_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_OUTLOOK_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_outlook.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4), [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD) and [https://microsoftgraph.chinacloudapi.cn/v1.0](https://microsoftgraph.chinacloudapi.cn/v1.0) (China operated by 21Vianet). Default: `null`. ## Reply all to message Action ID: `tools.microsoft_outlook.reply_all` Reply to all recipients of a message. The reply is saved in Sent Items. Returns `202 Accepted` with no response body. Least privileged permission: Mail.Send for delegated (work or school account), delegated (personal Microsoft account) and application; no higher privileged permission is available. Replying from another user's mailbox with a user token additionally requires Mail.Send.Shared plus the Exchange Send As or Send on Behalf permission on that mailbox, and addressing the mailbox through `/users/{id}` also requires Full Access. Available in the global service, US Government L4, US Government L5 (DOD) and China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement; the mailbox itself still needs an Exchange Online or Outlook.com account. Reference: [https://learn.microsoft.com/en-us/graph/api/message-replyall?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/message-replyall?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_SERVICE_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **comment** `string` *required* A comment to include. Can be an empty string. **mailbox_user_id** `string` *required* Sending mailbox, given as a user ID or userPrincipalName and used in the `/users/{id | userPrincipalName}` path. Delegated callers may pass their own userPrincipalName; application callers must always name the mailbox to reply from, because an application token has no signed-in user. **messageId** `string` *required* The unique identifier of the message to reply to. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_OUTLOOK_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_OUTLOOK_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_outlook.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4), [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD) and [https://microsoftgraph.chinacloudapi.cn/v1.0](https://microsoftgraph.chinacloudapi.cn/v1.0) (China operated by 21Vianet). Default: `null`. **prefer** `string | null` `Prefer` request header. `outlook.timezone="<time zone>"` sets the time zone for the `Sent` field of the reply message that this API creates in HTML. Default: `null`. ## Reply to message Action ID: `tools.microsoft_outlook.reply_message` Reply to the sender of a message. The reply is saved in Sent Items. Returns `202 Accepted` with no response body. Least privileged permission: Mail.Send for delegated (work or school account), delegated (personal Microsoft account) and application; no higher privileged permission is available. Replying from another user's mailbox with a user token additionally requires Mail.Send.Shared plus the Exchange Send As or Send on Behalf permission on that mailbox, and addressing the mailbox through `/users/{id}` also requires Full Access. Available in the global service, US Government L4, US Government L5 (DOD) and China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement; the mailbox itself still needs an Exchange Online or Outlook.com account. Reference: [https://learn.microsoft.com/en-us/graph/api/message-reply?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/message-reply?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_SERVICE_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **comment** `string` *required* A comment to include. Can be an empty string. **mailbox_user_id** `string` *required* Sending mailbox, given as a user ID or userPrincipalName and used in the `/users/{id | userPrincipalName}` path. Delegated callers may pass their own userPrincipalName; application callers must always name the mailbox to reply from, because an application token has no signed-in user. **messageId** `string` *required* The unique identifier of the message to reply to. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_OUTLOOK_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_OUTLOOK_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_outlook.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4), [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD) and [https://microsoftgraph.chinacloudapi.cn/v1.0](https://microsoftgraph.chinacloudapi.cn/v1.0) (China operated by 21Vianet). Default: `null`. **prefer** `string | null` `Prefer` request header. `outlook.timezone="<time zone>"` sets the time zone for the `Sent` field of the reply message that this API creates in HTML. Default: `null`. ## Send draft Action ID: `tools.microsoft_outlook.send_draft` Send an existing draft message. The draft is saved in Sent Items. Returns `202 Accepted` with no response body. Least privileged permission: Mail.Send for delegated (work or school account), delegated (personal Microsoft account) and application; no higher privileged permission is available. Sending from another user's mailbox with a user token additionally requires Mail.Send.Shared plus the Exchange Send As or Send on Behalf permission on that mailbox, and addressing the mailbox through `/users/{id}` also requires Full Access. Available in the global service, US Government L4, US Government L5 (DOD) and China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement; the mailbox itself still needs an Exchange Online or Outlook.com account. Reference: [https://learn.microsoft.com/en-us/graph/api/message-send?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/message-send?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_SERVICE_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **mailbox_user_id** `string` *required* Sending mailbox, given as a user ID or userPrincipalName and used in the `/users/{id | userPrincipalName}` path. Delegated callers may pass their own userPrincipalName; application callers must always name the mailbox to send from, because an application token has no signed-in user. **messageId** `string` *required* The unique identifier of the draft message to send. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_OUTLOOK_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_OUTLOOK_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_outlook.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4), [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD) and [https://microsoftgraph.chinacloudapi.cn/v1.0](https://microsoftgraph.chinacloudapi.cn/v1.0) (China operated by 21Vianet). Default: `null`. ## Send mail Action ID: `tools.microsoft_outlook.send_mail` Send a JSON message from the specified mailbox and save it in Sent Items. Returns `202 Accepted`; acceptance does not mean delivery finished. Least privileged permission: Mail.Send for delegated work or school, delegated personal Microsoft accounts and application; no higher permission is available. Delegated send-from-another-user also requires Mail.Send.Shared and Exchange Send As or Send on Behalf permission; using `/users/{id}` requires Full Access. Application Mail.Send can send as any organization user, so restrict it with RBAC for Applications in Exchange Online. Supply an API-native JSON `message`, which can include attachments. This action and the generic dispatcher do not support Graph's MIME request form. Available in the global service, US Government L4, US Government L5 (DOD) and China operated by 21Vianet. No separate licensing requirement is documented; the mailbox needs Exchange Online or Outlook.com. Reference: [https://learn.microsoft.com/en-us/graph/api/user-sendmail?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/user-sendmail?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_SERVICE_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **mailbox_user_id** `string` *required* Sending mailbox, given as a user ID or userPrincipalName and used in the `/users/{id | userPrincipalName}` path. Delegated callers may pass their own userPrincipalName; application callers must always name the mailbox to send from, because an application token has no signed-in user. **message** `object` *required* The API-native Microsoft Graph message object to send. Required. Common writable properties include subject (String), body (itemBody), toRecipients, ccRecipients and bccRecipients (recipient collections), replyTo (recipient collection), from and sender (recipient), importance (String), isReadReceiptRequested and isDeliveryReceiptRequested (Boolean), and attachments (attachment collection). For send-from-another-user, set the message `from` property to that mailbox and use the required Exchange delegation described above. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_OUTLOOK_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_OUTLOOK_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_outlook.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4), [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD) and [https://microsoftgraph.chinacloudapi.cn/v1.0](https://microsoftgraph.chinacloudapi.cn/v1.0) (China operated by 21Vianet). Default: `null`. **saveToSentItems** `boolean | null` Indicates whether to save the message in Sent Items. Specify it only if the parameter is false; the default is true. Default: `null`. ## Update mail folder Action ID: `tools.microsoft_outlook.update_mail_folder` Update the writable properties of a mail folder object. `displayName` is the only writable property. Returns `200 OK` and the updated mail folder. Least privileged permission: Mail.ReadWrite for delegated (work or school account), delegated (personal Microsoft account) and application. Updating in another user's mailbox needs application permissions, or delegated permissions plus that user sharing the mail folder with, or granting delegate access to, the signed-in user. Available in the global service, US Government L4, US Government L5 (DOD) and China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement; the mailbox itself still needs an Exchange Online or Outlook.com account. Reference: [https://learn.microsoft.com/en-us/graph/api/mailfolder-update?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/mailfolder-update?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_SERVICE_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **displayName** `string` *required* The mail folder's display name. **folderId** `string` *required* The mail folder, as a folder ID or a well-known folder name such as inbox, sentitems, drafts, deleteditems, junkemail or archive. **mailbox_user_id** `string` *required* Target mailbox, given as a user ID or userPrincipalName and used in the `/users/{id | userPrincipalName}` path. Delegated callers may pass their own userPrincipalName; application callers must always name the mailbox to act on, because an application token has no signed-in user. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_OUTLOOK_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_OUTLOOK_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_outlook.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4), [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD) and [https://microsoftgraph.chinacloudapi.cn/v1.0](https://microsoftgraph.chinacloudapi.cn/v1.0) (China operated by 21Vianet). Default: `null`. ## Update mailbox settings Action ID: `tools.microsoft_outlook.update_mailbox_settings` Enable, configure or disable one or more of the specified user's mailbox settings. Returns `200 OK` and the updated properties of the mailboxSettings object. Least privileged permission: MailboxSettings.ReadWrite for delegated (work or school account), delegated (personal Microsoft account) and application; no higher privileged permission is available. Available in the global service, US Government L4, US Government L5 (DOD) and China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement; the mailbox itself still needs an Exchange Online or Outlook.com account. Reference: [https://learn.microsoft.com/en-us/graph/api/user-update-mailboxsettings?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/user-update-mailboxsettings?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_SERVICE_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **mailbox_user_id** `string` *required* Target mailbox, given as a user ID or userPrincipalName and used in the `/users/{id | userPrincipalName}` path. Delegated callers may pass their own userPrincipalName; application callers must always name the mailbox to act on, because an application token has no signed-in user. **payload** `object` *required* API-native request body. Supply only the values for settings to update. Writable properties for PATCH /users/\{id}/mailboxSettings: automaticRepliesSetting (automaticRepliesSetting; can be set for a future date range only), dateFormat (string), delegateMeetingMessageDeliveryOptions (sendToDelegateAndInformationToPrincipal, sendToDelegateAndPrincipal, sendToDelegateOnly), language (localeInfo), timeFormat (string), timeZone (string) and workingHours (workingHours). `userPurpose` is read-only. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_OUTLOOK_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_OUTLOOK_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_outlook.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4), [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD) and [https://microsoftgraph.chinacloudapi.cn/v1.0](https://microsoftgraph.chinacloudapi.cn/v1.0) (China operated by 21Vianet). Default: `null`. ## Update message Action ID: `tools.microsoft_outlook.update_message` Update the properties of a message object. Least privileged permission: Mail.ReadWrite for delegated (work or school account), delegated (personal Microsoft account) and application; no higher privileged permission is available. Updating a message in another user's mailbox needs application permissions, or delegated permissions plus that user sharing the mail folder with, or granting delegate access to, the signed-in user. Available in the global service, US Government L4, US Government L5 (DOD) and China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement; the mailbox itself still needs an Exchange Online or Outlook.com account. Reference: [https://learn.microsoft.com/en-us/graph/api/message-update?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/message-update?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_SERVICE_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **mailbox_user_id** `string` *required* Target mailbox, given as a user ID or userPrincipalName and used in the `/users/{id | userPrincipalName}` path. Delegated callers may pass their own userPrincipalName; application callers must always name the mailbox to act on, because an application token has no signed-in user. **messageId** `string` *required* The unique identifier of the message. **payload** `object` *required* API-native request body. Supply only the values for properties to update. Updatable properties for PATCH /users/\{id}/messages/\{messageId}: bccRecipients, body, categories, ccRecipients, flag, from, importance (Low, Normal, High), inferenceClassification (focused, other), internetMessageId, isDeliveryReceiptRequested, isRead, isReadReceiptRequested, multiValueExtendedProperties, replyTo, sender, singleValueExtendedProperties, subject and toRecipients. bccRecipients, body, ccRecipients, internetMessageId, multiValueExtendedProperties, replyTo, singleValueExtendedProperties, subject and toRecipients are updatable only if `isDraft` is true. `sender` is updatable when sending a message from a shared mailbox or as a delegate, and must correspond to the actual mailbox used. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_OUTLOOK_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_OUTLOOK_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_outlook.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4), [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD) and [https://microsoftgraph.chinacloudapi.cn/v1.0](https://microsoftgraph.chinacloudapi.cn/v1.0) (China operated by 21Vianet). Default: `null`. ## Update message rule Action ID: `tools.microsoft_outlook.update_message_rule` Change writable properties on a message rule and save the changes. Returns `200 OK` and the updated message rule. Message rules are exposed only through the `messageRules` navigation property of the Inbox folder. Least privileged permission: MailboxSettings.ReadWrite for delegated (work or school account), delegated (personal Microsoft account) and application; no higher privileged permission is available. Available in the global service, US Government L4 and US Government L5 (DOD); not available in China operated by 21Vianet. Microsoft's endpoint reference does not state a separate licensing requirement; the mailbox itself still needs an Exchange Online or Outlook.com account. Reference: [https://learn.microsoft.com/en-us/graph/api/messagerule-update?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/messagerule-update?view=graph-rest-1.0) ### Secrets Optional secrets: * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_SERVICE_TOKEN`. * `microsoft_outlook_oauth`: OAuth token `MICROSOFT_OUTLOOK_USER_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_SERVICE_TOKEN`. * `microsoft_graph_oauth`: OAuth token `MICROSOFT_GRAPH_USER_TOKEN`. ### Input fields **mailbox_user_id** `string` *required* Target mailbox, given as a user ID or userPrincipalName and used in the `/users/{id | userPrincipalName}` path. Delegated callers may pass their own userPrincipalName; application callers must always name the mailbox to act on, because an application token has no signed-in user. **payload** `object` *required* API-native request body. Supply only the values for properties to update. Writable properties for PATCH /users/\{id}/mailFolders/inbox/messageRules/\{ruleId}: actions (messageRuleActions), conditions (messageRulePredicates), displayName (String), exceptions (messageRulePredicates), isEnabled (Boolean), isReadOnly (Boolean, indicates if the rule cannot be modified or deleted by the rules REST API) and sequence (Int32). **ruleId** `string` *required* The unique identifier of the message rule. **auth_mode** `string` Credential to use. `application` requires MICROSOFT_OUTLOOK_SERVICE_TOKEN, then MICROSOFT_GRAPH_SERVICE_TOKEN; `delegated` requires MICROSOFT_OUTLOOK_USER_TOKEN, then MICROSOFT_GRAPH_USER_TOKEN; `auto` tries all four in that order. Default: `"application"`. Allowed values: `application`, `delegated`, `auto`. **base_url** `string | null` Microsoft Graph v1.0 API root. If omitted, uses the workspace variable `microsoft_outlook.base_url`, then `microsoft_graph.base_url`, then [https://graph.microsoft.com/v1.0](https://graph.microsoft.com/v1.0). National clouds: [https://graph.microsoft.us/v1.0](https://graph.microsoft.us/v1.0) (US Government L4) and [https://dod-graph.microsoft.us/v1.0](https://dod-graph.microsoft.us/v1.0) (US Government L5 DOD). Default: `null`. # Microsoft Sentinel Source: https://docs.tracecat.com/tools/microsoft_sentinel Reference for the Tracecat Microsoft Sentinel integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Create incident comment Action ID: `tools.microsoft_sentinel.create_incident_comment` Create a comment on an incident in Microsoft Sentinel. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/incident-comments/create-or-update?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/incident-comments/create-or-update?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **comment_id** `string` *required* Comment ID (GUID). **incident_id** `string` *required* Incident ID. **message** `string` *required* Comment message text. **resource_group_name** `string` *required* Azure resource group name. **subscription_id** `string` *required* Azure subscription ID. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. ## Create or update alert rule Action ID: `tools.microsoft_sentinel.create_or_update_alert_rule` Create or update an alert rule in Microsoft Sentinel workspace. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/alert-rules/create-or-update?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/alert-rules/create-or-update?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **properties** `object` *required* Alert rule properties including kind, displayName, enabled, query, etc. **resource_group_name** `string` *required* Azure resource group name. **rule_id** `string` *required* Alert rule ID. **subscription_id** `string` *required* Azure subscription ID. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. ## Create or update bookmark Action ID: `tools.microsoft_sentinel.create_or_update_bookmark` Create or update a bookmark in Microsoft Sentinel workspace. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/bookmarks/create-or-update?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/bookmarks/create-or-update?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **bookmark_id** `string` *required* Bookmark ID. **properties** `object` *required* Bookmark properties including displayName, notes, query, labels, etc. **resource_group_name** `string` *required* Azure resource group name. **subscription_id** `string` *required* Azure subscription ID. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. ## Create or update incident Action ID: `tools.microsoft_sentinel.create_or_update_incident` Create or update an incident in Microsoft Sentinel workspace. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/incidents/create-or-update?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/incidents/create-or-update?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **incident_id** `string` *required* Incident ID. **properties** `object` *required* Incident properties including title, severity, status, description, etc. **resource_group_name** `string` *required* Azure resource group name. **subscription_id** `string` *required* Azure subscription ID. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. ## Create or update incident relation Action ID: `tools.microsoft_sentinel.create_or_update_incident_relation` Create or update a relation for an incident in Microsoft Sentinel. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/incident-relations/create-or-update?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/incident-relations/create-or-update?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **incident_id** `string` *required* Incident ID. **properties** `object` *required* Relation properties including relatedResourceId. **relation_name** `string` *required* Relation name (GUID). **resource_group_name** `string` *required* Azure resource group name. **subscription_id** `string` *required* Azure subscription ID. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. ## Create or update watchlist Action ID: `tools.microsoft_sentinel.create_or_update_watchlist` Create or update a watchlist in Microsoft Sentinel workspace. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/watchlists/create-or-update?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/watchlists/create-or-update?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **properties** `object` *required* Watchlist properties including displayName, provider, source, itemsSearchKey, etc. **resource_group_name** `string` *required* Azure resource group name. **subscription_id** `string` *required* Azure subscription ID. **watchlist_alias** `string` *required* Watchlist alias. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. ## Create or update watchlist item Action ID: `tools.microsoft_sentinel.create_or_update_watchlist_item` Create or update an item in a watchlist in Microsoft Sentinel. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/watchlist-items/create-or-update?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/watchlist-items/create-or-update?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **properties** `object` *required* Watchlist item properties including itemsKeyValue. **resource_group_name** `string` *required* Azure resource group name. **subscription_id** `string` *required* Azure subscription ID. **watchlist_alias** `string` *required* Watchlist alias. **watchlist_item_id** `string` *required* Watchlist item ID. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. ## Create threat intelligence indicator Action ID: `tools.microsoft_sentinel.create_threat_intelligence_indicator` Create a threat intelligence indicator in Microsoft Sentinel workspace. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/threat-intelligence-indicator/create?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/threat-intelligence-indicator/create?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **indicator_name** `string` *required* Threat intelligence indicator name (GUID). **properties** `object` *required* Indicator properties including kind, pattern, patternType, source, displayName, etc. **resource_group_name** `string` *required* Azure resource group name. **subscription_id** `string` *required* Azure subscription ID. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. ## Delete alert rule Action ID: `tools.microsoft_sentinel.delete_alert_rule` Delete an alert rule from Microsoft Sentinel workspace. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/alert-rules/delete?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/alert-rules/delete?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **resource_group_name** `string` *required* Azure resource group name. **rule_id** `string` *required* Alert rule ID. **subscription_id** `string` *required* Azure subscription ID. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. ## Delete bookmark Action ID: `tools.microsoft_sentinel.delete_bookmark` Delete a bookmark from Microsoft Sentinel workspace. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/bookmarks/delete?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/bookmarks/delete?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **bookmark_id** `string` *required* Bookmark ID. **resource_group_name** `string` *required* Azure resource group name. **subscription_id** `string` *required* Azure subscription ID. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. ## Delete incident Action ID: `tools.microsoft_sentinel.delete_incident` Delete an incident from Microsoft Sentinel workspace. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/incidents/delete?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/incidents/delete?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **incident_id** `string` *required* Incident ID. **resource_group_name** `string` *required* Azure resource group name. **subscription_id** `string` *required* Azure subscription ID. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. ## Delete incident comment Action ID: `tools.microsoft_sentinel.delete_incident_comment` Delete a comment from an incident in Microsoft Sentinel. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/incident-comments/delete?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/incident-comments/delete?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **comment_id** `string` *required* Comment ID. **incident_id** `string` *required* Incident ID. **resource_group_name** `string` *required* Azure resource group name. **subscription_id** `string` *required* Azure subscription ID. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. ## Delete incident relation Action ID: `tools.microsoft_sentinel.delete_incident_relation` Delete a relation from an incident in Microsoft Sentinel. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/incident-relations/delete?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/incident-relations/delete?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **incident_id** `string` *required* Incident ID. **relation_name** `string` *required* Relation name. **resource_group_name** `string` *required* Azure resource group name. **subscription_id** `string` *required* Azure subscription ID. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. ## Delete threat intelligence indicator Action ID: `tools.microsoft_sentinel.delete_threat_intelligence_indicator` Delete a threat intelligence indicator from Microsoft Sentinel workspace. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/threat-intelligence-indicator/delete?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/threat-intelligence-indicator/delete?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **indicator_name** `string` *required* Threat intelligence indicator name. **resource_group_name** `string` *required* Azure resource group name. **subscription_id** `string` *required* Azure subscription ID. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. ## Delete watchlist Action ID: `tools.microsoft_sentinel.delete_watchlist` Delete a watchlist from Microsoft Sentinel workspace. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/watchlists/delete?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/watchlists/delete?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **resource_group_name** `string` *required* Azure resource group name. **subscription_id** `string` *required* Azure subscription ID. **watchlist_alias** `string` *required* Watchlist alias. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. ## Delete watchlist item Action ID: `tools.microsoft_sentinel.delete_watchlist_item` Delete an item from a watchlist in Microsoft Sentinel. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/watchlist-items/delete?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/watchlist-items/delete?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **resource_group_name** `string` *required* Azure resource group name. **subscription_id** `string` *required* Azure subscription ID. **watchlist_alias** `string` *required* Watchlist alias. **watchlist_item_id** `string` *required* Watchlist item ID. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. ## Get alert rule Action ID: `tools.microsoft_sentinel.get_alert_rule` Get a specific alert rule by ID from Microsoft Sentinel workspace. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/alert-rules/get?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/alert-rules/get?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **resource_group_name** `string` *required* Azure resource group name. **rule_id** `string` *required* Alert rule ID. **subscription_id** `string` *required* Azure subscription ID. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. ## Get alert rule template Action ID: `tools.microsoft_sentinel.get_alert_rule_template` Get a specific alert rule template by ID from Microsoft Sentinel workspace. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/alert-rule-templates/get?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/alert-rule-templates/get?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **alert_rule_template_id** `string` *required* Alert rule template ID. **resource_group_name** `string` *required* Azure resource group name. **subscription_id** `string` *required* Azure subscription ID. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. ## Get bookmark Action ID: `tools.microsoft_sentinel.get_bookmark` Get a specific bookmark by ID from Microsoft Sentinel workspace. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/bookmarks/get?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/bookmarks/get?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **bookmark_id** `string` *required* Bookmark ID. **resource_group_name** `string` *required* Azure resource group name. **subscription_id** `string` *required* Azure subscription ID. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. ## Get incident Action ID: `tools.microsoft_sentinel.get_incident` Get a specific incident by ID from Microsoft Sentinel workspace. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/incidents/get?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/incidents/get?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **incident_id** `string` *required* Incident ID. **resource_group_name** `string` *required* Azure resource group name. **subscription_id** `string` *required* Azure subscription ID. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. ## Get incident relation Action ID: `tools.microsoft_sentinel.get_incident_relation` Get a specific relation for an incident in Microsoft Sentinel. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/incident-relations/get?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/incident-relations/get?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **incident_id** `string` *required* Incident ID. **relation_name** `string` *required* Relation name (GUID). **resource_group_name** `string` *required* Azure resource group name. **subscription_id** `string` *required* Azure subscription ID. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. ## Get threat intelligence indicator Action ID: `tools.microsoft_sentinel.get_threat_intelligence_indicator` Get a specific threat intelligence indicator by name from Microsoft Sentinel. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/threat-intelligence-indicator/get?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/threat-intelligence-indicator/get?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **indicator_name** `string` *required* Threat intelligence indicator name (GUID). **resource_group_name** `string` *required* Azure resource group name. **subscription_id** `string` *required* Azure subscription ID. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. ## Get watchlist Action ID: `tools.microsoft_sentinel.get_watchlist` Get a specific watchlist by alias from Microsoft Sentinel workspace. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/watchlists/get?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/watchlists/get?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **resource_group_name** `string` *required* Azure resource group name. **subscription_id** `string` *required* Azure subscription ID. **watchlist_alias** `string` *required* Watchlist alias. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. ## Get watchlist item Action ID: `tools.microsoft_sentinel.get_watchlist_item` Get a specific item from a watchlist in Microsoft Sentinel. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/watchlist-items/get?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/watchlist-items/get?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **resource_group_name** `string` *required* Azure resource group name. **subscription_id** `string` *required* Azure subscription ID. **watchlist_alias** `string` *required* Watchlist alias. **watchlist_item_id** `string` *required* Watchlist item ID. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. ## List alert rule templates Action ID: `tools.microsoft_sentinel.list_alert_rule_templates` Get all alert rule templates available in Microsoft Sentinel workspace. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/alert-rule-templates/list?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/alert-rule-templates/list?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **resource_group_name** `string` *required* Azure resource group name. **subscription_id** `string` *required* Azure subscription ID. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. ## List alert rules Action ID: `tools.microsoft_sentinel.list_alert_rules` Get all alert rules in Microsoft Sentinel workspace. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/alert-rules/list?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/alert-rules/list?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **resource_group_name** `string` *required* Azure resource group name. **subscription_id** `string` *required* Azure subscription ID. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. ## List bookmarks Action ID: `tools.microsoft_sentinel.list_bookmarks` Get all bookmarks in Microsoft Sentinel workspace. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/bookmarks/list?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/bookmarks/list?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **resource_group_name** `string` *required* Azure resource group name. **subscription_id** `string` *required* Azure subscription ID. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. ## List incident alerts Action ID: `tools.microsoft_sentinel.list_incident_alerts` Get all alerts related to a specific incident in Microsoft Sentinel. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/incidents/list-alerts?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/incidents/list-alerts?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **incident_id** `string` *required* Incident ID. **resource_group_name** `string` *required* Azure resource group name. **subscription_id** `string` *required* Azure subscription ID. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. ## List incident bookmarks Action ID: `tools.microsoft_sentinel.list_incident_bookmarks` Get all bookmarks related to a specific incident in Microsoft Sentinel. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/incidents/list-bookmarks?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/incidents/list-bookmarks?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **incident_id** `string` *required* Incident ID. **resource_group_name** `string` *required* Azure resource group name. **subscription_id** `string` *required* Azure subscription ID. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. ## List incident comments Action ID: `tools.microsoft_sentinel.list_incident_comments` Get all comments for a specific incident in Microsoft Sentinel. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/incident-comments/list?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/incident-comments/list?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **incident_id** `string` *required* Incident ID. **resource_group_name** `string` *required* Azure resource group name. **subscription_id** `string` *required* Azure subscription ID. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. ## List incident entities Action ID: `tools.microsoft_sentinel.list_incident_entities` Get all entities related to a specific incident in Microsoft Sentinel. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/incidents/list-entities?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/incidents/list-entities?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **incident_id** `string` *required* Incident ID. **resource_group_name** `string` *required* Azure resource group name. **subscription_id** `string` *required* Azure subscription ID. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. ## List incident relations Action ID: `tools.microsoft_sentinel.list_incident_relations` Get all relations for a specific incident in Microsoft Sentinel. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/incident-relations/list?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/incident-relations/list?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **incident_id** `string` *required* Incident ID. **resource_group_name** `string` *required* Azure resource group name. **subscription_id** `string` *required* Azure subscription ID. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. ## List incidents Action ID: `tools.microsoft_sentinel.list_incidents` Get all incidents in Microsoft Sentinel workspace. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/incidents/list?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/incidents/list?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **resource_group_name** `string` *required* Azure resource group name. **subscription_id** `string` *required* Azure subscription ID. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. **filter** `string | null` OData filter expression (e.g., "properties/status eq 'Active'"). Default: `null`. **orderby** `string | null` OData orderby expression (e.g., "properties/createdTimeUtc desc"). Default: `null`. **skip_token** `string | null` Skiptoken for pagination. Default: `null`. **top** `integer | null` Maximum number of incidents to return. Default: `null`. ## List threat intelligence indicators Action ID: `tools.microsoft_sentinel.list_threat_intelligence_indicators` Get all threat intelligence indicators in Microsoft Sentinel workspace. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/threat-intelligence-indicators/list?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/threat-intelligence-indicators/list?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **resource_group_name** `string` *required* Azure resource group name. **subscription_id** `string` *required* Azure subscription ID. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. **filter** `string | null` OData filter expression. Default: `null`. **orderby** `string | null` OData orderby expression. Default: `null`. **skip_token** `string | null` Skiptoken for pagination. Default: `null`. **top** `integer | null` Maximum number of indicators to return. Default: `null`. ## List watchlist items Action ID: `tools.microsoft_sentinel.list_watchlist_items` Get all items in a specific watchlist in Microsoft Sentinel. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/watchlist-items/list?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/watchlist-items/list?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **resource_group_name** `string` *required* Azure resource group name. **subscription_id** `string` *required* Azure subscription ID. **watchlist_alias** `string` *required* Watchlist alias. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. ## List watchlists Action ID: `tools.microsoft_sentinel.list_watchlists` Get all watchlists in Microsoft Sentinel workspace. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/watchlists/list?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/watchlists/list?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **resource_group_name** `string` *required* Azure resource group name. **subscription_id** `string` *required* Azure subscription ID. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. ## Query threat intelligence indicators Action ID: `tools.microsoft_sentinel.query_threat_intelligence_indicators` Query threat intelligence indicators using advanced filters in Microsoft Sentinel. Reference: [https://learn.microsoft.com/en-us/rest/api/securityinsights/threat-intelligence-indicators?view=rest-securityinsights-2025-09-01](https://learn.microsoft.com/en-us/rest/api/securityinsights/threat-intelligence-indicators?view=rest-securityinsights-2025-09-01) ### Secrets Optional secrets: * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_USER_TOKEN`. * `microsoft_sentinel_oauth`: OAuth token `MICROSOFT_SENTINEL_SERVICE_TOKEN`. ### Input fields **query** `object` *required* Query parameters including keywords, patternTypes, sources, threatTypes, etc. **resource_group_name** `string` *required* Azure resource group name. **subscription_id** `string` *required* Azure subscription ID. **workspace_name** `string` *required* Log Analytics workspace name. **api_version** `string` API version. Default: `"2025-09-01"`. **base_url** `string` Base URL for the Azure Management API. Default: `"https://management.azure.com"`. Allowed values: `https://management.azure.com`, `https://management.usgovcloudapi.net`. # Microsoft Teams Source: https://docs.tracecat.com/tools/microsoft_teams Reference for the Tracecat Microsoft Teams integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Create Teams channel Action ID: `tools.microsoft_teams.create_channel` Create a new channel in a Microsoft Teams team. Can create either public (standard) or private channels. Reference: [https://learn.microsoft.com/en-us/graph/api/channel-post?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/channel-post?view=graph-rest-1.0) ### Secrets Required secrets: * `microsoft_teams_oauth`: OAuth token `MICROSOFT_TEAMS_USER_TOKEN`. ### Input fields **display_name** `string` *required* The display name for the channel. **team_id** `string` *required* The ID of the team. **base_url** `string` Base URL for the Microsoft Graph API. Default: `"https://graph.microsoft.com"`. Allowed values: `https://graph.microsoft.com`, `https://graph.microsoft.us`. **description** `string | null` Description for the channel. Default: `null`. **is_private** `boolean` Whether to create a private channel (requires members). Default: `false`. **owner_user_ids** `array[string] | null` List of user IDs to add as owners (required for private channels). Default: `null`. ## Delete Teams channel Action ID: `tools.microsoft_teams.delete_channel` Delete a channel from a Microsoft Teams team. Reference: [https://learn.microsoft.com/en-us/graph/api/channel-delete?view=graph-rest-beta\&tabs=http](https://learn.microsoft.com/en-us/graph/api/channel-delete?view=graph-rest-beta\&tabs=http) ### Secrets Required secrets: * `microsoft_teams_oauth`: OAuth token `MICROSOFT_TEAMS_USER_TOKEN`. ### Input fields **channel_id** `string` *required* The ID of the channel. **team_id** `string` *required* The ID of the team. **base_url** `string` Base URL for the Microsoft Graph API. Default: `"https://graph.microsoft.com"`. Allowed values: `https://graph.microsoft.com`, `https://graph.microsoft.us`. ## List channel messages Action ID: `tools.microsoft_teams.list_channel_messages` Retrieve the list of messages (without the replies) in a channel of a team. Reference: [https://learn.microsoft.com/en-us/graph/api/channel-list-messages?view=graph-rest-beta\&tabs=python](https://learn.microsoft.com/en-us/graph/api/channel-list-messages?view=graph-rest-beta\&tabs=python) ### Secrets Required secrets: * `microsoft_teams_oauth`: OAuth token `MICROSOFT_TEAMS_USER_TOKEN`. ### Input fields **channel_id** `string` *required* The ID of the channel. **team_id** `string` *required* The ID of the team. **base_url** `string` Base URL for the Microsoft Graph API. Default: `"https://graph.microsoft.com"`. Allowed values: `https://graph.microsoft.com`, `https://graph.microsoft.us`. **expand_replies** `boolean` Whether to expand replies for each message. Default: `false`. **top** `integer | null` Number of messages to return per page (default 20, max 50). Default: `null`. ## Send adaptive card Action ID: `tools.microsoft_teams.send_adaptive_card` Send a message with Adaptive Cards to a Microsoft Teams channel. Reference: [https://learn.microsoft.com/en-us/graph/api/channel-post-messages?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/channel-post-messages?view=graph-rest-1.0) ### Secrets Required secrets: * `microsoft_teams_oauth`: OAuth token `MICROSOFT_TEAMS_USER_TOKEN`. ### Input fields **card_elements** `array[object]` *required* List of Adaptive Card elements. **channel_id** `string` *required* The ID of the channel. **team_id** `string` *required* The ID of the team. **base_url** `string` Base URL for the Microsoft Graph API. Default: `"https://graph.microsoft.com"`. Allowed values: `https://graph.microsoft.com`, `https://graph.microsoft.us`. **title** `string | null` Title for the card (appears as subject). Default: `null`. ## Send replies to a Teams message Action ID: `tools.microsoft_teams.post_replies` Send a reply to a Microsoft Teams message. Reference: [https://learn.microsoft.com/en-us/graph/api/chatmessage-post-replies?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/chatmessage-post-replies?view=graph-rest-1.0) ### Secrets Required secrets: * `microsoft_teams_oauth`: OAuth token `MICROSOFT_TEAMS_USER_TOKEN`. ### Input fields **channel_id** `string` *required* The ID of the channel. **message** `string` *required* The reply message to send. **message_id** `string` *required* The ID of the message to reply to. **team_id** `string` *required* The ID of the team. **base_url** `string` Base URL for the Microsoft Graph API. Default: `"https://graph.microsoft.com"`. Allowed values: `https://graph.microsoft.com`, `https://graph.microsoft.us`. **contentType** `string` The content type of the reply message. Default: `"html"`. ## Send Teams message Action ID: `tools.microsoft_teams.send_message` Send a message to a Microsoft Teams channel. Reference: [https://learn.microsoft.com/en-us/graph/api/channel-post-messages?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/channel-post-messages?view=graph-rest-1.0) ### Secrets Required secrets: * `microsoft_teams_oauth`: OAuth token `MICROSOFT_TEAMS_USER_TOKEN`. ### Input fields **channel_id** `string` *required* The ID of the channel. **message** `string` *required* The message to send. **team_id** `string` *required* The ID of the team. **base_url** `string` Base URL for the Microsoft Graph API. Default: `"https://graph.microsoft.com"`. Allowed values: `https://graph.microsoft.com`, `https://graph.microsoft.us`. # MinIO Source: https://docs.tracecat.com/tools/minio Reference for the Tracecat MinIO integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Call MinIO method Action ID: `tools.minio.call_method` Instantiate a MinIO client and call a MinIO method. Reference: [https://docs.min.io/enterprise/aistor-object-store/developers/](https://docs.min.io/enterprise/aistor-object-store/developers/) ### Secrets Required secrets: * `minio`: required values `MINIO_ACCESS_KEY`, `MINIO_SECRET_KEY`; optional values `MINIO_ENDPOINT`, `MINIO_REGION`. ### Input fields **method_name** `string` *required* MinIO method name. **params** `object` *required* MinIO method parameters. **cert_check** `boolean` Whether to check the server certificate for HTTPS connection. Default: `true`. **endpoint** `string | null` MinIO endpoint URL. Default: `null`. **secure** `boolean` Whether to use HTTPS connection. Default: `true`. ## Copy MinIO objects Action ID: `tools.minio.copy_objects` Copy MinIO objects from one bucket to another. Reference: [https://docs.min.io/enterprise/aistor-object-store/developers/#copy_object](https://docs.min.io/enterprise/aistor-object-store/developers/#copy_object) ### Secrets Required secrets: * `minio`: required values `MINIO_ACCESS_KEY`, `MINIO_SECRET_KEY`; optional values `MINIO_ENDPOINT`, `MINIO_REGION`. ### Input fields **dst_bucket** `string` *required* Destination MinIO bucket name. **prefix** `string` *required* Prefix to filter objects. **src_bucket** `string` *required* Source MinIO bucket name. **cert_check** `boolean` Whether to check the server certificate for HTTPS connection. Default: `true`. **endpoint** `string | null` MinIO endpoint URL. Default: `null`. **secure** `boolean` Whether to use HTTPS connection. Default: `true`. ## Delete MinIO object Action ID: `tools.minio.delete_object` Delete an object from MinIO. Reference: [https://docs.min.io/enterprise/aistor-object-store/developers/#remove_object](https://docs.min.io/enterprise/aistor-object-store/developers/#remove_object) ### Secrets Required secrets: * `minio`: required values `MINIO_ACCESS_KEY`, `MINIO_SECRET_KEY`; optional values `MINIO_ENDPOINT`, `MINIO_REGION`. ### Input fields **bucket** `string` *required* MinIO bucket name. **key** `string` *required* MinIO object key. **cert_check** `boolean` Whether to check the server certificate for HTTPS connection. Default: `true`. **endpoint** `string | null` MinIO endpoint URL. Default: `null`. **secure** `boolean` Whether to use HTTPS connection. Default: `true`. ## Get MinIO object Action ID: `tools.minio.get_object` Download an object from MinIO and return its body as a string. Reference: [https://docs.min.io/enterprise/aistor-object-store/developers/#get_object](https://docs.min.io/enterprise/aistor-object-store/developers/#get_object) ### Secrets Required secrets: * `minio`: required values `MINIO_ACCESS_KEY`, `MINIO_SECRET_KEY`; optional values `MINIO_ENDPOINT`, `MINIO_REGION`. ### Input fields **bucket** `string` *required* MinIO bucket name. **key** `string` *required* MinIO object key. **cert_check** `boolean` Whether to check the server certificate for HTTPS connection. Default: `true`. **endpoint** `string | null` MinIO endpoint URL. Default: `null`. **secure** `boolean` Whether to use HTTPS connection. Default: `true`. ## Get MinIO objects Action ID: `tools.minio.get_objects` Download multiple MinIO objects and return their bodies as strings. Reference: [https://docs.min.io/enterprise/aistor-object-store/developers/#get_object](https://docs.min.io/enterprise/aistor-object-store/developers/#get_object) ### Secrets Required secrets: * `minio`: required values `MINIO_ACCESS_KEY`, `MINIO_SECRET_KEY`; optional values `MINIO_ENDPOINT`, `MINIO_REGION`. ### Input fields **bucket** `string` *required* MinIO bucket name. **keys** `array[string]` *required* MinIO object keys. **cert_check** `boolean` Whether to check the server certificate for HTTPS connection. Default: `true`. **endpoint** `string | null` MinIO endpoint URL. Default: `null`. **secure** `boolean` Whether to use HTTPS connection. Default: `true`. ## List MinIO buckets Action ID: `tools.minio.list_buckets` List MinIO buckets Reference: [https://docs.min.io/enterprise/aistor-object-store/developers/#list_buckets](https://docs.min.io/enterprise/aistor-object-store/developers/#list_buckets) ### Secrets Required secrets: * `minio`: required values `MINIO_ACCESS_KEY`, `MINIO_SECRET_KEY`; optional values `MINIO_ENDPOINT`, `MINIO_REGION`. ### Input fields **cert_check** `boolean` Whether to check the server certificate for HTTPS connection. Default: `true`. **endpoint** `string | null` MinIO endpoint URL. Default: `null`. **secure** `boolean` Whether to use HTTPS connection. Default: `true`. ## List MinIO objects Action ID: `tools.minio.list_objects` List objects in a MinIO bucket. Reference: [https://docs.min.io/enterprise/aistor-object-store/developers/#list_objects](https://docs.min.io/enterprise/aistor-object-store/developers/#list_objects) ### Secrets Required secrets: * `minio`: required values `MINIO_ACCESS_KEY`, `MINIO_SECRET_KEY`; optional values `MINIO_ENDPOINT`, `MINIO_REGION`. ### Input fields **bucket** `string` *required* MinIO bucket name. **cert_check** `boolean` Whether to check the server certificate for HTTPS connection. Default: `true`. **endpoint** `string | null` MinIO endpoint URL. Default: `null`. **prefix** `string | null` MinIO object key prefix. Default: `null`. **recursive** `boolean` List recursively. Default: `true`. **secure** `boolean` Whether to use HTTPS connection. Default: `true`. ## Put MinIO object Action ID: `tools.minio.put_object` Put an object to MinIO. Reference: [https://docs.min.io/enterprise/aistor-object-store/developers/#put_object](https://docs.min.io/enterprise/aistor-object-store/developers/#put_object) ### Secrets Required secrets: * `minio`: required values `MINIO_ACCESS_KEY`, `MINIO_SECRET_KEY`; optional values `MINIO_ENDPOINT`, `MINIO_REGION`. ### Input fields **bucket** `string` *required* MinIO bucket name. **file_data** `string` *required* Base64 encoded content of the file to upload. **key** `string` *required* MinIO object key. **cert_check** `boolean` Whether to check the server certificate for HTTPS connection. Default: `true`. **endpoint** `string | null` MinIO endpoint URL. Default: `null`. **secure** `boolean` Whether to use HTTPS connection. Default: `true`. # MISP Source: https://docs.tracecat.com/tools/misp Reference for the Tracecat MISP integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Get attribute Action ID: `tools.misp.get_attribute` Retrieve a specific MISP indicator by its numeric attribute ID. Reference: [https://www.misp-project.org/openapi/#tag/Attributes/operation/getAttributeById](https://www.misp-project.org/openapi/#tag/Attributes/operation/getAttributeById) ### Secrets Required secrets: * `misp`: required values `MISP_API_KEY`. ### Input fields **attribute_id** `integer` *required* Numeric ID of the attribute to retrieve. **base_url** `string | null` MISP base URL. Falls back to VARS.misp.base_url. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Get event Action ID: `tools.misp.get_event` Retrieve a complete MISP event by ID, including its attributes, objects, tags, and metadata. Reference: [https://www.misp-project.org/openapi/#tag/Events/operation/getEventById](https://www.misp-project.org/openapi/#tag/Events/operation/getEventById) ### Secrets Required secrets: * `misp`: required values `MISP_API_KEY`. ### Input fields **event_id** `integer` *required* Numeric ID of the event to retrieve. **base_url** `string | null` MISP base URL. Falls back to VARS.misp.base_url. Default: `null`. **include_correlations** `boolean` Include correlation data when supported by the MISP instance. Default: `false`. **include_sightings** `boolean` Include sighting data when supported by the MISP instance. Default: `false`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Get galaxy Action ID: `tools.misp.get_galaxy` Retrieve a MISP galaxy and optionally include all of its clusters. Reference: [https://www.misp-project.org/openapi/#tag/Galaxies/operation/getGalaxyById](https://www.misp-project.org/openapi/#tag/Galaxies/operation/getGalaxyById) ### Secrets Required secrets: * `misp`: required values `MISP_API_KEY`. ### Input fields **galaxy_id** `integer` *required* Numeric ID of the galaxy to retrieve. **base_url** `string | null` MISP base URL. Falls back to VARS.misp.base_url. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. **with_clusters** `boolean` Include clusters associated with the galaxy. Default: `true`. ## Get object Action ID: `tools.misp.get_object` Retrieve a specific MISP object and all of its grouped attributes. Reference: [https://www.misp-project.org/openapi/#tag/Objects/operation/getObjectById](https://www.misp-project.org/openapi/#tag/Objects/operation/getObjectById) ### Secrets Required secrets: * `misp`: required values `MISP_API_KEY`. ### Input fields **object_id** `integer` *required* Numeric ID of the object to retrieve. **base_url** `string | null` MISP base URL. Falls back to VARS.misp.base_url. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Get taxonomy Action ID: `tools.misp.get_taxonomy` Retrieve a MISP taxonomy with its predicates and values. Reference: [https://www.misp-project.org/openapi/#tag/Taxonomies/operation/getTaxonomyById](https://www.misp-project.org/openapi/#tag/Taxonomies/operation/getTaxonomyById) ### Secrets Required secrets: * `misp`: required values `MISP_API_KEY`. ### Input fields **taxonomy_id** `integer` *required* Numeric ID of the taxonomy to retrieve. **base_url** `string | null` MISP base URL. Falls back to VARS.misp.base_url. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## List taxonomies Action ID: `tools.misp.list_taxonomies` List MISP taxonomy vocabularies used to classify threat intelligence. Reference: [https://www.misp-project.org/openapi/#tag/Taxonomies/operation/getTaxonomies](https://www.misp-project.org/openapi/#tag/Taxonomies/operation/getTaxonomies) ### Secrets Required secrets: * `misp`: required values `MISP_API_KEY`. ### Input fields **base_url** `string | null` MISP base URL. Falls back to VARS.misp.base_url. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Search attributes Action ID: `tools.misp.search_attributes` Search individual MISP indicators across events for threat enrichment. Reference: [https://www.misp-project.org/openapi/#tag/Attributes/operation/restSearchAttributes](https://www.misp-project.org/openapi/#tag/Attributes/operation/restSearchAttributes) ### Secrets Required secrets: * `misp`: required values `MISP_API_KEY`. ### Input fields **base_url** `string | null` MISP base URL. Falls back to VARS.misp.base_url. Default: `null`. **category** `string | null` MISP attribute category. Default: `null`. **date_from** `string | null` Earliest event date in YYYY-MM-DD format. Default: `null`. **date_to** `string | null` Latest event date in YYYY-MM-DD format. Default: `null`. **enforce_warninglist** `boolean | null` Exclude attributes matching enabled warning lists. Default: `null`. **eventid** `integer | array[integer] | null` Parent event ID or list of event IDs. Default: `null`. **include_correlations** `boolean` Include correlation data. Default: `false`. **include_decay_score** `boolean` Include indicator decay scores. Default: `false`. **include_event_tags** `boolean` Include parent event tags. Default: `false`. **include_event_uuid** `boolean` Include the parent event UUID. Default: `true`. **include_sightings** `boolean` Include sighting data. Default: `false`. **limit** `integer` Maximum number of attributes to return. Default: `50`. **org** `string | null` Creator organisation name or ID. Default: `null`. **page** `integer` Result page number. Default: `1`. **published** `boolean | null` Filter by parent event publication state. Default: `null`. **tags** `array[string] | null` Attribute tags to include or exclude. Default: `null`. **to_ids** `boolean | null` Filter attributes by their IDS flag. Default: `null`. **type_attribute** `string | null` MISP attribute type such as ip-src, domain, url, md5, or sha256. Default: `null`. **value** `string | null` Indicator value such as an IP address, domain, URL, or hash. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Search event index Action ID: `tools.misp.search_event_index` Browse and filter lightweight MISP event metadata without loading full attributes or objects. Reference: [https://www.misp-project.org/openapi/#tag/Events/operation/searchEvents](https://www.misp-project.org/openapi/#tag/Events/operation/searchEvents) ### Secrets Required secrets: * `misp`: required values `MISP_API_KEY`. ### Input fields **analysis** `integer | null` Analysis level where 0 is initial, 1 ongoing, and 2 complete. Default: `null`. **attribute** `string | null` Match events containing this attribute value. Default: `null`. **base_url** `string | null` MISP base URL. Falls back to VARS.misp.base_url. Default: `null`. **date_from** `string | null` Earliest event date in YYYY-MM-DD format. Default: `null`. **date_to** `string | null` Latest event date in YYYY-MM-DD format. Default: `null`. **desc** `boolean | null` Sort descending when true or ascending when false. Default: `null`. **eventid** `string | null` Event ID filter. Default: `null`. **eventinfo** `string | null` Text to match in the event information field. Default: `null`. **limit** `integer` Maximum number of events to return. Default: `25`. **minimal** `boolean` Return the minimal event metadata shape. Default: `false`. **org** `string | null` Creator organisation name or ID. Default: `null`. **page** `integer` Result page number. Default: `1`. **publish_timestamp** `string | null` Filter by publication timestamp or relative time. Default: `null`. **published** `boolean | null` Filter by event publication state. Default: `null`. **sort** `string | null` Sort field such as id, date, or attribute_count. Default: `null`. **tags** `array[string] | null` Event tags to include or exclude. Default: `null`. **threatlevel** `integer | null` Threat level where 1 is high, 2 medium, 3 low, and 4 undefined. Default: `null`. **timestamp** `string | null` Filter by last-modified timestamp or relative time. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Search events Action ID: `tools.misp.search_events` Search MISP events by indicators, tags, dates, organisation, and publication state. Reference: [https://www.misp-project.org/openapi/#tag/Events/operation/restSearchEvents](https://www.misp-project.org/openapi/#tag/Events/operation/restSearchEvents) ### Secrets Required secrets: * `misp`: required values `MISP_API_KEY`. ### Input fields **base_url** `string | null` MISP base URL. Falls back to VARS.misp.base_url. Default: `null`. **category** `string | null` MISP attribute category. Default: `null`. **date_from** `string | null` Earliest event date in YYYY-MM-DD format. Default: `null`. **date_to** `string | null` Latest event date in YYYY-MM-DD format. Default: `null`. **enforce_warninglist** `boolean | null` Exclude attributes matching enabled warning lists. Default: `null`. **event_tags** `array[string] | null` Event-level tags to include or exclude. Default: `null`. **eventid** `integer | array[integer] | null` Event ID or list of event IDs. Default: `null`. **eventinfo** `string | null` Text to match in the event information field. Default: `null`. **include_correlations** `boolean` Include correlation data. Default: `false`. **include_sightings** `boolean` Include sighting data. Default: `false`. **limit** `integer` Maximum number of events to return. Default: `25`. **metadata** `boolean` Return event metadata without attributes or objects. Default: `false`. **org** `string | null` Creator organisation name or ID. Default: `null`. **page** `integer` Result page number. Default: `1`. **published** `boolean | null` Filter by event publication state. Default: `null`. **quick_filter** `string | null` Quick text search across event and attribute fields. Default: `null`. **tags** `array[string] | null` Attribute tags to include or exclude. Default: `null`. **to_ids** `boolean | null` Filter attributes by their IDS flag. Default: `null`. **type_attribute** `string | null` MISP attribute type such as ip-src, domain, url, md5, or sha256. Default: `null`. **value** `string | null` Indicator value such as an IP address, domain, URL, or hash. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Search feeds Action ID: `tools.misp.search_feeds` List configured MISP feeds or search their cached threat intelligence for an indicator. Reference: [https://www.misp-project.org/openapi/#tag/Feeds](https://www.misp-project.org/openapi/#tag/Feeds) ### Secrets Required secrets: * `misp`: required values `MISP_API_KEY`. ### Input fields **base_url** `string | null` MISP base URL. Falls back to VARS.misp.base_url. Default: `null`. **value** `string | null` Indicator to search in cached feeds. Omit to list configured feeds. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Search galaxies Action ID: `tools.misp.search_galaxies` Search MISP galaxies for threat actors, malware, tools, and ATT\&CK knowledge bases. Reference: [https://www.misp-project.org/openapi/#tag/Galaxies/operation/searchGalaxies](https://www.misp-project.org/openapi/#tag/Galaxies/operation/searchGalaxies) ### Secrets Required secrets: * `misp`: required values `MISP_API_KEY`. ### Input fields **value** `string` *required* Text to match in galaxy names and descriptions. **base_url** `string | null` MISP base URL. Falls back to VARS.misp.base_url. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. **with_clusters** `boolean` Request cluster data with matching galaxies when supported. Default: `false`. ## Search galaxy clusters Action ID: `tools.misp.search_galaxy_clusters` Search threat actors, malware families, techniques, and other clusters within a MISP galaxy. Reference: [https://www.misp-project.org/openapi/#tag/Galaxy-Clusters/operation/searchGalaxyClusters](https://www.misp-project.org/openapi/#tag/Galaxy-Clusters/operation/searchGalaxyClusters) ### Secrets Required secrets: * `misp`: required values `MISP_API_KEY`. ### Input fields **galaxy_id** `integer` *required* Numeric ID of the galaxy to search. **base_url** `string | null` MISP base URL. Falls back to VARS.misp.base_url. Default: `null`. **context** `string | null` Optional MISP galaxy cluster context filter. Default: `null`. **search_term** `string | null` Text to match in cluster names, descriptions, and synonyms. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Search objects Action ID: `tools.misp.search_objects` Search MISP objects that group related indicators such as files, network connections, and emails. Reference: [https://www.misp-project.org/openapi/#tag/Objects/operation/restSearchObjects](https://www.misp-project.org/openapi/#tag/Objects/operation/restSearchObjects) ### Secrets Required secrets: * `misp`: required values `MISP_API_KEY`. ### Input fields **base_url** `string | null` MISP base URL. Falls back to VARS.misp.base_url. Default: `null`. **category** `string | null` MISP attribute category. Default: `null`. **date_from** `string | null` Earliest event date in YYYY-MM-DD format. Default: `null`. **date_to** `string | null` Latest event date in YYYY-MM-DD format. Default: `null`. **eventid** `integer | array[integer] | null` Parent event ID or list of event IDs. Default: `null`. **limit** `integer` Maximum number of objects to return. Default: `25`. **object_name** `string | null` Object template name such as file, ip-port, domain-ip, or email. Default: `null`. **org** `string | null` Creator organisation name or ID. Default: `null`. **page** `integer` Result page number. Default: `1`. **tags** `array[string] | null` Tags to include or exclude. Default: `null`. **type_attribute** `string | null` Type of an attribute contained in an object. Default: `null`. **value** `string | null` Value of an attribute contained in an object. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Search tags Action ID: `tools.misp.search_tags` Search MISP tags by exact or partial tag name. Reference: [https://www.misp-project.org/openapi/#tag/Tags/operation/searchTag](https://www.misp-project.org/openapi/#tag/Tags/operation/searchTag) ### Secrets Required secrets: * `misp`: required values `MISP_API_KEY`. ### Input fields **tagname** `string` *required* Exact or partial tag name, such as tlp:amber or a galaxy tag. **base_url** `string | null` MISP base URL. Falls back to VARS.misp.base_url. Default: `null`. **strict** `boolean` Match the tag name exactly instead of matching synonyms and galaxy values. Default: `false`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. # Okta Source: https://docs.tracecat.com/tools/okta Reference for the Tracecat Okta integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Activate user Action ID: `tools.okta.activate_user` Activate a user account in Okta. Reference: [https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userlifecycle/#tag/UserLifecycle/operation/activateUser](https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userlifecycle/#tag/UserLifecycle/operation/activateUser) ### Secrets Required secrets: * `okta`: required values `OKTA_API_TOKEN`. ### Input fields **user_id** `string` *required* User ID, login, or email of the user to activate **base_url** `string | null` Okta domain base URL (e.g., '[https://your-org.okta.com](https://your-org.okta.com)') Default: `null`. **send_email** `boolean` Whether to send an activation email to the user Default: `true`. ## Add user to group Action ID: `tools.okta.add_to_group` Add a user to a specific group in Okta. Reference: [https://developer.okta.com/docs/api/openapi/okta-management/management/tags/group/#tag/Group/operation/assignUserToGroup](https://developer.okta.com/docs/api/openapi/okta-management/management/tags/group/#tag/Group/operation/assignUserToGroup) ### Secrets Required secrets: * `okta`: required values `OKTA_API_TOKEN`. ### Input fields **group_id** `string` *required* ID of the group to add the user to **user_id** `string` *required* User ID, login, or email to add to the group **base_url** `string | null` Okta domain base URL (e.g., '[https://your-org.okta.com](https://your-org.okta.com)') Default: `null`. ## Assign group to application Action ID: `tools.okta.assign_group_to_app` Assign a group to an application in Okta. Reference: [https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationgroups/#tag/ApplicationGroups/operation/updateGroupAssignmentToApplication](https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationgroups/#tag/ApplicationGroups/operation/updateGroupAssignmentToApplication) ### Secrets Required secrets: * `okta`: required values `OKTA_API_TOKEN`. ### Input fields **app_id** `string` *required* Application ID to assign the group to **group_id** `string` *required* Group ID to assign to the application **base_url** `string | null` Okta domain base URL (e.g., '[https://your-org.okta.com](https://your-org.okta.com)') Default: `null`. **priority** `integer | null` Priority of the group assignment (0-100) Default: `null`. ## Clear user sessions Action ID: `tools.okta.clear_user_sessions` Clear all active sessions for a user in Okta. Reference: [https://developer.okta.com/docs/api/openapi/okta-management/management/tags/usersessions/#tag/UserSessions/operation/revokeUserSessions](https://developer.okta.com/docs/api/openapi/okta-management/management/tags/usersessions/#tag/UserSessions/operation/revokeUserSessions) ### Secrets Required secrets: * `okta`: required values `OKTA_API_TOKEN`. ### Input fields **user_id** `string` *required* User ID, login, or email of the user whose sessions to clear **base_url** `string | null` Okta domain base URL (e.g., '[https://your-org.okta.com](https://your-org.okta.com)') Default: `null`. ## Create user Action ID: `tools.okta.create_user` Create a new user in your Okta organization. Reference: [https://developer.okta.com/docs/api/openapi/okta-management/management/tags/user/#tag/User/operation/createUser](https://developer.okta.com/docs/api/openapi/okta-management/management/tags/user/#tag/User/operation/createUser) ### Secrets Required secrets: * `okta`: required values `OKTA_API_TOKEN`. ### Input fields **email** `string` *required* Email address of the new user **first_name** `string` *required* First name of the new user **last_name** `string` *required* Last name of the new user **activate** `boolean` Whether to activate the user immediately Default: `true`. **additional_attributes** `object | null` Additional user profile attributes Default: `null`. **base_url** `string | null` Okta domain base URL (e.g., '[https://your-org.okta.com](https://your-org.okta.com)') Default: `null`. **login** `string | null` Login for the user (defaults to email if not provided) Default: `null`. ## Expire password Action ID: `tools.okta.expire_password` Expire password for an Okta user and will force the user to set a new password on next sign-in. Reference: [https://developer.okta.com/docs/api/openapi/okta-management/management/tags/usercred/#tag/UserCred/operation/expirePassword](https://developer.okta.com/docs/api/openapi/okta-management/management/tags/usercred/#tag/UserCred/operation/expirePassword) ### Secrets Required secrets: * `okta`: required values `OKTA_API_TOKEN`. ### Input fields **user_id** `string` *required* ID of an existing user. **base_url** `string | null` Okta organization URL. Default: `null`. **revoke_sessions** `boolean` Revoke all sessions for the user. Default: `false`. ## Expire password with temporary password Action ID: `tools.okta.expire_password_with_temp_password` Expire password for an Okta user and will return a temporary password. Reference: [https://developer.okta.com/docs/api/openapi/okta-management/management/tags/usercred/#tag/UserCred/operation/expirePasswordWithTempPassword](https://developer.okta.com/docs/api/openapi/okta-management/management/tags/usercred/#tag/UserCred/operation/expirePasswordWithTempPassword) ### Secrets Required secrets: * `okta`: required values `OKTA_API_TOKEN`. ### Input fields **user_id** `string` *required* ID of an existing user. **base_url** `string | null` Okta organization URL. Default: `null`. **revoke_sessions** `boolean` Revoke all sessions for the user. Default: `false`. ## Get group members Action ID: `tools.okta.get_group_members` List all users that are members of a specific group. Reference: [https://developer.okta.com/docs/api/openapi/okta-management/management/tags/group/#tag/Group/operation/listGroupUsers](https://developer.okta.com/docs/api/openapi/okta-management/management/tags/group/#tag/Group/operation/listGroupUsers) ### Secrets Required secrets: * `okta`: required values `OKTA_API_TOKEN`. ### Input fields **group_id** `string` *required* ID of the group to get members for **after** `string | null` Pagination cursor to start from Default: `null`. **base_url** `string | null` Okta domain base URL (e.g., '[https://your-org.okta.com](https://your-org.okta.com)') Default: `null`. **limit** `integer` Number of members to return (default 200) Default: `200`. ## Get groups assigned to user Action ID: `tools.okta.get_groups_assigned_to_user` List all groups that a user is a member of. Reference: [https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userresources/#tag/UserResources/operation/listUserGroups](https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userresources/#tag/UserResources/operation/listUserGroups) ### Secrets Required secrets: * `okta`: required values `OKTA_API_TOKEN`. ### Input fields **user_id** `string` *required* User ID, login, or email to get group memberships for **after** `string | null` Pagination cursor to start from Default: `null`. **base_url** `string | null` Okta domain base URL (e.g., '[https://your-org.okta.com](https://your-org.okta.com)') Default: `null`. **limit** `integer` Maximum number of groups to return (default 200) Default: `200`. ## Get user Action ID: `tools.okta.get_user` Retrieve a specific user by ID, login, or email from your Okta organization. Reference: [https://developer.okta.com/docs/api/openapi/okta-management/management/tags/user/#tag/User/operation/getUser](https://developer.okta.com/docs/api/openapi/okta-management/management/tags/user/#tag/User/operation/getUser) ### Secrets Required secrets: * `okta`: required values `OKTA_API_TOKEN`. ### Input fields **user_id** `string` *required* User ID, login, or email of the user to retrieve **base_url** `string | null` Okta domain base URL (e.g., '[https://your-org.okta.com](https://your-org.okta.com)') Default: `null`. ## List groups in organization Action ID: `tools.okta.list_groups_in_org` List all groups in your Okta organization with optional filtering. Reference: [https://developer.okta.com/docs/api/openapi/okta-management/management/tags/group/#tag/Group/operation/listGroups](https://developer.okta.com/docs/api/openapi/okta-management/management/tags/group/#tag/Group/operation/listGroups) ### Secrets Required secrets: * `okta`: required values `OKTA_API_TOKEN`. ### Input fields **after** `string | null` Pagination cursor to start from Default: `null`. **base_url** `string | null` Okta domain base URL (e.g., '[https://your-org.okta.com](https://your-org.okta.com)') Default: `null`. **limit** `integer` Number of groups to return (default 200) Default: `200`. **search** `string | null` Search expression for filtering groups Default: `null`. ## List users Action ID: `tools.okta.list_users` List all users in your Okta organization with optional filtering and search. Reference: [https://developer.okta.com/docs/api/openapi/okta-management/management/tags/user/#tag/User/operation/listUsers](https://developer.okta.com/docs/api/openapi/okta-management/management/tags/user/#tag/User/operation/listUsers) ### Secrets Required secrets: * `okta`: required values `OKTA_API_TOKEN`. ### Input fields **after** `string | null` Pagination cursor to start from Default: `null`. **base_url** `string | null` Okta domain base URL (e.g., '[https://your-org.okta.com](https://your-org.okta.com)') Default: `null`. **filter** `string | null` Filter expression for users Default: `null`. **limit** `integer` Number of users to return (default 200) Default: `200`. ## Lookup user by email Action ID: `tools.okta.lookup_user_by_email` Get an Okta user by email. Reference: [https://developer.okta.com/docs/api/openapi/okta-management/management/tags/user/#tag/User/operation/listUsers](https://developer.okta.com/docs/api/openapi/okta-management/management/tags/user/#tag/User/operation/listUsers) ### Secrets Required secrets: * `okta`: required values `OKTA_API_TOKEN`. ### Input fields **email** `string` *required* Email of an existing user. **base_url** `string | null` Okta organization URL. Default: `null`. ## Remove user from group Action ID: `tools.okta.remove_from_group` Remove a user from a specific group in Okta. Reference: [https://developer.okta.com/docs/api/openapi/okta-management/management/tags/group/#tag/Group/operation/unassignUserFromGroup](https://developer.okta.com/docs/api/openapi/okta-management/management/tags/group/#tag/Group/operation/unassignUserFromGroup) ### Secrets Required secrets: * `okta`: required values `OKTA_API_TOKEN`. ### Input fields **group_id** `string` *required* ID of the group to remove the user from **user_id** `string` *required* User ID, login, or email to remove from the group **base_url** `string | null` Okta domain base URL (e.g., '[https://your-org.okta.com](https://your-org.okta.com)') Default: `null`. ## Reset password Action ID: `tools.okta.reset_password` Reset password for an Okta user and send a password reset email or return a password reset link. Reference: [https://developer.okta.com/docs/api/openapi/okta-management/management/tags/usercred/#tag/UserCred/operation/resetPassword](https://developer.okta.com/docs/api/openapi/okta-management/management/tags/usercred/#tag/UserCred/operation/resetPassword) ### Secrets Required secrets: * `okta`: required values `OKTA_API_TOKEN`. ### Input fields **user_id** `string` *required* ID of an existing user. **base_url** `string | null` Okta organization URL. Default: `null`. **revoke_sessions** `boolean` Revoke all sessions for the user. Default: `false`. **send_email** `boolean` Sends a OTT link email to the user, if false returns password reset link. Default: `true`. ## Revoke sessions Action ID: `tools.okta.revoke_sessions` Revoke all IdP sessions for an Okta user. Reference: [https://developer.okta.com/docs/api/openapi/okta-management/management/tags/usersessions/#tag/UserSessions/operation/revokeUserSessions](https://developer.okta.com/docs/api/openapi/okta-management/management/tags/usersessions/#tag/UserSessions/operation/revokeUserSessions) ### Secrets Required secrets: * `okta`: required values `OKTA_API_TOKEN`. ### Input fields **user_id** `string` *required* ID of an existing user. **base_url** `string | null` Okta organization URL. Default: `null`. ## Search users Action ID: `tools.okta.search_users` Search for users using a query string that matches login, email, firstName, or lastName. Reference: [https://developer.okta.com/docs/api/openapi/okta-management/management/tags/user/#tag/User/operation/listUsers](https://developer.okta.com/docs/api/openapi/okta-management/management/tags/user/#tag/User/operation/listUsers) ### Secrets Required secrets: * `okta`: required values `OKTA_API_TOKEN`. ### Input fields **query** `string` *required* Query string to search for users **after** `string | null` Pagination cursor to start from Default: `null`. **base_url** `string | null` Okta domain base URL (e.g., '[https://your-org.okta.com](https://your-org.okta.com)') Default: `null`. **limit** `integer` Number of users to return (default 10) Default: `10`. ## Suspend user Action ID: `tools.okta.suspend_user` Suspend an Okta user. Reference: [https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userlifecycle/#tag/UserLifecycle/operation/suspendUser](https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userlifecycle/#tag/UserLifecycle/operation/suspendUser) ### Secrets Required secrets: * `okta`: required values `OKTA_API_TOKEN`. ### Input fields **user_id** `string` *required* ID of an existing user. **base_url** `string | null` Okta organization URL. Default: `null`. ## Unsuspend user Action ID: `tools.okta.unsuspend_user` Unsuspend an Okta user. Reference: [https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userlifecycle/#tag/UserLifecycle/operation/unsuspendUser](https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userlifecycle/#tag/UserLifecycle/operation/unsuspendUser) ### Secrets Required secrets: * `okta`: required values `OKTA_API_TOKEN`. ### Input fields **user_id** `string` *required* ID of the user to unsuspend. **base_url** `string | null` Okta organization URL. Default: `null`. # Okta Source: https://docs.tracecat.com/tools/okta_oar Reference for the Tracecat Okta integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Create message Action ID: `tools.okta_oar.create_message` Create a message in an Okta Access Request ticket. Reference: [https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v1-reference/requests/#tag/Requests/operation/createRequestMessage](https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v1-reference/requests/#tag/Requests/operation/createRequestMessage) ### Secrets Required secrets: * `okta`: required values `OKTA_API_TOKEN`. ### Input fields **message** `string` *required* Message content to add to the request **request_id** `string` *required* ID of the access request to add message to **base_url** `string | null` Okta domain base URL (e.g., '[https://your-org.okta.com](https://your-org.okta.com)') Default: `null`. ## Get requests Action ID: `tools.okta_oar.get_requests` Get Okta Access Request tickets with optional filtering and pagination. Reference: [https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v1-reference/requests/](https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v1-reference/requests/) ### Secrets Required secrets: * `okta`: required values `OKTA_API_TOKEN`. ### Input fields **after** `string` Pagination cursor for retrieving next set of results Default: `""`. **base_url** `string | null` Okta domain base URL (e.g., '[https://your-org.okta.com](https://your-org.okta.com)') Default: `null`. **filter** `string` Filter expression for requests Default: `""`. **limit** `string` Number of requests to return (default 20) Default: `"20"`. **order_by** `string` Field to order results by Default: `""`. ## Get specific request Action ID: `tools.okta_oar.get_specific_request` Get a specific Okta Access Request ticket by ID. Reference: [https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v1-reference/requests/#tag/Requests/operation/getRequest](https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v1-reference/requests/#tag/Requests/operation/getRequest) ### Secrets Required secrets: * `okta`: required values `OKTA_API_TOKEN`. ### Input fields **request_id** `string` *required* ID of the access request to retrieve **base_url** `string | null` Okta domain base URL (e.g., '[https://your-org.okta.com](https://your-org.okta.com)') Default: `null`. ## Get user Action ID: `tools.okta_oar.get_user` Get an Okta user by ID. Reference: [https://developer.okta.com/docs/api/openapi/okta-management/management/tags/user/#get-user](https://developer.okta.com/docs/api/openapi/okta-management/management/tags/user/#get-user) ### Secrets Required secrets: * `okta`: required values `OKTA_API_TOKEN`. ### Input fields **user_id** `string` *required* User ID, login, or email of the user to retrieve **base_url** `string | null` Okta domain base URL (e.g., '[https://your-org.okta.com](https://your-org.okta.com)') Default: `null`. # Okta SDK Applications Source: https://docs.tracecat.com/tools/okta_sdk Reference for the Tracecat Okta SDK Applications integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Activate application Action ID: `tools.okta_sdk.activate_application` Activate an Okta application. Reference: [https://github.com/okta/okta-sdk-python](https://github.com/okta/okta-sdk-python) ### Secrets Optional secrets: * `okta`: optional values `OKTA_BASE_URL`, `OKTA_API_TOKEN`, `OKTA_ACCESS_TOKEN`, `OKTA_SERVICE_TOKEN`, `OKTA_CLIENT_ID`, `OKTA_PRIVATE_KEY`, `OKTA_SCOPES`, `OKTA_KID`, `OKTA_DPOP_ENABLED`, `OKTA_DPOP_KEY_ROTATION_INTERVAL`. * `okta_oauth`: OAuth token `OKTA_SERVICE_TOKEN`. ### Input fields **app_id** `string` *required* Okta application ID. **auth_mode** `OktaAuthMode` Auth mode. Default: `"auto"`. **base_url** `string | null` Okta org URL. Defaults to `OKTA_BASE_URL`. Default: `null`. **scopes** `array[string] | null` OAuth scopes for private-key auth. Default: `null`. ## Call method Action ID: `tools.okta_sdk.call_method` Instantiate an Okta SDK client and call an async Okta SDK method. Reference: [https://github.com/okta/okta-sdk-python](https://github.com/okta/okta-sdk-python) ### Secrets Optional secrets: * `okta`: optional values `OKTA_BASE_URL`, `OKTA_API_TOKEN`, `OKTA_ACCESS_TOKEN`, `OKTA_SERVICE_TOKEN`, `OKTA_CLIENT_ID`, `OKTA_PRIVATE_KEY`, `OKTA_SCOPES`, `OKTA_KID`, `OKTA_DPOP_ENABLED`, `OKTA_DPOP_KEY_ROTATION_INTERVAL`. * `okta_oauth`: OAuth token `OKTA_SERVICE_TOKEN`. ### Input fields **method_name** `string` *required* Okta SDK client method name, e.g. `list_users`. **auth_mode** `OktaAuthMode` Auth mode. Auto prefers OAuth/bearer, then private key, then SSWS. Default: `"auto"`. **base_url** `string | null` Okta org URL. Defaults to `OKTA_BASE_URL`. Default: `null`. **params** `object | null` Parameters for the Okta SDK method. Default: `null`. **rate_limit_max_retries** `integer` Okta SDK rate-limit retry count. Default: `2`. **scopes** `array[string] | null` OAuth scopes for private-key auth. Default: `null`. ## Call paginated method Action ID: `tools.okta_sdk.call_paginated_method` Call an Okta SDK list method and follow Okta `Link` pagination. Reference: [https://github.com/okta/okta-sdk-python](https://github.com/okta/okta-sdk-python) ### Secrets Optional secrets: * `okta`: optional values `OKTA_BASE_URL`, `OKTA_API_TOKEN`, `OKTA_ACCESS_TOKEN`, `OKTA_SERVICE_TOKEN`, `OKTA_CLIENT_ID`, `OKTA_PRIVATE_KEY`, `OKTA_SCOPES`, `OKTA_KID`, `OKTA_DPOP_ENABLED`, `OKTA_DPOP_KEY_ROTATION_INTERVAL`. * `okta_oauth`: OAuth token `OKTA_SERVICE_TOKEN`. ### Input fields **method_name** `string` *required* Okta SDK method name, e.g. `list_users`. **auth_mode** `OktaAuthMode` Auth mode. Default: `"auto"`. **base_url** `string | null` Okta org URL. Defaults to `OKTA_BASE_URL`. Default: `null`. **limit** `integer | null` Per-page item limit. Default: `null`. **max_pages** `integer | null` Maximum pages to fetch. Default: `null`. **params** `object | null` Parameters for the Okta SDK method. Default: `null`. **rate_limit_max_retries** `integer` Okta SDK rate-limit retry count. Default: `2`. **scopes** `array[string] | null` OAuth scopes for private-key auth. Default: `null`. ## Change user password Action ID: `tools.okta_sdk.change_password` Change an Okta user's password. Reference: [https://github.com/okta/okta-sdk-python](https://github.com/okta/okta-sdk-python) ### Secrets Optional secrets: * `okta`: optional values `OKTA_BASE_URL`, `OKTA_API_TOKEN`, `OKTA_ACCESS_TOKEN`, `OKTA_SERVICE_TOKEN`, `OKTA_CLIENT_ID`, `OKTA_PRIVATE_KEY`, `OKTA_SCOPES`, `OKTA_KID`, `OKTA_DPOP_ENABLED`, `OKTA_DPOP_KEY_ROTATION_INTERVAL`. * `okta_oauth`: OAuth token `OKTA_SERVICE_TOKEN`. ### Input fields **change_password_request** `object` *required* Okta change password request body. **user_id** `string` *required* Okta user ID or login. **auth_mode** `OktaAuthMode` Auth mode. Default: `"auto"`. **base_url** `string | null` Okta org URL. Defaults to `OKTA_BASE_URL`. Default: `null`. **scopes** `array[string] | null` OAuth scopes for private-key auth. Default: `null`. **strict** `boolean | null` Apply Okta strict validation. Default: `null`. ## Create group Action ID: `tools.okta_sdk.add_group` Create an Okta group. Reference: [https://github.com/okta/okta-sdk-python](https://github.com/okta/okta-sdk-python) ### Secrets Optional secrets: * `okta`: optional values `OKTA_BASE_URL`, `OKTA_API_TOKEN`, `OKTA_ACCESS_TOKEN`, `OKTA_SERVICE_TOKEN`, `OKTA_CLIENT_ID`, `OKTA_PRIVATE_KEY`, `OKTA_SCOPES`, `OKTA_KID`, `OKTA_DPOP_ENABLED`, `OKTA_DPOP_KEY_ROTATION_INTERVAL`. * `okta_oauth`: OAuth token `OKTA_SERVICE_TOKEN`. ### Input fields **group** `object` *required* Okta group body. **auth_mode** `OktaAuthMode` Auth mode. Default: `"auto"`. **base_url** `string | null` Okta org URL. Defaults to `OKTA_BASE_URL`. Default: `null`. **scopes** `array[string] | null` OAuth scopes for private-key auth. Default: `null`. ## Deactivate application Action ID: `tools.okta_sdk.deactivate_application` Deactivate an Okta application. Reference: [https://github.com/okta/okta-sdk-python](https://github.com/okta/okta-sdk-python) ### Secrets Optional secrets: * `okta`: optional values `OKTA_BASE_URL`, `OKTA_API_TOKEN`, `OKTA_ACCESS_TOKEN`, `OKTA_SERVICE_TOKEN`, `OKTA_CLIENT_ID`, `OKTA_PRIVATE_KEY`, `OKTA_SCOPES`, `OKTA_KID`, `OKTA_DPOP_ENABLED`, `OKTA_DPOP_KEY_ROTATION_INTERVAL`. * `okta_oauth`: OAuth token `OKTA_SERVICE_TOKEN`. ### Input fields **app_id** `string` *required* Okta application ID. **auth_mode** `OktaAuthMode` Auth mode. Default: `"auto"`. **base_url** `string | null` Okta org URL. Defaults to `OKTA_BASE_URL`. Default: `null`. **scopes** `array[string] | null` OAuth scopes for private-key auth. Default: `null`. ## Deactivate user Action ID: `tools.okta_sdk.deactivate_user` Deactivate an Okta user. Reference: [https://github.com/okta/okta-sdk-python](https://github.com/okta/okta-sdk-python) ### Secrets Optional secrets: * `okta`: optional values `OKTA_BASE_URL`, `OKTA_API_TOKEN`, `OKTA_ACCESS_TOKEN`, `OKTA_SERVICE_TOKEN`, `OKTA_CLIENT_ID`, `OKTA_PRIVATE_KEY`, `OKTA_SCOPES`, `OKTA_KID`, `OKTA_DPOP_ENABLED`, `OKTA_DPOP_KEY_ROTATION_INTERVAL`. * `okta_oauth`: OAuth token `OKTA_SERVICE_TOKEN`. ### Input fields **user_id** `string` *required* Okta user ID or login. **auth_mode** `OktaAuthMode` Auth mode. Default: `"auto"`. **base_url** `string | null` Okta org URL. Defaults to `OKTA_BASE_URL`. Default: `null`. **prefer** `string | null` Okta Prefer header value. Default: `null`. **scopes** `array[string] | null` OAuth scopes for private-key auth. Default: `null`. **send_email** `boolean | null` Send Okta lifecycle email. Default: `null`. ## Delete group Action ID: `tools.okta_sdk.delete_group` Delete an Okta group. Reference: [https://github.com/okta/okta-sdk-python](https://github.com/okta/okta-sdk-python) ### Secrets Optional secrets: * `okta`: optional values `OKTA_BASE_URL`, `OKTA_API_TOKEN`, `OKTA_ACCESS_TOKEN`, `OKTA_SERVICE_TOKEN`, `OKTA_CLIENT_ID`, `OKTA_PRIVATE_KEY`, `OKTA_SCOPES`, `OKTA_KID`, `OKTA_DPOP_ENABLED`, `OKTA_DPOP_KEY_ROTATION_INTERVAL`. * `okta_oauth`: OAuth token `OKTA_SERVICE_TOKEN`. ### Input fields **group_id** `string` *required* Okta group ID. **auth_mode** `OktaAuthMode` Auth mode. Default: `"auto"`. **base_url** `string | null` Okta org URL. Defaults to `OKTA_BASE_URL`. Default: `null`. **scopes** `array[string] | null` OAuth scopes for private-key auth. Default: `null`. ## Delete user Action ID: `tools.okta_sdk.delete_user` Delete or clear an Okta user, depending on current user status. Reference: [https://github.com/okta/okta-sdk-python](https://github.com/okta/okta-sdk-python) ### Secrets Optional secrets: * `okta`: optional values `OKTA_BASE_URL`, `OKTA_API_TOKEN`, `OKTA_ACCESS_TOKEN`, `OKTA_SERVICE_TOKEN`, `OKTA_CLIENT_ID`, `OKTA_PRIVATE_KEY`, `OKTA_SCOPES`, `OKTA_KID`, `OKTA_DPOP_ENABLED`, `OKTA_DPOP_KEY_ROTATION_INTERVAL`. * `okta_oauth`: OAuth token `OKTA_SERVICE_TOKEN`. ### Input fields **user_id** `string` *required* Okta user ID or login. **auth_mode** `OktaAuthMode` Auth mode. Default: `"auto"`. **base_url** `string | null` Okta org URL. Defaults to `OKTA_BASE_URL`. Default: `null`. **prefer** `string | null` Okta Prefer header value. Default: `null`. **scopes** `array[string] | null` OAuth scopes for private-key auth. Default: `null`. **send_email** `boolean | null` Send Okta lifecycle email. Default: `null`. ## Forgot password Action ID: `tools.okta_sdk.forgot_password` Start Okta forgot-password flow for a user. Reference: [https://github.com/okta/okta-sdk-python](https://github.com/okta/okta-sdk-python) ### Secrets Optional secrets: * `okta`: optional values `OKTA_BASE_URL`, `OKTA_API_TOKEN`, `OKTA_ACCESS_TOKEN`, `OKTA_SERVICE_TOKEN`, `OKTA_CLIENT_ID`, `OKTA_PRIVATE_KEY`, `OKTA_SCOPES`, `OKTA_KID`, `OKTA_DPOP_ENABLED`, `OKTA_DPOP_KEY_ROTATION_INTERVAL`. * `okta_oauth`: OAuth token `OKTA_SERVICE_TOKEN`. ### Input fields **user_id** `string` *required* Okta user ID or login. **auth_mode** `OktaAuthMode` Auth mode. Default: `"auto"`. **base_url** `string | null` Okta org URL. Defaults to `OKTA_BASE_URL`. Default: `null`. **scopes** `array[string] | null` OAuth scopes for private-key auth. Default: `null`. **send_email** `boolean | null` Send Okta lifecycle email. Default: `null`. ## Get application Action ID: `tools.okta_sdk.get_application` Get an Okta application. Reference: [https://github.com/okta/okta-sdk-python](https://github.com/okta/okta-sdk-python) ### Secrets Optional secrets: * `okta`: optional values `OKTA_BASE_URL`, `OKTA_API_TOKEN`, `OKTA_ACCESS_TOKEN`, `OKTA_SERVICE_TOKEN`, `OKTA_CLIENT_ID`, `OKTA_PRIVATE_KEY`, `OKTA_SCOPES`, `OKTA_KID`, `OKTA_DPOP_ENABLED`, `OKTA_DPOP_KEY_ROTATION_INTERVAL`. * `okta_oauth`: OAuth token `OKTA_SERVICE_TOKEN`. ### Input fields **app_id** `string` *required* Okta application ID. **auth_mode** `OktaAuthMode` Auth mode. Default: `"auto"`. **base_url** `string | null` Okta org URL. Defaults to `OKTA_BASE_URL`. Default: `null`. **expand** `string | null` Okta expand expression. Default: `null`. **scopes** `array[string] | null` OAuth scopes for private-key auth. Default: `null`. ## Get factor Action ID: `tools.okta_sdk.get_factor` Get an Okta user factor. Reference: [https://github.com/okta/okta-sdk-python](https://github.com/okta/okta-sdk-python) ### Secrets Optional secrets: * `okta`: optional values `OKTA_BASE_URL`, `OKTA_API_TOKEN`, `OKTA_ACCESS_TOKEN`, `OKTA_SERVICE_TOKEN`, `OKTA_CLIENT_ID`, `OKTA_PRIVATE_KEY`, `OKTA_SCOPES`, `OKTA_KID`, `OKTA_DPOP_ENABLED`, `OKTA_DPOP_KEY_ROTATION_INTERVAL`. * `okta_oauth`: OAuth token `OKTA_SERVICE_TOKEN`. ### Input fields **factor_id** `string` *required* Okta factor ID. **user_id** `string` *required* Okta user ID or login. **auth_mode** `OktaAuthMode` Auth mode. Default: `"auto"`. **base_url** `string | null` Okta org URL. Defaults to `OKTA_BASE_URL`. Default: `null`. **scopes** `array[string] | null` OAuth scopes for private-key auth. Default: `null`. ## Get group Action ID: `tools.okta_sdk.get_group` Get an Okta group. Reference: [https://github.com/okta/okta-sdk-python](https://github.com/okta/okta-sdk-python) ### Secrets Optional secrets: * `okta`: optional values `OKTA_BASE_URL`, `OKTA_API_TOKEN`, `OKTA_ACCESS_TOKEN`, `OKTA_SERVICE_TOKEN`, `OKTA_CLIENT_ID`, `OKTA_PRIVATE_KEY`, `OKTA_SCOPES`, `OKTA_KID`, `OKTA_DPOP_ENABLED`, `OKTA_DPOP_KEY_ROTATION_INTERVAL`. * `okta_oauth`: OAuth token `OKTA_SERVICE_TOKEN`. ### Input fields **group_id** `string` *required* Okta group ID. **auth_mode** `OktaAuthMode` Auth mode. Default: `"auto"`. **base_url** `string | null` Okta org URL. Defaults to `OKTA_BASE_URL`. Default: `null`. **scopes** `array[string] | null` OAuth scopes for private-key auth. Default: `null`. ## List applications Action ID: `tools.okta_sdk.list_applications` List Okta applications. Reference: [https://github.com/okta/okta-sdk-python](https://github.com/okta/okta-sdk-python) ### Secrets Optional secrets: * `okta`: optional values `OKTA_BASE_URL`, `OKTA_API_TOKEN`, `OKTA_ACCESS_TOKEN`, `OKTA_SERVICE_TOKEN`, `OKTA_CLIENT_ID`, `OKTA_PRIVATE_KEY`, `OKTA_SCOPES`, `OKTA_KID`, `OKTA_DPOP_ENABLED`, `OKTA_DPOP_KEY_ROTATION_INTERVAL`. * `okta_oauth`: OAuth token `OKTA_SERVICE_TOKEN`. ### Input fields **after** `string | null` Okta pagination cursor. Default: `null`. **always_include_vpn_settings** `boolean | null` Include VPN settings. Default: `null`. **auth_mode** `OktaAuthMode` Auth mode. Default: `"auto"`. **base_url** `string | null` Okta org URL. Defaults to `OKTA_BASE_URL`. Default: `null`. **expand** `string | null` Okta expand expression. Default: `null`. **filter** `string | null` Okta filter expression. Default: `null`. **include_non_deleted** `boolean | null` Include non-deleted applications. Default: `null`. **limit** `integer | null` Per-page item limit. Default: `null`. **q** `string | null` Search query. Default: `null`. **scopes** `array[string] | null` OAuth scopes for private-key auth. Default: `null`. **use_optimization** `boolean | null` Use Okta application-list optimization. Default: `null`. ## List factors Action ID: `tools.okta_sdk.list_factors` List enrolled factors for an Okta user. Reference: [https://github.com/okta/okta-sdk-python](https://github.com/okta/okta-sdk-python) ### Secrets Optional secrets: * `okta`: optional values `OKTA_BASE_URL`, `OKTA_API_TOKEN`, `OKTA_ACCESS_TOKEN`, `OKTA_SERVICE_TOKEN`, `OKTA_CLIENT_ID`, `OKTA_PRIVATE_KEY`, `OKTA_SCOPES`, `OKTA_KID`, `OKTA_DPOP_ENABLED`, `OKTA_DPOP_KEY_ROTATION_INTERVAL`. * `okta_oauth`: OAuth token `OKTA_SERVICE_TOKEN`. ### Input fields **user_id** `string` *required* Okta user ID or login. **auth_mode** `OktaAuthMode` Auth mode. Default: `"auto"`. **base_url** `string | null` Okta org URL. Defaults to `OKTA_BASE_URL`. Default: `null`. **scopes** `array[string] | null` OAuth scopes for private-key auth. Default: `null`. ## List group applications Action ID: `tools.okta_sdk.list_assigned_applications_for_group` List applications assigned to an Okta group. Reference: [https://github.com/okta/okta-sdk-python](https://github.com/okta/okta-sdk-python) ### Secrets Optional secrets: * `okta`: optional values `OKTA_BASE_URL`, `OKTA_API_TOKEN`, `OKTA_ACCESS_TOKEN`, `OKTA_SERVICE_TOKEN`, `OKTA_CLIENT_ID`, `OKTA_PRIVATE_KEY`, `OKTA_SCOPES`, `OKTA_KID`, `OKTA_DPOP_ENABLED`, `OKTA_DPOP_KEY_ROTATION_INTERVAL`. * `okta_oauth`: OAuth token `OKTA_SERVICE_TOKEN`. ### Input fields **group_id** `string` *required* Okta group ID. **after** `string | null` Okta pagination cursor. Default: `null`. **auth_mode** `OktaAuthMode` Auth mode. Default: `"auto"`. **base_url** `string | null` Okta org URL. Defaults to `OKTA_BASE_URL`. Default: `null`. **limit** `integer | null` Per-page item limit. Default: `null`. **scopes** `array[string] | null` OAuth scopes for private-key auth. Default: `null`. ## List log events Action ID: `tools.okta_sdk.list_log_events` List Okta System Log events. Reference: [https://github.com/okta/okta-sdk-python](https://github.com/okta/okta-sdk-python) ### Secrets Optional secrets: * `okta`: optional values `OKTA_BASE_URL`, `OKTA_API_TOKEN`, `OKTA_ACCESS_TOKEN`, `OKTA_SERVICE_TOKEN`, `OKTA_CLIENT_ID`, `OKTA_PRIVATE_KEY`, `OKTA_SCOPES`, `OKTA_KID`, `OKTA_DPOP_ENABLED`, `OKTA_DPOP_KEY_ROTATION_INTERVAL`. * `okta_oauth`: OAuth token `OKTA_SERVICE_TOKEN`. ### Input fields **after** `string | null` Okta pagination cursor. Default: `null`. **auth_mode** `OktaAuthMode` Auth mode. Default: `"auto"`. **base_url** `string | null` Okta org URL. Defaults to `OKTA_BASE_URL`. Default: `null`. **filter** `string | null` Okta filter expression. Default: `null`. **limit** `integer | null` Per-page item limit. Default: `null`. **q** `string | null` Search query. Default: `null`. **scopes** `array[string] | null` OAuth scopes for private-key auth. Default: `null`. **since** `string | null` Lower time bound for log events. Default: `null`. **sort_order** `string | null` Sort order, e.g. `ASCENDING` or `DESCENDING`. Default: `null`. **until** `string | null` Upper time bound for log events. Default: `null`. ## Reactivate user Action ID: `tools.okta_sdk.reactivate_user` Reactivate an Okta user. Reference: [https://github.com/okta/okta-sdk-python](https://github.com/okta/okta-sdk-python) ### Secrets Optional secrets: * `okta`: optional values `OKTA_BASE_URL`, `OKTA_API_TOKEN`, `OKTA_ACCESS_TOKEN`, `OKTA_SERVICE_TOKEN`, `OKTA_CLIENT_ID`, `OKTA_PRIVATE_KEY`, `OKTA_SCOPES`, `OKTA_KID`, `OKTA_DPOP_ENABLED`, `OKTA_DPOP_KEY_ROTATION_INTERVAL`. * `okta_oauth`: OAuth token `OKTA_SERVICE_TOKEN`. ### Input fields **user_id** `string` *required* Okta user ID or login. **auth_mode** `OktaAuthMode` Auth mode. Default: `"auto"`. **base_url** `string | null` Okta org URL. Defaults to `OKTA_BASE_URL`. Default: `null`. **scopes** `array[string] | null` OAuth scopes for private-key auth. Default: `null`. **send_email** `boolean | null` Send Okta lifecycle email. Default: `null`. ## Replace group Action ID: `tools.okta_sdk.replace_group` Replace an Okta group. Reference: [https://github.com/okta/okta-sdk-python](https://github.com/okta/okta-sdk-python) ### Secrets Optional secrets: * `okta`: optional values `OKTA_BASE_URL`, `OKTA_API_TOKEN`, `OKTA_ACCESS_TOKEN`, `OKTA_SERVICE_TOKEN`, `OKTA_CLIENT_ID`, `OKTA_PRIVATE_KEY`, `OKTA_SCOPES`, `OKTA_KID`, `OKTA_DPOP_ENABLED`, `OKTA_DPOP_KEY_ROTATION_INTERVAL`. * `okta_oauth`: OAuth token `OKTA_SERVICE_TOKEN`. ### Input fields **group** `object` *required* Okta group body. **group_id** `string` *required* Okta group ID. **auth_mode** `OktaAuthMode` Auth mode. Default: `"auto"`. **base_url** `string | null` Okta org URL. Defaults to `OKTA_BASE_URL`. Default: `null`. **scopes** `array[string] | null` OAuth scopes for private-key auth. Default: `null`. ## Replace user Action ID: `tools.okta_sdk.replace_user` Replace an Okta user profile and credentials. Reference: [https://github.com/okta/okta-sdk-python](https://github.com/okta/okta-sdk-python) ### Secrets Optional secrets: * `okta`: optional values `OKTA_BASE_URL`, `OKTA_API_TOKEN`, `OKTA_ACCESS_TOKEN`, `OKTA_SERVICE_TOKEN`, `OKTA_CLIENT_ID`, `OKTA_PRIVATE_KEY`, `OKTA_SCOPES`, `OKTA_KID`, `OKTA_DPOP_ENABLED`, `OKTA_DPOP_KEY_ROTATION_INTERVAL`. * `okta_oauth`: OAuth token `OKTA_SERVICE_TOKEN`. ### Input fields **user** `object` *required* Okta user request body. **user_id** `string` *required* Okta user ID or login. **auth_mode** `OktaAuthMode` Auth mode. Default: `"auto"`. **base_url** `string | null` Okta org URL. Defaults to `OKTA_BASE_URL`. Default: `null`. **if_match** `string | null` ETag value for conditional replace. Default: `null`. **scopes** `array[string] | null` OAuth scopes for private-key auth. Default: `null`. **strict** `boolean | null` Apply Okta strict validation. Default: `null`. ## Reset user factors Action ID: `tools.okta_sdk.reset_factors` Reset all enrolled factors for an Okta user. Reference: [https://github.com/okta/okta-sdk-python](https://github.com/okta/okta-sdk-python) ### Secrets Optional secrets: * `okta`: optional values `OKTA_BASE_URL`, `OKTA_API_TOKEN`, `OKTA_ACCESS_TOKEN`, `OKTA_SERVICE_TOKEN`, `OKTA_CLIENT_ID`, `OKTA_PRIVATE_KEY`, `OKTA_SCOPES`, `OKTA_KID`, `OKTA_DPOP_ENABLED`, `OKTA_DPOP_KEY_ROTATION_INTERVAL`. * `okta_oauth`: OAuth token `OKTA_SERVICE_TOKEN`. ### Input fields **user_id** `string` *required* Okta user ID or login. **auth_mode** `OktaAuthMode` Auth mode. Default: `"auto"`. **base_url** `string | null` Okta org URL. Defaults to `OKTA_BASE_URL`. Default: `null`. **scopes** `array[string] | null` OAuth scopes for private-key auth. Default: `null`. ## Revoke user sessions Action ID: `tools.okta_sdk.revoke_user_sessions` Revoke active Okta sessions for a user. Reference: [https://github.com/okta/okta-sdk-python](https://github.com/okta/okta-sdk-python) ### Secrets Optional secrets: * `okta`: optional values `OKTA_BASE_URL`, `OKTA_API_TOKEN`, `OKTA_ACCESS_TOKEN`, `OKTA_SERVICE_TOKEN`, `OKTA_CLIENT_ID`, `OKTA_PRIVATE_KEY`, `OKTA_SCOPES`, `OKTA_KID`, `OKTA_DPOP_ENABLED`, `OKTA_DPOP_KEY_ROTATION_INTERVAL`. * `okta_oauth`: OAuth token `OKTA_SERVICE_TOKEN`. ### Input fields **user_id** `string` *required* Okta user ID or login. **auth_mode** `OktaAuthMode` Auth mode. Default: `"auto"`. **base_url** `string | null` Okta org URL. Defaults to `OKTA_BASE_URL`. Default: `null`. **forget_devices** `boolean | null` Forget remembered devices. Default: `null`. **oauth_tokens** `boolean | null` Revoke OAuth tokens too. Default: `null`. **scopes** `array[string] | null` OAuth scopes for private-key auth. Default: `null`. ## Unenroll factor Action ID: `tools.okta_sdk.unenroll_factor` Unenroll an Okta user factor. Reference: [https://github.com/okta/okta-sdk-python](https://github.com/okta/okta-sdk-python) ### Secrets Optional secrets: * `okta`: optional values `OKTA_BASE_URL`, `OKTA_API_TOKEN`, `OKTA_ACCESS_TOKEN`, `OKTA_SERVICE_TOKEN`, `OKTA_CLIENT_ID`, `OKTA_PRIVATE_KEY`, `OKTA_SCOPES`, `OKTA_KID`, `OKTA_DPOP_ENABLED`, `OKTA_DPOP_KEY_ROTATION_INTERVAL`. * `okta_oauth`: OAuth token `OKTA_SERVICE_TOKEN`. ### Input fields **factor_id** `string` *required* Okta factor ID. **user_id** `string` *required* Okta user ID or login. **auth_mode** `OktaAuthMode` Auth mode. Default: `"auto"`. **base_url** `string | null` Okta org URL. Defaults to `OKTA_BASE_URL`. Default: `null`. **remove_recovery_enrollment** `boolean | null` Remove recovery enrollment. Default: `null`. **scopes** `array[string] | null` OAuth scopes for private-key auth. Default: `null`. ## Unlock user Action ID: `tools.okta_sdk.unlock_user` Unlock an Okta user account. Reference: [https://github.com/okta/okta-sdk-python](https://github.com/okta/okta-sdk-python) ### Secrets Optional secrets: * `okta`: optional values `OKTA_BASE_URL`, `OKTA_API_TOKEN`, `OKTA_ACCESS_TOKEN`, `OKTA_SERVICE_TOKEN`, `OKTA_CLIENT_ID`, `OKTA_PRIVATE_KEY`, `OKTA_SCOPES`, `OKTA_KID`, `OKTA_DPOP_ENABLED`, `OKTA_DPOP_KEY_ROTATION_INTERVAL`. * `okta_oauth`: OAuth token `OKTA_SERVICE_TOKEN`. ### Input fields **user_id** `string` *required* Okta user ID or login. **auth_mode** `OktaAuthMode` Auth mode. Default: `"auto"`. **base_url** `string | null` Okta org URL. Defaults to `OKTA_BASE_URL`. Default: `null`. **scopes** `array[string] | null` OAuth scopes for private-key auth. Default: `null`. ## Update user Action ID: `tools.okta_sdk.update_user` Partially update an Okta user profile and credentials. Reference: [https://github.com/okta/okta-sdk-python](https://github.com/okta/okta-sdk-python) ### Secrets Optional secrets: * `okta`: optional values `OKTA_BASE_URL`, `OKTA_API_TOKEN`, `OKTA_ACCESS_TOKEN`, `OKTA_SERVICE_TOKEN`, `OKTA_CLIENT_ID`, `OKTA_PRIVATE_KEY`, `OKTA_SCOPES`, `OKTA_KID`, `OKTA_DPOP_ENABLED`, `OKTA_DPOP_KEY_ROTATION_INTERVAL`. * `okta_oauth`: OAuth token `OKTA_SERVICE_TOKEN`. ### Input fields **user** `object` *required* Okta user request body. **user_id** `string` *required* Okta user ID or login. **auth_mode** `OktaAuthMode` Auth mode. Default: `"auto"`. **base_url** `string | null` Okta org URL. Defaults to `OKTA_BASE_URL`. Default: `null`. **if_match** `string | null` ETag value for conditional update. Default: `null`. **scopes** `array[string] | null` OAuth scopes for private-key auth. Default: `null`. **strict** `boolean | null` Apply Okta strict validation. Default: `null`. ## Verify factor Action ID: `tools.okta_sdk.verify_factor` Verify an Okta user factor. Reference: [https://github.com/okta/okta-sdk-python](https://github.com/okta/okta-sdk-python) ### Secrets Optional secrets: * `okta`: optional values `OKTA_BASE_URL`, `OKTA_API_TOKEN`, `OKTA_ACCESS_TOKEN`, `OKTA_SERVICE_TOKEN`, `OKTA_CLIENT_ID`, `OKTA_PRIVATE_KEY`, `OKTA_SCOPES`, `OKTA_KID`, `OKTA_DPOP_ENABLED`, `OKTA_DPOP_KEY_ROTATION_INTERVAL`. * `okta_oauth`: OAuth token `OKTA_SERVICE_TOKEN`. ### Input fields **factor_id** `string` *required* Okta factor ID. **user_id** `string` *required* Okta user ID or login. **accept_language** `string | null` Accept-Language header value. Default: `null`. **auth_mode** `OktaAuthMode` Auth mode. Default: `"auto"`. **base_url** `string | null` Okta org URL. Defaults to `OKTA_BASE_URL`. Default: `null`. **body** `object | null` Okta verify factor request body. Default: `null`. **scopes** `array[string] | null` OAuth scopes for private-key auth. Default: `null`. **template_id** `string | null` Okta template ID. Default: `null`. **token_lifetime_seconds** `integer | null` Token lifetime in seconds. Default: `null`. **user_agent** `string | null` User-Agent header value. Default: `null`. **x\_forwarded_for** `string | null` X-Forwarded-For header value. Default: `null`. # OpenPhish Source: https://docs.tracecat.com/tools/openphish Reference for the Tracecat OpenPhish integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Get public feed Action ID: `tools.openphish.get_public_feed` Get the public feed. Calls GET /openphish/public_feed/refs/heads/main/feed.txt directly. Reference: [https://raw.githubusercontent.com/openphish/public_feed/refs/heads/main/feed.txt](https://raw.githubusercontent.com/openphish/public_feed/refs/heads/main/feed.txt) ### Input fields **base_url** `string | null` Base URL of the OpenPhish public feed host. Default: `null`. # OpenSearch Source: https://docs.tracecat.com/tools/opensearch Reference for the Tracecat OpenSearch integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Acknowledge monitor alerts Action ID: `tools.opensearch.acknowledge_monitor_alerts` Acknowledge one or more alerts generated by an OpenSearch Alerting monitor. Reference: [https://docs.opensearch.org/latest/observing-your-data/alerting/api/](https://docs.opensearch.org/latest/observing-your-data/alerting/api/) ### Secrets Required secrets: * `opensearch`: required values `OPENSEARCH_USERNAME`, `OPENSEARCH_PASSWORD`. ### Input fields **alert_ids** `array[string]` *required* Alert IDs to acknowledge. **monitor_id** `string` *required* Alerting monitor ID. **base_url** `string | null` OpenSearch base URL (e.g. [https://localhost:9200](https://localhost:9200)). Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Acknowledge Security Analytics alerts Action ID: `tools.opensearch.acknowledge_security_analytics_alerts` Acknowledge one or more OpenSearch Security Analytics alerts for a detector. Reference: [https://docs.opensearch.org/latest/security-analytics/api-tools/alert-finding-api/](https://docs.opensearch.org/latest/security-analytics/api-tools/alert-finding-api/) ### Secrets Required secrets: * `opensearch`: required values `OPENSEARCH_USERNAME`, `OPENSEARCH_PASSWORD`. ### Input fields **alert_ids** `array[string]` *required* Alert IDs to acknowledge. **detector_id** `string` *required* Security Analytics detector ID. **base_url** `string | null` OpenSearch base URL (e.g. [https://localhost:9200](https://localhost:9200)). Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Count events Action ID: `tools.opensearch.count_events` Count OpenSearch events matching an API-native query DSL request body. Reference: [https://docs.opensearch.org/latest/api-reference/search-apis/count/](https://docs.opensearch.org/latest/api-reference/search-apis/count/) ### Secrets Required secrets: * `opensearch`: required values `OPENSEARCH_USERNAME`, `OPENSEARCH_PASSWORD`. ### Input fields **payload** `object` *required* API-native count request body. **base_url** `string | null` OpenSearch base URL (e.g. [https://localhost:9200](https://localhost:9200)). Default: `null`. **index** `string | null` Optional index name or pattern. If omitted, counts across all indexes. Default: `null`. **params** `object | null` Optional native count query parameters. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Get document Action ID: `tools.opensearch.get_document` Get an OpenSearch document by index and document ID. Reference: [https://docs.opensearch.org/latest/api-reference/document-apis/get-documents/](https://docs.opensearch.org/latest/api-reference/document-apis/get-documents/) ### Secrets Required secrets: * `opensearch`: required values `OPENSEARCH_USERNAME`, `OPENSEARCH_PASSWORD`. ### Input fields **document_id** `string` *required* Document ID. **index** `string` *required* Index name. **base_url** `string | null` OpenSearch base URL (e.g. [https://localhost:9200](https://localhost:9200)). Default: `null`. **params** `object | null` Optional native get document query parameters. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Get mapping Action ID: `tools.opensearch.get_mapping` Get field mappings for an OpenSearch index or index pattern. Reference: [https://docs.opensearch.org/latest/api-reference/index-apis/get-mapping/](https://docs.opensearch.org/latest/api-reference/index-apis/get-mapping/) ### Secrets Required secrets: * `opensearch`: required values `OPENSEARCH_USERNAME`, `OPENSEARCH_PASSWORD`. ### Input fields **index** `string` *required* Index name or pattern. **base_url** `string | null` OpenSearch base URL (e.g. [https://localhost:9200](https://localhost:9200)). Default: `null`. **params** `object | null` Optional native get mapping query parameters. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Get multiple documents Action ID: `tools.opensearch.multi_get_documents` Get multiple OpenSearch documents with an API-native multi-get request. Reference: [https://docs.opensearch.org/latest/api-reference/document-apis/multi-get/](https://docs.opensearch.org/latest/api-reference/document-apis/multi-get/) ### Secrets Required secrets: * `opensearch`: required values `OPENSEARCH_USERNAME`, `OPENSEARCH_PASSWORD`. ### Input fields **payload** `object` *required* API-native multi-get request body containing docs or ids. **base_url** `string | null` OpenSearch base URL (e.g. [https://localhost:9200](https://localhost:9200)). Default: `null`. **index** `string | null` Optional default index for documents in the request. Default: `null`. **params** `object | null` Optional native multi-get query parameters. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## List indexes Action ID: `tools.opensearch.list_indexes` List OpenSearch indexes as JSON for data-source discovery and threat hunting. Reference: [https://docs.opensearch.org/latest/api-reference/cat/cat-indices/](https://docs.opensearch.org/latest/api-reference/cat/cat-indices/) ### Secrets Required secrets: * `opensearch`: required values `OPENSEARCH_USERNAME`, `OPENSEARCH_PASSWORD`. ### Input fields **base_url** `string | null` OpenSearch base URL (e.g. [https://localhost:9200](https://localhost:9200)). Default: `null`. **index** `string | null` Optional index name or pattern used to filter the response. Default: `null`. **params** `object | null` Optional native CAT indices query parameters. The format parameter is always set to json. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## List monitor alerts Action ID: `tools.opensearch.list_monitor_alerts` List alerts generated by OpenSearch Alerting monitors for SOAR ingestion and triage. Reference: [https://docs.opensearch.org/latest/observing-your-data/alerting/api/](https://docs.opensearch.org/latest/observing-your-data/alerting/api/) ### Secrets Required secrets: * `opensearch`: required values `OPENSEARCH_USERNAME`, `OPENSEARCH_PASSWORD`. ### Input fields **base_url** `string | null` OpenSearch base URL (e.g. [https://localhost:9200](https://localhost:9200)). Default: `null`. **params** `object | null` Optional native monitor alert filters and pagination parameters. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## List Security Analytics alerts Action ID: `tools.opensearch.list_security_analytics_alerts` List OpenSearch Security Analytics alerts for triage and workflow ingestion. Reference: [https://docs.opensearch.org/latest/security-analytics/api-tools/alert-finding-api/](https://docs.opensearch.org/latest/security-analytics/api-tools/alert-finding-api/) ### Secrets Required secrets: * `opensearch`: required values `OPENSEARCH_USERNAME`, `OPENSEARCH_PASSWORD`. ### Input fields **base_url** `string | null` OpenSearch base URL (e.g. [https://localhost:9200](https://localhost:9200)). Default: `null`. **params** `object | null` Native alert filters and pagination parameters, including detector_id or detectorType. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## List Security Analytics findings Action ID: `tools.opensearch.list_security_analytics_findings` List OpenSearch Security Analytics findings and their related documents for triage. Reference: [https://docs.opensearch.org/latest/security-analytics/api-tools/alert-finding-api/](https://docs.opensearch.org/latest/security-analytics/api-tools/alert-finding-api/) ### Secrets Required secrets: * `opensearch`: required values `OPENSEARCH_USERNAME`, `OPENSEARCH_PASSWORD`. ### Input fields **base_url** `string | null` OpenSearch base URL (e.g. [https://localhost:9200](https://localhost:9200)). Default: `null`. **params** `object | null` Optional native finding filters and pagination parameters. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Run multiple searches Action ID: `tools.opensearch.multi_search` Run multiple OpenSearch searches in one API-native NDJSON request. Reference: [https://docs.opensearch.org/latest/api-reference/search-apis/multi-search/](https://docs.opensearch.org/latest/api-reference/search-apis/multi-search/) ### Secrets Required secrets: * `opensearch`: required values `OPENSEARCH_USERNAME`, `OPENSEARCH_PASSWORD`. ### Input fields **ndjson** `string` *required* API-native multi-search NDJSON containing alternating metadata and query lines. **base_url** `string | null` OpenSearch base URL (e.g. [https://localhost:9200](https://localhost:9200)). Default: `null`. **index** `string | null` Optional default index name or pattern for searches in the request. Default: `null`. **params** `object | null` Optional native multi-search query parameters. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Run PPL query Action ID: `tools.opensearch.ppl_query` Run an OpenSearch Piped Processing Language query for threat hunting and log analysis. Reference: [https://docs.opensearch.org/latest/search-plugins/sql/sql-ppl-api/](https://docs.opensearch.org/latest/search-plugins/sql/sql-ppl-api/) ### Secrets Required secrets: * `opensearch`: required values `OPENSEARCH_USERNAME`, `OPENSEARCH_PASSWORD`. ### Input fields **query** `string` *required* PPL query, such as source=logs-\* | where status=401 | head 100. **base_url** `string | null` OpenSearch base URL (e.g. [https://localhost:9200](https://localhost:9200)). Default: `null`. **format** `string` Response format accepted by the PPL API, such as jdbc, csv, or raw. Default: `"jdbc"`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Search events Action ID: `tools.opensearch.search_events` Search OpenSearch events with an API-native query DSL request body. Reference: [https://docs.opensearch.org/latest/api-reference/search-apis/search/](https://docs.opensearch.org/latest/api-reference/search-apis/search/) ### Secrets Required secrets: * `opensearch`: required values `OPENSEARCH_USERNAME`, `OPENSEARCH_PASSWORD`. ### Input fields **payload** `object` *required* API-native OpenSearch search request body. **base_url** `string | null` OpenSearch base URL (e.g. [https://localhost:9200](https://localhost:9200)). Default: `null`. **index** `string | null` Optional index name or pattern. If omitted, searches all indexes. Default: `null`. **limit** `integer` Default result size when the payload does not specify size. Default: `100`. **params** `object | null` Optional native search query parameters. Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Search Security Analytics detectors Action ID: `tools.opensearch.search_detectors` Search OpenSearch Security Analytics detector metadata for alert provenance and triage. Reference: [https://docs.opensearch.org/latest/security-analytics/api-tools/detector-api/](https://docs.opensearch.org/latest/security-analytics/api-tools/detector-api/) ### Secrets Required secrets: * `opensearch`: required values `OPENSEARCH_USERNAME`, `OPENSEARCH_PASSWORD`. ### Input fields **payload** `object` *required* API-native detector search request body. **base_url** `string | null` OpenSearch base URL (e.g. [https://localhost:9200](https://localhost:9200)). Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Search Security Analytics rules Action ID: `tools.opensearch.search_detection_rules` Search pre-packaged or custom OpenSearch Security Analytics rules for alert context. Reference: [https://docs.opensearch.org/latest/security-analytics/api-tools/rule-api/](https://docs.opensearch.org/latest/security-analytics/api-tools/rule-api/) ### Secrets Required secrets: * `opensearch`: required values `OPENSEARCH_USERNAME`, `OPENSEARCH_PASSWORD`. ### Input fields **payload** `object` *required* API-native rule search request body. **base_url** `string | null` OpenSearch base URL (e.g. [https://localhost:9200](https://localhost:9200)). Default: `null`. **pre_packaged** `boolean` Whether to search pre-packaged rules instead of custom rules. Default: `true`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. # OSV.dev Source: https://docs.tracecat.com/tools/osv Reference for the Tracecat OSV.dev integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Get vulnerability Action ID: `tools.osv.get_vulnerability` Get a vulnerability. Calls GET /v1/vulns/\{vulnerability_id} directly. Reference: [https://google.github.io/osv.dev/get-v1-vulns/](https://google.github.io/osv.dev/get-v1-vulns/) ### Input fields **vulnerability_id** `string` *required* OSV vulnerability identifier. **base_url** `string | null` Base URL of the OSV.dev API. Default: `null`. ## Query vulnerabilities Action ID: `tools.osv.query_vulnerabilities` Query vulnerabilities. Calls POST /v1/query directly with an OSV API-native payload. Reference: [https://google.github.io/osv.dev/post-v1-query/](https://google.github.io/osv.dev/post-v1-query/) ### Input fields **base_url** `string | null` Base URL of the OSV.dev API. Default: `null`. **commit** `string | null` The commit hash to query for. If specified, version should not be set. Default: `null`. **ecosystem** `string | null` The ecosystem for this package, such as PyPI, npm, Maven, Go, crates.io, NuGet, RubyGems, or GIT. Default: `null`. **package_name** `string | null` Name of the package. Should match the name used in the package ecosystem. Must be paired with ecosystem and must not be used with purl. Default: `null`. **page_token** `string | null` OSV pagination token from a previous next_page_token response. Default: `null`. **purl** `string | null` The package URL for this package. Must not be used with package_name or ecosystem. Default: `null`. **version** `string | null` The version string to query for. A fuzzy match is done against upstream versions. Must not be used with commit or with a versioned purl. Default: `null`. ## Query vulnerabilities batch Action ID: `tools.osv.query_vulnerabilities_batch` Query vulnerabilities in a batch. Calls POST /v1/querybatch directly and passes each OSV query through untouched. Reference: [https://google.github.io/osv.dev/post-v1-querybatch/](https://google.github.io/osv.dev/post-v1-querybatch/) ### Input fields **queries** `array[object]` *required* OSV API-native query objects. **base_url** `string | null` Base URL of the OSV.dev API. Default: `null`. # PagerDuty Source: https://docs.tracecat.com/tools/pagerduty Reference for the Tracecat PagerDuty integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Acknowledge event Action ID: `tools.pagerduty.acknowledge_event` Resolves an existing event in PagerDuty Reference: [https://developer.pagerduty.com/api-reference](https://developer.pagerduty.com/api-reference) ### Input fields **incident_key** `string` *required* Identifies the alert **service_key** `string` *required* The GUID of one of your Events API V2 integrations. This is the "Integration Key" listed on the Events API V2 integration's detail page. ## Get all schedules Action ID: `tools.pagerduty.get_all_schedules` Get all the on-call schedules. Reference: [https://developer.pagerduty.com/api-reference](https://developer.pagerduty.com/api-reference) ### Secrets Required secrets: * `pagerduty`: required values `PAGERDUTY_API_KEY`. ### Input fields **query** `string | null` Filters the result, showing only the records whose name matches the query. Default: `null`. ## Get contact methods Action ID: `tools.pagerduty.get_contact_methods` Get contact methods in PagerDuty. Reference: [https://developer.pagerduty.com/api-reference](https://developer.pagerduty.com/api-reference) ### Secrets Required secrets: * `pagerduty`: required values `PAGERDUTY_API_KEY`. ### Input fields **user_id** `string` *required* The ID of the user. ## Get incident data Action ID: `tools.pagerduty.get_incident_data` Show detailed information about an incident. Reference: [https://developer.pagerduty.com/api-reference](https://developer.pagerduty.com/api-reference) ### Secrets Required secrets: * `pagerduty`: required values `PAGERDUTY_API_KEY`. ### Input fields **incident_id** `string` *required* The ID of the incident. ## Get incidents Action ID: `tools.pagerduty.get_incidents` List existing incidents. Reference: [https://developer.pagerduty.com/api-reference](https://developer.pagerduty.com/api-reference) ### Secrets Required secrets: * `pagerduty`: required values `PAGERDUTY_API_KEY`. ### Input fields **incident_key** `string | null` Incident de-duplication key. Default: `null`. **since** `string | null` The start of the date range over which you want to search. Maximum range is 6 months and default is 1 month. Default: `null`. **status** `string | null` Filter incidents by status. Default: `null`. **until** `string | null` The end of the date range over which you want to search. Maximum range is 6 months and default is 1 month. Default: `null`. ## Get user notification rules Action ID: `tools.pagerduty.get_user_notification_rules` Get the notification rules of a PagerDuty user. Reference: [https://developer.pagerduty.com/api-reference](https://developer.pagerduty.com/api-reference) ### Secrets Required secrets: * `pagerduty`: required values `PAGERDUTY_API_KEY`. ### Input fields **user_id** `string` *required* The ID of the user. ## Get users on-call Action ID: `tools.pagerduty.get_users_on_call` Get the users on-call. Reference: [https://developer.pagerduty.com/api-reference](https://developer.pagerduty.com/api-reference) ### Secrets Required secrets: * `pagerduty`: required values `PAGERDUTY_API_KEY`. ### Input fields **schedule_ids** `array[string]` *required* The ID of the schedule(s). **since** `string | null` The start of the time range over which you want to search. Defaults to current time. Default: `null`. **until** `string | null` The end of the time range over which you want to search. Defaults to current time. Default: `null`. ## Resolve event Action ID: `tools.pagerduty.resolve_event` Resolves an existing event in PagerDuty Reference: [https://developer.pagerduty.com/api-reference](https://developer.pagerduty.com/api-reference) ### Input fields **incident_key** `string` *required* Identifies the alert **service_key** `string` *required* The GUID of one of your Events API V2 integrations. This is the "Integration Key" listed on the Events API V2 integration's detail page. ## Trigger event Action ID: `tools.pagerduty.trigger_event` Trigger event to report a new problem Reference: [https://developer.pagerduty.com/api-reference](https://developer.pagerduty.com/api-reference) ### Input fields **service_key** `string` *required* The GUID of one of your Events API V2 integrations. This is the "Integration Key" listed on the Events API V2 integration's detail page. **severity** `string` *required* The perceived severity of the status the event is describing withrespect to the affected system. Allowed values: `critical`, `warning`, `error`, `info`. **source** `string` *required* The unique location of the affected system, preferably a hostname or FQDN. **summary** `string` *required* A brief text summary of the event, used to generate the summaries/titles of any associated alerts. **class** `string` The class/type of the event. Default: `""`. **component** `string` Component of the source machine that is responsible for the event. Default: `""`. **group** `string` Logical grouping of components of a service. Default: `""`. **incident_key** `string` Incident de-duplication key. Default: `null`. # Palo Alto Networks (PAN-OS) Source: https://docs.tracecat.com/tools/pan_os Reference for the Tracecat Palo Alto Networks (PAN-OS) integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Add address group members Action ID: `tools.pan_os.add_address_group_members` Add members of a static address group in the candidate configuration. Reads the group with GET /restapi/\{version}/Objects/AddressGroups?name= and writes it with PUT only when membership changes, so repeated calls are idempotent. Commit to apply the change. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **members** `array[string]` *required* Address objects or address groups. **name** `string` *required* Address group name. **api_version** `string | null` PAN-OS REST API version, e.g. v11.1 or v10.2. Falls back to the workspace variable pan_os.api_version, then v11.1. Default: `null`. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **device_group** `string | null` Panorama device group when location is device-group. Default: `null`. **location** `string` Configuration location. Use vsys on firewalls, device-group or shared on Panorama. Allowed values: vsys, shared, device-group. Default: `"vsys"`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. **vsys** `string` Virtual system when location is vsys. Default: `"vsys1"`. ## Block CIDR Action ID: `tools.pan_os.block_cidr` Block a CIDR range by adding an address object to a static address group referenced by a deny rule. Looks up the address object by name, creates it with POST /restapi/\{version}/Objects/Addresses if missing, then adds it to the group with PUT /restapi/\{version}/Objects/AddressGroups if it is not already a member, so repeated calls do not create duplicates. Changes stay in the candidate configuration; run commit (and commit_all on Panorama) to enforce them. For temporary blocks without a commit, use register_ip_tags with a dynamic address group. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **address_group** `string` *required* Static address group that a deny rule references, e.g. tracecat-blocklist. **value** `string` *required* IPv4 or IPv6 network in CIDR notation to block. **address_name** `string | null` Address object name to use instead of the generated name. Default: `null`. **api_version** `string | null` PAN-OS REST API version, e.g. v11.1 or v10.2. Falls back to the workspace variable pan_os.api_version, then v11.1. Default: `null`. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **description** `string | null` Description for a newly created address object, e.g. the case ID. Default: `null`. **device_group** `string | null` Panorama device group when location is device-group. Default: `null`. **location** `string` Configuration location. Use vsys on firewalls, device-group or shared on Panorama. Allowed values: vsys, shared, device-group. Default: `"vsys"`. **name_prefix** `string` Prefix for generated address object names. Default: `"tc-block-"`. **tags** `array[string] | null` Tags for a newly created address object. Default: `null`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. **vsys** `string` Virtual system when location is vsys. Default: `"vsys1"`. ## Block FQDN Action ID: `tools.pan_os.block_fqdn` Block an FQDN by adding an address object to a static address group referenced by a deny rule. Looks up the address object by name, creates it with POST /restapi/\{version}/Objects/Addresses if missing, then adds it to the group with PUT /restapi/\{version}/Objects/AddressGroups if it is not already a member, so repeated calls do not create duplicates. Changes stay in the candidate configuration; run commit (and commit_all on Panorama) to enforce them. For temporary blocks without a commit, use register_ip_tags with a dynamic address group. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **address_group** `string` *required* Static address group that a deny rule references, e.g. tracecat-blocklist. **value** `string` *required* Fully qualified domain name to block. **address_name** `string | null` Address object name to use instead of the generated name. Default: `null`. **api_version** `string | null` PAN-OS REST API version, e.g. v11.1 or v10.2. Falls back to the workspace variable pan_os.api_version, then v11.1. Default: `null`. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **description** `string | null` Description for a newly created address object, e.g. the case ID. Default: `null`. **device_group** `string | null` Panorama device group when location is device-group. Default: `null`. **location** `string` Configuration location. Use vsys on firewalls, device-group or shared on Panorama. Allowed values: vsys, shared, device-group. Default: `"vsys"`. **name_prefix** `string` Prefix for generated address object names. Default: `"tc-block-"`. **tags** `array[string] | null` Tags for a newly created address object. Default: `null`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. **vsys** `string` Virtual system when location is vsys. Default: `"vsys1"`. ## Block IP Action ID: `tools.pan_os.block_ip` Block an IP address by adding an address object to a static address group referenced by a deny rule. Looks up the address object by name, creates it with POST /restapi/\{version}/Objects/Addresses if missing, then adds it to the group with PUT /restapi/\{version}/Objects/AddressGroups if it is not already a member, so repeated calls do not create duplicates. Changes stay in the candidate configuration; run commit (and commit_all on Panorama) to enforce them. For temporary blocks without a commit, use register_ip_tags with a dynamic address group. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **address_group** `string` *required* Static address group that a deny rule references, e.g. tracecat-blocklist. **value** `string` *required* IPv4 or IPv6 address to block. **address_name** `string | null` Address object name to use instead of the generated name. Default: `null`. **api_version** `string | null` PAN-OS REST API version, e.g. v11.1 or v10.2. Falls back to the workspace variable pan_os.api_version, then v11.1. Default: `null`. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **description** `string | null` Description for a newly created address object, e.g. the case ID. Default: `null`. **device_group** `string | null` Panorama device group when location is device-group. Default: `null`. **location** `string` Configuration location. Use vsys on firewalls, device-group or shared on Panorama. Allowed values: vsys, shared, device-group. Default: `"vsys"`. **name_prefix** `string` Prefix for generated address object names. Default: `"tc-block-"`. **tags** `array[string] | null` Tags for a newly created address object. Default: `null`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. **vsys** `string` Virtual system when location is vsys. Default: `"vsys1"`. ## Commit Action ID: `tools.pan_os.commit` Commit the candidate configuration on a firewall or Panorama with the XML API (type=commit). Optionally commit only changes made by specific administrators. Returns the job ID, or no job ID when there is nothing to commit; use wait_for_job to wait for completion. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/pan-os-xml-api-request-types/commit-configuration-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/pan-os-xml-api-request-types/commit-configuration-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **admins** `array[string] | null` Commit only changes made by these administrators (partial commit). Default: `null`. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **description** `string | null` Commit description, e.g. the case or incident ID. Default: `null`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. ## Create address Action ID: `tools.pan_os.create_address` Create an address object in the candidate configuration with POST /restapi/\{version}/Objects/Addresses?name=. Provide exactly one of ip_netmask, ip_range, ip_wildcard, or fqdn. Commit to apply the change. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **name** `string` *required* Address object name (max 63 characters). **api_version** `string | null` PAN-OS REST API version, e.g. v11.1 or v10.2. Falls back to the workspace variable pan_os.api_version, then v11.1. Default: `null`. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **description** `string | null` Address object description. Default: `null`. **device_group** `string | null` Panorama device group when location is device-group. Default: `null`. **fqdn** `string | null` Fully qualified domain name. Default: `null`. **ip_netmask** `string | null` IP address with or without CIDR mask, e.g. 203.0.113.10 or 10.0.0.0/24. Default: `null`. **ip_range** `string | null` IP range, e.g. 10.0.0.1-10.0.0.20. Default: `null`. **ip_wildcard** `string | null` IP wildcard mask, e.g. 10.20.1.0/0.0.248.255. Default: `null`. **location** `string` Configuration location. Use vsys on firewalls, device-group or shared on Panorama. Allowed values: vsys, shared, device-group. Default: `"vsys"`. **tags** `array[string] | null` Tags to apply. Tags must already exist. Default: `null`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. **vsys** `string` Virtual system when location is vsys. Default: `"vsys1"`. ## Create address group Action ID: `tools.pan_os.create_address_group` Create a static or dynamic address group in the candidate configuration with POST /restapi/\{version}/Objects/AddressGroups?name=. Provide exactly one of static_members or dynamic_filter. Commit to apply the change. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **name** `string` *required* Address group name (max 63 characters). **api_version** `string | null` PAN-OS REST API version, e.g. v11.1 or v10.2. Falls back to the workspace variable pan_os.api_version, then v11.1. Default: `null`. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **description** `string | null` Address group description. Default: `null`. **device_group** `string | null` Panorama device group when location is device-group. Default: `null`. **dynamic_filter** `string | null` Tag filter for a dynamic address group, e.g. 'tracecat-block'. Default: `null`. **location** `string` Configuration location. Use vsys on firewalls, device-group or shared on Panorama. Allowed values: vsys, shared, device-group. Default: `"vsys"`. **static_members** `array[string] | null` Address objects or groups for a static group. Default: `null`. **tags** `array[string] | null` Tags to apply to the group. Default: `null`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. **vsys** `string` Virtual system when location is vsys. Default: `"vsys1"`. ## Create security rule Action ID: `tools.pan_os.create_security_rule` Create a security rule in the candidate configuration with POST /restapi/\{version}/Policies/SecurityRules?name= (SecurityPreRules or SecurityPostRules on Panorama). The rule is added at the bottom; use move_security_rule to place it. Commit to apply the change. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/create-security-policy-rule-rest-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/create-security-policy-rule-rest-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **action** `string` *required* Action to take when the rule matches. Allowed values: allow, deny, drop, reset-client, reset-server, reset-both. **name** `string` *required* Security rule name. **api_version** `string | null` PAN-OS REST API version, e.g. v11.1 or v10.2. Falls back to the workspace variable pan_os.api_version, then v11.1. Default: `null`. **application** `array[string]` Applications. Defaults to any. Default: `[ "any" ]`. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **category** `array[string]` URL categories. Defaults to any. Default: `[ "any" ]`. **description** `string | null` Rule description. Default: `null`. **destination** `array[string]` Destination addresses, address groups, or EDLs. Defaults to any. Default: `[ "any" ]`. **device_group** `string | null` Panorama device group when location is device-group. Default: `null`. **disabled** `boolean` Create the rule disabled. Default: `false`. **extra_fields** `object | null` Additional API-native entry fields, e.g. \{"negate-source": "yes"}. Default: `null`. **from_zones** `array[string]` Source zones. Defaults to any. Default: `[ "any" ]`. **location** `string` Configuration location. Use vsys on firewalls, device-group or shared on Panorama. Allowed values: vsys, shared, device-group. Default: `"vsys"`. **log_setting** `string | null` Log forwarding profile. Default: `null`. **profile_group** `string | null` Security profile group to attach. Default: `null`. **rulebase** `string` Rulebase. Use security on firewalls; pre or post on Panorama, with location shared or device-group. Allowed values: security, pre, post. Default: `"security"`. **service** `array[string]` Services, e.g. application-default or any. Defaults to any. Default: `[ "any" ]`. **source** `array[string]` Source addresses, address groups, or EDLs. Defaults to any. Default: `[ "any" ]`. **source_user** `array[string]` Source users or groups. Defaults to any. Default: `[ "any" ]`. **tags** `array[string] | null` Tags to apply to the rule. Default: `null`. **to_zones** `array[string]` Destination zones. Defaults to any. Default: `[ "any" ]`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. **vsys** `string` Virtual system when location is vsys. Default: `"vsys1"`. ## Create tag Action ID: `tools.pan_os.create_tag` Create a tag in the candidate configuration with POST /restapi/\{version}/Objects/Tags?name=. Commit to apply the change. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/create-a-tag-rest-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/create-a-tag-rest-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **name** `string` *required* Tag name. **api_version** `string | null` PAN-OS REST API version, e.g. v11.1 or v10.2. Falls back to the workspace variable pan_os.api_version, then v11.1. Default: `null`. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **color** `string | null` Tag color ID, e.g. color1 (red). Default: `null`. **comments** `string | null` Tag comments. Default: `null`. **device_group** `string | null` Panorama device group when location is device-group. Default: `null`. **location** `string` Configuration location. Use vsys on firewalls, device-group or shared on Panorama. Allowed values: vsys, shared, device-group. Default: `"vsys"`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. **vsys** `string` Virtual system when location is vsys. Default: `"vsys1"`. ## Delete address Action ID: `tools.pan_os.delete_address` Delete a address object from the candidate configuration with DELETE /restapi/\{version}/Objects/Addresses?name=. Commit to apply the change. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **name** `string` *required* Name of the address object. **api_version** `string | null` PAN-OS REST API version, e.g. v11.1 or v10.2. Falls back to the workspace variable pan_os.api_version, then v11.1. Default: `null`. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **device_group** `string | null` Panorama device group when location is device-group. Default: `null`. **location** `string` Configuration location. Use vsys on firewalls, device-group or shared on Panorama. Allowed values: vsys, shared, device-group. Default: `"vsys"`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. **vsys** `string` Virtual system when location is vsys. Default: `"vsys1"`. ## Delete address group Action ID: `tools.pan_os.delete_address_group` Delete a address group from the candidate configuration with DELETE /restapi/\{version}/Objects/AddressGroups?name=. Commit to apply the change. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **name** `string` *required* Name of the address group. **api_version** `string | null` PAN-OS REST API version, e.g. v11.1 or v10.2. Falls back to the workspace variable pan_os.api_version, then v11.1. Default: `null`. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **device_group** `string | null` Panorama device group when location is device-group. Default: `null`. **location** `string` Configuration location. Use vsys on firewalls, device-group or shared on Panorama. Allowed values: vsys, shared, device-group. Default: `"vsys"`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. **vsys** `string` Virtual system when location is vsys. Default: `"vsys1"`. ## Delete security rule Action ID: `tools.pan_os.delete_security_rule` Delete a security rule from the candidate configuration with DELETE /restapi/\{version}/Policies/\$\{\{ "SecurityPreRules" if inputs.rulebase == "pre" else ("SecurityPostRules" if inputs.rulebase == "post" else "SecurityRules") }}?name=. Commit to apply the change. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/create-security-policy-rule-rest-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/create-security-policy-rule-rest-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **name** `string` *required* Name of the security rule. **api_version** `string | null` PAN-OS REST API version, e.g. v11.1 or v10.2. Falls back to the workspace variable pan_os.api_version, then v11.1. Default: `null`. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **device_group** `string | null` Panorama device group when location is device-group. Default: `null`. **location** `string` Configuration location. Use vsys on firewalls, device-group or shared on Panorama. Allowed values: vsys, shared, device-group. Default: `"vsys"`. **rulebase** `string` Rulebase. Use security on firewalls; pre or post on Panorama, with location shared or device-group. Allowed values: security, pre, post. Default: `"security"`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. **vsys** `string` Virtual system when location is vsys. Default: `"vsys1"`. ## Disable security rule Action ID: `tools.pan_os.disable_security_rule` Disable a security rule in the candidate configuration. Reads it with GET /restapi/\{version}/Policies/SecurityRules?name= and writes it with PUT only when the state changes, so repeated calls are idempotent. Commit to apply the change. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/create-security-policy-rule-rest-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/create-security-policy-rule-rest-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **name** `string` *required* Security rule name. **api_version** `string | null` PAN-OS REST API version, e.g. v11.1 or v10.2. Falls back to the workspace variable pan_os.api_version, then v11.1. Default: `null`. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **device_group** `string | null` Panorama device group when location is device-group. Default: `null`. **location** `string` Configuration location. Use vsys on firewalls, device-group or shared on Panorama. Allowed values: vsys, shared, device-group. Default: `"vsys"`. **rulebase** `string` Rulebase. Use security on firewalls; pre or post on Panorama, with location shared or device-group. Allowed values: security, pre, post. Default: `"security"`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. **vsys** `string` Virtual system when location is vsys. Default: `"vsys1"`. ## Enable security rule Action ID: `tools.pan_os.enable_security_rule` Enable a security rule in the candidate configuration. Reads it with GET /restapi/\{version}/Policies/SecurityRules?name= and writes it with PUT only when the state changes, so repeated calls are idempotent. Commit to apply the change. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/create-security-policy-rule-rest-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/create-security-policy-rule-rest-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **name** `string` *required* Security rule name. **api_version** `string | null` PAN-OS REST API version, e.g. v11.1 or v10.2. Falls back to the workspace variable pan_os.api_version, then v11.1. Default: `null`. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **device_group** `string | null` Panorama device group when location is device-group. Default: `null`. **location** `string` Configuration location. Use vsys on firewalls, device-group or shared on Panorama. Allowed values: vsys, shared, device-group. Default: `"vsys"`. **rulebase** `string` Rulebase. Use security on firewalls; pre or post on Panorama, with location shared or device-group. Allowed values: security, pre, post. Default: `"security"`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. **vsys** `string` Virtual system when location is vsys. Default: `"vsys1"`. ## Get address Action ID: `tools.pan_os.get_address` Get a address object by name with GET /restapi/\{version}/Objects/Addresses?name=. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **name** `string` *required* Name of the address object. **api_version** `string | null` PAN-OS REST API version, e.g. v11.1 or v10.2. Falls back to the workspace variable pan_os.api_version, then v11.1. Default: `null`. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **device_group** `string | null` Panorama device group when location is device-group. Default: `null`. **location** `string` Configuration location. Use vsys on firewalls, device-group or shared on Panorama. Allowed values: vsys, shared, device-group. Default: `"vsys"`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. **vsys** `string` Virtual system when location is vsys. Default: `"vsys1"`. ## Get address group Action ID: `tools.pan_os.get_address_group` Get a address group by name with GET /restapi/\{version}/Objects/AddressGroups?name=. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **name** `string` *required* Name of the address group. **api_version** `string | null` PAN-OS REST API version, e.g. v11.1 or v10.2. Falls back to the workspace variable pan_os.api_version, then v11.1. Default: `null`. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **device_group** `string | null` Panorama device group when location is device-group. Default: `null`. **location** `string` Configuration location. Use vsys on firewalls, device-group or shared on Panorama. Allowed values: vsys, shared, device-group. Default: `"vsys"`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. **vsys** `string` Virtual system when location is vsys. Default: `"vsys1"`. ## Get job Action ID: `tools.pan_os.get_job` Get a job (commit, push, content install) with the XML API operational command show jobs id. Returns normalized status, result, done, and succeeded fields. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/pan-os-xml-api-request-types/run-operational-mode-commands-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/pan-os-xml-api-request-types/run-operational-mode-commands-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **job_id** `string` *required* Job ID, e.g. the job_id returned by commit. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. ## Get security rule Action ID: `tools.pan_os.get_security_rule` Get a security rule by name with GET /restapi/\{version}/Policies/\$\{\{ "SecurityPreRules" if inputs.rulebase == "pre" else ("SecurityPostRules" if inputs.rulebase == "post" else "SecurityRules") }}?name=. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/create-security-policy-rule-rest-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/create-security-policy-rule-rest-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **name** `string` *required* Name of the security rule. **api_version** `string | null` PAN-OS REST API version, e.g. v11.1 or v10.2. Falls back to the workspace variable pan_os.api_version, then v11.1. Default: `null`. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **device_group** `string | null` Panorama device group when location is device-group. Default: `null`. **location** `string` Configuration location. Use vsys on firewalls, device-group or shared on Panorama. Allowed values: vsys, shared, device-group. Default: `"vsys"`. **rulebase** `string` Rulebase. Use security on firewalls; pre or post on Panorama, with location shared or device-group. Allowed values: security, pre, post. Default: `"security"`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. **vsys** `string` Virtual system when location is vsys. Default: `"vsys1"`. ## Get system info Action ID: `tools.pan_os.get_system_info` Get hostname, model, serial, PAN-OS version, and content versions with the XML API operational command show system info. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/pan-os-xml-api-request-types/run-operational-mode-commands-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/pan-os-xml-api-request-types/run-operational-mode-commands-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **target** `string | null` Managed firewall serial number when calling through Panorama. Default: `null`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. ## List address groups Action ID: `tools.pan_os.list_address_groups` List address groups with GET /restapi/\{version}/Objects/AddressGroups. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **api_version** `string | null` PAN-OS REST API version, e.g. v11.1 or v10.2. Falls back to the workspace variable pan_os.api_version, then v11.1. Default: `null`. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **device_group** `string | null` Panorama device group when location is device-group. Default: `null`. **location** `string` Configuration location. Use vsys on firewalls, device-group or shared on Panorama. Allowed values: vsys, shared, device-group. Default: `"vsys"`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. **vsys** `string` Virtual system when location is vsys. Default: `"vsys1"`. ## List addresses Action ID: `tools.pan_os.list_addresses` List address objects with GET /restapi/\{version}/Objects/Addresses. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **api_version** `string | null` PAN-OS REST API version, e.g. v11.1 or v10.2. Falls back to the workspace variable pan_os.api_version, then v11.1. Default: `null`. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **device_group** `string | null` Panorama device group when location is device-group. Default: `null`. **location** `string` Configuration location. Use vsys on firewalls, device-group or shared on Panorama. Allowed values: vsys, shared, device-group. Default: `"vsys"`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. **vsys** `string` Virtual system when location is vsys. Default: `"vsys1"`. ## List device groups Action ID: `tools.pan_os.list_device_groups` List Panorama device groups and their member firewalls with the XML API operational command show devicegroups. Use the names as device_group with location device-group in object and security rule actions, and with commit_all. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/pan-os-xml-api-request-types/run-operational-mode-commands-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/pan-os-xml-api-request-types/run-operational-mode-commands-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. ## List external dynamic lists Action ID: `tools.pan_os.list_external_dynamic_lists` List external dynamic lists with GET /restapi/\{version}/Objects/ExternalDynamicLists. Reference: [https://pan.dev/panos/docs/restapi/](https://pan.dev/panos/docs/restapi/) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **api_version** `string | null` PAN-OS REST API version, e.g. v11.1 or v10.2. Falls back to the workspace variable pan_os.api_version, then v11.1. Default: `null`. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **device_group** `string | null` Panorama device group when location is device-group. Default: `null`. **location** `string` Configuration location. Use vsys on firewalls, device-group or shared on Panorama. Allowed values: vsys, shared, device-group. Default: `"vsys"`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. **vsys** `string` Virtual system when location is vsys. Default: `"vsys1"`. ## List managed firewalls Action ID: `tools.pan_os.list_managed_devices` List firewalls managed by Panorama with the XML API operational command show devices all (or show devices connected). Returns serial, hostname, management IP, model, PAN-OS version, connection state, and the remaining API-native fields for each firewall. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/pan-os-xml-api-request-types/run-operational-mode-commands-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/pan-os-xml-api-request-types/run-operational-mode-commands-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **connected_only** `boolean` Only return firewalls currently connected to Panorama. Default: `false`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. ## List registered IPs Action ID: `tools.pan_os.list_registered_ips` List IP addresses registered with tags for dynamic address groups with the XML API operational command show object registered-ip, optionally filtered by IP or tag. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/pan-os-xml-api-request-types/run-operational-mode-commands-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/pan-os-xml-api-request-types/run-operational-mode-commands-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **ip** `string | null` Filter by IP address. Default: `null`. **tag** `string | null` Filter by tag. Default: `null`. **target** `string | null` Managed firewall serial number when calling through Panorama. Default: `null`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. **vsys** `string | null` Virtual system on multi-vsys firewalls. Default: `null`. ## List security rules Action ID: `tools.pan_os.list_security_rules` List security rules with GET /restapi/\{version}/Policies/\$\{\{ "SecurityPreRules" if inputs.rulebase == "pre" else ("SecurityPostRules" if inputs.rulebase == "post" else "SecurityRules") }}. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/create-security-policy-rule-rest-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/create-security-policy-rule-rest-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **api_version** `string | null` PAN-OS REST API version, e.g. v11.1 or v10.2. Falls back to the workspace variable pan_os.api_version, then v11.1. Default: `null`. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **device_group** `string | null` Panorama device group when location is device-group. Default: `null`. **location** `string` Configuration location. Use vsys on firewalls, device-group or shared on Panorama. Allowed values: vsys, shared, device-group. Default: `"vsys"`. **rulebase** `string` Rulebase. Use security on firewalls; pre or post on Panorama, with location shared or device-group. Allowed values: security, pre, post. Default: `"security"`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. **vsys** `string` Virtual system when location is vsys. Default: `"vsys1"`. ## List tags Action ID: `tools.pan_os.list_tags` List tags with GET /restapi/\{version}/Objects/Tags. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/create-a-tag-rest-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/create-a-tag-rest-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **api_version** `string | null` PAN-OS REST API version, e.g. v11.1 or v10.2. Falls back to the workspace variable pan_os.api_version, then v11.1. Default: `null`. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **device_group** `string | null` Panorama device group when location is device-group. Default: `null`. **location** `string` Configuration location. Use vsys on firewalls, device-group or shared on Panorama. Allowed values: vsys, shared, device-group. Default: `"vsys"`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. **vsys** `string` Virtual system when location is vsys. Default: `"vsys1"`. ## List template stacks Action ID: `tools.pan_os.list_template_stacks` List Panorama template stacks with the XML API (type=config, action=get) for /config/devices/entry\[@name='localhost.localdomain']/template-stack. Returns each name, description, member templates (stacks only), and assigned firewall serial numbers. Reference: [https://docs.paloaltonetworks.com/ngfw/api/pan-os-xml-api-request-types-and-actions/configuration-api](https://docs.paloaltonetworks.com/ngfw/api/pan-os-xml-api-request-types-and-actions/configuration-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. ## List templates Action ID: `tools.pan_os.list_templates` List Panorama templates with the XML API (type=config, action=get) for /config/devices/entry\[@name='localhost.localdomain']/template. Returns each name, description, member templates (stacks only), and assigned firewall serial numbers. Reference: [https://docs.paloaltonetworks.com/ngfw/api/pan-os-xml-api-request-types-and-actions/configuration-api](https://docs.paloaltonetworks.com/ngfw/api/pan-os-xml-api-request-types-and-actions/configuration-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. ## Move security rule Action ID: `tools.pan_os.move_security_rule` Move a security rule with POST /restapi/\{version}/Policies/SecurityRules:move?where=\&dst= (SecurityPreRules or SecurityPostRules on Panorama). Commit to apply the change. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/create-security-policy-rule-rest-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/create-security-policy-rule-rest-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **destination** `string` *required* Where to move the rule. Allowed values: top, bottom, before, after. **name** `string` *required* Security rule name. **api_version** `string | null` PAN-OS REST API version, e.g. v11.1 or v10.2. Falls back to the workspace variable pan_os.api_version, then v11.1. Default: `null`. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **destination_rule** `string | null` Reference rule name. Required when destination is before or after. Default: `null`. **device_group** `string | null` Panorama device group when location is device-group. Default: `null`. **location** `string` Configuration location. Use vsys on firewalls, device-group or shared on Panorama. Allowed values: vsys, shared, device-group. Default: `"vsys"`. **rulebase** `string` Rulebase. Use security on firewalls; pre or post on Panorama, with location shared or device-group. Allowed values: security, pre, post. Default: `"security"`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. **vsys** `string` Virtual system when location is vsys. Default: `"vsys1"`. ## Push template Action ID: `tools.pan_os.push_template` Push template configuration from Panorama to its firewalls with the XML API (type=commit, action=all, commit-all template). Optionally limit the push to specific firewall serial numbers. Commit on Panorama first. Returns the job ID; use wait_for_job to wait for completion. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/pan-os-xml-api-request-types/commit-configuration-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/pan-os-xml-api-request-types/commit-configuration-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **name** `string` *required* Template name. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **description** `string | null` Push description, e.g. the case or incident ID. Default: `null`. **devices** `array[string] | null` Limit the push to these firewall serial numbers. Default: `null`. **force_template_values** `boolean` Overwrite local firewall values with template values. Default: `false`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. ## Push template stack Action ID: `tools.pan_os.push_template_stack` Push template stack configuration from Panorama to its firewalls with the XML API (type=commit, action=all, commit-all template-stack). Optionally limit the push to specific firewall serial numbers. Commit on Panorama first. Returns the job ID; use wait_for_job to wait for completion. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/pan-os-xml-api-request-types/commit-configuration-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/pan-os-xml-api-request-types/commit-configuration-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **name** `string` *required* Template stack name. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **description** `string | null` Push description, e.g. the case or incident ID. Default: `null`. **devices** `array[string] | null` Limit the push to these firewall serial numbers. Default: `null`. **force_template_values** `boolean` Overwrite local firewall values with template values. Default: `false`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. ## Push to device groups (Panorama) Action ID: `tools.pan_os.commit_all` Push committed Panorama configuration to the firewalls in one or more device groups with the XML API (type=commit, action=all, commit-all shared-policy). Optionally limit the push to specific firewall serial numbers. Commit on Panorama first. Returns the job ID; use wait_for_job to wait for completion. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/pan-os-xml-api-request-types/commit-configuration-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/pan-os-xml-api-request-types/commit-configuration-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **device_groups** `array[string]` *required* Device groups to push to. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **description** `string | null` Push description, e.g. the case or incident ID. Default: `null`. **devices** `array[string] | null` Limit the push to these firewall serial numbers in each device group. Default: `null`. **force_template_values** `boolean` Overwrite local firewall values with template values. Default: `false`. **include_template** `boolean` Also push the template and template stack configuration. Default: `false`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. ## Query logs Action ID: `tools.pan_os.query_logs` Search firewall or Panorama logs with the XML API log retrieval (type=log). Submits the query, polls the log job until it finishes, and returns the log entries. Reference: [https://pan.dev/panos/docs/xmlapi/](https://pan.dev/panos/docs/xmlapi/) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **log_type** `string` *required* Log type to search. Allowed values: traffic, threat, url, wildfire, data, auth, decryption, userid, gtp, tunnel, sctp, system, config, hipmatch, globalprotect. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **direction** `string` backward returns newest first. Allowed values: backward, forward. Default: `"backward"`. **nlogs** `integer` Number of logs to return (max 5000). Default: `100`. **poll_interval** `number` Seconds between log job polls. Default: `2`. **poll_max_attempts** `integer` Maximum number of log job polls. Default: `30`. **query** `string | null` Log filter, e.g. (addr.src in 203.0.113.10) and (severity geq high). Default: `null`. **skip** `integer` Number of logs to skip. Default: `0`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. ## Refresh external dynamic list Action ID: `tools.pan_os.refresh_external_dynamic_list` Refresh an external dynamic list now instead of waiting for its schedule, with the XML API operational command request system external-list refresh. Use after updating an EDL feed with new indicators. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/pan-os-xml-api-request-types/run-operational-mode-commands-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/pan-os-xml-api-request-types/run-operational-mode-commands-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **name** `string` *required* External dynamic list name. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **list_type** `string` External dynamic list type. Allowed values: ip, domain, url. Default: `"ip"`. **target** `string | null` Managed firewall serial number when calling through Panorama. Default: `null`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. **vsys** `string | null` Virtual system on multi-vsys firewalls. Default: `null`. ## Register IP tags Action ID: `tools.pan_os.register_ip_tags` Tag IP addresses with the User-ID XML API (type=user-id, uid-message register) so dynamic address groups that match the tags pick them up without a commit. Set timeout for temporary containment; PAN-OS removes the tag when it expires. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/pan-os-xml-api-request-types/apply-user-id-mapping-and-populate-dynamic-address-groups-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/pan-os-xml-api-request-types/apply-user-id-mapping-and-populate-dynamic-address-groups-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **ips** `array[string]` *required* IP addresses to tag. **tags** `array[string]` *required* Tags to register, e.g. tracecat-block. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **persistent** `boolean` Keep the registration across reboots. Default: `true`. **target** `string | null` Managed firewall serial number when calling through Panorama. Default: `null`. **timeout** `integer | null` Seconds until the tag expires (PAN-OS 9.0 or later). Omit for no expiry. Default: `null`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. **vsys** `string | null` Virtual system on multi-vsys firewalls. Default: `null`. ## Remove address group members Action ID: `tools.pan_os.remove_address_group_members` Remove members of a static address group in the candidate configuration. Reads the group with GET /restapi/\{version}/Objects/AddressGroups?name= and writes it with PUT only when membership changes, so repeated calls are idempotent. Commit to apply the change. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **members** `array[string]` *required* Address objects or address groups. **name** `string` *required* Address group name. **api_version** `string | null` PAN-OS REST API version, e.g. v11.1 or v10.2. Falls back to the workspace variable pan_os.api_version, then v11.1. Default: `null`. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **device_group** `string | null` Panorama device group when location is device-group. Default: `null`. **location** `string` Configuration location. Use vsys on firewalls, device-group or shared on Panorama. Allowed values: vsys, shared, device-group. Default: `"vsys"`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. **vsys** `string` Virtual system when location is vsys. Default: `"vsys1"`. ## Run operational command Action ID: `tools.pan_os.run_op_command` Run an operational command with the XML API (type=op) and return the parsed response, e.g. \\\\\203.0.113.10\\\\\. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/pan-os-xml-api-request-types/run-operational-mode-commands-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/pan-os-xml-api-request-types/run-operational-mode-commands-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **cmd** `string` *required* Operational command in XML form. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **target** `string | null` Managed firewall serial number when calling through Panorama. Default: `null`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. **vsys** `string | null` Virtual system on multi-vsys firewalls. Default: `null`. ## Test security policy match Action ID: `tools.pan_os.test_security_policy_match` Find the security rule that matches a traffic tuple with the XML API operational command test security-policy-match. Use it to confirm a block is effective or to explain why traffic was allowed. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/pan-os-xml-api-request-types/run-operational-mode-commands-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/pan-os-xml-api-request-types/run-operational-mode-commands-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **destination** `string` *required* Destination IP address. **source** `string` *required* Source IP address. **application** `string | null` Application, e.g. ssl. Default: `null`. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **destination_port** `integer | null` Destination port. Default: `null`. **from_zone** `string | null` Source zone. Default: `null`. **protocol** `integer` IP protocol number, e.g. 6 for TCP or 17 for UDP. Default: `6`. **source_user** `string | null` Source user. Default: `null`. **target** `string | null` Managed firewall serial number when calling through Panorama. Default: `null`. **to_zone** `string | null` Destination zone. Default: `null`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. ## Unblock FQDN Action ID: `tools.pan_os.unblock_fqdn` Unblock an FQDN blocked with the matching block action. Removes the address object from the static address group with PUT /restapi/\{version}/Objects/AddressGroups if it is a member, then deletes the address object with DELETE /restapi/\{version}/Objects/Addresses if it exists. Repeated calls are no-ops. Changes stay in the candidate configuration; run commit (and commit_all on Panorama) to enforce them. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **address_group** `string` *required* Static address group that a deny rule references, e.g. tracecat-blocklist. **value** `string` *required* Fully qualified domain name to unblock. **address_name** `string | null` Address object name to use instead of the generated name. Default: `null`. **api_version** `string | null` PAN-OS REST API version, e.g. v11.1 or v10.2. Falls back to the workspace variable pan_os.api_version, then v11.1. Default: `null`. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **delete_address** `boolean` Delete the address object after removing it from the group. Fails if other rules or groups still reference it. Default: `true`. **device_group** `string | null` Panorama device group when location is device-group. Default: `null`. **location** `string` Configuration location. Use vsys on firewalls, device-group or shared on Panorama. Allowed values: vsys, shared, device-group. Default: `"vsys"`. **name_prefix** `string` Prefix for generated address object names. Default: `"tc-block-"`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. **vsys** `string` Virtual system when location is vsys. Default: `"vsys1"`. ## Unblock IP Action ID: `tools.pan_os.unblock_ip` Unblock an IP address or CIDR range blocked with the matching block action. Removes the address object from the static address group with PUT /restapi/\{version}/Objects/AddressGroups if it is a member, then deletes the address object with DELETE /restapi/\{version}/Objects/Addresses if it exists. Repeated calls are no-ops. Changes stay in the candidate configuration; run commit (and commit_all on Panorama) to enforce them. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **address_group** `string` *required* Static address group that a deny rule references, e.g. tracecat-blocklist. **value** `string` *required* IPv4 or IPv6 address, or CIDR range, to unblock. **address_name** `string | null` Address object name to use instead of the generated name. Default: `null`. **api_version** `string | null` PAN-OS REST API version, e.g. v11.1 or v10.2. Falls back to the workspace variable pan_os.api_version, then v11.1. Default: `null`. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **delete_address** `boolean` Delete the address object after removing it from the group. Fails if other rules or groups still reference it. Default: `true`. **device_group** `string | null` Panorama device group when location is device-group. Default: `null`. **location** `string` Configuration location. Use vsys on firewalls, device-group or shared on Panorama. Allowed values: vsys, shared, device-group. Default: `"vsys"`. **name_prefix** `string` Prefix for generated address object names. Default: `"tc-block-"`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. **vsys** `string` Virtual system when location is vsys. Default: `"vsys1"`. ## Unregister IP tags Action ID: `tools.pan_os.unregister_ip_tags` Remove tags from IP addresses with the User-ID XML API (type=user-id, uid-message unregister), which removes them from dynamic address groups that match the tags. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/pan-os-xml-api-request-types/apply-user-id-mapping-and-populate-dynamic-address-groups-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/pan-os-xml-api-request-types/apply-user-id-mapping-and-populate-dynamic-address-groups-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **ips** `array[string]` *required* IP addresses to untag. **tags** `array[string]` *required* Tags to unregister. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **target** `string | null` Managed firewall serial number when calling through Panorama. Default: `null`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. **vsys** `string | null` Virtual system on multi-vsys firewalls. Default: `null`. ## Update address Action ID: `tools.pan_os.update_address` Update a address object in the candidate configuration. Reads it with GET /restapi/\{version}/Objects/Addresses?name=, applies only the provided fields, and writes it with PUT. Commit to apply the change. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/work-with-address-objects-rest-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **name** `string` *required* Name of the address object. **api_version** `string | null` PAN-OS REST API version, e.g. v11.1 or v10.2. Falls back to the workspace variable pan_os.api_version, then v11.1. Default: `null`. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **description** `string | null` New description. Default: `null`. **device_group** `string | null` Panorama device group when location is device-group. Default: `null`. **fqdn** `string | null` Fully qualified domain name. Default: `null`. **ip_netmask** `string | null` IP address with or without CIDR mask, e.g. 203.0.113.10 or 10.0.0.0/24. Default: `null`. **ip_range** `string | null` IP range, e.g. 10.0.0.1-10.0.0.20. Default: `null`. **ip_wildcard** `string | null` IP wildcard mask, e.g. 10.20.1.0/0.0.248.255. Default: `null`. **location** `string` Configuration location. Use vsys on firewalls, device-group or shared on Panorama. Allowed values: vsys, shared, device-group. Default: `"vsys"`. **tags** `array[string] | null` Replacement tag list. Default: `null`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. **vsys** `string` Virtual system when location is vsys. Default: `"vsys1"`. ## Update security rule Action ID: `tools.pan_os.update_security_rule` Update a security rule in the candidate configuration. Reads it with GET /restapi/\{version}/Policies/\$\{\{ "SecurityPreRules" if inputs.rulebase == "pre" else ("SecurityPostRules" if inputs.rulebase == "post" else "SecurityRules") }}?name=, applies only the provided fields, and writes it with PUT. Commit to apply the change. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/create-security-policy-rule-rest-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-api/create-security-policy-rule-rest-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **name** `string` *required* Name of the security rule. **updates** `object` *required* API-native entry fields to replace, e.g. \{"action": "deny", "source": \{"member": \["blocked-ips"]}}. **api_version** `string | null` PAN-OS REST API version, e.g. v11.1 or v10.2. Falls back to the workspace variable pan_os.api_version, then v11.1. Default: `null`. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **device_group** `string | null` Panorama device group when location is device-group. Default: `null`. **location** `string` Configuration location. Use vsys on firewalls, device-group or shared on Panorama. Allowed values: vsys, shared, device-group. Default: `"vsys"`. **rulebase** `string` Rulebase. Use security on firewalls; pre or post on Panorama, with location shared or device-group. Allowed values: security, pre, post. Default: `"security"`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. **vsys** `string` Virtual system when location is vsys. Default: `"vsys1"`. ## Wait for job Action ID: `tools.pan_os.wait_for_job` Poll a job with the XML API operational command show jobs id until it finishes, then return normalized status, result, done, and succeeded fields. Fails when the job fails, unless raise_on_failure is false, or when it does not finish within poll_max_attempts. Reference: [https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/pan-os-xml-api-request-types/run-operational-mode-commands-api](https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-panorama-api/pan-os-xml-api-request-types/run-operational-mode-commands-api) ### Secrets Required secrets: * `pan_os`: required values `PANOS_API_KEY`. ### Input fields **job_id** `string` *required* Job ID, e.g. the job_id returned by commit. **base_url** `string | null` Firewall or Panorama management URL, e.g. [https://fw.example.com](https://fw.example.com). Falls back to the workspace variable pan_os.base_url. Default: `null`. **poll_interval** `number` Seconds between polls. Default: `10`. **poll_max_attempts** `integer` Maximum number of polls. Default: `60`. **raise_on_failure** `boolean` Fail the action when the job finishes unsuccessfully. Default: `true`. **verify_ssl** `boolean` Verify the management TLS certificate. Prefer adding a CA_CERTIFICATE secret over disabling this. Default: `true`. # Palo Alto Networks (Prisma Cloud) Source: https://docs.tracecat.com/tools/pan_prisma Reference for the Tracecat Palo Alto Networks (Prisma Cloud) integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Create policy Action ID: `tools.pan_prisma.create_policy` Add a custom policy. Calls POST /policy directly. Reference: [https://pan.dev/prisma-cloud/api/cspm/add-policy/](https://pan.dev/prisma-cloud/api/cspm/add-policy/) ### Secrets Required secrets: * `pan_prisma`: required values `PRISMA_ACCESS_KEY_ID`, `PRISMA_SECRET_KEY`. ### Input fields **name** `string` *required* Policy name. **policyType** `string` *required* Policy type, e.g. config, network, audit_event or iam. Policy type anomaly is read-only. **rule** `object` *required* Policy rule. Uses criteria (a saved search ID), name, parameters and type, e.g. \{"criteria": "\", "name": "my rule", "parameters": \{"savedSearch": "true"}, "type": "Config"}. **severity** `string` *required* Policy severity, e.g. low, medium or high. **base_url** `string | null` Prisma Cloud API URL for your tenant's stack, e.g. [https://api.prismacloud.io](https://api.prismacloud.io), [https://api2.prismacloud.io](https://api2.prismacloud.io) or [https://api.eu.prismacloud.io](https://api.eu.prismacloud.io). Falls back to the workspace variable pan_prisma.base_url. Default: `null`. **cloudType** `string | null` Cloud type. Required for config policies; other policy types default to ALL. Allowed values: ALL, AWS, AZURE, GCP, ALIBABA_CLOUD, OCI, IBM. Default: `null`. **complianceMetadata** `array[object] | null` Compliance standard, requirement and section mappings. Default: `null`. **description** `string | null` Policy description. Default: `null`. **enabled** `boolean | null` Whether the policy is enabled. Prisma Cloud defaults to true. Default: `null`. **labels** `array[string] | null` Policy labels. Default: `null`. **recommendation** `string | null` Remediation recommendation. Default: `null`. **remediation** `object | null` Remediation details, e.g. cliScriptTemplate and description. Default: `null`. ## Delete policy Action ID: `tools.pan_prisma.delete_policy` Delete a policy. Calls DELETE /policy/\{id} directly. Reference: [https://pan.dev/prisma-cloud/api/cspm/delete-policy/](https://pan.dev/prisma-cloud/api/cspm/delete-policy/) ### Secrets Required secrets: * `pan_prisma`: required values `PRISMA_ACCESS_KEY_ID`, `PRISMA_SECRET_KEY`. ### Input fields **id** `string` *required* Policy ID. **base_url** `string | null` Prisma Cloud API URL for your tenant's stack, e.g. [https://api.prismacloud.io](https://api.prismacloud.io), [https://api2.prismacloud.io](https://api2.prismacloud.io) or [https://api.eu.prismacloud.io](https://api.eu.prismacloud.io). Falls back to the workspace variable pan_prisma.base_url. Default: `null`. ## Dismiss or snooze alerts Action ID: `tools.pan_prisma.dismiss_alerts` Dismisses one or more alerts on the Prisma Cloud platform. If the caller specifies a dismissal time range, then alerts will snooze for that time period rather than be dismissed. Calls POST /alert/dismiss directly. Reference: [https://pan.dev/prisma-cloud/api/cspm/dismiss-alerts/](https://pan.dev/prisma-cloud/api/cspm/dismiss-alerts/) ### Secrets Required secrets: * `pan_prisma`: required values `PRISMA_ACCESS_KEY_ID`, `PRISMA_SECRET_KEY`. ### Input fields **dismissalNote** `string` *required* Reason for dismissal. **filter** `object` *required* Filter to narrow the alerts. filter.timeRange is required, e.g. \{"timeRange": \{"type": "to_now", "value": "epoch"}}. Can also include filters, a list of name/operator/value objects. **alerts** `array[string] | null` Alert IDs. Default: `null`. **base_url** `string | null` Prisma Cloud API URL for your tenant's stack, e.g. [https://api.prismacloud.io](https://api.prismacloud.io), [https://api2.prismacloud.io](https://api2.prismacloud.io) or [https://api.eu.prismacloud.io](https://api.eu.prismacloud.io). Falls back to the workspace variable pan_prisma.base_url. Default: `null`. **dismissalTimeRange** `object | null` Dismissal time range. Set this to snooze instead of dismiss, e.g. \{"type": "relative", "value": \{"amount": 7, "unit": "day"}}. Default: `null`. **policies** `array[string] | null` Policy IDs. Default: `null`. ## Get alert Action ID: `tools.pan_prisma.get_alert` Returns information about an alert for the specified ID. Calls GET /alert/\{id} directly. Reference: [https://pan.dev/prisma-cloud/api/cspm/get-alert/](https://pan.dev/prisma-cloud/api/cspm/get-alert/) ### Secrets Required secrets: * `pan_prisma`: required values `PRISMA_ACCESS_KEY_ID`, `PRISMA_SECRET_KEY`. ### Input fields **id** `string` *required* Alert ID. **base_url** `string | null` Prisma Cloud API URL for your tenant's stack, e.g. [https://api.prismacloud.io](https://api.prismacloud.io), [https://api2.prismacloud.io](https://api2.prismacloud.io) or [https://api.eu.prismacloud.io](https://api.eu.prismacloud.io). Falls back to the workspace variable pan_prisma.base_url. Default: `null`. **detailed** `boolean | null` true = Return detailed alert data. Default is false. Default: `null`. ## Get alert count by status Action ID: `tools.pan_prisma.get_alert_count` Returns an alert count for the specified status. Calls GET /alert/count/\{status} directly. Reference: [https://pan.dev/prisma-cloud/api/cspm/get-alert-count/](https://pan.dev/prisma-cloud/api/cspm/get-alert-count/) ### Secrets Required secrets: * `pan_prisma`: required values `PRISMA_ACCESS_KEY_ID`, `PRISMA_SECRET_KEY`. ### Input fields **status** `string` *required* Alert status: open, dismissed, snoozed, resolved or pending_resolution. **base_url** `string | null` Prisma Cloud API URL for your tenant's stack, e.g. [https://api.prismacloud.io](https://api.prismacloud.io), [https://api2.prismacloud.io](https://api2.prismacloud.io) or [https://api.eu.prismacloud.io](https://api.eu.prismacloud.io). Falls back to the workspace variable pan_prisma.base_url. Default: `null`. ## Get alert evidence graph Action ID: `tools.pan_prisma.get_alert_evidence_graph` Given an alert ID, returns the data that can be presented in a graphical format. The returned response matches the JSON Graph Format standard. Calls GET /alert/v1/\{id}/graph directly. Reference: [https://pan.dev/prisma-cloud/api/cspm/get-alert-evidence-graph/](https://pan.dev/prisma-cloud/api/cspm/get-alert-evidence-graph/) ### Secrets Required secrets: * `pan_prisma`: required values `PRISMA_ACCESS_KEY_ID`, `PRISMA_SECRET_KEY`. ### Input fields **id** `string` *required* The alert ID for the evidence graph. **base_url** `string | null` Prisma Cloud API URL for your tenant's stack, e.g. [https://api.prismacloud.io](https://api.prismacloud.io), [https://api2.prismacloud.io](https://api2.prismacloud.io) or [https://api.eu.prismacloud.io](https://api.eu.prismacloud.io). Falls back to the workspace variable pan_prisma.base_url. Default: `null`. ## Get alert remediation commands Action ID: `tools.pan_prisma.get_alert_remediation_commands` Generates and returns a list of remediation commands for the specified alerts and policies. Data returned for a successful call include fully constructed commands for remediation. Calls POST /alert/remediation directly. Reference: [https://pan.dev/prisma-cloud/api/cspm/get-alerts-remediation/](https://pan.dev/prisma-cloud/api/cspm/get-alerts-remediation/) ### Secrets Required secrets: * `pan_prisma`: required values `PRISMA_ACCESS_KEY_ID`, `PRISMA_SECRET_KEY`. ### Input fields **filter** `object` *required* Filter to narrow or manage the search. filter.timeRange.type and filter.timeRange.value are required; other filter parameters are ignored, e.g. \{"timeRange": \{"type": "to_now", "value": "epoch"}}. **alerts** `array[string] | null` List of alert IDs. One or more alert IDs associated with a single policy are required if no policies are specified. If a policy is specified, then all the alerts specified must belong to that policy. Default: `null`. **base_url** `string | null` Prisma Cloud API URL for your tenant's stack, e.g. [https://api.prismacloud.io](https://api.prismacloud.io), [https://api2.prismacloud.io](https://api2.prismacloud.io) or [https://api.eu.prismacloud.io](https://api.eu.prismacloud.io). Falls back to the workspace variable pan_prisma.base_url. Default: `null`. **policies** `array[string] | null` List of policy IDs. A single policy ID is required if no alerts are specified. Default: `null`. ## Get asset Action ID: `tools.pan_prisma.get_asset` Returns details for a unified asset, selected by the type of data to query (e.g. asset, alerts, findings, vulnerabilities, network, timeline, raw_config). Calls POST /uai/v1/asset directly. Reference: [https://pan.dev/prisma-cloud/api/cspm/get-asset-details-by-id/](https://pan.dev/prisma-cloud/api/cspm/get-asset-details-by-id/) ### Secrets Required secrets: * `pan_prisma`: required values `PRISMA_ACCESS_KEY_ID`, `PRISMA_SECRET_KEY`. ### Input fields **assetId** `string` *required* Unified Asset ID or RRN (Restricted Resource Name). **type** `string` *required* Asset Domain Service query type, e.g. asset, asset_lite, alerts, alert_summary, findings, vulnerabilities, network, timeline, raw_config, relationships, permissions, attack_path. **base_url** `string | null` Prisma Cloud API URL for your tenant's stack, e.g. [https://api.prismacloud.io](https://api.prismacloud.io), [https://api2.prismacloud.io](https://api2.prismacloud.io) or [https://api.eu.prismacloud.io](https://api.eu.prismacloud.io). Falls back to the workspace variable pan_prisma.base_url. Default: `null`. **limit** `integer | null` Limit number of records. Default: `null`. **pageToken** `string | null` Next page token. Default: `null`. ## Get asset inventory Action ID: `tools.pan_prisma.get_asset_inventory` Returns asset inventory pass/fail data. Calls POST /v3/inventory directly. Reference: [https://pan.dev/prisma-cloud/api/cspm/post-method-for-asset-inventory-v-3/](https://pan.dev/prisma-cloud/api/cspm/post-method-for-asset-inventory-v-3/) ### Secrets Required secrets: * `pan_prisma`: required values `PRISMA_ACCESS_KEY_ID`, `PRISMA_SECRET_KEY`. ### Input fields **base_url** `string | null` Prisma Cloud API URL for your tenant's stack, e.g. [https://api.prismacloud.io](https://api.prismacloud.io), [https://api2.prismacloud.io](https://api2.prismacloud.io) or [https://api.eu.prismacloud.io](https://api.eu.prismacloud.io). Falls back to the workspace variable pan_prisma.base_url. Default: `null`. **filters** `array[object] | null` Filtering parameters as a list of \{"name": ..., "operator": "=", "value": ...} objects. For filter names and values, see the corresponding List Filters and filter suggestion APIs. Default: `null`. **groupBy** `array[string] | null` Group returned items by cloud.type, cloud.service, cloud.region, cloud.account, and/or resource.type. Default: `null`. **limit** `integer | null` Maximum number of items to return. When data is paginated, maximum number of items per page. The maximum cannot exceed 10,000. Default: `null`. **offset** `integer | null` The number of items to skip before selecting items to return. Default is zero. Default: `null`. **pageToken** `string | null` Set to the nextPageToken from a response to return the next page of data. Default: `null`. **sortBy** `array[string] | null` Sort properties. Append :asc or :desc to the key, e.g. id:asc. Default: `null`. ## Get next config search page Action ID: `tools.pan_prisma.get_config_search_page` Returns the next page of config search results, using the nextPageToken from the previous page. Calls POST /search/config/page directly. Reference: [https://pan.dev/prisma-cloud/api/cspm/search-config-page/](https://pan.dev/prisma-cloud/api/cspm/search-config-page/) ### Secrets Required secrets: * `pan_prisma`: required values `PRISMA_ACCESS_KEY_ID`, `PRISMA_SECRET_KEY`. ### Input fields **pageToken** `string` *required* Page token (nextPageToken from the previous response). **base_url** `string | null` Prisma Cloud API URL for your tenant's stack, e.g. [https://api.prismacloud.io](https://api.prismacloud.io), [https://api2.prismacloud.io](https://api2.prismacloud.io) or [https://api.eu.prismacloud.io](https://api.eu.prismacloud.io). Falls back to the workspace variable pan_prisma.base_url. Default: `null`. **limit** `integer | null` Results per page. Default: `null`. **withResourceJson** `boolean | null` true = include resource JSON. Default: `null`. ## Get next event search page Action ID: `tools.pan_prisma.get_event_search_page` Returns the next page of event search results, using the data.nextPageToken from the previous page. Calls POST /search/event/page directly. Reference: [https://pan.dev/prisma-cloud/api/cspm/search-events-page/](https://pan.dev/prisma-cloud/api/cspm/search-events-page/) ### Secrets Required secrets: * `pan_prisma`: required values `PRISMA_ACCESS_KEY_ID`, `PRISMA_SECRET_KEY`. ### Input fields **pageToken** `string` *required* Page token (data.nextPageToken from the previous response). **base_url** `string | null` Prisma Cloud API URL for your tenant's stack, e.g. [https://api.prismacloud.io](https://api.prismacloud.io), [https://api2.prismacloud.io](https://api2.prismacloud.io) or [https://api.eu.prismacloud.io](https://api.eu.prismacloud.io). Falls back to the workspace variable pan_prisma.base_url. Default: `null`. **limit** `integer | null` Results per page. Default: `null`. ## Get policy Action ID: `tools.pan_prisma.get_policy` Returns the policy that has the specified policy ID. Calls GET /policy/\{id} directly. Reference: [https://pan.dev/prisma-cloud/api/cspm/get-policy/](https://pan.dev/prisma-cloud/api/cspm/get-policy/) ### Secrets Required secrets: * `pan_prisma`: required values `PRISMA_ACCESS_KEY_ID`, `PRISMA_SECRET_KEY`. ### Input fields **id** `string` *required* Policy ID. **base_url** `string | null` Prisma Cloud API URL for your tenant's stack, e.g. [https://api.prismacloud.io](https://api.prismacloud.io), [https://api2.prismacloud.io](https://api2.prismacloud.io) or [https://api.eu.prismacloud.io](https://api.eu.prismacloud.io). Falls back to the workspace variable pan_prisma.base_url. Default: `null`. ## Get resource scan info Action ID: `tools.pan_prisma.get_resource_scan_info` Returns a full breakdown of passed/failed statistics and associated policies for resources. Calls POST /v2/resource/scan_info directly. Reference: [https://pan.dev/prisma-cloud/api/cspm/post-resource-scan-info-v-2/](https://pan.dev/prisma-cloud/api/cspm/post-resource-scan-info-v-2/) ### Secrets Required secrets: * `pan_prisma`: required values `PRISMA_ACCESS_KEY_ID`, `PRISMA_SECRET_KEY`. ### Input fields **base_url** `string | null` Prisma Cloud API URL for your tenant's stack, e.g. [https://api.prismacloud.io](https://api.prismacloud.io), [https://api2.prismacloud.io](https://api2.prismacloud.io) or [https://api.eu.prismacloud.io](https://api.eu.prismacloud.io). Falls back to the workspace variable pan_prisma.base_url. Default: `null`. **filters** `array[object] | null` Filtering parameters as a list of \{"name": ..., "operator": "=", "value": ...} objects. For filter names and values, see the corresponding List Filters and filter suggestion APIs. Default: `null`. **limit** `integer | null` Maximum number of items to return. When data is paginated, maximum number of items per page. The maximum cannot exceed 10,000. Default: `null`. **offset** `integer | null` The number of items to skip before selecting items to return. Default is zero. Default: `null`. **pageToken** `string | null` Set to the nextPageToken from a response to return the next page of data. Default: `null`. **sortBy** `array[string] | null` Sort properties. Append :asc or :desc to the key, e.g. id:asc. Default: `null`. ## List alerts for resource Action ID: `tools.pan_prisma.list_resource_alerts` Get a list of alerts associated with a given resource. Calls POST /resource/alert directly. Reference: [https://pan.dev/prisma-cloud/api/cspm/get-alerts-for-resource/](https://pan.dev/prisma-cloud/api/cspm/get-alerts-for-resource/) ### Secrets Required secrets: * `pan_prisma`: required values `PRISMA_ACCESS_KEY_ID`, `PRISMA_SECRET_KEY`. ### Input fields **rrn** `string` *required* Restricted Resource Name, e.g. rrn::storageBucket:us-east-1:123456789012:test-bucket. **base_url** `string | null` Prisma Cloud API URL for your tenant's stack, e.g. [https://api.prismacloud.io](https://api.prismacloud.io), [https://api2.prismacloud.io](https://api2.prismacloud.io) or [https://api.eu.prismacloud.io](https://api.eu.prismacloud.io). Falls back to the workspace variable pan_prisma.base_url. Default: `null`. ## List policies Action ID: `tools.pan_prisma.list_policies` Returns all available policies, both system default and custom. Apply filters to narrow the returned policy list. Calls GET /v2/policy directly. Reference: [https://pan.dev/prisma-cloud/api/cspm/get-policies-v-2/](https://pan.dev/prisma-cloud/api/cspm/get-policies-v-2/) ### Secrets Required secrets: * `pan_prisma`: required values `PRISMA_ACCESS_KEY_ID`, `PRISMA_SECRET_KEY`. ### Input fields **base_url** `string | null` Prisma Cloud API URL for your tenant's stack, e.g. [https://api.prismacloud.io](https://api.prismacloud.io), [https://api2.prismacloud.io](https://api2.prismacloud.io) or [https://api.eu.prismacloud.io](https://api.eu.prismacloud.io). Falls back to the workspace variable pan_prisma.base_url. Default: `null`. **cloud_type** `string | null` Cloud type (cloud.type), e.g. aws, azure, gcp. Default: `null`. **policy_complianceStandard** `string | null` Policy compliance standard name (policy.complianceStandard). Default: `null`. **policy_enabled** `string | null` Policy enabled (policy.enabled): true or false. Default: `null`. **policy_label** `string | null` Policy label (policy.label). Default: `null`. **policy_name** `string | null` Policy name (policy.name). Default: `null`. **policy_policyMode** `string | null` Policy mode (policy.policyMode): custom or redlock_default. Default: `null`. **policy_remediable** `string | null` Policy is remediable (policy.remediable): true or false. Default: `null`. **policy_severity** `string | null` Policy severity (policy.severity): critical, high, medium, low or informational. Default: `null`. **policy_subtype** `string | null` Policy subtype (policy.subtype), e.g. run, build, audit, network_event, ueba. Default: `null`. **policy_type** `string | null` Policy type (policy.type): config, network or audit_event. Default: `null`. ## Remediate alert Action ID: `tools.pan_prisma.remediate_alert` Remediates the alert with the specified ID if that alert is associated with a remediable policy. Calls PATCH /alert/remediation/\{id} directly. Reference: [https://pan.dev/prisma-cloud/api/cspm/perform-remediation-for-alert/](https://pan.dev/prisma-cloud/api/cspm/perform-remediation-for-alert/) ### Secrets Required secrets: * `pan_prisma`: required values `PRISMA_ACCESS_KEY_ID`, `PRISMA_SECRET_KEY`. ### Input fields **id** `string` *required* Alert ID. **base_url** `string | null` Prisma Cloud API URL for your tenant's stack, e.g. [https://api.prismacloud.io](https://api.prismacloud.io), [https://api2.prismacloud.io](https://api2.prismacloud.io) or [https://api.eu.prismacloud.io](https://api.eu.prismacloud.io). Falls back to the workspace variable pan_prisma.base_url. Default: `null`. **findingId** `string | null` Finding ID. Default: `null`. ## Reopen alerts Action ID: `tools.pan_prisma.reopen_alerts` Sets the status of one or more dismissed or snoozed alerts on the Prisma Cloud platform to open. Calls POST /alert/reopen directly. Reference: [https://pan.dev/prisma-cloud/api/cspm/reopen-alerts/](https://pan.dev/prisma-cloud/api/cspm/reopen-alerts/) ### Secrets Required secrets: * `pan_prisma`: required values `PRISMA_ACCESS_KEY_ID`, `PRISMA_SECRET_KEY`. ### Input fields **filter** `object` *required* Filter to narrow the alerts. filter.timeRange is required, e.g. \{"timeRange": \{"type": "to_now", "value": "epoch"}}. Can also include filters, a list of name/operator/value objects. **alerts** `array[string] | null` Alert IDs. Default: `null`. **base_url** `string | null` Prisma Cloud API URL for your tenant's stack, e.g. [https://api.prismacloud.io](https://api.prismacloud.io), [https://api2.prismacloud.io](https://api2.prismacloud.io) or [https://api.eu.prismacloud.io](https://api.eu.prismacloud.io). Falls back to the workspace variable pan_prisma.base_url. Default: `null`. **policies** `array[string] | null` Policy IDs. Default: `null`. ## Search alerts Action ID: `tools.pan_prisma.search_alerts` Returns a paginated list of alerts that matches the constraints specified in the body parameters. Calls POST /v2/alert directly. Reference: [https://pan.dev/prisma-cloud/api/cspm/post-alerts-v-2/](https://pan.dev/prisma-cloud/api/cspm/post-alerts-v-2/) ### Secrets Required secrets: * `pan_prisma`: required values `PRISMA_ACCESS_KEY_ID`, `PRISMA_SECRET_KEY`. ### Input fields **base_url** `string | null` Prisma Cloud API URL for your tenant's stack, e.g. [https://api.prismacloud.io](https://api.prismacloud.io), [https://api2.prismacloud.io](https://api2.prismacloud.io) or [https://api.eu.prismacloud.io](https://api.eu.prismacloud.io). Falls back to the workspace variable pan_prisma.base_url. Default: `null`. **detailed** `boolean | null` true = Return detailed alert data. Default is false. Default: `null`. **fields** `array[string] | null` Specific fields to return, e.g. alert.id, alert.status, alert.time, cloud.account, cloud.accountId, cloud.region, resource.id, resource.name, policy.name, policy.type, policy.severity. Default: `null`. **filters** `array[object] | null` Filtering parameters as a list of \{"name": ..., "operator": "=", "value": ...} objects. For filter names and values, see the corresponding List Filters and filter suggestion APIs. Common names include alert.status, alert.id, policy.severity, policy.name, cloud.account and resource.id. Default: `null`. **limit** `integer | null` Maximum number of items to return. When data is paginated, maximum number of items per page. Default: `null`. **pageToken** `string | null` Set to the nextPageToken from a previous response to return the next page of data. Default: `null`. **sortBy** `array[string] | null` Sort properties. Append :asc or :desc to the key, e.g. alertTime:desc. Valid keys are listed in the response's sortAllowedColumns. Default: `null`. **timeRange** `object | null` Time range object, see the Prisma Cloud Time Range Model. Examples: \{"type": "relative", "value": \{"amount": 24, "unit": "hour"}}, \{"type": "to_now", "value": "epoch"}, or \{"type": "absolute", "value": \{"startTime": 1700000000000, "endTime": 1700086400000}}. Default: `null`. ## Search audit events (RQL) Action ID: `tools.pan_prisma.search_events` Returns the results of an RQL audit event query. Use event queries to detect and investigate console and API access, monitor privileged activities, and detect account compromise and unusual user behavior. Calls POST /search/event directly. Reference: [https://pan.dev/prisma-cloud/api/cspm/search-events/](https://pan.dev/prisma-cloud/api/cspm/search-events/) ### Secrets Required secrets: * `pan_prisma`: required values `PRISMA_ACCESS_KEY_ID`, `PRISMA_SECRET_KEY`. ### Input fields **query** `string` *required* RQL query, e.g. event from cloud.audit_logs where operation = 'ConsoleLogin'. **timeRange** `object` *required* Time range object, see the Prisma Cloud Time Range Model. Examples: \{"type": "relative", "value": \{"amount": 24, "unit": "hour"}}, \{"type": "to_now", "value": "epoch"}, or \{"type": "absolute", "value": \{"startTime": 1700000000000, "endTime": 1700086400000}}. **base_url** `string | null` Prisma Cloud API URL for your tenant's stack, e.g. [https://api.prismacloud.io](https://api.prismacloud.io), [https://api2.prismacloud.io](https://api2.prismacloud.io) or [https://api.eu.prismacloud.io](https://api.eu.prismacloud.io). Falls back to the workspace variable pan_prisma.base_url. Default: `null`. **limit** `integer | null` Limit. Default: `null`. **sort** `array[object] | null` Sort fields, e.g. \[\{"field": "time", "direction": "desc"}]. Default: `null`. ## Search config (RQL) Action ID: `tools.pan_prisma.search_config` Returns the results of an RQL config query. Use config queries to retrieve resource information, identify misconfigurations, and uncover policy and compliance violations. Calls POST /search/api/v2/config directly. Reference: [https://pan.dev/prisma-cloud/api/cspm/search-config-v-2/](https://pan.dev/prisma-cloud/api/cspm/search-config-v-2/) ### Secrets Required secrets: * `pan_prisma`: required values `PRISMA_ACCESS_KEY_ID`, `PRISMA_SECRET_KEY`. ### Input fields **query** `string` *required* RQL query, e.g. config from cloud.resource where api.name = 'aws-ec2-describe-instances'. **base_url** `string | null` Prisma Cloud API URL for your tenant's stack, e.g. [https://api.prismacloud.io](https://api.prismacloud.io), [https://api2.prismacloud.io](https://api2.prismacloud.io) or [https://api.eu.prismacloud.io](https://api.eu.prismacloud.io). Falls back to the workspace variable pan_prisma.base_url. Default: `null`. **limit** `integer | null` Results per page. The maximum number of results is 100 items; use get_config_search_page with nextPageToken for more. Default: `null`. **sort** `array[object] | null` Sort field data, e.g. \[\{"field": "insertTs", "direction": "desc"}]. Default: `null`. **startTime** `integer | null` Start time for the search in epoch milliseconds. The end time is the current system time. Default: `null`. **withResourceJson** `boolean | null` true = include resource JSON. Default is false. Default: `null`. ## Search network (RQL) Action ID: `tools.pan_prisma.search_network` Perform a search against flow logs with an RQL query. Calls POST /search directly. Reference: [https://pan.dev/prisma-cloud/api/cspm/search-network/](https://pan.dev/prisma-cloud/api/cspm/search-network/) ### Secrets Required secrets: * `pan_prisma`: required values `PRISMA_ACCESS_KEY_ID`, `PRISMA_SECRET_KEY`. ### Input fields **query** `string` *required* RQL query, e.g. network from vpc.flow_record where dest.publicnetwork IN ('Suspicious IPs'). **timeRange** `object` *required* Time range object, see the Prisma Cloud Time Range Model. Examples: \{"type": "relative", "value": \{"amount": 24, "unit": "hour"}}, \{"type": "to_now", "value": "epoch"}, or \{"type": "absolute", "value": \{"startTime": 1700000000000, "endTime": 1700086400000}}. **base_url** `string | null` Prisma Cloud API URL for your tenant's stack, e.g. [https://api.prismacloud.io](https://api.prismacloud.io), [https://api2.prismacloud.io](https://api2.prismacloud.io) or [https://api.eu.prismacloud.io](https://api.eu.prismacloud.io). Falls back to the workspace variable pan_prisma.base_url. Default: `null`. **cloudType** `string | null` Cloud type: aws, azure, gcp, alibaba_cloud or oci. Default: `null`. ## Update policy Action ID: `tools.pan_prisma.update_policy` Update an existing policy. Calls PUT /policy/\{id} directly. Reference: [https://pan.dev/prisma-cloud/api/cspm/update-policy/](https://pan.dev/prisma-cloud/api/cspm/update-policy/) ### Secrets Required secrets: * `pan_prisma`: required values `PRISMA_ACCESS_KEY_ID`, `PRISMA_SECRET_KEY`. ### Input fields **id** `string` *required* Policy ID. **payload** `object` *required* API-native request body containing only the fields to change; omitted fields keep their current values. Documented fields for PUT /policy/\{id}: name, policyType, severity, rule, cloudType, description, recommendation, labels, enabled, complianceMetadata, remediation, findingTypes. **base_url** `string | null` Prisma Cloud API URL for your tenant's stack, e.g. [https://api.prismacloud.io](https://api.prismacloud.io), [https://api2.prismacloud.io](https://api2.prismacloud.io) or [https://api.eu.prismacloud.io](https://api.eu.prismacloud.io). Falls back to the workspace variable pan_prisma.base_url. Default: `null`. ## Update policy status Action ID: `tools.pan_prisma.update_policy_status` Enable or disable a policy. Calls PATCH /policy/\{id}/status/\{enabled} directly. Reference: [https://pan.dev/prisma-cloud/api/cspm/update-policy-status/](https://pan.dev/prisma-cloud/api/cspm/update-policy-status/) ### Secrets Required secrets: * `pan_prisma`: required values `PRISMA_ACCESS_KEY_ID`, `PRISMA_SECRET_KEY`. ### Input fields **enabled** `boolean` *required* Policy status (true = enabled). **id** `string` *required* Policy ID. **base_url** `string | null` Prisma Cloud API URL for your tenant's stack, e.g. [https://api.prismacloud.io](https://api.prismacloud.io), [https://api2.prismacloud.io](https://api2.prismacloud.io) or [https://api.eu.prismacloud.io](https://api.eu.prismacloud.io). Falls back to the workspace variable pan_prisma.base_url. Default: `null`. # Palo Alto Networks (Strata Cloud Manager) Source: https://docs.tracecat.com/tools/pan_strata Reference for the Tracecat Palo Alto Networks (Strata Cloud Manager) integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Add address group members Action ID: `tools.pan_strata.add_address_group_members` Add members of a static address group in the candidate configuration. Reads the group by ID or by name with GET /config/objects/v1/address-groups, and writes it with PUT /config/objects/v1/address-groups/\{id} only when membership changes, so repeated calls are idempotent. Push the candidate configuration to apply the change. Reference: [https://pan.dev/scm/api/config/ngfw/objects/update-address-groups-by-id/](https://pan.dev/scm/api/config/ngfw/objects/update-address-groups-by-id/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **members** `array[string]` *required* Names of address objects or address groups. **address_group_id** `string | null` Address group UUID. Default: `null`. **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **device** `string | null` Device (serial number) that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. **folder** `string | null` Folder that contains the configuration, e.g. Shared or All Firewalls. Provide exactly one of folder, snippet, or device. Default: `null`. **name** `string | null` Address group name. Requires exactly one of folder, snippet, or device. Ignored when address_group_id is set. Default: `null`. **snippet** `string | null` Snippet that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. ## Block CIDR Action ID: `tools.pan_strata.block_cidr` Block a CIDR range by adding an address object to a static address group referenced by a deny rule. Looks up the address object by name, creates it with POST /config/objects/v1/addresses if missing, then adds it to the group with PUT /config/objects/v1/address-groups/\{id} if it is not already a member, so repeated calls do not create duplicates. Changes stay in the candidate configuration; run push_candidate_config to enforce them. Reference: [https://pan.dev/scm/api/config/ngfw/objects/create-addresses/](https://pan.dev/scm/api/config/ngfw/objects/create-addresses/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **address_group** `string` *required* Static address group that a deny rule references, e.g. tracecat-blocklist. **value** `string` *required* IPv4 or IPv6 network in CIDR notation to block, e.g. 198.51.100.0/24. **address_name** `string | null` Address object name to use instead of the generated name. Default: `null`. **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **description** `string | null` Description for a newly created address object, e.g. the case ID. Default: `null`. **device** `string | null` Device (serial number) that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. **folder** `string | null` Folder that contains the configuration, e.g. Shared or All Firewalls. Provide exactly one of folder, snippet, or device. Default: `null`. **name_prefix** `string` Prefix for generated address object names. Default: `"tc-block-"`. **snippet** `string | null` Snippet that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. **tags** `array[string] | null` Tags for a newly created address object. Default: `null`. ## Block FQDN Action ID: `tools.pan_strata.block_fqdn` Block an FQDN by adding an address object to a static address group referenced by a deny rule. Looks up the address object by name, creates it with POST /config/objects/v1/addresses if missing, then adds it to the group with PUT /config/objects/v1/address-groups/\{id} if it is not already a member, so repeated calls do not create duplicates. Changes stay in the candidate configuration; run push_candidate_config to enforce them. Reference: [https://pan.dev/scm/api/config/ngfw/objects/create-addresses/](https://pan.dev/scm/api/config/ngfw/objects/create-addresses/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **address_group** `string` *required* Static address group that a deny rule references, e.g. tracecat-blocklist. **value** `string` *required* Fully qualified domain name to block. **address_name** `string | null` Address object name to use instead of the generated name. Default: `null`. **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **description** `string | null` Description for a newly created address object, e.g. the case ID. Default: `null`. **device** `string | null` Device (serial number) that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. **folder** `string | null` Folder that contains the configuration, e.g. Shared or All Firewalls. Provide exactly one of folder, snippet, or device. Default: `null`. **name_prefix** `string` Prefix for generated address object names. Default: `"tc-block-"`. **snippet** `string | null` Snippet that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. **tags** `array[string] | null` Tags for a newly created address object. Default: `null`. ## Block IP Action ID: `tools.pan_strata.block_ip` Block an IP address by adding an address object to a static address group referenced by a deny rule. Looks up the address object by name, creates it with POST /config/objects/v1/addresses if missing, then adds it to the group with PUT /config/objects/v1/address-groups/\{id} if it is not already a member, so repeated calls do not create duplicates. Changes stay in the candidate configuration; run push_candidate_config to enforce them. Reference: [https://pan.dev/scm/api/config/ngfw/objects/create-addresses/](https://pan.dev/scm/api/config/ngfw/objects/create-addresses/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **address_group** `string` *required* Static address group that a deny rule references, e.g. tracecat-blocklist. **value** `string` *required* IPv4 or IPv6 address to block. **address_name** `string | null` Address object name to use instead of the generated name. Default: `null`. **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **description** `string | null` Description for a newly created address object, e.g. the case ID. Default: `null`. **device** `string | null` Device (serial number) that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. **folder** `string | null` Folder that contains the configuration, e.g. Shared or All Firewalls. Provide exactly one of folder, snippet, or device. Default: `null`. **name_prefix** `string` Prefix for generated address object names. Default: `"tc-block-"`. **snippet** `string | null` Snippet that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. **tags** `array[string] | null` Tags for a newly created address object. Default: `null`. ## Create address Action ID: `tools.pan_strata.create_address` Create an address object in the candidate configuration with POST /config/objects/v1/addresses. Provide exactly one of ip_netmask, ip_range, ip_wildcard, or fqdn. Push the candidate configuration to apply the change. Reference: [https://pan.dev/scm/api/config/ngfw/objects/create-addresses/](https://pan.dev/scm/api/config/ngfw/objects/create-addresses/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **name** `string` *required* Address object name (max 63 characters). **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **description** `string | null` Address object description. Default: `null`. **device** `string | null` Device (serial number) that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. **folder** `string | null` Folder that contains the configuration, e.g. Shared or All Firewalls. Provide exactly one of folder, snippet, or device. Default: `null`. **fqdn** `string | null` Fully qualified domain name, e.g. malicious.example.com. Default: `null`. **ip_netmask** `string | null` IP address with or without CIDR mask, e.g. 203.0.113.10 or 10.0.0.0/24. Default: `null`. **ip_range** `string | null` IP range, e.g. 10.0.0.1-10.0.0.20. Default: `null`. **ip_wildcard** `string | null` IP wildcard mask, e.g. 10.20.1.0/0.0.248.255. Default: `null`. **snippet** `string | null` Snippet that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. **tags** `array[string] | null` Tags to apply. Tags must already exist in the container. Default: `null`. ## Create address group Action ID: `tools.pan_strata.create_address_group` Create a static or dynamic address group in the candidate configuration with POST /config/objects/v1/address-groups. Provide exactly one of static_members or dynamic_filter. Push the candidate configuration to apply the change. Reference: [https://pan.dev/scm/api/config/ngfw/objects/create-address-groups/](https://pan.dev/scm/api/config/ngfw/objects/create-address-groups/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **name** `string` *required* Address group name (max 63 characters). **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **description** `string | null` Address group description. Default: `null`. **device** `string | null` Device (serial number) that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. **dynamic_filter** `string | null` Tag filter for a dynamic group, e.g. 'quarantine' or 'malicious' and 'external'. Default: `null`. **folder** `string | null` Folder that contains the configuration, e.g. Shared or All Firewalls. Provide exactly one of folder, snippet, or device. Default: `null`. **snippet** `string | null` Snippet that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. **static_members** `array[string] | null` Names of address objects or groups for a static group. Default: `null`. **tags** `array[string] | null` Tags to apply to the group. Default: `null`. ## Create security rule Action ID: `tools.pan_strata.create_security_rule` Create a security rule in the candidate configuration with POST /config/security/v1/security-rules?position=. The rule is added at the bottom of the rulebase; use move_security_rule to place it. Push the candidate configuration to apply the change. Reference: [https://pan.dev/scm/api/config/ngfw/security/create-security-rules/](https://pan.dev/scm/api/config/ngfw/security/create-security-rules/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **action** `string` *required* Action to take when the rule matches. Allowed values: allow, deny, drop, reset-client, reset-server, reset-both. **name** `string` *required* Security rule name. **application** `array[string]` Applications. Defaults to any. Default: `[ "any" ]`. **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **category** `array[string]` URL categories. Defaults to any. Default: `[ "any" ]`. **description** `string | null` Rule description. Default: `null`. **destination** `array[string]` Destination addresses, address groups, or EDLs. Defaults to any. Default: `[ "any" ]`. **device** `string | null` Device (serial number) that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. **disabled** `boolean` Create the rule disabled. Default: `false`. **extra_fields** `object | null` Additional API-native rule fields, e.g. negate_source or schedule. Default: `null`. **folder** `string | null` Folder that contains the configuration, e.g. Shared or All Firewalls. Provide exactly one of folder, snippet, or device. Default: `null`. **from_zones** `array[string]` Source zones. Defaults to any. Default: `[ "any" ]`. **log_setting** `string | null` Log forwarding profile. Default: `null`. **position** `string` Rulebase position of the rule. Allowed values: pre, post. Default: `"pre"`. **profile_group** `string | null` Security profile group to attach. Default: `null`. **service** `array[string]` Services, e.g. application-default or any. Defaults to any. Default: `[ "any" ]`. **snippet** `string | null` Snippet that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. **source** `array[string]` Source addresses, address groups, or EDLs. Defaults to any. Default: `[ "any" ]`. **source_user** `array[string]` Source users or groups. Defaults to any. Default: `[ "any" ]`. **tags** `array[string] | null` Tags to apply to the rule. Default: `null`. **to_zones** `array[string]` Destination zones. Defaults to any. Default: `[ "any" ]`. ## Create tag Action ID: `tools.pan_strata.create_tag` Create a tag in the candidate configuration with POST /config/objects/v1/tags. Tags drive dynamic address group membership. Push the candidate configuration to apply the change. Reference: [https://pan.dev/scm/api/config/ngfw/objects/create-tags/](https://pan.dev/scm/api/config/ngfw/objects/create-tags/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **name** `string` *required* Tag name (max 127 characters). **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **color** `string | null` Tag color name, e.g. Red or Orange. Default: `null`. **comments** `string | null` Tag comments. Default: `null`. **device** `string | null` Device (serial number) that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. **folder** `string | null` Folder that contains the configuration, e.g. Shared or All Firewalls. Provide exactly one of folder, snippet, or device. Default: `null`. **snippet** `string | null` Snippet that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. ## Delete address Action ID: `tools.pan_strata.delete_address` Delete a address object from the candidate configuration with DELETE /config/objects/v1/addresses/\{id}. Push the candidate configuration to apply the change. Reference: [https://pan.dev/scm/api/config/ngfw/objects/delete-addresses-by-id/](https://pan.dev/scm/api/config/ngfw/objects/delete-addresses-by-id/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **address_id** `string` *required* Address object UUID. **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. ## Delete address group Action ID: `tools.pan_strata.delete_address_group` Delete a address group from the candidate configuration with DELETE /config/objects/v1/address-groups/\{id}. Push the candidate configuration to apply the change. Reference: [https://pan.dev/scm/api/config/ngfw/objects/delete-address-groups-by-id/](https://pan.dev/scm/api/config/ngfw/objects/delete-address-groups-by-id/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **address_group_id** `string` *required* Address group UUID. **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. ## Delete security rule Action ID: `tools.pan_strata.delete_security_rule` Delete a security rule from the candidate configuration with DELETE /config/security/v1/security-rules/\{id}. Push the candidate configuration to apply the change. Reference: [https://pan.dev/scm/api/config/ngfw/security/delete-security-rules-by-id/](https://pan.dev/scm/api/config/ngfw/security/delete-security-rules-by-id/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **rule_id** `string` *required* Security rule UUID. **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **position** `string` Rulebase position of the rule. Allowed values: pre, post. Default: `"pre"`. ## Disable security rule Action ID: `tools.pan_strata.disable_security_rule` Disable a security rule in the candidate configuration. Reads it with GET /config/security/v1/security-rules/\{id} and writes it with PUT /config/security/v1/security-rules/\{id} only when the state changes, so repeated calls are idempotent. Push the candidate configuration to apply the change. Reference: [https://pan.dev/scm/api/config/ngfw/security/update-security-rules-by-id/](https://pan.dev/scm/api/config/ngfw/security/update-security-rules-by-id/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **rule_id** `string` *required* Security rule UUID. **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **position** `string` Rulebase position of the rule. Allowed values: pre, post. Default: `"pre"`. ## Enable security rule Action ID: `tools.pan_strata.enable_security_rule` Enable a security rule in the candidate configuration. Reads it with GET /config/security/v1/security-rules/\{id} and writes it with PUT /config/security/v1/security-rules/\{id} only when the state changes, so repeated calls are idempotent. Push the candidate configuration to apply the change. Reference: [https://pan.dev/scm/api/config/ngfw/security/update-security-rules-by-id/](https://pan.dev/scm/api/config/ngfw/security/update-security-rules-by-id/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **rule_id** `string` *required* Security rule UUID. **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **position** `string` Rulebase position of the rule. Allowed values: pre, post. Default: `"pre"`. ## Get address Action ID: `tools.pan_strata.get_address` Get a address object by ID with GET /config/objects/v1/addresses/\{id}, or by name and container with GET /config/objects/v1/addresses?name=. Reference: [https://pan.dev/scm/api/config/ngfw/objects/get-addresses-by-id/](https://pan.dev/scm/api/config/ngfw/objects/get-addresses-by-id/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **address_id** `string | null` Address object UUID. Default: `null`. **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **device** `string | null` Device (serial number) that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. **folder** `string | null` Folder that contains the configuration, e.g. Shared or All Firewalls. Provide exactly one of folder, snippet, or device. Default: `null`. **name** `string | null` Name of the address object. Requires exactly one of folder, snippet, or device. Ignored when the ID is set. Default: `null`. **snippet** `string | null` Snippet that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. ## Get address group Action ID: `tools.pan_strata.get_address_group` Get a address group by ID with GET /config/objects/v1/address-groups/\{id}, or by name and container with GET /config/objects/v1/address-groups?name=. Reference: [https://pan.dev/scm/api/config/ngfw/objects/get-address-groups-by-id/](https://pan.dev/scm/api/config/ngfw/objects/get-address-groups-by-id/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **address_group_id** `string | null` Address group UUID. Default: `null`. **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **device** `string | null` Device (serial number) that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. **folder** `string | null` Folder that contains the configuration, e.g. Shared or All Firewalls. Provide exactly one of folder, snippet, or device. Default: `null`. **name** `string | null` Name of the address group. Requires exactly one of folder, snippet, or device. Ignored when the ID is set. Default: `null`. **snippet** `string | null` Snippet that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. ## Get device Action ID: `tools.pan_strata.get_device` Get a device onboarded to Strata Cloud Manager with GET /config/setup/v1/devices/\{id}. Reference: [https://pan.dev/scm/api/config/ngfw/setup/get-device-by-id/](https://pan.dev/scm/api/config/ngfw/setup/get-device-by-id/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **device_id** `string` *required* Device ID (serial number). **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. ## Get incident Action ID: `tools.pan_strata.get_incident` Get the details of a Strata Cloud Manager incident with GET /incidents/v1/details/\{incident-id}. Reference: [https://pan.dev/scm/api/config/incidents/get-incident-details/](https://pan.dev/scm/api/config/incidents/get-incident-details/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **incident_id** `string` *required* Incident ID. **region** `string` *required* Tenant region sent as the X-PANW-Region header, e.g. americas, europe, uk, or au. **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. ## Get job Action ID: `tools.pan_strata.get_job` Get a configuration job with GET /config/operations/v1/jobs/\{id}. Returns normalized status, result, done, and succeeded fields along with the raw job. Reference: [https://pan.dev/scm/api/config/ngfw/operations/get-jobs-by-id/](https://pan.dev/scm/api/config/ngfw/operations/get-jobs-by-id/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **job_id** `string` *required* Job ID, e.g. the job_id returned by push_candidate_config. **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. ## Get security rule Action ID: `tools.pan_strata.get_security_rule` Get a security rule by ID with GET /config/security/v1/security-rules/\{id}, or by name and container with GET /config/security/v1/security-rules?name=. Reference: [https://pan.dev/scm/api/config/ngfw/security/get-security-rules-by-id/](https://pan.dev/scm/api/config/ngfw/security/get-security-rules-by-id/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **device** `string | null` Device (serial number) that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. **folder** `string | null` Folder that contains the configuration, e.g. Shared or All Firewalls. Provide exactly one of folder, snippet, or device. Default: `null`. **name** `string | null` Name of the security rule. Requires exactly one of folder, snippet, or device. Ignored when the ID is set. Default: `null`. **position** `string` Rulebase position of the rule. Allowed values: pre, post. Default: `"pre"`. **rule_id** `string | null` Security rule UUID. Default: `null`. **snippet** `string | null` Snippet that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. ## List address groups Action ID: `tools.pan_strata.list_address_groups` List address groups. Calls GET /config/objects/v1/address-groups directly; page with limit and offset. Reference: [https://pan.dev/scm/api/config/ngfw/objects/list-address-groups/](https://pan.dev/scm/api/config/ngfw/objects/list-address-groups/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **device** `string | null` Device (serial number) that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. **folder** `string | null` Folder that contains the configuration, e.g. Shared or All Firewalls. Provide exactly one of folder, snippet, or device. Default: `null`. **limit** `integer | null` Maximum number of results per page. SCM defaults to 200. Default: `null`. **offset** `integer | null` Number of results to skip before the first returned result. Use the response's total to page. Default: `null`. **snippet** `string | null` Snippet that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. ## List addresses Action ID: `tools.pan_strata.list_addresses` List address objects. Calls GET /config/objects/v1/addresses directly; page with limit and offset. Reference: [https://pan.dev/scm/api/config/ngfw/objects/list-addresses/](https://pan.dev/scm/api/config/ngfw/objects/list-addresses/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **device** `string | null` Device (serial number) that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. **folder** `string | null` Folder that contains the configuration, e.g. Shared or All Firewalls. Provide exactly one of folder, snippet, or device. Default: `null`. **limit** `integer | null` Maximum number of results per page. SCM defaults to 200. Default: `null`. **offset** `integer | null` Number of results to skip before the first returned result. Use the response's total to page. Default: `null`. **snippet** `string | null` Snippet that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. ## List devices Action ID: `tools.pan_strata.list_devices` List devices onboarded to Strata Cloud Manager. Calls GET /config/setup/v1/devices directly; page with limit and offset. Reference: [https://pan.dev/scm/api/config/ngfw/setup/list-devices/](https://pan.dev/scm/api/config/ngfw/setup/list-devices/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **limit** `integer | null` Maximum number of results per page. SCM defaults to 200. Default: `null`. **offset** `integer | null` Number of results to skip before the first returned result. Use the response's total to page. Default: `null`. ## List external dynamic lists Action ID: `tools.pan_strata.list_external_dynamic_lists` List external dynamic lists. Calls GET /config/objects/v1/external-dynamic-lists directly; page with limit and offset. Reference: [https://pan.dev/scm/api/config/ngfw/objects/list-external-dynamic-lists/](https://pan.dev/scm/api/config/ngfw/objects/list-external-dynamic-lists/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **device** `string | null` Device (serial number) that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. **folder** `string | null` Folder that contains the configuration, e.g. Shared or All Firewalls. Provide exactly one of folder, snippet, or device. Default: `null`. **limit** `integer | null` Maximum number of results per page. SCM defaults to 200. Default: `null`. **offset** `integer | null` Number of results to skip before the first returned result. Use the response's total to page. Default: `null`. **snippet** `string | null` Snippet that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. ## List folders Action ID: `tools.pan_strata.list_folders` List folders. Calls GET /config/setup/v1/folders directly; page with limit and offset. Reference: [https://pan.dev/scm/api/config/ngfw/setup/list-folders/](https://pan.dev/scm/api/config/ngfw/setup/list-folders/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **limit** `integer | null` Maximum number of results per page. SCM defaults to 200. Default: `null`. **offset** `integer | null` Number of results to skip before the first returned result. Use the response's total to page. Default: `null`. ## List jobs Action ID: `tools.pan_strata.list_jobs` List configuration jobs. Calls GET /config/operations/v1/jobs directly; page with limit and offset. Reference: [https://pan.dev/scm/api/config/ngfw/operations/list-jobs/](https://pan.dev/scm/api/config/ngfw/operations/list-jobs/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **limit** `integer | null` Maximum number of results per page. SCM defaults to 200. Default: `null`. **offset** `integer | null` Number of results to skip before the first returned result. Use the response's total to page. Default: `null`. ## List quarantined devices Action ID: `tools.pan_strata.list_quarantined_devices` List GlobalProtect devices on the quarantine list with GET /config/objects/v1/quarantined-devices, optionally filtered by host ID or serial number. Reference: [https://pan.dev/scm/api/config/ngfw/objects/list-quarantined-devices/](https://pan.dev/scm/api/config/ngfw/objects/list-quarantined-devices/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **host_id** `string | null` Filter by device host ID. Default: `null`. **serial_number** `string | null` Filter by device serial number. Default: `null`. ## List security rules Action ID: `tools.pan_strata.list_security_rules` List security rules. Calls GET /config/security/v1/security-rules directly; page with limit and offset. Reference: [https://pan.dev/scm/api/config/ngfw/security/list-rules/](https://pan.dev/scm/api/config/ngfw/security/list-rules/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **device** `string | null` Device (serial number) that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. **folder** `string | null` Folder that contains the configuration, e.g. Shared or All Firewalls. Provide exactly one of folder, snippet, or device. Default: `null`. **limit** `integer | null` Maximum number of results per page. SCM defaults to 200. Default: `null`. **offset** `integer | null` Number of results to skip before the first returned result. Use the response's total to page. Default: `null`. **position** `string` Rulebase position of the rule. Allowed values: pre, post. Default: `"pre"`. **snippet** `string | null` Snippet that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. ## List snippets Action ID: `tools.pan_strata.list_snippets` List snippets. Calls GET /config/setup/v1/snippets directly; page with limit and offset. Reference: [https://pan.dev/scm/api/config/ngfw/setup/list-snippets/](https://pan.dev/scm/api/config/ngfw/setup/list-snippets/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **limit** `integer | null` Maximum number of results per page. SCM defaults to 200. Default: `null`. **offset** `integer | null` Number of results to skip before the first returned result. Use the response's total to page. Default: `null`. ## List tags Action ID: `tools.pan_strata.list_tags` List tags. Calls GET /config/objects/v1/tags directly; page with limit and offset. Reference: [https://pan.dev/scm/api/config/ngfw/objects/list-tags/](https://pan.dev/scm/api/config/ngfw/objects/list-tags/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **device** `string | null` Device (serial number) that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. **folder** `string | null` Folder that contains the configuration, e.g. Shared or All Firewalls. Provide exactly one of folder, snippet, or device. Default: `null`. **limit** `integer | null` Maximum number of results per page. SCM defaults to 200. Default: `null`. **offset** `integer | null` Number of results to skip before the first returned result. Use the response's total to page. Default: `null`. **snippet** `string | null` Snippet that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. ## Move security rule Action ID: `tools.pan_strata.move_security_rule` Move a security rule within its rulebase with POST /config/security/v1/security-rules/\{id}:move. Push the candidate configuration to apply the change. Reference: [https://pan.dev/scm/api/config/ngfw/security/move-security-rules-by-id/](https://pan.dev/scm/api/config/ngfw/security/move-security-rules-by-id/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **destination** `string` *required* Where to move the rule. Allowed values: top, bottom, before, after. **rule_id** `string` *required* Security rule UUID. **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **destination_rule** `string | null` UUID of the reference rule. Required when destination is before or after. Default: `null`. **rulebase** `string` Rulebase of the rule. Allowed values: pre, post. Default: `"pre"`. ## Push candidate configuration Action ID: `tools.pan_strata.push_candidate_config` Push the candidate configuration of one or more folders to devices with POST /config/operations/v1/config-versions/candidate:push. Returns the job ID; use wait_for_job to wait for completion. Put this behind an approval step in containment workflows. Reference: [https://pan.dev/scm/api/config/ngfw/operations/push-candidate-config-versions/](https://pan.dev/scm/api/config/ngfw/operations/push-candidate-config-versions/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **folders** `array[string]` *required* Folders to push, e.g. \["All Firewalls"] or \["Mobile Users", "Remote Networks"]. **admin** `array[string] | null` Push only changes made by these administrators or service accounts, e.g. the client ID of this integration. Omit to push all changes in the folders. Default: `null`. **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **description** `string | null` Description of the change, e.g. the case or incident ID. Default: `null`. ## Quarantine device Action ID: `tools.pan_strata.create_quarantined_device` Add a GlobalProtect device to the quarantine list with POST /config/objects/v1/quarantined-devices. Quarantined devices can be blocked by security rules that match the quarantine list. Reference: [https://pan.dev/scm/api/config/ngfw/objects/create-quarantined-devices/](https://pan.dev/scm/api/config/ngfw/objects/create-quarantined-devices/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **host_id** `string` *required* Device host ID. **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **serial_number** `string | null` Device serial number. Default: `null`. ## Remove address group members Action ID: `tools.pan_strata.remove_address_group_members` Remove members of a static address group in the candidate configuration. Reads the group by ID or by name with GET /config/objects/v1/address-groups, and writes it with PUT /config/objects/v1/address-groups/\{id} only when membership changes, so repeated calls are idempotent. Push the candidate configuration to apply the change. Reference: [https://pan.dev/scm/api/config/ngfw/objects/update-address-groups-by-id/](https://pan.dev/scm/api/config/ngfw/objects/update-address-groups-by-id/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **members** `array[string]` *required* Names of address objects or address groups. **address_group_id** `string | null` Address group UUID. Default: `null`. **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **device** `string | null` Device (serial number) that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. **folder** `string | null` Folder that contains the configuration, e.g. Shared or All Firewalls. Provide exactly one of folder, snippet, or device. Default: `null`. **name** `string | null` Address group name. Requires exactly one of folder, snippet, or device. Ignored when address_group_id is set. Default: `null`. **snippet** `string | null` Snippet that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. ## Remove device from quarantine Action ID: `tools.pan_strata.delete_quarantined_device` Remove a GlobalProtect device from the quarantine list with DELETE /config/objects/v1/quarantined-devices?host_id=. Reference: [https://pan.dev/scm/api/config/ngfw/objects/delete-quarantined-devices/](https://pan.dev/scm/api/config/ngfw/objects/delete-quarantined-devices/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **host_id** `string` *required* Device host ID. **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. ## Search incidents Action ID: `tools.pan_strata.search_incidents` Search Strata Cloud Manager incidents with POST /incidents/v1/search. Filter rules use property, operator, and values, e.g. \{"property": "status", "operator": "in", "values": \["Raised"]}. Reference: [https://pan.dev/scm/api/config/incidents/search-incidents/](https://pan.dev/scm/api/config/incidents/search-incidents/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **region** `string` *required* Tenant region sent as the X-PANW-Region header, e.g. americas, europe, uk, or au. **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **filters** `array[object] | null` Filter rules with property, operator, and values. Default: `null`. **order_by** `array[object] | null` Sort order, e.g. \[\{"property": "updated_time", "order": "desc"}]. Default: `null`. **page_number** `integer` Page number, starting at 1. Default: `1`. **page_size** `integer` Number of incidents per page. Default: `25`. ## Unblock FQDN Action ID: `tools.pan_strata.unblock_fqdn` Unblock an FQDN blocked with the matching block action. Removes the address object from the static address group with PUT /config/objects/v1/address-groups/\{id} if it is a member, then deletes the address object with DELETE /config/objects/v1/addresses/\{id} if it exists. Repeated calls are no-ops. Changes stay in the candidate configuration; run push_candidate_config to enforce them. Reference: [https://pan.dev/scm/api/config/ngfw/objects/update-address-groups-by-id/](https://pan.dev/scm/api/config/ngfw/objects/update-address-groups-by-id/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **address_group** `string` *required* Static address group that a deny rule references, e.g. tracecat-blocklist. **value** `string` *required* Fully qualified domain name to unblock. **address_name** `string | null` Address object name to use instead of the generated name. Default: `null`. **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **delete_address** `boolean` Delete the address object after removing it from the group. Fails if other rules or groups still reference it. Default: `true`. **device** `string | null` Device (serial number) that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. **folder** `string | null` Folder that contains the configuration, e.g. Shared or All Firewalls. Provide exactly one of folder, snippet, or device. Default: `null`. **name_prefix** `string` Prefix for generated address object names. Default: `"tc-block-"`. **snippet** `string | null` Snippet that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. ## Unblock IP Action ID: `tools.pan_strata.unblock_ip` Unblock an IP address or CIDR range blocked with the matching block action. Removes the address object from the static address group with PUT /config/objects/v1/address-groups/\{id} if it is a member, then deletes the address object with DELETE /config/objects/v1/addresses/\{id} if it exists. Repeated calls are no-ops. Changes stay in the candidate configuration; run push_candidate_config to enforce them. Reference: [https://pan.dev/scm/api/config/ngfw/objects/update-address-groups-by-id/](https://pan.dev/scm/api/config/ngfw/objects/update-address-groups-by-id/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **address_group** `string` *required* Static address group that a deny rule references, e.g. tracecat-blocklist. **value** `string` *required* IPv4 or IPv6 address, or CIDR range, to unblock. **address_name** `string | null` Address object name to use instead of the generated name. Default: `null`. **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **delete_address** `boolean` Delete the address object after removing it from the group. Fails if other rules or groups still reference it. Default: `true`. **device** `string | null` Device (serial number) that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. **folder** `string | null` Folder that contains the configuration, e.g. Shared or All Firewalls. Provide exactly one of folder, snippet, or device. Default: `null`. **name_prefix** `string` Prefix for generated address object names. Default: `"tc-block-"`. **snippet** `string | null` Snippet that contains the configuration. Provide exactly one of folder, snippet, or device. Default: `null`. ## Update address Action ID: `tools.pan_strata.update_address` Update an address object in the candidate configuration. Reads it with GET /config/objects/v1/addresses/\{id}, applies only the provided fields, and writes it with PUT /config/objects/v1/addresses/\{id}. Push the candidate configuration to apply the change. Reference: [https://pan.dev/scm/api/config/ngfw/objects/update-addresses-by-id/](https://pan.dev/scm/api/config/ngfw/objects/update-addresses-by-id/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **address_id** `string` *required* Address object UUID. **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **description** `string | null` New description. Default: `null`. **fqdn** `string | null` Fully qualified domain name, e.g. malicious.example.com. Default: `null`. **ip_netmask** `string | null` IP address with or without CIDR mask, e.g. 203.0.113.10 or 10.0.0.0/24. Default: `null`. **ip_range** `string | null` IP range, e.g. 10.0.0.1-10.0.0.20. Default: `null`. **ip_wildcard** `string | null` IP wildcard mask, e.g. 10.20.1.0/0.0.248.255. Default: `null`. **name** `string | null` New name. Default: `null`. **tags** `array[string] | null` Replacement tag list. Default: `null`. ## Update address group Action ID: `tools.pan_strata.update_address_group` Update an address group in the candidate configuration. Reads it with GET /config/objects/v1/address-groups/\{id}, applies only the provided fields, and writes it with PUT /config/objects/v1/address-groups/\{id}. static_members replaces the whole member list; use add_address_group_members or remove_address_group_members for incremental changes. Reference: [https://pan.dev/scm/api/config/ngfw/objects/update-address-groups-by-id/](https://pan.dev/scm/api/config/ngfw/objects/update-address-groups-by-id/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **address_group_id** `string` *required* Address group UUID. **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **description** `string | null` New description. Default: `null`. **dynamic_filter** `string | null` Tag filter for a dynamic group, e.g. 'quarantine' or 'malicious' and 'external'. Default: `null`. **name** `string | null` New name. Default: `null`. **static_members** `array[string] | null` Names of address objects or groups for a static group. Default: `null`. **tags** `array[string] | null` Replacement tag list. Default: `null`. ## Update security rule Action ID: `tools.pan_strata.update_security_rule` Update a security rule in the candidate configuration. Reads it with GET /config/security/v1/security-rules/\{id}, merges the provided API-native fields, and writes it with PUT /config/security/v1/security-rules/\{id}. Push the candidate configuration to apply the change. Reference: [https://pan.dev/scm/api/config/ngfw/security/update-security-rules-by-id/](https://pan.dev/scm/api/config/ngfw/security/update-security-rules-by-id/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **rule_id** `string` *required* Security rule UUID. **updates** `object` *required* API-native fields to replace, e.g. \{"action": "deny", "source": \["blocked-ips"]}. **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **position** `string` Rulebase position of the rule. Allowed values: pre, post. Default: `"pre"`. ## Wait for job Action ID: `tools.pan_strata.wait_for_job` Poll GET /config/operations/v1/jobs/\{id} until the job finishes, then return normalized status, result, done, and succeeded fields. Fails when the job fails, unless raise_on_failure is false, or when it does not finish within poll_max_attempts. Reference: [https://pan.dev/scm/api/config/ngfw/operations/get-jobs-by-id/](https://pan.dev/scm/api/config/ngfw/operations/get-jobs-by-id/) ### Secrets Required secrets: * `pan_strata_oauth`: OAuth token `PAN_STRATA_SERVICE_TOKEN`. ### Input fields **job_id** `string` *required* Job ID, e.g. the job_id returned by push_candidate_config. **base_url** `string | null` SCM API base URL. Falls back to the workspace variable pan_strata.base_url, then [https://api.strata.paloaltonetworks.com](https://api.strata.paloaltonetworks.com). Set this for FedRAMP tenants. Default: `null`. **poll_interval** `number` Seconds between polls. Default: `10`. **poll_max_attempts** `integer` Maximum number of polls. Default: `60`. **raise_on_failure** `boolean` Fail the action when the job finishes unsuccessfully. Default: `true`. # Panther Source: https://docs.tracecat.com/tools/panther Reference for the Tracecat Panther integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Bulk update Panther alerts Action ID: `tools.panther.bulk_update_alerts` Update multiple Panther alerts at once. ### Secrets Required secrets: * `panther`: required values `PANTHER_API_KEY`. ### Input fields **alert_ids** `array[string]` *required* List of alert IDs to update. **base_url** `string` *required* Panther API URL (e.g. [https://api.runpanther.net](https://api.runpanther.net)). **assignee** `string | null` User ID to assign the alerts to. Default: `null`. **status** `string | null` New status for the alerts. Default: `null`. ## Create Panther query Action ID: `tools.panther.create_query` Create a new saved query in Panther. ### Secrets Required secrets: * `panther`: required values `PANTHER_API_KEY`. ### Input fields **base_url** `string` *required* Panther API URL (e.g. [https://api.runpanther.net](https://api.runpanther.net)). **name** `string` *required* Name of the saved query. **sql** `string` *required* SQL query to save. Must be valid SQL, not PantherFlow. **description** `string | null` Description of the query. Default: `null`. **schedule** `object | null` Schedule configuration for the query. Default: `null`. ## Delete Panther query Action ID: `tools.panther.delete_query` Delete a saved query from Panther. ### Secrets Required secrets: * `panther`: required values `PANTHER_API_KEY`. ### Input fields **base_url** `string` *required* Panther API URL (e.g. [https://api.runpanther.net](https://api.runpanther.net)). **query_id** `string` *required* The unique identifier of the saved query. ## Execute Panther query Action ID: `tools.panther.execute_query` Execute a saved query in Panther. ### Secrets Required secrets: * `panther`: required values `PANTHER_API_KEY`. ### Input fields **base_url** `string` *required* Panther API URL (e.g. [https://api.runpanther.net](https://api.runpanther.net)). **query_id** `string` *required* The unique identifier of the saved query. **parameters** `object | null` Parameters to pass to the query. Default: `null`. ## Get Panther alert Action ID: `tools.panther.get_alert` Get a single alert from Panther by ID. ### Secrets Required secrets: * `panther`: required values `PANTHER_API_KEY`. ### Input fields **alert_id** `string` *required* The unique identifier of the alert. **base_url** `string` *required* Panther API URL (e.g. [https://api.runpanther.net](https://api.runpanther.net)). ## Get Panther query Action ID: `tools.panther.get_query` Get a saved query from Panther by ID. ### Secrets Required secrets: * `panther`: required values `PANTHER_API_KEY`. ### Input fields **base_url** `string` *required* Panther API URL (e.g. [https://api.runpanther.net](https://api.runpanther.net)). **query_id** `string` *required* The unique identifier of the saved query. ## List Panther alerts Action ID: `tools.panther.list_alerts` List alerts from Panther with optional filters. ### Secrets Required secrets: * `panther`: required values `PANTHER_API_KEY`. ### Input fields **base_url** `string` *required* Panther API URL (e.g. [https://api.runpanther.net](https://api.runpanther.net)). **cursor** `string | null` Pagination cursor for next page. Default: `null`. **limit** `integer | null` Maximum number of alerts to return. Default: `null`. **severity** `string | null` Filter by alert severity. Default: `null`. **status** `string | null` Filter by alert status. Default: `null`. ## List Panther queries Action ID: `tools.panther.list_queries` List saved queries from Panther. ### Secrets Required secrets: * `panther`: required values `PANTHER_API_KEY`. ### Input fields **base_url** `string` *required* Panther API URL (e.g. [https://api.runpanther.net](https://api.runpanther.net)). **cursor** `string | null` Pagination cursor for next page. Default: `null`. **limit** `integer | null` Maximum number of queries to return. Default: `null`. ## Update Panther alert Action ID: `tools.panther.update_alert` Update a Panther alert's status or assignee. ### Secrets Required secrets: * `panther`: required values `PANTHER_API_KEY`. ### Input fields **alert_id** `string` *required* The unique identifier of the alert. **base_url** `string` *required* Panther API URL (e.g. [https://api.runpanther.net](https://api.runpanther.net)). **assignee** `string | null` User ID to assign the alert to. Default: `null`. **status** `string | null` New status for the alert. Default: `null`. ## Update Panther query Action ID: `tools.panther.update_query` Update a saved query in Panther. ### Secrets Required secrets: * `panther`: required values `PANTHER_API_KEY`. ### Input fields **base_url** `string` *required* Panther API URL (e.g. [https://api.runpanther.net](https://api.runpanther.net)). **query_id** `string` *required* The unique identifier of the saved query. **description** `string | null` New description for the query. Default: `null`. **name** `string | null` New name for the query. Default: `null`. **schedule** `object | null` New schedule configuration for the query. Default: `null`. **sql** `string | null` New SQL query. Must be valid SQL. Default: `null`. # PhishLabs Source: https://docs.tracecat.com/tools/phishlabs Reference for the Tracecat PhishLabs integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Get case data Action ID: `tools.phishlabs.get_case_data` Get PhishLabs case API data. Reference: [https://caseapi.phishlabs.com/v1/data/docs/](https://caseapi.phishlabs.com/v1/data/docs/) ### Secrets Required secrets: * `phishlabs`: required values `PL_USERNAME`, `PL_PASSWORD`. ### Input fields **case_status** `array[string]` Filter cases based on the case status. Default is "Pending Input". Default: `[ "Pending Input" ]`. **case_type** `array[string]` Filter cases by case type. Default: `[]`. **max_records** `integer` Maximum number of cases to return. Default is 100, minimum is 20, maximum is 200. Default: `100`. **verify_ssl** `boolean` If False, disables SSL verification for internal networks. Default: `true`. ## Get feed data Action ID: `tools.phishlabs.get_feed_data` Get PhishLabs feed API data. Reference: [https://feed.phishlabs.com/redoc#operation/Feed_GetBAFeed](https://feed.phishlabs.com/redoc#operation/Feed_GetBAFeed) ### Secrets Required secrets: * `phishlabs`: required values `PL_CUSTOMER_ID`, `PL_USERNAME`, `PL_PASSWORD`. ### Input fields **from_date** `string` The start date of date range (date and time). eg. 2023-01-01 10:00. Default: `null`. **grpcatid** `integer` Include the integer that maps to the type of incident you want returned. Default is 0. Default: `0`. **incident_status** `string` The status of the incident as it appears in the Web App. Default is "Requires Input". Default: `"Requires Input"`. **to_date** `string` The end date of date range (date and time). eg. 2023-01-07 10:00. Default: `null`. **verify_ssl** `boolean` If False, disables SSL verification for internal networks. Default: `true`. ## Get threat intel data Action ID: `tools.phishlabs.get_threat_data` Get PhishLabs Threat Intel API data. Reference: [https://threatintel.phishlabs.com/redoc/incidentexternalapi](https://threatintel.phishlabs.com/redoc/incidentexternalapi) ### Secrets Required secrets: * `phishlabs`: required values `PL_CLIENT_ID`, `PL_CLIENT_SECRET`. ### Input fields **incident_severity_codes** `array[string]` The severity of incidents to be returned. 'Low', 'Medium', 'High' Default: `[]`. **incident_status_codes** `array[string]` The status code(s) of the incident. Default: `[ "RequiresInput", "RequiresApproval" ]`. **incident_type_code** `string` The type of Incident to be returned. 'SocialMedia' or 'DarkWeb' Default: `null`. **page_size** `integer` The number of records to return per page. Default: `200`. **threat_type_codes** `array[string]` The type of Threats to be returned. Threat Types ending with "SM" are Social Media, "DW" are Dark Web. Default: `[]`. # Pipe0 Source: https://docs.tracecat.com/tools/pipe0 Reference for the Tracecat Pipe0 integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Enrich records Action ID: `tools.pipe0.enrich_records` Enrich records. Calls POST /v1/pipes/run/sync directly. Reference: [https://www.pipe0.com/docs/api/pipes/run-sync](https://www.pipe0.com/docs/api/pipes/run-sync) ### Secrets Required secrets: * `pipe0`: required values `PIPE0_API_KEY`. ### Input fields **input** `array[object]` *required* Input records to enrich. Pipe0 accepts at most 100 items. **pipes** `array[object]` *required* Pipe configurations to run. Each item takes a pipe_id and a config object. **base_url** `string | null` Base URL of the Pipe0 API. Default: `null`. **config** `object | null` Pipe0 run configuration object, covering environment, transform, widgets, and field_definitions. Default: `null`. **field_annotations** `object | null` Pipe0 field annotations object applied to the input records. Default: `null`. **scopes** `array[string] | null` Pipe0 scopes to apply to the run. Default: `null`. ## Search records Action ID: `tools.pipe0.search_records` Search records. Calls POST /v1/searches/run/sync directly. Reference: [https://www.pipe0.com/docs/api/search/run-sync](https://www.pipe0.com/docs/api/search/run-sync) ### Secrets Required secrets: * `pipe0`: required values `PIPE0_API_KEY`. ### Input fields **search** `object` *required* Pipe0 search object. Takes a search_id and a config object holding limit and filters. **base_url** `string | null` Base URL of the Pipe0 API. Default: `null`. **config** `object | null` Pipe0 run configuration object, covering environment, widgets, and field_definitions. Default: `null`. # ProjectDiscovery Source: https://docs.tracecat.com/tools/project_discovery Reference for the Tracecat ProjectDiscovery integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Create enumeration Action ID: `tools.project_discovery.create_enumeration` Create an asset enumeration. Calls POST /v1/asset/enumerate directly. Reference: [https://docs.projectdiscovery.io/api-reference/enumerations/create-enumeration](https://docs.projectdiscovery.io/api-reference/enumerations/create-enumeration) ### Secrets Required secrets: * `project_discovery`: required values `PDCP_API_KEY`. ### Input fields **agent_auto_discover** `boolean | null` Enable agent auto discovery. Default: `null`. **agent_behavior** `string | null` Agent behavior (distribute or mirror). Defaults to distribute. Default: `null`. **agent_id** `string | null` Agent ID. Default: `null`. **agent_networks** `array[string] | null` Agent networks. Default: `null`. **agent_tags** `array[string] | null` Agent tags. Default: `null`. **alerting_config_ids** `array[string] | null` Alerting config IDs. Default: `null`. **automatic_vuln_scans** `boolean | null` Enable automatic vulnerability scans. Default: `null`. **base_url** `string | null` ProjectDiscovery Cloud API base URL. Default: `null`. **cloudlist_config_ids** `array[string] | null` Cloudlist config IDs. Default: `null`. **disable_global_alert_config** `boolean | null` Disable the global alert config. Default: `null`. **enrichment_inputs** `array[string] | null` Enrichment inputs. Default: `null`. **enumeration_config** `object | null` Enumeration config object (documented keys are follow-redirect and ports). Default: `null`. **enumeration_ports** `string | null` Enumeration ports. Default: `null`. **exclude_targets** `array[string] | null` Targets to exclude. Default: `null`. **exclusions** `array[string] | null` Combined inclusion and exclusion patterns for discovery scope. Exclusion patterns (e.g. `*.staging.company.com`) filter out matching targets. Inclusion patterns use a `+` prefix (e.g. `+prod-*.company.com`) to restrict discovery to only matching targets (allowlist mode). When inclusion patterns are present, targets must match at least one inclusion pattern and not match any exclusion pattern. Supports exact domains, wildcard patterns, IP addresses, and CIDR ranges. Default: `null`. **name** `string | null` Enumeration name. Default: `null`. **per_domain_enumeration** `boolean | null` Enable per-domain enumeration. Default: `null`. **root_domains** `array[string] | null` Root domains to enumerate. Default: `null`. **steps** `array[string] | null` Enumeration steps to run (dns_resolve, dns_bruteforce, dns_permute, port_scan, http_probe, http_screenshot, endpoint_crawling, dns_passive, tls_scan, uncover_assets, dns_scraping). Default: `null`. **team_id** `string | null` Retrieve the Team ID from: [https://cloud.projectdiscovery.io/settings/team](https://cloud.projectdiscovery.io/settings/team) Default: `null`. ## Create scan Action ID: `tools.project_discovery.create_scan` Create a vulnerability scan. Calls POST /v1/scans directly. Reference: [https://docs.projectdiscovery.io/api-reference/scans/create-scan](https://docs.projectdiscovery.io/api-reference/scans/create-scan) ### Secrets Required secrets: * `project_discovery`: required values `PDCP_API_KEY`. ### Input fields **agent_behavior** `string | null` Agent behavior (distribute or mirror). Defaults to distribute. Default: `null`. **agent_id** `string | null` Agent ID. Default: `null`. **agent_networks** `array[string] | null` Agent networks. Default: `null`. **agent_tags** `array[string] | null` Agent tags. Default: `null`. **alerting_config_ids** `array[string] | null` Alerting config IDs. Default: `null`. **all** `boolean | null` Run all templates. Default: `null`. **asset_filters** `object | null` Asset filters object (documented keys are is_tech, is_favicon, is_new, labels, host, port, status_code, content_length, title, domain, cname, technologies, ip, is_screenshot, time, start_date, end_date, custom_filter, search, enumeration_ids, only_dns, only_ip, not_seen_for_days). Default: `null`. **assets** `array[string] | null` Assets to scan. Default: `null`. **automatic_scan** `boolean | null` Enable automatic scan. Default: `null`. **base_url** `string | null` ProjectDiscovery Cloud API base URL. Default: `null`. **disable_global_alert_config** `boolean | null` Disable the global alert config. Default: `null`. **disable_global_report_config** `boolean | null` Disable the global report config. Default: `null`. **disable_global_scan_config** `boolean | null` Disable the global scan config. Default: `null`. **early_templates** `array[string] | null` Early templates to run. Default: `null`. **enumeration_ids** `array[object] | null` Array of EnumerationIds objects. Each object requires `id` (string). Default: `null`. **exclude_targets** `array[string] | null` Targets to exclude. Default: `null`. **exclusions** `array[string] | null` Combined inclusion and exclusion patterns for scan scope. Exclusion patterns (e.g. `*.staging.company.com`) filter out matching targets. Inclusion patterns use a `+` prefix (e.g. `+prod-*.company.com`) to restrict scanning to only matching targets (allowlist mode). When inclusion patterns are present, targets must match at least one inclusion pattern and not match any exclusion pattern. Supports exact domains, wildcard patterns, IP addresses, and CIDR ranges. Default: `null`. **name** `string | null` Scan name. Default: `null`. **private_templates** `array[object] | null` Array of PrivateTemplates objects. Each object requires `name` (string) and `contents` (string). Default: `null`. **recommended** `boolean | null` Run recommended templates. Default: `null`. **reporting_config_ids** `array[string] | null` Reporting config IDs. Default: `null`. **scan_all_assets** `boolean | null` Scan all assets. Default: `null`. **scan_config_ids** `array[string] | null` Scan config IDs. Default: `null`. **schedule_only** `boolean | null` Only schedule the scan. Default: `null`. **socks5_proxy** `string | null` SOCKS5 proxy. Default: `null`. **targets** `array[string] | null` Targets to scan. Default: `null`. **team_id** `string | null` Retrieve the Team ID from: [https://cloud.projectdiscovery.io/settings/team](https://cloud.projectdiscovery.io/settings/team) Default: `null`. **templates** `array[string] | null` Templates to run. Default: `null`. ## Get associated domains Action ID: `tools.project_discovery.get_associated_domains` Get associated domains. Calls GET /v1/domain/associated directly. Reference: [https://docs.projectdiscovery.io/api-reference/enumerations/get-associated-domains](https://docs.projectdiscovery.io/api-reference/enumerations/get-associated-domains) ### Secrets Required secrets: * `project_discovery`: required values `PDCP_API_KEY`. ### Input fields **active** `boolean | null` Filter by liveness (true=alive, false=unreachable). Default: `null`. **base_url** `string | null` ProjectDiscovery Cloud API base URL. Default: `null`. **domain** `string | null` Domain name to fetch associated domains. If omitted, returns associated domains for all your verified domains. Default: `null`. **limit** `integer | null` Maximum results per page (pagination). If omitted, returns all. Default: `null`. **page** `integer | null` Page number (pagination, starts at 1). Default: `null`. **raw** `boolean | null` If true, returns plain text list (one domain per line). Default: `null`. **sort** `string | null` Sort results (active, domain, source, subdomain_count, update_date). Default: `null`. **source** `string | null` Comma-separated source filter (acquisition_history, certificate_history, whois_history). Default: `null`. **team_id** `string | null` Retrieve the Team ID from: [https://cloud.projectdiscovery.io/settings/team](https://cloud.projectdiscovery.io/settings/team) Default: `null`. ## Get domain leak stats Action ID: `tools.project_discovery.get_domain_leak_stats` Get public domain leak statistics. Calls GET /v1/leaks/stats/domain directly. No API key is required. Reference: [https://docs.projectdiscovery.io/api-reference/leaks/get-domain-stats](https://docs.projectdiscovery.io/api-reference/leaks/get-domain-stats) ### Input fields **domain** `string` *required* Domain to get leak statistics for. **base_url** `string | null` ProjectDiscovery Cloud API base URL. Default: `null`. **unmask_email** `boolean | null` Unmask email addresses in the results. Default: `null`. ## Get email leak stats Action ID: `tools.project_discovery.get_email_leak_stats` Get public email leak statistics. Calls GET /v1/leaks/stats/email directly. No API key is required. Reference: [https://docs.projectdiscovery.io/api-reference/leaks/get-email-stats](https://docs.projectdiscovery.io/api-reference/leaks/get-email-stats) ### Input fields **email** `string` *required* Email to get stats for. **base_url** `string | null` ProjectDiscovery Cloud API base URL. Default: `null`. **unmask_email** `boolean | null` Unmask email addresses in the results. Default: `null`. ## Get enumeration Action ID: `tools.project_discovery.get_enumeration` Get an enumeration. Calls GET /v1/asset/enumerate/\{enumerate_id} directly. Reference: [https://docs.projectdiscovery.io/api-reference/enumerations/get-enumeration](https://docs.projectdiscovery.io/api-reference/enumerations/get-enumeration) ### Secrets Required secrets: * `project_discovery`: required values `PDCP_API_KEY`. ### Input fields **enumerate_id** `string` *required* Enumeration ID. **base_url** `string | null` ProjectDiscovery Cloud API base URL. Default: `null`. **team_id** `string | null` Retrieve the Team ID from: [https://cloud.projectdiscovery.io/settings/team](https://cloud.projectdiscovery.io/settings/team) Default: `null`. ## Get enumeration contents Action ID: `tools.project_discovery.get_enumeration_contents` Get enumeration contents. Calls GET /v1/asset/enumerate/\{enumerate_id}/contents directly. Reference: [https://docs.projectdiscovery.io/api-reference/enumerations/get-enumeration-contents](https://docs.projectdiscovery.io/api-reference/enumerations/get-enumeration-contents) ### Secrets Required secrets: * `project_discovery`: required values `PDCP_API_KEY`. ### Input fields **enumerate_id** `string` *required* Enumeration ID. **base_url** `string | null` ProjectDiscovery Cloud API base URL. Default: `null`. **cname** `string | null` cname to filter Default: `null`. **content_length** `string | null` Filter by comma separated content lengths, e.g-> content_length=p1,p2 Default: `null`. **custom_filter** `string | null` custom query to filter. double encode the query string. Default: `null`. **domain** `string | null` Filter by comma separated domain names, e.g-> domain=domain1.com,domain2.com Default: `null`. **end_date** `string | null` time filter end date (YYYY-MM-DD). Default: `null`. **favicon** `string | null` Filter by comma separated favicons, e.g-> favicon=p1,p2 Default: `null`. **host** `string | null` Filter by comma separated hosts, e.g-> host=p1,p2 Default: `null`. **ip** `string | null` ips to filter Default: `null`. **is_favicon** `boolean | null` Return the records that have favicon. Default: `null`. **is_internal** `boolean | null` filter by is_internal (internal vs external hosts) Default: `null`. **is_new** `boolean | null` Filter by new content. Default: `null`. **is_screenshot** `boolean | null` asset with screenshots Default: `null`. **is_tech** `boolean | null` Return records that have technologies. Default: `null`. **labels** `string | null` Filter by comma separated labels, e.g-> labels=p1,p2 Default: `null`. **limit** `integer | null` The numbers of items to return. Default: `null`. **not_seen_for_days** `integer | null` Return assets that haven't been seen in the last N days. An asset is only included if a scan that covers it has run during that period without rediscovering it, so assets that simply haven't been rescanned recently are not matched. Default: `null`. **offset** `integer | null` The number of items to skip before starting to collect the result set. Default: `null`. **only_dns** `boolean | null` Query only dns FQDN records. Default: `null`. **only_ip** `boolean | null` Query only dns IP records. Default: `null`. **port** `string | null` Filter by comma separated ports, e.g-> port=p1,p2 Default: `null`. **search** `string | null` Search on the content name. Default: `null`. **sort_asc** `string | null` comma separated ascending sorting e.g sort_asc=created_at,name Default: `null`. **sort_desc** `string | null` comma separated descending sorting e.g sort_desc=created_at,name Default: `null`. **start_date** `string | null` time filter start date (YYYY-MM-DD). Default: `null`. **status_code** `string | null` Filter by comma separated status codes, e.g-> status_code=p1,p2 Default: `null`. **team_id** `string | null` Retrieve the Team ID from: [https://cloud.projectdiscovery.io/settings/team](https://cloud.projectdiscovery.io/settings/team) Default: `null`. **technologies** `string | null` technologies to filter Default: `null`. **time** `string | null` time filter to select (last_day, last_week, last_month, last_3_months, last_6_months, last_12_months, all_time). Defaults to all_time. Default: `null`. **title** `string | null` Filter by comma separated titles, e.g-> title=p1,p2 Default: `null`. ## Get leak info Action ID: `tools.project_discovery.get_leak_info` Get leak information. Calls POST /v1/leaks/info directly. Reference: [https://docs.projectdiscovery.io/api-reference/leaks/get-leak-info](https://docs.projectdiscovery.io/api-reference/leaks/get-leak-info) ### Secrets Required secrets: * `project_discovery`: required values `PDCP_API_KEY`. ### Input fields **leakid** `string` *required* 32-character MD5 hash identifying the leak (from list_leaks). **base_url** `string | null` ProjectDiscovery Cloud API base URL. Default: `null`. ## Get scan Action ID: `tools.project_discovery.get_scan` Get a scan. Calls GET /v1/scans/\{scan_id} directly. Reference: [https://docs.projectdiscovery.io/api-reference/scans/get-scan](https://docs.projectdiscovery.io/api-reference/scans/get-scan) ### Secrets Required secrets: * `project_discovery`: required values `PDCP_API_KEY`. ### Input fields **scan_id** `string` *required* Scan ID. **base_url** `string | null` ProjectDiscovery Cloud API base URL. Default: `null`. **team_id** `string | null` Retrieve the Team ID from: [https://cloud.projectdiscovery.io/settings/team](https://cloud.projectdiscovery.io/settings/team) Default: `null`. ## Get vulnerability Action ID: `tools.project_discovery.get_vulnerability` Get a vulnerability finding. Calls GET /v2/vulnerability/\{vulnerability_id} directly. Reference: [https://docs.projectdiscovery.io/api-reference/get-vulnerability-by-id](https://docs.projectdiscovery.io/api-reference/get-vulnerability-by-id) ### Secrets Required secrets: * `project_discovery`: required values `PDCP_API_KEY`. ### Input fields **vulnerability_id** `string` *required* Vulnerability ID. **base_url** `string | null` ProjectDiscovery Cloud API base URL. Default: `null`. **fields** `string | null` template data fields Default: `null`. ## Get vulnerability filters Action ID: `tools.project_discovery.get_vulnerability_filters` Get vulnerability filters. Calls GET /v2/vulnerability/filters directly. Reference: [https://docs.projectdiscovery.io/api-reference/get-all-filters-for-vulnerabilities](https://docs.projectdiscovery.io/api-reference/get-all-filters-for-vulnerabilities) ### Secrets Required secrets: * `project_discovery`: required values `PDCP_API_KEY`. ### Input fields **base_url** `string | null` ProjectDiscovery Cloud API base URL. Default: `null`. ## Get vulnerability timeline Action ID: `tools.project_discovery.get_vulnerability_timeline` Get a vulnerability timeline. Calls GET /v2/vulnerability/\{vulnerability_id}/timeline directly. Reference: [https://docs.projectdiscovery.io/api-reference/results/get-vulnerability-timeline](https://docs.projectdiscovery.io/api-reference/results/get-vulnerability-timeline) ### Secrets Required secrets: * `project_discovery`: required values `PDCP_API_KEY`. ### Input fields **vulnerability_id** `string` *required* Vulnerability ID. **base_url** `string | null` ProjectDiscovery Cloud API base URL. Default: `null`. **event_type** `string | null` Filter by event types (comma-separated). Supported values are detected, status_change, resolved, reopened, severity_change, template_released, template_updated. If not provided, returns all events. Default: `null`. ## List enumeration contents Action ID: `tools.project_discovery.list_enumeration_contents` List enumeration contents. Calls GET /v1/asset/enumerate/contents directly. Reference: [https://docs.projectdiscovery.io/api-reference/enumerations/get-all-enumeration-contents](https://docs.projectdiscovery.io/api-reference/enumerations/get-all-enumeration-contents) ### Secrets Required secrets: * `project_discovery`: required values `PDCP_API_KEY`. ### Input fields **base_url** `string | null` ProjectDiscovery Cloud API base URL. Default: `null`. **cname** `string | null` cname to filter Default: `null`. **content_length** `string | null` Filter by comma separated content lengths, e.g-> content_length=p1,p2 Default: `null`. **custom_filter** `string | null` custom query to filter. double encode the query string. Default: `null`. **domain** `string | null` Filter by comma separated domain names, e.g-> domain=domain1.com,domain2.com Default: `null`. **favicon** `string | null` Filter by comma separated favicons, e.g-> favicon=p1,p2 Default: `null`. **host** `string | null` Filter by comma separated hosts, e.g-> host=p1,p2 Default: `null`. **ip** `string | null` ips to filter Default: `null`. **is_favicon** `boolean | null` Return the records that have favicon. Default: `null`. **is_internal** `boolean | null` filter by is_internal (internal vs external hosts) Default: `null`. **is_new** `boolean | null` Filter by new content. Default: `null`. **is_screenshot** `boolean | null` asset with screenshots Default: `null`. **is_tech** `boolean | null` Return records that have technologies. Default: `null`. **labels** `string | null` Filter by comma separated labels, e.g-> labels=p1,p2 Default: `null`. **limit** `integer | null` The numbers of items to return. Default: `null`. **not_seen_for_days** `integer | null` Return assets that haven't been seen in the last N days. An asset is only included if a scan that covers it has run during that period without rediscovering it, so assets that simply haven't been rescanned recently are not matched. Default: `null`. **offset** `integer | null` The number of items to skip before starting to collect the result set. Default: `null`. **only_dns** `boolean | null` Query only dns FQDN records. Default: `null`. **only_ip** `boolean | null` Query only dns IP records. Default: `null`. **port** `string | null` Filter by comma separated ports, e.g-> port=p1,p2 Default: `null`. **search** `string | null` Search on the content name. Default: `null`. **sort_asc** `string | null` comma separated ascending sorting e.g sort_asc=created_at,name Default: `null`. **sort_desc** `string | null` comma separated descending sorting e.g sort_desc=created_at,name Default: `null`. **status_code** `string | null` Filter by comma separated status codes, e.g-> status_code=p1,p2 Default: `null`. **team_id** `string | null` Retrieve the Team ID from: [https://cloud.projectdiscovery.io/settings/team](https://cloud.projectdiscovery.io/settings/team) Default: `null`. **technologies** `string | null` technologies to filter Default: `null`. **time** `string | null` time filter to select (last_day, last_week, last_month, last_3_months, last_6_months, last_12_months, all_time). Defaults to all_time. Default: `null`. **title** `string | null` Filter by comma separated titles, e.g-> title=p1,p2 Default: `null`. ## List enumerations Action ID: `tools.project_discovery.list_enumerations` List asset enumerations. Calls GET /v1/asset/enumerate directly. Reference: [https://docs.projectdiscovery.io/api-reference/enumerations/get-enumeration-list](https://docs.projectdiscovery.io/api-reference/enumerations/get-enumeration-list) ### Secrets Required secrets: * `project_discovery`: required values `PDCP_API_KEY`. ### Input fields **base_url** `string | null` ProjectDiscovery Cloud API base URL. Default: `null`. **custom_filter** `string | null` custom query to filter. double encode the query string. Default: `null`. **end_date** `string | null` time filter end date (YYYY-MM-DD). Default: `null`. **enum_type** `string | null` types of enumeration list (comma seperated) Default: `null`. **is_internal** `boolean | null` filter by internal enumerations Default: `null`. **limit** `integer | null` The numbers of items to return. Default: `null`. **offset** `integer | null` The number of items to skip before starting to collect the result set. Default: `null`. **search** `string | null` search keyword in enumeration list Default: `null`. **sort_asc** `string | null` comma separated ascending sorting e.g sort_asc=created_at,name Default: `null`. **sort_desc** `string | null` comma separated descending sorting e.g sort_desc=created_at,name Default: `null`. **start_date** `string | null` time filter start date (YYYY-MM-DD). Default: `null`. **status** `string | null` comma separated filter enumeration result by status Default: `null`. **team_id** `string | null` Retrieve the Team ID from: [https://cloud.projectdiscovery.io/settings/team](https://cloud.projectdiscovery.io/settings/team) Default: `null`. **time** `string | null` time range to get enumerations from (last_day, last_week, last_month, last_3_months, last_6_months, last_12_months, all_time). Defaults to all_time. Default: `null`. ## List leaks Action ID: `tools.project_discovery.list_leaks` List leaks. Calls GET /v1/leaks directly. Reference: [https://docs.projectdiscovery.io/api-reference/leaks](https://docs.projectdiscovery.io/api-reference/leaks) ### Secrets Required secrets: * `project_discovery`: required values `PDCP_API_KEY`. ### Input fields **base_url** `string | null` ProjectDiscovery Cloud API base URL. Default: `null`. **country** `string | null` Filter by specific country (used with group_by for drill-down). Default: `null`. **device_ip** `string | null` Filter by specific device IP (used with group_by for drill-down). Default: `null`. **domain** `string | null` Filter leaks by specific domain (applies to employee/customer leaks). Default: `null`. **email** `string | null` Filter leaks by specific email (can be personal, employee, or customer email from user's authorized results). Default: `null`. **end_date** `string | null` time filter end date (YYYY-MM-DD). Default: `null`. **group_by** `string | null` Group results by field - returns group summaries when used without field-specific filtering. Supported fields are url, country, device_ip, hostname, email, hardware_id. Default: `null`. **hardware_id** `string | null` Filter by specific hardware ID (used with group_by for drill-down). Default: `null`. **hostname** `string | null` Filter by specific hostname (used with group_by for drill-down). Default: `null`. **limit** `integer | null` Number of results per page for pagination. Default: `null`. **page_number** `integer | null` Page number for pagination (starts from 1). Default: `null`. **search** `string | null` Search query to filter results across all fields. Default: `null`. **sort_by** `string | null` supported sort fields (url, username, log_date, country, device_ip, host_username, hostname, os, hardware_id, malware_path) Default: `null`. **sort_order** `string | null` supported sort order (asc or desc) Default: `null`. **start_date** `string | null` time filter start date (YYYY-MM-DD). Default: `null`. **status** `string | null` supported status (fixed or open) Default: `null`. **time_range** `string | null` Time range (all_time, current_month, last_month, last_3_months, last_6_months, last_12_months). Defaults to all_time. Default: `null`. **type** `string | null` Filter by specific leak type (single value only). Supported values are all, personal, employee, customer, external_vendor_leaks, organization_leaks. Default: `null`. **url** `string | null` Filter by specific URL (used with group_by for drill-down). Default: `null`. ## List scan results Action ID: `tools.project_discovery.list_scan_results` List vulnerability scan results. Calls GET /v1/scans/results directly. Reference: [https://docs.projectdiscovery.io/api-reference/results/get-all-results](https://docs.projectdiscovery.io/api-reference/results/get-all-results) ### Secrets Required secrets: * `project_discovery`: required values `PDCP_API_KEY`. ### Input fields **asset_metadata** `boolean | null` Asset details for the vulnerability. Default: `null`. **base_url** `string | null` ProjectDiscovery Cloud API base URL. Default: `null`. **category** `string | null` filter by comma separated categories e.g category=cve,xss Default: `null`. **domain** `string | null` comma separated domain names e.g-> domain=domain1.com,domain2.com Default: `null`. **host** `string | null` comma separated host e.g. hosts=[https://example.com,https://x.com](https://example.com,https://x.com) Default: `null`. **is_internal** `boolean | null` filter by is_internal (internal vs external hosts) Default: `null`. **is_regression** `boolean | null` filter by is_regression Default: `null`. **is_ticket** `boolean | null` Return the records that have issue trackers. Default: `null`. **labels** `string | null` filter by comma separated labels e.g labels=p1,p2 Default: `null`. **limit** `integer | null` number of results to get Default: `null`. **offset** `integer | null` number of results to skip Default: `null`. **port** `string | null` comma separated ports e.g. ports=80,443 Default: `null`. **search** `string | null` search term Default: `null`. **severity** `string | null` string separated by comma e.g. info,high. Defaults to unknown,low,medium,high,critical. Default: `null`. **sort_asc** `string | null` comma separated ascending sorting e.g sort_asc=created_at,severity Default: `null`. **sort_desc** `string | null` comma separated descending sorting e.g sort_desc=created_at,severity Default: `null`. **tags** `string | null` comma separated tags e.g tags=xss,cve Default: `null`. **team_id** `string | null` Retrieve the Team ID from: [https://cloud.projectdiscovery.io/settings/team](https://cloud.projectdiscovery.io/settings/team) Default: `null`. **templates** `string | null` comma separated templates e.g. templates=tech-detect,azure-takeover Default: `null`. **time** `string | null` filter by time ( last_day, last_week, last_month ) Default: `null`. **vuln_status** `string | null` comma separated vuln_status e.g vuln_status=open,fixed Default: `null`. ## List scans Action ID: `tools.project_discovery.list_scans` List vulnerability scans. Calls GET /v1/scans directly. Reference: [https://docs.projectdiscovery.io/api-reference/scans/get-scan-list](https://docs.projectdiscovery.io/api-reference/scans/get-scan-list) ### Secrets Required secrets: * `project_discovery`: required values `PDCP_API_KEY`. ### Input fields **base_url** `string | null` ProjectDiscovery Cloud API base URL. Default: `null`. **is_internal** `boolean | null` filter by internal scans Default: `null`. **limit** `integer | null` number of scan-status results to fetch Default: `null`. **offset** `integer | null` number of scan-status results to skip Default: `null`. **search** `string | null` search term for running scans Default: `null`. **sort_asc** `string | null` comma separated ascending sorting e.g sort_asc=created_at,severity Default: `null`. **sort_desc** `string | null` comma separated descending sorting e.g sort_desc=created_at,severity Default: `null`. **status** `string | null` filter by status (failed, finished, queued, running, starting, uploaded, scheduled) Default: `null`. **team_id** `string | null` Retrieve the Team ID from: [https://cloud.projectdiscovery.io/settings/team](https://cloud.projectdiscovery.io/settings/team) Default: `null`. ## List vulnerability changelogs Action ID: `tools.project_discovery.list_vulnerability_changelogs` List vulnerability changelogs. Calls GET /v1/scans/vuln/changelogs directly. Reference: [https://docs.projectdiscovery.io/api-reference/results/get-all-vulnerability-changelogs](https://docs.projectdiscovery.io/api-reference/results/get-all-vulnerability-changelogs) ### Secrets Required secrets: * `project_discovery`: required values `PDCP_API_KEY`. ### Input fields **base_url** `string | null` ProjectDiscovery Cloud API base URL. Default: `null`. **event_type** `string | null` comma separated event_type e.g. event_type=vul_status,vul_status_change Default: `null`. **limit** `integer | null` number of results to get Default: `null`. **offset** `integer | null` number of results to skip Default: `null`. **sort_asc** `string | null` comma separated ascending sorting e.g sort_asc=created_at,severity Default: `null`. **sort_desc** `string | null` comma separated descending sorting e.g sort_desc=created_at,severity Default: `null`. **team_id** `string | null` Retrieve the Team ID from: [https://cloud.projectdiscovery.io/settings/team](https://cloud.projectdiscovery.io/settings/team) Default: `null`. **time** `string | null` time filter to select (last_day, last_week, last_month, last_3_months, last_6_months, last_12_months, all_time). Defaults to all_time. Default: `null`. ## Rescan enumeration Action ID: `tools.project_discovery.rescan_enumeration` Rescan an enumeration. Calls POST /v1/asset/enumerate/\{enumerate_id}/rescan directly. Reference: [https://docs.projectdiscovery.io/api-reference/enumerations/rescan-enumeration](https://docs.projectdiscovery.io/api-reference/enumerations/rescan-enumeration) ### Secrets Required secrets: * `project_discovery`: required values `PDCP_API_KEY`. ### Input fields **enumerate_id** `string` *required* Enumeration ID to rescan. **base_url** `string | null` ProjectDiscovery Cloud API base URL. Default: `null`. **team_id** `string | null` Retrieve the Team ID from: [https://cloud.projectdiscovery.io/settings/team](https://cloud.projectdiscovery.io/settings/team) Default: `null`. ## Rescan scan Action ID: `tools.project_discovery.rescan_scan` Rescan a vulnerability scan. Calls POST /v1/scans/\{scan_id}/rescan directly. Reference: [https://docs.projectdiscovery.io/api-reference/scans/rescan-scan](https://docs.projectdiscovery.io/api-reference/scans/rescan-scan) ### Secrets Required secrets: * `project_discovery`: required values `PDCP_API_KEY`. ### Input fields **scan_id** `string` *required* Scan ID to rescan. **base_url** `string | null` ProjectDiscovery Cloud API base URL. Default: `null`. **team_id** `string | null` Retrieve the Team ID from: [https://cloud.projectdiscovery.io/settings/team](https://cloud.projectdiscovery.io/settings/team) Default: `null`. ## Search vulnerabilities Action ID: `tools.project_discovery.search_vulnerabilities` Search vulnerability findings. Calls GET /v2/vulnerability/search directly. Reference: [https://docs.projectdiscovery.io/api-reference/full-text-search](https://docs.projectdiscovery.io/api-reference/full-text-search) ### Secrets Required secrets: * `project_discovery`: required values `PDCP_API_KEY`. ### Input fields **base_url** `string | null` ProjectDiscovery Cloud API base URL. Default: `null`. **facet_size** `integer | null` Number of facets to return. Default: `null`. **fields** `string | null` List of fields to return (comma separated). Default: `null`. **highlight** `boolean | null` Whether to highlight the search results. Default: `null`. **limit** `integer | null` The numbers of items to return. Default: `null`. **offset** `integer | null` The numbers of items to skip. Default: `null`. **q** `string | null` Search query. Default: `null`. **range_facets** `string | null` List of range facet fields (comma separated). Default: `null`. **sort_asc** `string | null` Sort results in ascending order (CSV field names). Default: `null`. **sort_desc** `string | null` Sort results in descending order (CSV field names). Default: `null`. **term_facets** `string | null` List of term facet fields (comma separated). Default: `null`. # Proofpoint TAP Source: https://docs.tracecat.com/tools/proofpoint_tap Reference for the Tracecat Proofpoint TAP integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Decode URLs Action ID: `tools.proofpoint_tap.decode_urls` Decode URLs rewritten by Proofpoint URL Defense back to their original destinations with POST /v2/url/decode. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/URL_Decoder_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/URL_Decoder_API) ### Secrets Required secrets: * `proofpoint_tap`: required values `PROOFPOINT_TAP_SERVICE_PRINCIPAL`, `PROOFPOINT_TAP_SERVICE_SECRET`. ### Input fields **urls** `array[string]` *required* Rewritten URLs to decode. **base_url** `string | null` Proofpoint TAP API base URL. Defaults to [https://tap-api-v2.proofpoint.com](https://tap-api-v2.proofpoint.com). Default: `null`. ## Get campaign Action ID: `tools.proofpoint_tap.get_campaign` Get details for a campaign, including its description, actors, malware families, techniques, and threat variants, with GET /v2/campaign/\{campaignId}. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Campaign_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Campaign_API) ### Secrets Required secrets: * `proofpoint_tap`: required values `PROOFPOINT_TAP_SERVICE_PRINCIPAL`, `PROOFPOINT_TAP_SERVICE_SECRET`. ### Input fields **campaignId** `string` *required* Campaign ID. **base_url** `string | null` Proofpoint TAP API base URL. Defaults to [https://tap-api-v2.proofpoint.com](https://tap-api-v2.proofpoint.com). Default: `null`. ## Get forensics Action ID: `tools.proofpoint_tap.get_forensics` Get forensic evidence (sandbox behaviors, network activity, dropped files, and IOCs) for a threat or campaign with GET /v2/forensics. Provide exactly one of threatId or campaignId. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Forensics_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Forensics_API) ### Secrets Required secrets: * `proofpoint_tap`: required values `PROOFPOINT_TAP_SERVICE_PRINCIPAL`, `PROOFPOINT_TAP_SERVICE_SECRET`. ### Input fields **base_url** `string | null` Proofpoint TAP API base URL. Defaults to [https://tap-api-v2.proofpoint.com](https://tap-api-v2.proofpoint.com). Default: `null`. **campaignId** `string | null` Campaign ID to get forensics for. Provide exactly one of threatId or campaignId. Default: `null`. **includeCampaignForensics** `boolean | null` Whether to include forensics for the campaign the threat belongs to. Only valid with threatId. Defaults to false. Default: `null`. **threatId** `string | null` Threat ID to get forensics for. Provide exactly one of threatId or campaignId. Default: `null`. ## Get threat summary Action ID: `tools.proofpoint_tap.get_threat_summary` Get a summary of a threat, including its type, status, severity, classification, and associated campaigns and actors, with GET /v2/threat/summary/\{threatId}. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Threat_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Threat_API) ### Secrets Required secrets: * `proofpoint_tap`: required values `PROOFPOINT_TAP_SERVICE_PRINCIPAL`, `PROOFPOINT_TAP_SERVICE_SECRET`. ### Input fields **threatId** `string` *required* Threat ID. **base_url** `string | null` Proofpoint TAP API base URL. Defaults to [https://tap-api-v2.proofpoint.com](https://tap-api-v2.proofpoint.com). Default: `null`. ## List campaign IDs Action ID: `tools.proofpoint_tap.list_campaign_ids` List IDs of campaigns active in a time window with GET /v2/campaign/ids. The interval must be between 30 seconds and 1 day. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Campaign_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Campaign_API) ### Secrets Required secrets: * `proofpoint_tap`: required values `PROOFPOINT_TAP_SERVICE_PRINCIPAL`, `PROOFPOINT_TAP_SERVICE_SECRET`. ### Input fields **interval** `string` *required* ISO 8601 time interval to query, e.g. 2020-05-01T12:00:00Z/2020-05-01T13:00:00Z. Must span between 30 seconds and 1 day. **base_url** `string | null` Proofpoint TAP API base URL. Defaults to [https://tap-api-v2.proofpoint.com](https://tap-api-v2.proofpoint.com). Default: `null`. **page** `integer | null` Page of results to return, starting at 1. Defaults to 1. Default: `null`. **size** `integer | null` Maximum number of campaign IDs per page. Defaults to 100; maximum 200. Default: `null`. ## List top clickers Action ID: `tools.proofpoint_tap.list_top_clickers` List the users who clicked the most malicious URLs over a time window with GET /v2/people/top-clickers. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/People_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/People_API) ### Secrets Required secrets: * `proofpoint_tap`: required values `PROOFPOINT_TAP_SERVICE_PRINCIPAL`, `PROOFPOINT_TAP_SERVICE_SECRET`. ### Input fields **window** `integer` *required* Number of days to report on. Valid values: 14, 30, 90. **base_url** `string | null` Proofpoint TAP API base URL. Defaults to [https://tap-api-v2.proofpoint.com](https://tap-api-v2.proofpoint.com). Default: `null`. **page** `integer | null` Page of results to return, starting at 1. Defaults to 1. Default: `null`. **size** `integer | null` Maximum number of people per page. Defaults to 100; maximum 200. Default: `null`. ## List very attacked people Action ID: `tools.proofpoint_tap.list_very_attacked_people` List Very Attacked People (VAPs) in the organization ranked by attack index over a time window with GET /v2/people/vap. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/People_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/People_API) ### Secrets Required secrets: * `proofpoint_tap`: required values `PROOFPOINT_TAP_SERVICE_PRINCIPAL`, `PROOFPOINT_TAP_SERVICE_SECRET`. ### Input fields **window** `integer` *required* Number of days to report on. Valid values: 14, 30, 90. **base_url** `string | null` Proofpoint TAP API base URL. Defaults to [https://tap-api-v2.proofpoint.com](https://tap-api-v2.proofpoint.com). Default: `null`. **page** `integer | null` Page of results to return, starting at 1. Defaults to 1. Default: `null`. **size** `integer | null` Maximum number of people per page. Defaults to 1000. Default: `null`. # Proofpoint Threat Protection Source: https://docs.tracecat.com/tools/proofpoint_threat_protection Reference for the Tracecat Proofpoint Threat Protection integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Get BEC messages protected Action ID: `tools.proofpoint_threat_protection.get_bec_messages_protected` Get BEC messages protected statistics. Calls GET /api/v1/dash/reports/bec-reports/messages-protected. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time in ISO 8601 UTC format. **start** `string` *required* Start time in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. ## Get BEC messages protected trend Action ID: `tools.proofpoint_threat_protection.get_bec_messages_protected_trend` Get BEC messages protected trend data over time. Calls GET /api/v1/dash/reports/bec-reports/bec-messages-protected-trend. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time in ISO 8601 UTC format. **start** `string` *required* Start time in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. **groupBy** `string | null` Time grouping. Valid values: DAY, WEEK, MONTH, QUARTER. Defaults to DAY. Default: `null`. ## Get BEC themes trend Action ID: `tools.proofpoint_threat_protection.get_bec_themes_trend` Get BEC themes trend data over time. Calls GET /api/v1/dash/reports/bec-reports/bec-themes-trend. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time in ISO 8601 UTC format. **start** `string` *required* Start time in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. **groupBy** `string | null` Time grouping. Valid values: DAY, WEEK, MONTH. Allowed values depend on date range: 0-13 days: DAY only; 14-30 days: DAY, WEEK; 31-89 days: DAY, WEEK, MONTH; 90 days: WEEK, MONTH, QUARTER. Defaults to DAY. Default: `null`. ## Get effectiveness clicks protected Action ID: `tools.proofpoint_threat_protection.get_effectiveness_clicks_protected` Get metrics about malicious clicks that were blocked or protected. Calls GET /api/v1/dash/reports/effectiveness-reports/clicks-protected. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time for the reporting period in ISO 8601 UTC format. **start** `string` *required* Start time for the reporting period in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. **groupBy** `string | null` Time grouping for results. Valid values: DAY, WEEK, MONTH. Defaults to WEEK. Default: `null`. ## Get effectiveness custom blocklist activity Action ID: `tools.proofpoint_threat_protection.get_effectiveness_custom_blocklist_activity` Get activity metrics for custom blocklists configured in the system. Calls GET /api/v1/dash/reports/effectiveness-reports/custom-blocklist-activity. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time for the reporting period in ISO 8601 UTC format. **start** `string` *required* Start time for the reporting period in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. ## Get effectiveness messages protected Action ID: `tools.proofpoint_threat_protection.get_effectiveness_messages_protected` Get metrics about messages protected with optional breakdown by threat type or other dimensions. Calls GET /api/v1/dash/reports/effectiveness-reports/messages-protected. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time for the reporting period in ISO 8601 UTC format. **start** `string` *required* Start time for the reporting period in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. **breakdown** `string | null` Breakdown dimension for the data. Valid values: by-threat-type, by-threat-category. Defaults to by-threat-type. Default: `null`. ## Get effectiveness messages protected trend Action ID: `tools.proofpoint_threat_protection.get_effectiveness_messages_protected_trend` Get trend data for messages protected over time with various filtering and grouping options. Calls GET /api/v1/dash/reports/effectiveness-reports/messages-protected-trend. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time for the reporting period in ISO 8601 UTC format. **start** `string` *required* Start time for the reporting period in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. **breakdown** `string | null` Breakdown dimension for the data. Valid values: by-threat-type, by-threat-category. Defaults to by-threat-type. Default: `null`. **category** `string | null` Message category filter (when breakdown=by-threat-category). Valid values: MALWARE, PHISHING, SPAM, BEC, TOAD. Default: `null`. **groupBy** `string | null` Time grouping for results. Valid values: DAY, WEEK, MONTH, QUARTER. Allowed values depend on data range: 0-13 days: DAY only; 14-30 days: DAY, WEEK; 31-89 days: DAY, WEEK, MONTH; 90 days: WEEK, MONTH, QUARTER. Defaults to DAY. Default: `null`. **type** `string | null` Message type filter (when breakdown=by-threat-type). Valid values: ALL, URL, ATTACHMENT, MESSAGE, HYBRID. Default: `null`. ## Get effectiveness threat response quarantines Action ID: `tools.proofpoint_threat_protection.get_effectiveness_threat_response_quarantines` Get metrics about messages quarantined by Threat Response actions. Calls GET /api/v1/dash/reports/effectiveness-reports/threat-response-quarantines. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time for the reporting period in ISO 8601 UTC format. **start** `string` *required* Start time for the reporting period in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. **groupBy** `string | null` Time grouping for results. Valid values: DAY, WEEK, MONTH. Defaults to WEEK. Default: `null`. ## Get effectiveness URL rewritten summary Action ID: `tools.proofpoint_threat_protection.get_effectiveness_url_rewritten_summary` Get summary metrics for URLs that have been rewritten by URL Defense. Calls GET /api/v1/dash/reports/effectiveness-reports/url-rewritten-summary. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time for the reporting period in ISO 8601 UTC format. **start** `string` *required* Start time for the reporting period in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. ## Get executive summary advanced threat detection messages protected Action ID: `tools.proofpoint_threat_protection.get_executive_summary_advanced_threat_detection_messages_protected` Get detailed metrics about messages protected by advanced threat detection, with breakdowns by threat type or other dimensions. Calls GET /api/v1/dash/reports/executive-summary/advanced-threat-detection-messages-protected. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time for the reporting period in ISO 8601 UTC format. **start** `string` *required* Start time for the reporting period in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. **breakdown** `string | null` Breakdown dimension for the data. Valid values: by-threat-type, by-threat-category. Defaults to by-threat-type. Default: `null`. **category** `string | null` Message category filter (when breakdown=by-threat-category). Valid values: MALWARE, PHISHING, SPAM, BEC, TOAD. Default: `null`. **groupBy** `string | null` Time grouping for results. Valid values: DAY, WEEK, MONTH, QUARTER. Allowed values depend on date range: 0-13 days: DAY only; 14-30 days: DAY, WEEK; 31-89 days: DAY, WEEK, MONTH; 90 days: WEEK, MONTH, QUARTER. Defaults to DAY. Default: `null`. **type** `string | null` Message type filter (when breakdown=by-threat-type). Valid values: ALL, URL, ATTACHMENT, MESSAGE, HYBRID. Default: `null`. ## Get executive summary inbound email protection breakdown Action ID: `tools.proofpoint_threat_protection.get_executive_summary_inbound_email_protection_breakdown` Get breakdown of inbound email protection metrics for the specified cluster and time range. This endpoint mirrors the Dashboard › Executive Summary › Inbound Email Protection Breakdown card. Calls GET /api/v1/dash/reports/executive-summary/inbound-email-protection-breakdown. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **clusterId** `string` *required* Cluster ID for the request. **end** `string` *required* End time for the reporting period in ISO 8601 UTC format (e.g., 2024-01-31T23:59:59.000Z). **start** `string` *required* Start time for the reporting period in ISO 8601 UTC format (e.g., 2024-01-01T00:00:00.000Z). **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. ## Get executive summary inbound protection overview Action ID: `tools.proofpoint_threat_protection.get_executive_summary_inbound_protection_overview` Get an overview of inbound protection metrics including messages processed, threats detected, and protection effectiveness. Calls GET /api/v1/dash/reports/executive-summary/inbound-protection-overview. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time for the reporting period in ISO 8601 UTC format (e.g., 2024-01-31T23:59:59Z). **start** `string` *required* Start time for the reporting period in ISO 8601 UTC format (e.g., 2024-01-01T00:00:00Z). **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. ## Get executive summary industry comparison Action ID: `tools.proofpoint_threat_protection.get_executive_summary_industry_comparison` Get industry comparison metrics to compare your company's data (quarterly) with up to 3 industries. Calls GET /api/v1/dash/reports/executive-summary/industry-comparison. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **startMonth** `string` *required* Starting month for the comparison period in ISO 8601 format (e.g., 2026-01). **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. **industries** `array[string] | null` List of industry verticals to compare against. Maximum 3 verticals allowed. Use key values from list_industries. Defaults to Customer's default. Default: `null`. ## Get executive summary threat categories Action ID: `tools.proofpoint_threat_protection.get_executive_summary_threat_categories` Get a breakdown of threats by category for the specified time period. Calls GET /api/v1/dash/reports/executive-summary/threat-categories. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time for the reporting period in ISO 8601 UTC format. **start** `string` *required* Start time for the reporting period in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. ## Get executive summary threat landscape effectiveness Action ID: `tools.proofpoint_threat_protection.get_executive_summary_threat_landscape_effectiveness` Get threat landscape and effectiveness metrics with various breakdown options. Calls GET /api/v1/dash/reports/executive-summary/threat-landscape-effectiveness. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time for the reporting period in ISO 8601 UTC format. **start** `string` *required* Start time for the reporting period in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. **breakDownBy** `string | null` Breakdown dimension. Valid values: actors, malware, families, techniques, threat-objectives. Defaults to threat-objectives. Default: `null`. **count** `string | null` Number of results to return. Valid values: top5, top10. Defaults to top5. Default: `null`. **messageStatus** `string | null` Message status filter. Valid values: volume, delivered, clicks. Defaults to volume. Default: `null`. ## Get executive summary top clickers Action ID: `tools.proofpoint_threat_protection.get_executive_summary_top_clickers` Get information about users who have clicked on the most malicious links (Top Clickers). Calls GET /api/v1/dash/reports/executive-summary/top-clickers. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time for the reporting period in ISO 8601 UTC format. **start** `string` *required* Start time for the reporting period in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. ## Get executive summary very attacked people Action ID: `tools.proofpoint_threat_protection.get_executive_summary_very_attacked_people` Get information about the most targeted individuals in the organization (Very Attacked People). Calls GET /api/v1/dash/reports/executive-summary/very-attacked-people. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time for the reporting period in ISO 8601 UTC format. **start** `string` *required* Start time for the reporting period in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. ## Get organization historical attack index trending Action ID: `tools.proofpoint_threat_protection.get_organization_historical_attack_index_trending` Get historical attack index trend data with comparison against selected benchmarks. Calls GET /api/v1/dash/reports/organization-reports/historical-attack-index-trending. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **interval** `string` *required* Time interval for trending data. Valid values: 1Y, MAX. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. **comparison** `array[string] | null` List of comparison benchmarks (e.g., industry verticals, CUSTOMER_YEAR_OVER_YEAR). Maximum 4 options allowed. Valid vertical names or CUSTOMER_YEAR_OVER_YEAR. Note: CUSTOMER_YEAR_OVER_YEAR is only allowed when interval=1Y. Default: `null`. ## Get organization industry comparison Action ID: `tools.proofpoint_threat_protection.get_organization_industry_comparison` Compares organization's threat metrics against selected industry verticals over a specified interval. Calls GET /api/v1/dash/reports/organization-reports/industry-comparison. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **interval** `string` *required* Time interval for comparison. Valid values: MONTH, QUARTER. **startMonth** `string` *required* Start month in YYYY-MM format. Must be valid YYYY-MM format within allowed range: from last 13 months to current month minus interval value (MONTH=1, QUARTER=3). **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. **industries** `array[string] | null` List of industry verticals. Maximum 3 allowed. Valid industry names. Defaults to Customer's default. Default: `null`. ## Get people targeted by BEC threats Action ID: `tools.proofpoint_threat_protection.get_bec_targeted_people` Get all people targeted by BEC threats. Calls GET /api/v1/dash/reports/bec-reports/people-targeted-by-bec-threats. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time in ISO 8601 UTC format. **start** `string` *required* Start time in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. ## Get people top 10 clickers Action ID: `tools.proofpoint_threat_protection.get_people_top_ten_clickers` Get top 10 users who clicked on the most malicious URLs. Calls GET /api/v1/dash/reports/people-reports/top-ten-clickers. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time in ISO 8601 UTC format. **start** `string` *required* Start time in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. ## Get people top 10 isolated clickers Action ID: `tools.proofpoint_threat_protection.get_people_top_ten_isolated_clickers` Get top 10 users who had the most clicks isolated by Browser Isolation. Calls GET /api/v1/dash/reports/people-reports/top-ten-isolated-clickers. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time in ISO 8601 UTC format. **start** `string` *required* Start time in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. ## Get people top 10 recipients Action ID: `tools.proofpoint_threat_protection.get_people_top_ten_recipients` Get top 10 users who received the most threat messages. Calls GET /api/v1/dash/reports/people-reports/top-ten-recipients. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time in ISO 8601 UTC format. **start** `string` *required* Start time in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. ## Get people VIP activity Action ID: `tools.proofpoint_threat_protection.get_people_vip_activity` Get VIP activity and threat statistics. Calls GET /api/v1/dash/reports/people-reports/vip-activity. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time in ISO 8601 UTC format. **start** `string` *required* Start time in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. ## Get threat landscape overview headline Action ID: `tools.proofpoint_threat_protection.get_landscape_overview_headline` Get headline statistics for the threat landscape overview. Calls GET /api/v1/dash/reports/landscape-reports/overview-headline. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time in ISO 8601 UTC format. **start** `string` *required* Start time in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. ## Get threat landscape spread and targeting Action ID: `tools.proofpoint_threat_protection.get_landscape_spread_and_targeting` Get spread and targeting metrics. Calls GET /api/v1/dash/reports/landscape-reports/spread-and-targeting. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time in ISO 8601 UTC format. **start** `string` *required* Start time in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. ## Get threat landscape threat campaigns vs individual threats Action ID: `tools.proofpoint_threat_protection.get_landscape_threat_campaigns_vs_individual_threats` Get comparison of threat campaigns versus individual threats. Calls GET /api/v1/dash/reports/landscape-reports/threat-campaigns-vs-individual-threats. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time in ISO 8601 UTC format. **start** `string` *required* Start time in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. ## Get threat landscape threat categories Action ID: `tools.proofpoint_threat_protection.get_landscape_threat_categories` Get threat category statistics for the threat landscape reports. Calls GET /api/v1/dash/reports/landscape-reports/threat-categories. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time in ISO 8601 UTC format. **start** `string` *required* Start time in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. ## Get threat landscape threat types by message volume Action ID: `tools.proofpoint_threat_protection.get_landscape_threat_types_by_message_volume` Get threat types aggregated by message volume. Calls GET /api/v1/dash/reports/landscape-reports/threat-types-by-message-volume. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time in ISO 8601 UTC format. **start** `string` *required* Start time in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. ## Get threat landscape top 10 actors Action ID: `tools.proofpoint_threat_protection.get_landscape_top_ten_actors` Get top 10 threat actors for the threat landscape. Calls GET /api/v1/dash/reports/landscape-reports/top-ten-actors. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time in ISO 8601 UTC format. **start** `string` *required* Start time in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. **queryType** `string | null` Query type. Valid values: by-volume, by-delivered, by-clicks. Defaults to by-volume. Default: `null`. ## Get threat landscape top 10 campaigns Action ID: `tools.proofpoint_threat_protection.get_landscape_top_ten_campaigns` Get top 10 threat campaigns for the threat landscape. Calls GET /api/v1/dash/reports/landscape-reports/top-ten-campaigns. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time in ISO 8601 UTC format. **start** `string` *required* Start time in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. **queryType** `string | null` Query type. Valid values: by-volume, by-delivered, by-clicks. Defaults to by-volume. Default: `null`. ## Get threat landscape top 10 domains sending threats Action ID: `tools.proofpoint_threat_protection.get_landscape_top_ten_domains_sending_threats` Get top 10 domains sending threat messages. Calls GET /api/v1/dash/reports/landscape-reports/top-ten-domains-sending-threats. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time in ISO 8601 UTC format. **start** `string` *required* Start time in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. **queryType** `string | null` Query type. Valid values: by-volume, by-delivered, by-clicks. Defaults to by-volume. Default: `null`. ## Get threat landscape top 10 families Action ID: `tools.proofpoint_threat_protection.get_landscape_top_ten_families` Get top 10 threat families for the threat landscape. Calls GET /api/v1/dash/reports/landscape-reports/top-ten-families. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time in ISO 8601 UTC format. **start** `string` *required* Start time in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. **queryType** `string | null` Query type. Valid values: by-volume, by-delivered, by-clicks. Defaults to by-volume. Default: `null`. ## Get threat landscape top 10 malware Action ID: `tools.proofpoint_threat_protection.get_landscape_top_ten_malware` Get top 10 malware threats for the threat landscape. Calls GET /api/v1/dash/reports/landscape-reports/top-ten-malware. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time in ISO 8601 UTC format. **start** `string` *required* Start time in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. **queryType** `string | null` Query type. Valid values: by-volume, by-delivered, by-clicks. Defaults to by-volume. Default: `null`. ## Get threat landscape top 10 root domains for URL attacks Action ID: `tools.proofpoint_threat_protection.get_landscape_top_ten_root_domains_for_url_attacks` Get top 10 root domains used in URL-based attacks. Calls GET /api/v1/dash/reports/landscape-reports/top-ten-root-domains-for-url-attacks. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time in ISO 8601 UTC format. **start** `string` *required* Start time in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. **queryType** `string | null` Query type. Valid values: by-volume, by-delivered, by-clicks. Defaults to by-volume. Default: `null`. ## Get threat landscape top 10 subdomains for URL attacks Action ID: `tools.proofpoint_threat_protection.get_landscape_top_ten_subdomains_for_url_attacks` Get top 10 subdomains used in URL-based attacks. Calls GET /api/v1/dash/reports/landscape-reports/top-ten-subdomains-for-url-attacks. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time in ISO 8601 UTC format. **start** `string` *required* Start time in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. **queryType** `string | null` Query type. Valid values: by-volume, by-delivered, by-clicks. Defaults to by-volume. Default: `null`. ## Get threat landscape top 10 techniques Action ID: `tools.proofpoint_threat_protection.get_landscape_top_ten_techniques` Get top 10 attack techniques for the threat landscape. Calls GET /api/v1/dash/reports/landscape-reports/top-ten-techniques. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time in ISO 8601 UTC format. **start** `string` *required* Start time in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. **queryType** `string | null` Query type. Valid values: by-volume, by-delivered, by-clicks. Defaults to by-volume. Default: `null`. ## Get threat landscape top BEC themes Action ID: `tools.proofpoint_threat_protection.get_landscape_top_bec_themes` Get top BEC themes for the threat landscape. Calls GET /api/v1/dash/reports/landscape-reports/top-bec-themes. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time in ISO 8601 UTC format. **start** `string` *required* Start time in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. ## Get threat landscape top threat objectives Action ID: `tools.proofpoint_threat_protection.get_landscape_top_threat_objectives` Get top threat objectives across the specified time range. Calls GET /api/v1/dash/reports/landscape-reports/top-threat-objectives. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time in ISO 8601 UTC format. **start** `string` *required* Start time in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. ## Get threat landscape trend Action ID: `tools.proofpoint_threat_protection.get_landscape_trend` Get threat landscape trend data with configurable grouping and breakdown. Calls GET /api/v1/dash/reports/landscape-reports/landscape-trend. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time in ISO 8601 UTC format. **start** `string` *required* Start time in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. **breakdownBy** `string | null` Breakdown dimension. Valid values: OBJECTIVES, FAMILIES, MALWARE, ACTORS, TECHNIQUES, THEME. Defaults to OBJECTIVES. Default: `null`. **groupBy** `string | null` Time grouping. Valid values: DAY, WEEK, MONTH, QUARTER. Allowed values depend on date range: 0-13 days: DAY only; 14-30 days: DAY, WEEK; 31-89 days: DAY, WEEK, MONTH; 90 days: WEEK, MONTH, QUARTER. Defaults to WEEK. Default: `null`. ## Get threat landscape vertically targeted activity Action ID: `tools.proofpoint_threat_protection.get_landscape_vertically_targeted_activity` Get vertically targeted threat activity. Calls GET /api/v1/dash/reports/landscape-reports/vertically-targeted-activity. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time in ISO 8601 UTC format. **start** `string` *required* Start time in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. ## Get threat objectives industry comparison Action ID: `tools.proofpoint_threat_protection.get_threat_objectives_industry_comparison` Compares threat objectives against selected industry verticals. Calls GET /api/v1/dash/reports/threat-objectives-reports/industry-comparison. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time in ISO 8601 UTC format. **start** `string` *required* Start time in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. **industries** `array[string] | null` List of industry verticals. Maximum 3 allowed. Valid industry names. Defaults to Customer's default. Default: `null`. ## Get threat objectives messages protected Action ID: `tools.proofpoint_threat_protection.get_threat_objectives_messages_protected` Get messages protected statistics grouped by threat objectives. Calls GET /api/v1/dash/reports/threat-objectives-reports/messages-protected. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time in ISO 8601 UTC format. **start** `string` *required* Start time in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. ## Get threat objectives trend Action ID: `tools.proofpoint_threat_protection.get_threat_objectives_trend` Get threat objectives trend data over time. Calls GET /api/v1/dash/reports/threat-objectives-reports/threat-objectives-trend. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time in ISO 8601 UTC format. **start** `string` *required* Start time in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. **groupBy** `string | null` Time grouping. Valid values: DAY, WEEK, MONTH, QUARTER. Allowed values depend on date range: 0-13 days: DAY only; 14-30 days: DAY, WEEK; 31-89 days: DAY, WEEK, MONTH; 90 days: WEEK, MONTH, QUARTER. Defaults to WEEK. Default: `null`. ## Get top BEC themes Action ID: `tools.proofpoint_threat_protection.get_bec_top_themes` Get top BEC themes for the specified time range. Calls GET /api/v1/dash/reports/bec-reports/top-bec-themes. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time in ISO 8601 UTC format. **start** `string` *required* Start time in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. ## Get very attacked people summary Action ID: `tools.proofpoint_threat_protection.get_very_attacked_people_summary` Get summary statistics for Very Attacked People (VAP). Calls GET /api/v1/dash/reports/people-reports/very-attacked-people/summary. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time in ISO 8601 UTC format. **start** `string` *required* Start time in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. ## Get VIPs targeted by BEC threats Action ID: `tools.proofpoint_threat_protection.get_bec_targeted_vips` Get VIPs targeted by BEC threats. Calls GET /api/v1/dash/reports/bec-reports/vips-targeted-by-bec-threats. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time in ISO 8601 UTC format. **start** `string` *required* Start time in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. ## List actors Action ID: `tools.proofpoint_threat_protection.list_actors` Get a paginated and sorted list of top threat actors for the specified time range. Calls GET /api/v1/dash/reports/actor-reports/actors. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time for the reporting period in ISO 8601 UTC format. **start** `string` *required* Start time for the reporting period in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. **page** `integer | null` Page number for pagination. Non-negative integer. Defaults to 0. Default: `null`. **size** `integer | null` Number of results per page. Positive integer. Defaults to 10. Default: `null`. **sortBy** `string | null` Field to sort by. Valid values: ATTACK_INDEX, DISTINCT_THREATS. Defaults to ATTACK_INDEX. Default: `null`. **sortOrder** `string | null` Sort order. Valid values: ASC, DESC. Defaults to DESC. Default: `null`. ## List industries Action ID: `tools.proofpoint_threat_protection.list_industries` Get a list of available industries/verticals for use in filtering and comparison operations. Calls GET /api/v1/dash/reports/industries. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. ## List mail bomb events Action ID: `tools.proofpoint_threat_protection.list_mail_bomb_events` List email bomb events detected for the organization in a time range with GET /api/v1/dash/reports/mail-bomb-events. The range can be at most 90 days and start at most 365 days ago. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Email_Bomb_Events_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Email_Bomb_Events_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End of the time range in ISO 8601 UTC format, e.g. 2024-01-31T23:59:59Z. **start** `string` *required* Start of the time range in ISO 8601 UTC format, e.g. 2024-01-01T00:00:00Z. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. **page** `integer | null` Zero-based page number. Defaults to 0. Default: `null`. **size** `integer | null` Number of events per page. Defaults to 100. Default: `null`. ## List very attacked people Action ID: `tools.proofpoint_threat_protection.list_very_attacked_people` Get the list of Very Attacked People (VAP) with detailed information. Calls GET /api/v1/dash/reports/people-reports/very-attacked-people/list. Reference: [https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Reports_API) ### Secrets Required secrets: * `proofpoint_threat_protection_oauth`: OAuth token `PROOFPOINT_THREAT_PROTECTION_SERVICE_TOKEN`. ### Input fields **end** `string` *required* End time in ISO 8601 UTC format. **start** `string` *required* Start time in ISO 8601 UTC format. **base_url** `string | null` Proofpoint Threat Protection API base URL. Defaults to [https://threatprotection-api.proofpoint.com](https://threatprotection-api.proofpoint.com). Default: `null`. # PyMongo Source: https://docs.tracecat.com/tools/pymongo Reference for the Tracecat PyMongo integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Execute operation Action ID: `tools.pymongo.execute_operation` Instantiate a PyMongo client and execute an operation on a Collection object. Reference: [https://pymongo.readthedocs.io/en/stable/api/pymongo/asynchronous/collection.html](https://pymongo.readthedocs.io/en/stable/api/pymongo/asynchronous/collection.html) ### Secrets Required secrets: * `mongodb`: required values `MONGODB_CONNECTION_STRING`. ### Input fields **collection_name** `string` *required* Collection to operate on **database_name** `string` *required* Database to operate on **operation_name** `string` *required* Operation to perform on the Collection, e.g. 'find', 'insert_one'. **params** `object | null` Parameters for the operation Default: `null`. # Rapid7 Source: https://docs.tracecat.com/tools/rapid7 Reference for the Tracecat Rapid7 integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Add Community Threat indicators Action ID: `tools.rapid7.add_community_threat_indicators` Add Community Threat indicators. Calls POST /idr/v1/customthreats/key/\{key}/indicators/add directly. Reference: [https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#operation/addIndicators](https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#operation/addIndicators) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **indicators** `object` *required* Free-form documented indicator object containing IP addresses, process hashes, domains, or URLs. **key** `string` *required* The key of the Community Threat. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. ## Assign user to investigation Action ID: `tools.rapid7.assign_investigation` Assign user to investigation. Calls PUT /idr/v2/investigations/\{id}/assignee directly. Reference: [https://help.rapid7.com/insightidr/en-us/api/v2/docs.html#operation/assignUserToInvestigation](https://help.rapid7.com/insightidr/en-us/api/v2/docs.html#operation/assignUserToInvestigation) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **id** `string` *required* The id or rrn of the investigation. **user_email_address** `string` *required* The email address of the user to assign to this investigation. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **multi_customer** `boolean | null` Indicates whether the requester has multi-customer access. If set to true, a user API key must be provided. Default: `null`. ## Close investigations in bulk Action ID: `tools.rapid7.bulk_close_investigations` Close investigations in bulk. Calls POST /idr/v2/investigations/bulk_close directly. Reference: [https://help.rapid7.com/insightidr/en-us/api/v2/docs.html#operation/bulkCloseInvestigations](https://help.rapid7.com/insightidr/en-us/api/v2/docs.html#operation/bulkCloseInvestigations) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **from** `string` *required* The time investigations are to be closed from. **source** `string` *required* The investigation source: ALERT, MANUAL, or HUNT. **to** `string` *required* The time investigations are to be closed by. **alert_type** `string | null` The category of alert types to close. Default: `null`. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **detection_rule_rrn** `string | null` The detection rule RRN. Default: `null`. **disposition** `string | null` A disposition to set. Default: `null`. **max_investigations_to_close** `integer | null` An optional maximum number to close. Default: `null`. **multi_customer** `boolean | null` Indicates whether the requester has multi-customer access. If set to true, a user API key must be provided. Default: `null`. ## Create comment Action ID: `tools.rapid7.create_comment` Create comment. Calls POST /idr/v1/comments directly. Reference: [https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#operation/createComment](https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#operation/createComment) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **target** `string` *required* The target of the comment. **attachments** `array[string] | null` Attachment RRNs to associate. Default: `null`. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **body** `string | null` The body of the comment. Default: `null`. ## Create Community Threat Action ID: `tools.rapid7.create_community_threat` Create Community Threat. Calls POST /idr/v1/customthreats directly. Reference: [https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#operation/createCommunityThreat](https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#operation/createCommunityThreat) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **indicators** `object` *required* Free-form documented indicator object containing IP addresses, process hashes, domains, or URLs. **threat** `string` *required* The Community Threat name. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **note** `string | null` The note. Default: `null`. ## Create InsightAppSec vulnerability comment Action ID: `tools.rapid7.create_appsec_vulnerability_comment` Create vulnerability comment. Calls POST /ias/v1/vulnerabilities/\{vuln_id}/comments directly. Reference: [https://help.rapid7.com/insightappsec/en-us/api/v1/docs.html#operation/create-vulnerability-comment](https://help.rapid7.com/insightappsec/en-us/api/v1/docs.html#operation/create-vulnerability-comment) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **content** `string` *required* The content of the Vulnerability Comment. **vuln_id** `string` *required* The identifier of the vulnerability. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. ## Create investigation Action ID: `tools.rapid7.create_investigation` Create investigation. Calls POST /idr/v2/investigations directly. Reference: [https://help.rapid7.com/insightidr/en-us/api/v2/docs.html#operation/createInvestigation](https://help.rapid7.com/insightidr/en-us/api/v2/docs.html#operation/createInvestigation) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **title** `string` *required* The name of the investigation. **assignee** `object | null` The user assigned to this investigation. Default: `null`. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **disposition** `string | null` The disposition for the investigation. Defaults to UNDECIDED. Default: `null`. **multi_customer** `boolean | null` Indicates whether the requester has multi-customer access. If set to true, a user API key must be provided. Default: `null`. **priority** `string | null` The priority for the investigation. Defaults to UNSPECIFIED. Default: `null`. **status** `string | null` The status of the investigation. Defaults to OPEN. Default: `null`. ## Create investigation from alerts Action ID: `tools.rapid7.create_investigation_from_alerts` Create investigation from alerts. Calls POST /idr/at/alerts/ops/investigate directly. Reference: [https://docs.rapid7.com/insightidr/api/alert-triage/#operation/investigateAlerts](https://docs.rapid7.com/insightidr/api/alert-triage/#operation/investigateAlerts) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **disposition** `string` *required* The investigation disposition. **organization_id** `string` *required* The organization the investigation belongs to. **search** `object` *required* The search terms to match against. **status** `string` *required* The investigation status. **title** `string` *required* The investigation title. **assignee_id** `string | null` The assigned user identifier. Default: `null`. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **comment** `string | null` The reason for creating the investigation. Default: `null`. **priority** `string | null` The investigation priority. Default: `null`. **tags** `array[string] | null` The tags to apply. Default: `null`. ## Delete comment Action ID: `tools.rapid7.delete_comment` Delete comment. Calls DELETE /idr/v1/comments/\{rrn} directly. Reference: [https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#operation/deleteComment](https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#operation/deleteComment) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **rrn** `string` *required* The RRN of the comment. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. ## Delete Community Threat Action ID: `tools.rapid7.delete_community_threat` Delete Community Threat. Calls POST /idr/v1/customthreats/key/\{key}/delete directly. Reference: [https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#operation/deleteCommunityThreat](https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#operation/deleteCommunityThreat) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **key** `string` *required* The key of a Community Threat. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **reason** `string | null` The reason for deleting the Community Threat. Default: `null`. ## Get account by RRN Action ID: `tools.rapid7.get_account` Get account by RRN. Calls GET /idr/v1/accounts/\{rrn} directly. Reference: [https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#operation/findAccountByRrn](https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#operation/findAccountByRrn) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **rrn** `string` *required* The RRN of the account. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. ## Get alert Action ID: `tools.rapid7.get_alert` Get alert. Calls GET /idr/at/alerts/\{alert_rrn} directly. Reference: [https://docs.rapid7.com/insightidr/api/alert-triage/#operation/getAlert](https://docs.rapid7.com/insightidr/api/alert-triage/#operation/getAlert) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **alert_rrn** `string` *required* The unique identifier of the alert. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. ## Get alert actors Action ID: `tools.rapid7.get_alert_actors` Get alert actors. Calls GET /idr/at/alerts/\{alert_rrn}/actors directly. Reference: [https://docs.rapid7.com/insightidr/api/alert-triage/#operation/getAlertActors](https://docs.rapid7.com/insightidr/api/alert-triage/#operation/getAlertActors) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **alert_rrn** `string` *required* The unique identifier of the alert. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **index** `integer | null` The zero-based page index. Default: `null`. **size** `integer | null` The page size. Default: `null`. ## Get alert evidences Action ID: `tools.rapid7.get_alert_evidences` Get alert evidences. Calls GET /idr/at/alerts/\{alert_rrn}/evidences directly. Reference: [https://docs.rapid7.com/insightidr/api/alert-triage/#operation/getAlertEvidences](https://docs.rapid7.com/insightidr/api/alert-triage/#operation/getAlertEvidences) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **alert_rrn** `string` *required* The unique identifier of the alert. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **index** `integer | null` The zero-based page index. Default: `null`. **size** `integer | null` The page size. Default: `null`. ## Get alerts Action ID: `tools.rapid7.get_alerts` Get alerts. Calls POST /idr/at/alerts/ops/rrns directly. Reference: [https://docs.rapid7.com/insightidr/api/alert-triage/#operation/getAlertsByRrn](https://docs.rapid7.com/insightidr/api/alert-triage/#operation/getAlertsByRrn) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **rrns** `array[string]` *required* The alert RRNs to retrieve. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **field_ids** `array[string] | null` Additional fields to include. Default: `null`. **strict** `boolean | null` Return a 404 when no alerts are found. Default: `null`. ## Get asset by RRN Action ID: `tools.rapid7.get_asset` Get asset by RRN. Calls GET /idr/v1/assets/\{rrn} directly. Reference: [https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#operation/findAssetByRrn](https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#operation/findAssetByRrn) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **rrn** `string` *required* The RRN of the asset. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. ## Get attachment metadata Action ID: `tools.rapid7.get_attachment_metadata` Get attachment metadata. Calls GET /idr/v1/attachments/\{rrn}/metadata directly. Reference: [https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#operation/getAttachment](https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#operation/getAttachment) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **rrn** `string` *required* The RRN of the attachment. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. ## Get InsightAppSec app Action ID: `tools.rapid7.get_appsec_app` Get app. Calls GET /ias/v1/apps/\{app_id} directly. Reference: [https://help.rapid7.com/insightappsec/en-us/api/v1/docs.html#operation/get-app](https://help.rapid7.com/insightappsec/en-us/api/v1/docs.html#operation/get-app) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **app_id** `string` *required* The identifier of the app. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. ## Get InsightAppSec scan Action ID: `tools.rapid7.get_appsec_scan` Get scan. Calls GET /ias/v1/scans/\{scan_id} directly. Reference: [https://help.rapid7.com/insightappsec/en-us/api/v1/docs.html#operation/get-scan](https://help.rapid7.com/insightappsec/en-us/api/v1/docs.html#operation/get-scan) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **scan_id** `string` *required* The identifier of the scan. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. ## Get InsightAppSec scan execution details Action ID: `tools.rapid7.get_appsec_scan_execution_details` Get scan execution details. Calls GET /ias/v1/scans/\{scan_id}/execution-details directly. Reference: [https://help.rapid7.com/insightappsec/en-us/api/v1/docs.html#operation/get-scan-execution-details](https://help.rapid7.com/insightappsec/en-us/api/v1/docs.html#operation/get-scan-execution-details) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **scan_id** `string` *required* The identifier of the scan. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. ## Get InsightAppSec vulnerability Action ID: `tools.rapid7.get_appsec_vulnerability` Get vulnerability. Calls GET /ias/v1/vulnerabilities/\{vuln_id} directly. Reference: [https://help.rapid7.com/insightappsec/en-us/api/v1/docs.html#operation/get-vulnerability](https://help.rapid7.com/insightappsec/en-us/api/v1/docs.html#operation/get-vulnerability) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **vuln_id** `string` *required* The identifier of the vulnerability. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. ## Get InsightVM asset Action ID: `tools.rapid7.get_vm_asset` Get asset. Calls GET /vm/v4/integration/assets/\{id} directly. Reference: [https://help.rapid7.com/insightvm/en-us/api/integrations.html#operation/getIntegrationAsset](https://help.rapid7.com/insightvm/en-us/api/integrations.html#operation/getIntegrationAsset) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **id** `string` *required* The identifier of the asset. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **comparisonTime** `string | null` Asset comparison time. Default: `null`. **currentTime** `string | null` Current comparison time. Default: `null`. **includeInterSnapshotRemediations** `boolean | null` Include inter-snapshot remediations. Default: `null`. **includeSame** `boolean | null` Include already-existing vulnerabilities. Default: `null`. **includeUniqueIdentifiers** `boolean | null` Include unique identifiers. Default: `null`. ## Get InsightVM scan Action ID: `tools.rapid7.get_vm_scan` Get scan. Calls GET /vm/v4/integration/scan/\{id} directly. Reference: [https://help.rapid7.com/insightvm/en-us/api/integrations.html#operation/getScan](https://help.rapid7.com/insightvm/en-us/api/integrations.html#operation/getScan) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **id** `string` *required* The identifier of the scan. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **includeDetails** `boolean | null` Include additional scan details. Default: `null`. ## Get investigation Action ID: `tools.rapid7.get_investigation` Get investigation. Calls GET /idr/v2/investigations/\{id} directly. Reference: [https://help.rapid7.com/insightidr/en-us/api/v2/docs.html#operation/getInvestigationById](https://help.rapid7.com/insightidr/en-us/api/v2/docs.html#operation/getInvestigationById) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **id** `string` *required* The id or rrn of the investigation. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **multi_customer** `boolean | null` Indicates whether the requester has multi-customer access. If set to true, a user API key must be provided. Default: `null`. ## Get user by RRN Action ID: `tools.rapid7.get_user` Get user by RRN. Calls GET /idr/v1/users/\{rrn} directly. Reference: [https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#operation/getUserByRrn](https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#operation/getUserByRrn) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **rrn** `string` *required* The RRN of the user. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. ## List alert fields Action ID: `tools.rapid7.list_alert_fields` List alert fields. Calls GET /idr/at/alerts/fields directly. Reference: [https://docs.rapid7.com/insightidr/api/alert-triage/#operation/getAlertFields](https://docs.rapid7.com/insightidr/api/alert-triage/#operation/getAlertFields) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **index** `integer | null` The zero-based page index. Default: `null`. **path** `string | null` Limits results to fields at or below this path. Default: `null`. **path_depth** `integer | null` The depth to round results to. Default: `null`. **search** `string | null` Limits results containing the search terms. Default: `null`. **size** `integer | null` The page size. Default: `null`. ## List attachments Action ID: `tools.rapid7.list_attachments` List attachments. Calls GET /idr/v1/attachments directly. Reference: [https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#operation/listAttachments](https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#operation/listAttachments) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **target** `string` *required* Return attachments with this target. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **index** `integer | null` The optional 0-based page index. Default: `null`. **size** `integer | null` The optional page size. Default: `null`. ## List comments Action ID: `tools.rapid7.list_comments` List comments. Calls GET /idr/v1/comments directly. Reference: [https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#operation/listComments](https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#operation/listComments) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **target** `string` *required* Return comments with this target. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **index** `integer | null` The optional 0-based page index. Default: `null`. **size** `integer | null` The optional page size. Default: `null`. **sortDirection** `string | null` The direction in which comments should be sorted. Default: `null`. ## List InsightAppSec apps Action ID: `tools.rapid7.list_appsec_apps` List apps. Calls GET /ias/v1/apps directly. Reference: [https://help.rapid7.com/insightappsec/en-us/api/v1/docs.html#operation/get-apps](https://help.rapid7.com/insightappsec/en-us/api/v1/docs.html#operation/get-apps) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **index** `integer | null` The page index. Default: `null`. **page_token** `string | null` The token to retrieve the next page. Default: `null`. **size** `integer | null` The page size. Default: `null`. **sort** `string | null` The sort criteria. Default: `null`. ## List InsightAppSec scan configs Action ID: `tools.rapid7.list_appsec_scan_configs` List scan configs. Calls GET /ias/v1/scan-configs directly. Reference: [https://help.rapid7.com/insightappsec/en-us/api/v1/docs.html#operation/get-scan-configs](https://help.rapid7.com/insightappsec/en-us/api/v1/docs.html#operation/get-scan-configs) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **include_errors** `boolean | null` Whether to include errors. Default: `null`. **index** `integer | null` The page index. Default: `null`. **page_token** `string | null` The token to retrieve the next page. Default: `null`. **size** `integer | null` The page size. Default: `null`. **sort** `string | null` The sort criteria. Default: `null`. ## List InsightAppSec scans Action ID: `tools.rapid7.list_appsec_scans` List scans. Calls GET /ias/v1/scans directly. Reference: [https://help.rapid7.com/insightappsec/en-us/api/v1/docs.html#operation/get-scans](https://help.rapid7.com/insightappsec/en-us/api/v1/docs.html#operation/get-scans) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **index** `integer | null` The page index. Default: `null`. **page_token** `string | null` The token to retrieve the next page. Default: `null`. **size** `integer | null` The page size. Default: `null`. **sort** `string | null` The sort criteria. Default: `null`. ## List InsightAppSec vulnerabilities Action ID: `tools.rapid7.list_appsec_vulnerabilities` List vulnerabilities. Calls GET /ias/v1/vulnerabilities directly. Reference: [https://help.rapid7.com/insightappsec/en-us/api/v1/docs.html#operation/get-vulnerabilities](https://help.rapid7.com/insightappsec/en-us/api/v1/docs.html#operation/get-vulnerabilities) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **index** `integer | null` The page index. Default: `null`. **page_token** `string | null` The token to retrieve the next page. Default: `null`. **size** `integer | null` The page size. Default: `null`. **sort** `string | null` The sort criteria. Default: `null`. ## List InsightVM scan engines Action ID: `tools.rapid7.list_vm_scan_engines` List scan engines. Calls GET /vm/v4/integration/scan/engine directly. Reference: [https://help.rapid7.com/insightvm/en-us/api/integrations.html#operation/getScanEngines](https://help.rapid7.com/insightvm/en-us/api/integrations.html#operation/getScanEngines) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **page** `integer | null` The zero-based page index. Default: `null`. **size** `integer | null` The number of records per page. Default: `null`. ## List InsightVM scans Action ID: `tools.rapid7.list_vm_scans` List scans. Calls GET /vm/v4/integration/scan directly. Reference: [https://help.rapid7.com/insightvm/en-us/api/integrations.html#operation/getScans](https://help.rapid7.com/insightvm/en-us/api/integrations.html#operation/getScans) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **includeDetails** `boolean | null` Include additional scan details. Default: `null`. **page** `integer | null` The zero-based page index. Default: `null`. **size** `integer | null` The number of records per page. Default: `null`. ## List InsightVM sites Action ID: `tools.rapid7.list_vm_sites` List sites. Calls POST /vm/v4/integration/sites directly. Reference: [https://help.rapid7.com/insightvm/en-us/api/integrations.html#operation/getSites](https://help.rapid7.com/insightvm/en-us/api/integrations.html#operation/getSites) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **cursor** `string | null` The stateless cursor. Default: `null`. **page** `integer | null` The zero-based page index. Default: `null`. **size** `integer | null` The number of records per page. Default: `null`. **sort** `string | null` The sort criteria. Default: `null`. ## List investigation alerts Action ID: `tools.rapid7.list_investigation_alerts` List investigation alerts. Calls GET /idr/v2/investigations/\{identifier}/alerts directly. Reference: [https://help.rapid7.com/insightidr/en-us/api/v2/docs.html#operation/listInvestigationAlerts](https://help.rapid7.com/insightidr/en-us/api/v2/docs.html#operation/listInvestigationAlerts) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **identifier** `string` *required* The ID of the investigation. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **index** `integer | null` The page index. Default: `null`. **multi_customer** `boolean | null` Indicates whether the requester has multi-customer access. If set to true, a user API key must be provided. Default: `null`. **size** `integer | null` The page size. Default: `null`. ## List investigation product alerts Action ID: `tools.rapid7.list_investigation_product_alerts` List investigation product alerts. Calls GET /idr/v2/investigations/\{identifier}/rapid7-product-alerts directly. Reference: [https://help.rapid7.com/insightidr/en-us/api/v2/docs.html#operation/getInvestigationRapid7ProductAlertInfo](https://help.rapid7.com/insightidr/en-us/api/v2/docs.html#operation/getInvestigationRapid7ProductAlertInfo) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **identifier** `string` *required* The ID of the investigation. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **multi_customer** `boolean | null` Indicates whether the requester has multi-customer access. If set to true, a user API key must be provided. Default: `null`. ## List investigations Action ID: `tools.rapid7.list_investigations` List investigations. Calls GET /idr/v2/investigations directly. Reference: [https://help.rapid7.com/insightidr/en-us/api/v2/docs.html#operation/listInvestigations](https://help.rapid7.com/insightidr/en-us/api/v2/docs.html#operation/listInvestigations) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **assignee_email** `string | null` A user's email address. Only investigations assigned to that user will be included. Default: `null`. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **end_time** `string | null` The time an investigation is closed. Must be an ISO-formatted timestamp. Default: `null`. **index** `integer | null` The optional 0-based index of the page to retrieve. Default: `null`. **multi_customer** `boolean | null` Indicates whether the requester has multi-customer access. If set to true, a user API key must be provided. Default: `null`. **priorities** `string | null` A comma-separated list of investigation priorities to include. Default: `null`. **size** `integer | null` The optional size of the page to retrieve. Default: `null`. **sort** `string | null` A field and direction separated by a comma. Default: `null`. **sources** `string | null` A comma-separated list of investigation sources to include. Default: `null`. **start_time** `string | null` The time an investigation is opened. Must be an ISO-formatted timestamp. Default: `null`. **statuses** `string | null` A comma-separated list of investigation statuses to include. Default: `null`. **tags** `string | null` A comma-separated list of tags to include. Default: `null`. ## List log sets Action ID: `tools.rapid7.list_logsets` List log sets. Calls GET /log_search/management/logsets directly. Reference: [https://docs.rapid7.com/insightidr/log-search-api/#operation/getManagementLogsets](https://docs.rapid7.com/insightidr/log-search-api/#operation/getManagementLogsets) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. ## List logs Action ID: `tools.rapid7.list_logs` List logs. Calls GET /log_search/management/logs directly. Reference: [https://docs.rapid7.com/insightidr/log-search-api/#operation/getLogs](https://docs.rapid7.com/insightidr/log-search-api/#operation/getLogs) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. ## List saved queries Action ID: `tools.rapid7.list_saved_queries` List saved queries. Calls GET /log_search/query/saved_queries directly. Reference: [https://docs.rapid7.com/insightidr/log-search-api/#operation/listSavedQueries](https://docs.rapid7.com/insightidr/log-search-api/#operation/listSavedQueries) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. ## Poll query Action ID: `tools.rapid7.poll_query` Poll query. Calls GET /log_search/query/\{id} directly. Reference: [https://docs.rapid7.com/insightidr/log-search-api/#operation/pollQuery](https://docs.rapid7.com/insightidr/log-search-api/#operation/pollQuery) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **id** `string` *required* The continuation id generated when the query started. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **time_range** `string | null` An alternative relative time range. Default: `null`. ## Query individual logs Action ID: `tools.rapid7.query_log` Submit a log query. Responses may be HTTP 202 with a links continuation URL requiring polling via poll_query. Calls GET /log_search/query/logs/\{log_keys} directly. Reference: [https://docs.rapid7.com/insightidr/log-search-api/#operation/getQueryLogs](https://docs.rapid7.com/insightidr/log-search-api/#operation/getQueryLogs) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **log_keys** `string` *required* The log key. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **from** `integer | null` Start UNIX timestamp in milliseconds. Default: `null`. **kvp_info** `boolean | null` Include key-value pair information. Default: `null`. **most_recent_first** `boolean | null` Return most recent events first. Default: `null`. **per_page** `integer | null` Number of entries per page, up to 500. Default: `null`. **query** `string | null` A valid LEQL query. Default: `null`. **sequence_number** `integer | null` Sequence number for incremental results. Default: `null`. **time_range** `string | null` An alternative relative time range. Default: `null`. **to** `integer | null` End UNIX timestamp in milliseconds. Default: `null`. ## Query multiple logs Action ID: `tools.rapid7.query_logs` Query multiple logs. Calls POST /log_search/query/logs directly. Reference: [https://docs.rapid7.com/insightidr/log-search-api/#operation/postQueryLogs](https://docs.rapid7.com/insightidr/log-search-api/#operation/postQueryLogs) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **leql** `object` *required* LEQL object containing statement and during fields. **logs** `array[string]` *required* The logs to query. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **kvp_info** `boolean | null` Include key-value pair information. Default: `null`. **most_recent_first** `boolean | null` Return most recent events first. Default: `null`. **per_page** `integer | null` Number of entries per page, up to 500. Default: `null`. **sequence_number** `integer | null` Sequence number for incremental results. Default: `null`. ## Remove investigation alert Action ID: `tools.rapid7.remove_investigation_alert` Remove investigation alert. Calls DELETE /idr/v2/investigations/\{identifier}/alerts/\{alertRrn} directly. Reference: [https://help.rapid7.com/insightidr/en-us/api/v2/docs.html#operation/removeAlertFromInvestigation](https://help.rapid7.com/insightidr/en-us/api/v2/docs.html#operation/removeAlertFromInvestigation) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **alertRrn** `string` *required* The alert RRN. **identifier** `string` *required* The investigation id or rrn. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **multi_customer** `boolean | null` Indicates whether the requester has multi-customer access. If set to true, a user API key must be provided. Default: `null`. ## Replace Community Threat indicators Action ID: `tools.rapid7.replace_community_threat_indicators` Replace Community Threat indicators. Calls POST /idr/v1/customthreats/key/\{key}/indicators/replace directly. Reference: [https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#operation/replaceIndicators](https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#operation/replaceIndicators) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **indicators** `object` *required* Free-form documented indicator object containing IP addresses, process hashes, domains, or URLs. **key** `string` *required* The key of the Community Threat. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. ## Run saved query Action ID: `tools.rapid7.run_saved_query` Run saved query. Calls GET /log_search/query/saved_query/\{saved_query_id} directly. Reference: [https://docs.rapid7.com/insightidr/log-search-api/#operation/useSavedQuery](https://docs.rapid7.com/insightidr/log-search-api/#operation/useSavedQuery) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **saved_query_id** `string` *required* The id of the saved query. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **from** `integer | null` Start UNIX timestamp in milliseconds. Default: `null`. **kvp_info** `boolean | null` Include key-value pair information. Default: `null`. **most_recent_first** `boolean | null` Return most recent events first. Default: `null`. **per_page** `integer | null` Number of entries per page. Default: `null`. **time_range** `string | null` An alternative relative time range. Default: `null`. **to** `integer | null` End UNIX timestamp in milliseconds. Default: `null`. ## Search accounts Action ID: `tools.rapid7.search_accounts` Search accounts. Calls POST /idr/v1/accounts/\_search directly. Reference: [https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#operation/searchAccounts](https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#operation/searchAccounts) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **index** `integer | null` The optional 0-based page index. Default: `null`. **search** `array[object] | null` Search criteria with field, operator, and value. Default: `null`. **size** `integer | null` The optional page size. Default: `null`. **sort** `array[object] | null` Sorting information with field and order. Default: `null`. ## Search alerts Action ID: `tools.rapid7.search_alerts` Search alerts. Calls POST /idr/at/alerts/ops/search directly. Reference: [https://docs.rapid7.com/insightidr/api/alert-triage/#operation/searchAlerts](https://docs.rapid7.com/insightidr/api/alert-triage/#operation/searchAlerts) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **search** `object` *required* The search terms to match against. **aggregates** `array[object] | null` Aggregations to apply. Default: `null`. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **field_ids** `array[string] | null` Additional fields to include. Default: `null`. **index** `integer | null` The zero-based page index. Default: `null`. **rrns_only** `boolean | null` Return only alert RRNs when true. Default: `null`. **size** `integer | null` The page size. Default: `null`. **sorts** `array[object] | null` The sort order. Default: `null`. ## Search assets Action ID: `tools.rapid7.search_assets` Search assets. Calls POST /idr/v1/assets/\_search directly. Reference: [https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#operation/searchAssets](https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#operation/searchAssets) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **index** `integer | null` The optional 0-based page index. Default: `null`. **search** `array[object] | null` Search criteria with field, operator, and value. Default: `null`. **size** `integer | null` The optional page size. Default: `null`. **sort** `array[object] | null` Sorting information with field and order. Default: `null`. ## Search InsightAppSec Action ID: `tools.rapid7.search_appsec` Search. Calls POST /ias/v1/search directly. Reference: [https://help.rapid7.com/insightappsec/en-us/api/v1/docs.html#operation/perform-search](https://help.rapid7.com/insightappsec/en-us/api/v1/docs.html#operation/perform-search) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **query** `string` *required* The query for the Search. **type** `string` *required* Resource type: APP, SCAN, SCAN_CONFIG, VULNERABILITY, VULNERABILITY_DISCOVERY, ATTACK_TEMPLATE, TARGET, ENGINE, ENGINE_GROUP, SCHEDULE, BLACKOUT, FILE, TAG, or REPORT. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **index** `integer | null` The page index. Default: `null`. **limitData** `boolean | null` Whether to limit data. Default: `null`. **page_token** `string | null` The token to retrieve the next page. Default: `null`. **size** `integer | null` The page size. Default: `null`. **sort** `string | null` The sort criteria. Default: `null`. ## Search InsightVM assets Action ID: `tools.rapid7.search_vm_assets` Search assets. Calls POST /vm/v4/integration/assets directly. Reference: [https://help.rapid7.com/insightvm/en-us/api/integrations.html#operation/searchIntegrationAssets](https://help.rapid7.com/insightvm/en-us/api/integrations.html#operation/searchIntegrationAssets) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **asset** `string | null` Filter expression for assets. Default: `null`. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **comparisonTime** `string | null` Asset comparison time. Default: `null`. **currentTime** `string | null` Current comparison time. Default: `null`. **cursor** `string | null` Use the cursor from the previous response. Default: `null`. **includeInterSnapshotRemediations** `boolean | null` Include inter-snapshot remediations. Default: `null`. **includeSame** `boolean | null` Include already-existing vulnerabilities. Default: `null`. **includeUniqueIdentifiers** `boolean | null` Include unique identifiers. Default: `null`. **page** `integer | null` The zero-based page index. Default: `null`. **size** `integer | null` The number of records per page. Default: `null`. **sort** `string | null` The sort criteria. Default: `null`. **vulnerability** `string | null` Filter expression for vulnerabilities. Default: `null`. ## Search InsightVM vulnerabilities Action ID: `tools.rapid7.search_vm_vulnerabilities` Search vulnerabilities. Calls POST /vm/v4/integration/vulnerabilities directly. Reference: [https://help.rapid7.com/insightvm/en-us/api/integrations.html#operation/searchIntegrationVulnerabilities](https://help.rapid7.com/insightvm/en-us/api/integrations.html#operation/searchIntegrationVulnerabilities) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **cursor** `string | null` Use the cursor from the previous response. Default: `null`. **page** `integer | null` The zero-based page index. Default: `null`. **size** `integer | null` The number of records per page. Default: `null`. **sort** `string | null` The sort criteria. Default: `null`. **vulnerability** `string | null` Search expression for vulnerabilities. Default: `null`. ## Search investigations Action ID: `tools.rapid7.search_investigations` Search investigations. Calls POST /idr/v2/investigations/\_search directly. Reference: [https://help.rapid7.com/insightidr/en-us/api/v2/docs.html#operation/searchInvestigations](https://help.rapid7.com/insightidr/en-us/api/v2/docs.html#operation/searchInvestigations) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **end_time** `string | null` The end time for the investigation search. Default: `null`. **index** `integer | null` The optional 0-based index of the page to retrieve. Default: `null`. **multi_customer** `boolean | null` Indicates whether the requester has multi-customer access. If set to true, a user API key must be provided. Default: `null`. **search** `array[object] | null` The criteria for which investigations to return. Default: `null`. **size** `integer | null` The optional size of the page to retrieve. Default: `null`. **sort** `array[object] | null` The sorting information. Default: `null`. **start_time** `string | null` The start time for the investigation search. Default: `null`. ## Search local accounts Action ID: `tools.rapid7.search_local_accounts` Search local accounts. Calls POST /idr/v1/assets/local-accounts/\_search directly. Reference: [https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#operation/searchLocalAccounts](https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#operation/searchLocalAccounts) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **index** `integer | null` The optional 0-based page index. Default: `null`. **search** `array[object] | null` Search criteria with field, operator, and value. Default: `null`. **size** `integer | null` The optional page size. Default: `null`. **sort** `array[object] | null` Sorting information with field and order. Default: `null`. ## Search users Action ID: `tools.rapid7.search_users` Search users. Calls POST /idr/v1/users/\_search directly. Reference: [https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#operation/searchUsers](https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#operation/searchUsers) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **index** `integer | null` The optional 0-based page index. Default: `null`. **search** `array[object] | null` Search criteria with field, operator, and value. Default: `null`. **size** `integer | null` The optional page size. Default: `null`. **sort** `array[object] | null` Sorting information with field and order. Default: `null`. ## Set investigation disposition Action ID: `tools.rapid7.set_investigation_disposition` Set investigation disposition. Calls PUT /idr/v2/investigations/\{id}/disposition/\{disposition} directly. Reference: [https://help.rapid7.com/insightidr/en-us/api/v2/docs.html#operation/setDisposition](https://help.rapid7.com/insightidr/en-us/api/v2/docs.html#operation/setDisposition) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **disposition** `string` *required* The new value for the investigation. **id** `string` *required* The id or rrn of the investigation. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **multi_customer** `boolean | null` Indicates whether the requester has multi-customer access. If set to true, a user API key must be provided. Default: `null`. ## Set investigation priority Action ID: `tools.rapid7.set_investigation_priority` Set investigation priority. Calls PUT /idr/v2/investigations/\{id}/priority/\{priority} directly. Reference: [https://help.rapid7.com/insightidr/en-us/api/v2/docs.html#operation/setPriority](https://help.rapid7.com/insightidr/en-us/api/v2/docs.html#operation/setPriority) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **id** `string` *required* The id or rrn of the investigation. **priority** `string` *required* The new value for the investigation. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **multi_customer** `boolean | null` Indicates whether the requester has multi-customer access. If set to true, a user API key must be provided. Default: `null`. ## Set investigation status Action ID: `tools.rapid7.set_investigation_status` Set investigation status. Calls PUT /idr/v2/investigations/\{id}/status/\{status} directly. Reference: [https://help.rapid7.com/insightidr/en-us/api/v2/docs.html#operation/setStatus](https://help.rapid7.com/insightidr/en-us/api/v2/docs.html#operation/setStatus) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **id** `string` *required* The id or rrn of the investigation. **status** `string` *required* The new value for the investigation. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **multi_customer** `boolean | null` Indicates whether the requester has multi-customer access. If set to true, a user API key must be provided. Default: `null`. **payload** `object | null` Optional body fields: disposition, threat_command_close_reason, and threat_command_free_text. Default: `null`. ## Start InsightVM scan Action ID: `tools.rapid7.start_vm_scan` Start scan. Calls POST /vm/v4/integration/scan directly. Reference: [https://help.rapid7.com/insightvm/en-us/api/integrations.html#operation/startScan](https://help.rapid7.com/insightvm/en-us/api/integrations.html#operation/startScan) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **payload** `object` *required* API-native ScanForm body. Fields include asset_ids, credential_sources, engine_ids, name, result_consumer, solution_ids, start_time, and vulnerability_ids. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. ## Stop InsightVM scan Action ID: `tools.rapid7.stop_vm_scan` Stop scan. Calls POST /vm/v4/integration/scan/\{id}/stop directly. Reference: [https://help.rapid7.com/insightvm/en-us/api/integrations.html#operation/stopScan](https://help.rapid7.com/insightvm/en-us/api/integrations.html#operation/stopScan) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **id** `string` *required* The identifier of the scan to stop. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. ## Submit InsightAppSec scan Action ID: `tools.rapid7.submit_appsec_scan` Submit scan. Calls POST /ias/v1/scans directly. Reference: [https://help.rapid7.com/insightappsec/en-us/api/v1/docs.html#operation/submit-scan](https://help.rapid7.com/insightappsec/en-us/api/v1/docs.html#operation/submit-scan) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **scan_config_id** `string` *required* The ID of the scan configuration. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **scan_type** `string | null` The type of Scan. Default: `null`. ## Submit InsightAppSec scan action Action ID: `tools.rapid7.submit_appsec_scan_action` Submit scan action. Calls PUT /ias/v1/scans/\{scan_id}/action directly. Reference: [https://help.rapid7.com/insightappsec/en-us/api/v1/docs.html#operation/submit-scan-action](https://help.rapid7.com/insightappsec/en-us/api/v1/docs.html#operation/submit-scan-action) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **action** `string` *required* The action: PAUSE, RESUME, STOP, AUTHENTICATE, or CANCEL. **scan_id** `string` *required* The identifier of the scan. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. ## Update alert Action ID: `tools.rapid7.update_alert` Update alert. Calls PATCH /idr/at/alerts/\{alert_rrn} directly. Reference: [https://docs.rapid7.com/insightidr/api/alert-triage/#operation/patchAlert](https://docs.rapid7.com/insightidr/api/alert-triage/#operation/patchAlert) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **alert_rrn** `string` *required* The unique identifier of the alert. **payload** `object` *required* API-native request body. Fields include status, disposition, priority, assignee, investigation, tags, and comment. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. ## Update investigation Action ID: `tools.rapid7.update_investigation` Update investigation. Calls PATCH /idr/v2/investigations/\{id} directly. Reference: [https://help.rapid7.com/insightidr/en-us/api/v2/docs.html#operation/updateInvestigation](https://help.rapid7.com/insightidr/en-us/api/v2/docs.html#operation/updateInvestigation) ### Secrets Required secrets: * `rapid7`: required values `RAPID7_API_KEY`. ### Input fields **id** `string` *required* The id or rrn of the investigation. **payload** `object` *required* API-native request body. Fields include title, status, priority, disposition, assignee, and threat command fields. **base_url** `string | null` Regional Insight Platform API base URL (e.g. [https://eu.api.insight.rapid7.com](https://eu.api.insight.rapid7.com)). Regions: us, us2, us3, eu, ca, au, ap. Default: `null`. **multi_customer** `boolean | null` Indicates whether the requester has multi-customer access. If set to true, a user API key must be provided. Default: `null`. # Recorded Future Source: https://docs.tracecat.com/tools/recorded_future Reference for the Tracecat Recorded Future integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Add entity to list Action ID: `tools.recorded_future.add_entity_to_list` Add an entity to the list listId. Calls POST /list/\{listId}/entity/add directly. Reference: [https://docs.recordedfuture.com/reference/lists-add-entity](https://docs.recordedfuture.com/reference/lists-add-entity) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **entity** `object` *required* Entity to add, given either as \{"id": "\"} or as \{"type": "\", "name": "\"}. Different lists have different limitations in terms of entity types, some lists have no limitations in terms of entity types, consult the specific list you are trying to update. **listId** `string` *required* Id of list or named watch list. **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. **context** `object | null` Context to store with the list entry. Default: `null`. ## Enrich indicators Action ID: `tools.recorded_future.enrich_indicators` Returns risk score and risk rules for the submitted indicators. Handles both individual and batch lookups up to 1000 IOCs per request. Calls POST /soar/v3/enrichment directly. Reference: [https://docs.recordedfuture.com/reference/soar-enrich](https://docs.recordedfuture.com/reference/soar-enrich) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. **companybydomain** `array[string] | null` Company domains to enrich. Default: `null`. **domain** `array[string] | null` Domains to enrich. Default: `null`. **hash** `array[string] | null` Hashes to enrich. Default: `null`. **ip** `array[string] | null` IP addresses to enrich. Default: `null`. **metadata** `boolean | null` Annotates the response with additional metadata explaining the response data elements. Default: `null`. **url** `array[string] | null` URLs to enrich. Default: `null`. **vulnerability** `array[string] | null` Vulnerabilities to enrich. Default: `null`. ## Get alert Action ID: `tools.recorded_future.get_alert` Fetch an alert by id. Calls GET /alert/v3/\{alert_id} directly. Reference: [https://docs.recordedfuture.com/reference/alerts-get-by-id](https://docs.recordedfuture.com/reference/alerts-get-by-id) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **alert_id** `string` *required* Id of alert to fetch. **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. **fields** `string | null` Fields to include in the response. If no specific fields are requested, all available fields are included in the response. Values should be separated by comma. Available fields are ai_insights, enriched_entities, hits, id, log, owner_organisation_details, review, rule, title, triggered_by, type and url. Default: `null`. **taggedText** `boolean | null` Include text tags. Default: `null`. ## Get list entities Action ID: `tools.recorded_future.get_list_entities` Get entities on the list listId. Calls GET /list/\{listId}/entities directly. Reference: [https://docs.recordedfuture.com/reference/lists-entities](https://docs.recordedfuture.com/reference/lists-entities) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **listId** `string` *required* Id of list or named watch list. **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. ## Get playbook alert Action ID: `tools.recorded_future.get_playbook_alert` Returns a Playbook Alert representation containing only properties shared between all alert types. Calls GET /playbook-alert/common/\{playbook_alert_id} directly. Reference: [https://docs.recordedfuture.com/reference/playbook-alerts-preview](https://docs.recordedfuture.com/reference/playbook-alerts-preview) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **playbook_alert_id** `string` *required* The unique id of a specific Playbook Alert. **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. ## List alert hits Action ID: `tools.recorded_future.list_alert_hits` Returns only a flat array of all hits (the Intelligence Cloud data that caused the alert to trigger) for one or several alerts. Calls GET /alert/v3/hits directly. Reference: [https://docs.recordedfuture.com/reference/alerts-get-hits](https://docs.recordedfuture.com/reference/alerts-get-hits) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **ids** `string` *required* Alert ids separated by comma. **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. **taggedText** `boolean | null` Include text tags. Default: `null`. ## List triage contexts Action ID: `tools.recorded_future.list_triage_contexts` Lookup all available risk contexts. Calls GET /soar/v3/triage/contexts directly. Reference: [https://docs.recordedfuture.com/reference/soar-get-contexts](https://docs.recordedfuture.com/reference/soar-get-contexts) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. ## Lookup analyst note Action ID: `tools.recorded_future.lookup_analyst_note` Lookup a specific Analyst Note. Calls POST /analyst-note/lookup/\{note_id} directly. Reference: [https://docs.recordedfuture.com/reference/analyst-note-lookup](https://docs.recordedfuture.com/reference/analyst-note-lookup) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **note_id** `string` *required* Note id. **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. **escape_html** `boolean | null` Determines if HTML tags are escaped, applied only when tagged_text is true and tagged_text_format is html. Default: `null`. **serialization** `string | null` Entity serialization level. When set to id, only the entity id will be included. Setting it to min leads to the id and name being included and setting it to full means that each entity will have the id, name, type, isThreatActor flag and possibly a description included in the response. Allowed values are id, min and full. Default: `null`. **tagged_text** `boolean | null` Determines if the \\ tags should be inline with entities in the note title and text. Default: `null`. **tagged_text_format** `string | null` Output format for inline tags when tagged_text is true. Allowed values are html and markdown. Recorded Future defaults to html. Default: `null`. ## Lookup company Action ID: `tools.recorded_future.lookup_company` Lookup a Company entity by id. Calls GET /v2/company/\{id} directly. Reference: [https://docs.recordedfuture.com/reference/company-lookup](https://docs.recordedfuture.com/reference/company-lookup) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **id** `string` *required* Company entity id. **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. **fields** `string | null` The enrichment fields requested for the entities returned. Several fields can be given as a comma separated string. See [https://docs.recordedfuture.com/reference/enrichment-field-attributes](https://docs.recordedfuture.com/reference/enrichment-field-attributes) for a list of values. Default: `null`. **metadata** `boolean | null` Annotates the response with additional metadata explaining the response data elements. Default: `null`. **taggedText** `boolean | null` Enable or disable entity tags in text fragments. Default: `null`. ## Lookup company by domain Action ID: `tools.recorded_future.lookup_company_by_domain` Retrieve a company by a domain it owns. Calls GET /v2/company/by_domain/\{domain} directly. Reference: [https://docs.recordedfuture.com/reference/company-lookup-by-domain](https://docs.recordedfuture.com/reference/company-lookup-by-domain) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **domain** `string` *required* Domain owned by Company. **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. **fields** `string | null` The enrichment fields requested for the entities returned. Several fields can be given as a comma separated string. See [https://docs.recordedfuture.com/reference/enrichment-field-attributes](https://docs.recordedfuture.com/reference/enrichment-field-attributes) for a list of values. Default: `null`. **metadata** `boolean | null` Annotates the response with additional metadata explaining the response data elements. Default: `null`. ## Lookup domain Action ID: `tools.recorded_future.lookup_domain` Lookup a Domain entity by id. Calls GET /v2/domain/\{id} directly. Reference: [https://docs.recordedfuture.com/reference/domain-lookup](https://docs.recordedfuture.com/reference/domain-lookup) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **id** `string` *required* Domain entity id. **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. **fields** `string | null` The enrichment fields requested for the entities returned. Several fields can be given as a comma separated string. See [https://docs.recordedfuture.com/reference/enrichment-field-attributes](https://docs.recordedfuture.com/reference/enrichment-field-attributes) for a list of values. Default: `null`. **metadata** `boolean | null` Annotates the response with additional metadata explaining the response data elements. Default: `null`. **taggedText** `boolean | null` Enable or disable entity tags in text fragments. Default: `null`. ## Lookup entity Action ID: `tools.recorded_future.lookup_entity` Lookup entity by its ID. Calls GET /entity-match/entity/\{id} directly. Reference: [https://docs.recordedfuture.com/reference/entity-lookup](https://docs.recordedfuture.com/reference/entity-lookup) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **id** `string` *required* Entity ID. **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. ## Lookup hash Action ID: `tools.recorded_future.lookup_hash` Lookup a Hash entity by id. Calls GET /v2/hash/\{id} directly. Reference: [https://docs.recordedfuture.com/reference/hash-lookup](https://docs.recordedfuture.com/reference/hash-lookup) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **id** `string` *required* Hash entity id. **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. **fields** `string | null` The enrichment fields requested for the entities returned. Several fields can be given as a comma separated string. See [https://docs.recordedfuture.com/reference/enrichment-field-attributes](https://docs.recordedfuture.com/reference/enrichment-field-attributes) for a list of values. Default: `null`. **metadata** `boolean | null` Annotates the response with additional metadata explaining the response data elements. Default: `null`. **taggedText** `boolean | null` Enable or disable entity tags in text fragments. Default: `null`. ## Lookup IP Action ID: `tools.recorded_future.lookup_ip` Lookup a IP address entity by id. Calls GET /v2/ip/\{id} directly. Reference: [https://docs.recordedfuture.com/reference/ip-lookup](https://docs.recordedfuture.com/reference/ip-lookup) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **id** `string` *required* IP address entity id. **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. **fields** `string | null` The enrichment fields requested for the entities returned. Several fields can be given as a comma separated string. See [https://docs.recordedfuture.com/reference/enrichment-field-attributes](https://docs.recordedfuture.com/reference/enrichment-field-attributes) for a list of values. Default: `null`. **metadata** `boolean | null` Annotates the response with additional metadata explaining the response data elements. Default: `null`. **taggedText** `boolean | null` Enable or disable entity tags in text fragments. Default: `null`. ## Lookup malware Action ID: `tools.recorded_future.lookup_malware` Lookup a Malware entity by id. Calls GET /v2/malware/\{id} directly. Reference: [https://docs.recordedfuture.com/reference/malware-lookup](https://docs.recordedfuture.com/reference/malware-lookup) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **id** `string` *required* Malware entity id. **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. **fields** `string | null` The enrichment fields requested for the entities returned. Several fields can be given as a comma separated string. See [https://docs.recordedfuture.com/reference/enrichment-field-attributes](https://docs.recordedfuture.com/reference/enrichment-field-attributes) for a list of values. Default: `null`. **metadata** `boolean | null` Annotates the response with additional metadata explaining the response data elements. Default: `null`. **taggedText** `boolean | null` Enable or disable entity tags in text fragments. Default: `null`. ## Lookup URL Action ID: `tools.recorded_future.lookup_url` Lookup a URL entity by id. Calls GET /v2/url/\{id} directly. Reference: [https://docs.recordedfuture.com/reference/url-lookup](https://docs.recordedfuture.com/reference/url-lookup) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **id** `string` *required* URL entity id. **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. **fields** `string | null` The enrichment fields requested for the entities returned. Several fields can be given as a comma separated string. See [https://docs.recordedfuture.com/reference/enrichment-field-attributes](https://docs.recordedfuture.com/reference/enrichment-field-attributes) for a list of values. Default: `null`. **metadata** `boolean | null` Annotates the response with additional metadata explaining the response data elements. Default: `null`. **taggedText** `boolean | null` Enable or disable entity tags in text fragments. Default: `null`. ## Lookup vulnerability Action ID: `tools.recorded_future.lookup_vulnerability` Lookup a Vulnerability entity by id. Calls GET /v2/vulnerability/\{id} directly. Reference: [https://docs.recordedfuture.com/reference/vulnerability-lookup](https://docs.recordedfuture.com/reference/vulnerability-lookup) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **id** `string` *required* Vulnerability entity id. **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. **fields** `string | null` The enrichment fields requested for the entities returned. Several fields can be given as a comma separated string. See [https://docs.recordedfuture.com/reference/enrichment-field-attributes](https://docs.recordedfuture.com/reference/enrichment-field-attributes) for a list of values. Default: `null`. **metadata** `boolean | null` Annotates the response with additional metadata explaining the response data elements. Default: `null`. **taggedText** `boolean | null` Enable or disable entity tags in text fragments. Default: `null`. ## Match entities Action ID: `tools.recorded_future.match_entities` Match entities by name and (optionally) type. Calls POST /entity-match/match directly. Reference: [https://docs.recordedfuture.com/reference/entity-match](https://docs.recordedfuture.com/reference/entity-match) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **name** `string` *required* Entity name to match for. **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. **limit** `integer | null` Number of entities to include in the response. The maximum is 100 and Recorded Future defaults to 10. Default: `null`. **type** `array[string] | null` Entity types to match for. Default: `null`. ## Publish analyst note Action ID: `tools.recorded_future.publish_analyst_note` Publish an Analyst Note from a JSON object. Calls POST /analyst-note/publish directly. Reference: [https://docs.recordedfuture.com/reference/analyst-note-publish](https://docs.recordedfuture.com/reference/analyst-note-publish) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **text** `string` *required* Note text. Sent as attributes.text. **title** `string` *required* Note title. Sent as attributes.title. **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. **context_entities** `array[string] | null` Entity ids. Context entities or note entities must be specified. Each entity must exist as a note entity. Sent as attributes.context_entities. Default: `null`. **detection_rules** `array[string] | null` Entity ids for detection rules. Sent as attributes.detection_rules. Default: `null`. **escape_html** `boolean | null` Determines if HTML tags are escaped, applied only when tagged_text is true. Default: `null`. **labels** `array[string] | null` Entity ids for the note labels. Sent as attributes.labels. Default: `null`. **note_entities** `array[string] | null` Entity ids. Either note entities or context entities must be specified. Each entity must exist as a note entity. Sent as attributes.note_entities. Default: `null`. **note_id** `string | null` The id of an existing note to edit. Default: `null`. **resolve_entities** `boolean | null` Determines if the entity resolver should be used on the note title and text for automated tagging of entities. Recorded Future defaults to true. Default: `null`. **serialization** `string | null` Entity serialization level. When set to id, only the entity id will be included. Setting it to min leads to the id and name being included and setting it to full means that each entity will have the id, name, type, isThreatActor flag and possibly a description included in the response. Allowed values are id, min and full. Default: `null`. **source** `string | null` Entity id for note source. Default: `null`. **tagged_text** `boolean | null` Determines if the \\ tags should be inline with entities in the note title and text. Default: `null`. **topic** `array[string] | null` Array of entity ids for the topics, see [https://docs.recordedfuture.com/reference/analyst-note-available-topics](https://docs.recordedfuture.com/reference/analyst-note-available-topics) for available ones. Sent as attributes.topic. Default: `null`. **validated_on** `string | null` Date when analyst note was validated. Sent as attributes.validated_on. Default: `null`. ## Remove entity from list Action ID: `tools.recorded_future.remove_entity_from_list` Remove an entity from the list listId. Calls POST /list/\{listId}/entity/remove directly. Reference: [https://docs.recordedfuture.com/reference/lists-remove-entity](https://docs.recordedfuture.com/reference/lists-remove-entity) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **entity** `object` *required* Entity to remove, given either as \{"id": "\"} or as \{"type": "\", "name": "\"}. **listId** `string` *required* Id of list or named watch list. **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. ## Search alert rules Action ID: `tools.recorded_future.search_alert_rules` Search for alert rules based on a set of filters. Calls GET /alert/v2/rule directly. Reference: [https://docs.recordedfuture.com/reference/alerts-search-rules](https://docs.recordedfuture.com/reference/alerts-search-rules) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. **freetext** `string | null` Filter by any text. Default: `null`. **limit** `integer | null` Maximum number of items to include. The maximum is 1000 and Recorded Future defaults to 10. Default: `null`. **taggedText** `boolean | null` Include text tags. Default: `null`. ## Search alerts Action ID: `tools.recorded_future.search_alerts` Search for alerts based on a set of filters. Calls GET /alert/v3 directly. Reference: [https://docs.recordedfuture.com/reference/alerts-search](https://docs.recordedfuture.com/reference/alerts-search) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **alertRule** `string | null` Filter by alert rule id. Default: `null`. **assignee** `string | null` Filter by a specific assigned user, using the email address associated with that user account, or use NONE to explicitly match against unassigned alerts. Default: `null`. **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. **direction** `string | null` Sort direction based on the triggered timestamp. Allowed values are asc and desc. Default: `null`. **fields** `string | null` Fields to include in the response. If no specific fields are requested, all available fields are included in the response. Values should be separated by comma. Available fields are ai_insights, enriched_entities, hits, id, log, owner_organisation_details, review, rule, title, triggered_by, type and url. Default: `null`. **freetext** `string | null` Filter by any text. Default: `null`. **from** `integer | null` Offset search from previous result. The API may only return the first 1000 results, meaning that limit + from cannot exceed 1000. Default: `null`. **limit** `integer | null` Maximum number of items to include. The maximum is 1000 and Recorded Future defaults to 10. Default: `null`. **orderby** `string | null` Sort order. The only allowed value is triggered. Default: `null`. **statusInPortal** `string | null` Filter by review status. Allowed values are New, Resolved, Pending, Dismissed and Flag for Tuning. Default: `null`. **taggedText** `boolean | null` Include text tags. Default: `null`. **triggered** `string | null` The triggered time itself has millisecond precision, but can be searched for using parameters of higher granularity on the form \[x, y], which is interpreted as beginning of x until end of y. Default: `null`. ## Search analyst notes Action ID: `tools.recorded_future.search_analyst_notes` Search for published analyst notes, either from within the enterprise or from Insikt Group. Calls POST /analyst-note/search directly. Reference: [https://docs.recordedfuture.com/reference/analyst-note-search](https://docs.recordedfuture.com/reference/analyst-note-search) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. **entity** `string | null` Entity id. Default: `null`. **escape_html** `boolean | null` Determines if HTML tags are escaped, applied only when tagged_text is true and tagged_text_format is html. Default: `null`. **from** `string | null` Offset the result based on next_offset from a previous search response. Default: `null`. **label** `string | null` Search string to match against note labels. Default: `null`. **limit** `integer | null` Maximum number of references from which notes are fetched, at most 1000. Recorded Future defaults to 10. Default: `null`. **published** `string | null` Notes published after this date, absolute like 2024-01-01 or relative like -3d. Default: `null`. **serialization** `string | null` Entity serialization level. When set to id, only the entity id will be included. Setting it to min leads to the id and name being included and setting it to full means that each entity will have the id, name, type, isThreatActor flag and possibly a description included in the response. Allowed values are id, min and full. Default: `null`. **source** `string | null` Entity id for note source. Default: `null`. **tagged_text** `boolean | null` Determines if the \\ tags should be inline with entities in the note title and text. Default: `null`. **tagged_text_format** `string | null` Output format for inline tags when tagged_text is true. Allowed values are html and markdown. Recorded Future defaults to html. Default: `null`. **title** `string | null` Search string to match against note titles. Default: `null`. **topic** `string | null` Topic entity id, see [https://docs.recordedfuture.com/reference/analyst-note-available-topics](https://docs.recordedfuture.com/reference/analyst-note-available-topics) for available ones. Default: `null`. ## Search companies Action ID: `tools.recorded_future.search_companies` Search for Company entities based on a filter. Calls GET /v2/company/search directly. Reference: [https://docs.recordedfuture.com/reference/company-search](https://docs.recordedfuture.com/reference/company-search) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. **direction** `string | null` The direction of the sorting by the orderBy parameter, ascending or descending. Allowed values are asc and desc. Default: `null`. **domicile** `string | null` Filters for companies based on domicile. The expected value is a valid Entity ID for a country. The Entity Match API is available to lookup country Entity IDs. Default: `null`. **fields** `string | null` The enrichment fields requested for the entities returned. Several fields can be given as a comma separated string. See [https://docs.recordedfuture.com/reference/enrichment-field-attributes](https://docs.recordedfuture.com/reference/enrichment-field-attributes) for a list of values. Default: `null`. **firstSeen** `string | null` Filters entities based on the download of the first reference which is taken into account during risk scoring of the entity. All Elasticsearch compatible date formats are valid. Default: `null`. **freetext** `string | null` Freetext. Default: `null`. **from** `integer | null` Offsets the pagination of the request. Note that there is a limit of returning only the top 1000 results from a search, meaning if limit plus from exceeds 1000, this will result in a Bad Request message. Default: `null`. **industry** `string | null` Filters for companies based on industry. The expected value is a Industry ID. Default: `null`. **lastSeen** `string | null` Filters entities based on the download of the latest reference which is taken into account during risk scoring of the entity. All Elasticsearch compatible date formats are valid. Default: `null`. **limit** `integer | null` Maximum number of records returned. The maximum is 1000. Default: `null`. **list** `string | null` Filters entities based on presence in a single list. Requires the list ID, which can be found using the List API. Default: `null`. **metadata** `boolean | null` Annotates the response with additional metadata explaining the response data elements. Default: `null`. **orderBy** `string | null` Sorts the search according to the chosen parameter. Results are sorted before pagination. Allowed values are created, modified, sixtydayshits, sevendayhits, criticality, riskscore, totalhits, firstseen, lastseen and rules. Default: `null`. **parent** `string | null` Filters for companies based on parent company. The expected value is a Company ID. Default: `null`. **riskRule** `string | null` Filters for companies based on a single risk rule. Valid rule IDs are listed by the GET /v2/company/riskrules endpoint. Default: `null`. **riskScore** `string | null` Filters entities based on risk score, e.g. on the form \[20, 80] (20 \<= risk score \<= 80), \[20,) (20 \<= risk score), or \[,90) (risk score \< 90). '\[' and ']' are inclusive while '(' and ')' are exclusive. Default: `null`. ## Search detection rules Action ID: `tools.recorded_future.search_detection_rules` Search for detection rules based on the provided filter. Calls POST /detection-rule/search directly. Reference: [https://docs.recordedfuture.com/reference/detection-rules-search](https://docs.recordedfuture.com/reference/detection-rules-search) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. **created_after** `string | null` Only return rules created after this point in time. Sent as filter.created.after. Default: `null`. **created_before** `string | null` Only return rules created before this point in time. Sent as filter.created.before. Default: `null`. **doc_id** `string | null` Document Identity. Sent as filter.doc_id. Default: `null`. **entities** `array[string] | null` Entity ids the detection rules are associated with. Sent as filter.entities. Default: `null`. **limit** `integer | null` Maximum number of detection rules to return. Recorded Future defaults to 10. Default: `null`. **offset** `string | null` An opaque string that was received as the next_offset in the previous call when paging. It identifies the next page with additional results that did not fit within the limit. Default: `null`. **tagged_entities** `boolean | null` Set this to true to get tagged entities in the text. Recorded Future defaults to false. Default: `null`. **title** `string | null` Free text search on the Insikt Note title published with the detection rule. Sent as filter.title. Default: `null`. **types** `array[string] | null` The types of detection rule to return. Allowed values are sigma, yara, snort, nuclei and suricata. Sent as filter.types. Default: `null`. **updated_after** `string | null` Only return rules updated after this point in time. Sent as filter.updated.after. Default: `null`. **updated_before** `string | null` Only return rules updated before this point in time. Sent as filter.updated.before. Default: `null`. ## Search domains Action ID: `tools.recorded_future.search_domains` Search for Domain entities based on a filter. Calls GET /v2/domain/search directly. Reference: [https://docs.recordedfuture.com/reference/domain-search](https://docs.recordedfuture.com/reference/domain-search) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. **direction** `string | null` The direction of the sorting by the orderBy parameter, ascending or descending. Allowed values are asc and desc. Default: `null`. **fields** `string | null` The enrichment fields requested for the entities returned. Several fields can be given as a comma separated string. See [https://docs.recordedfuture.com/reference/enrichment-field-attributes](https://docs.recordedfuture.com/reference/enrichment-field-attributes) for a list of values. Default: `null`. **firstSeen** `string | null` Filters entities based on the download of the first reference which is taken into account during risk scoring of the entity. All Elasticsearch compatible date formats are valid. Default: `null`. **from** `integer | null` Offsets the pagination of the request. Note that there is a limit of returning only the top 1000 results from a search, meaning if limit plus from exceeds 1000, this will result in a Bad Request message. Default: `null`. **lastSeen** `string | null` Filters entities based on the download of the latest reference which is taken into account during risk scoring of the entity. All Elasticsearch compatible date formats are valid. Default: `null`. **limit** `integer | null` Maximum number of records returned. The maximum is 1000. Default: `null`. **list** `string | null` Filters entities based on presence in a single list. Requires the list ID, which can be found using the List API. Default: `null`. **metadata** `boolean | null` Annotates the response with additional metadata explaining the response data elements. Default: `null`. **orderBy** `string | null` Sorts the search according to the chosen parameter. Results are sorted before pagination. Allowed values are created, modified, sixtydayshits, sevendayhits, criticality, riskscore, totalhits, firstseen, lastseen and rules. Default: `null`. **parent** `string | null` Filters for companies based on parent company. The expected value is a Company ID. Default: `null`. **riskRule** `string | null` Filters for domains based on a single risk rule. Valid rule IDs are listed by the GET /v2/domain/riskrules endpoint. Default: `null`. **riskScore** `string | null` Filters entities based on risk score, e.g. on the form \[20, 80] (20 \<= risk score \<= 80), \[20,) (20 \<= risk score), or \[,90) (risk score \< 90). '\[' and ']' are inclusive while '(' and ')' are exclusive. Default: `null`. ## Search hashes Action ID: `tools.recorded_future.search_hashes` Search for Hash entities based on a filter. Calls GET /v2/hash/search directly. Reference: [https://docs.recordedfuture.com/reference/hash-search](https://docs.recordedfuture.com/reference/hash-search) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **algorithm** `string | null` Filters hash entities based on hash algorithm. Allowed values are MD5, SHA-1, SHA-256, SHA-512, SSDEEP and SHA-384. Default: `null`. **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. **direction** `string | null` The direction of the sorting by the orderBy parameter, ascending or descending. Allowed values are asc and desc. Default: `null`. **fields** `string | null` The enrichment fields requested for the entities returned. Several fields can be given as a comma separated string. See [https://docs.recordedfuture.com/reference/enrichment-field-attributes](https://docs.recordedfuture.com/reference/enrichment-field-attributes) for a list of values. Default: `null`. **firstSeen** `string | null` Filters entities based on the download of the first reference which is taken into account during risk scoring of the entity. All Elasticsearch compatible date formats are valid. Default: `null`. **from** `integer | null` Offsets the pagination of the request. Note that there is a limit of returning only the top 1000 results from a search, meaning if limit plus from exceeds 1000, this will result in a Bad Request message. Default: `null`. **lastSeen** `string | null` Filters entities based on the download of the latest reference which is taken into account during risk scoring of the entity. All Elasticsearch compatible date formats are valid. Default: `null`. **limit** `integer | null` Maximum number of records returned. The maximum is 1000. Default: `null`. **list** `string | null` Filters entities based on presence in a single list. Requires the list ID, which can be found using the List API. Default: `null`. **metadata** `boolean | null` Annotates the response with additional metadata explaining the response data elements. Default: `null`. **orderBy** `string | null` Sorts the search according to the chosen parameter. Results are sorted before pagination. Allowed values are created, modified, sixtydayshits, sevendayhits, criticality, riskscore, totalhits, firstseen, lastseen and rules. Default: `null`. **riskRule** `string | null` Filters for hashes based on a single risk rule. Valid rule IDs are listed by the GET /v2/hash/riskrules endpoint. Default: `null`. **riskScore** `string | null` Filters entities based on risk score, e.g. on the form \[20, 80] (20 \<= risk score \<= 80), \[20,) (20 \<= risk score), or \[,90) (risk score \< 90). '\[' and ']' are inclusive while '(' and ')' are exclusive. Default: `null`. ## Search IP addresses Action ID: `tools.recorded_future.search_ips` Search for IP Address entities based on a filter. Calls GET /v2/ip/search directly. Reference: [https://docs.recordedfuture.com/reference/ip-search](https://docs.recordedfuture.com/reference/ip-search) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. **direction** `string | null` The direction of the sorting by the orderBy parameter, ascending or descending. Allowed values are asc and desc. Default: `null`. **fields** `string | null` The enrichment fields requested for the entities returned. Several fields can be given as a comma separated string. See [https://docs.recordedfuture.com/reference/enrichment-field-attributes](https://docs.recordedfuture.com/reference/enrichment-field-attributes) for a list of values. Default: `null`. **firstSeen** `string | null` Filters entities based on the download of the first reference which is taken into account during risk scoring of the entity. All Elasticsearch compatible date formats are valid. Default: `null`. **from** `integer | null` Offsets the pagination of the request. Note that there is a limit of returning only the top 1000 results from a search, meaning if limit plus from exceeds 1000, this will result in a Bad Request message. Default: `null`. **lastSeen** `string | null` Filters entities based on the download of the latest reference which is taken into account during risk scoring of the entity. All Elasticsearch compatible date formats are valid. Default: `null`. **limit** `integer | null` Maximum number of records returned. The maximum is 1000. Default: `null`. **list** `string | null` Filters entities based on presence in a single list. Requires the list ID, which can be found using the List API. Default: `null`. **location** `string | null` Filters for IPs based on location expressed as RF ID. Default: `null`. **metadata** `boolean | null` Annotates the response with additional metadata explaining the response data elements. Default: `null`. **orderBy** `string | null` Sorts the search according to the chosen parameter. Results are sorted before pagination. Allowed values are created, modified, sixtydayshits, sevendayhits, criticality, riskscore, totalhits, firstseen, lastseen and rules. Default: `null`. **range** `string | null` Range of IPs to search for, expressed as start-end or CIDR. Default: `null`. **riskRule** `string | null` Filters for IPs based on a single risk rule. Valid rule IDs are listed by the GET /v2/ip/riskrules endpoint. Default: `null`. **riskScore** `string | null` Filters entities based on risk score, e.g. on the form \[20, 80] (20 \<= risk score \<= 80), \[20,) (20 \<= risk score), or \[,90) (risk score \< 90). '\[' and ']' are inclusive while '(' and ')' are exclusive. Default: `null`. ## Search links Action ID: `tools.recorded_future.search_links` Search for links related to one or more entities. The Entity Match API may be used to determine the ID for a certain entity. Calls POST /links/search directly. Reference: [https://docs.recordedfuture.com/reference/links-search](https://docs.recordedfuture.com/reference/links-search) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **entities** `array[string]` *required* IDs of entities to return links for. If more than one ID is provided, it is equivalent of calling this endpoint once for each, condensed into one call. **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. **connected_entities** `array[string] | null` Filter on entities linked to a link. Sent as filters.technical.connected_entities. Default: `null`. **entity_types** `array[string] | null` Only return these types of entities. Possible values are listed by the links metadata endpoint. Sent as filters.entity_types. Default: `null`. **events** `array[string] | null` Filter on specific types of technical sources. Sent as filters.technical.events. Default: `null`. **per_entity_type** `integer | null` The maximum number of returned entities per type. Indicators are sorted by risk prior to filtering. Sent as limits.per_entity_type. Default: `null`. **search_scope** `string | null` Predefined levels of search depth. A larger scope may yield more linked entities, at the cost of increased latency. Allowed values are small, medium and large. Sent as limits.search_scope. Default: `null`. **sections** `array[string] | null` Only return links categorized under these sections. Possible values are listed by the links metadata endpoint. Sent as filters.sections. Default: `null`. **sources** `array[string] | null` Types of sources to use. Allowed values are technical and insikt. Sent as filters.sources. Default: `null`. **timeframe** `string | null` Time range for links from technical sources. As an ISO Date (2022-01-01) or relative to today (-7d). Maximum of 1825 days from today. Sent as filters.technical.timeframe. Default: `null`. ## Search lists Action ID: `tools.recorded_future.search_lists` Find lists based on a query. Calls POST /list/search directly. Reference: [https://docs.recordedfuture.com/reference/lists-search](https://docs.recordedfuture.com/reference/lists-search) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. **limit** `integer | null` Maximum number of lists to return. The maximum is 100 and Recorded Future defaults to 25. Default: `null`. **name** `string | null` Search string to match against list names. Default: `null`. **type** `string | null` Type of list to search for. Allowed values are entity, source, text, custom, ip, domain, tech_stack, industry, brand, partner, industry_peer, location, supplier, vulnerability, company, hash, operation, attacker, target, method and executive. Recorded Future defaults to entity. Default: `null`. ## Search playbook alerts Action ID: `tools.recorded_future.search_playbook_alerts` Searches for Playbook Alerts based on filtering conditions supplied in the body. Only Playbook Alerts matching all specified criteria are included in the response. Calls POST /playbook-alert/search directly. Reference: [https://docs.recordedfuture.com/reference/playbook-alerts-search](https://docs.recordedfuture.com/reference/playbook-alerts-search) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **assignee** `array[string] | null` Return Playbook Alerts with this assignee. Valid assignees can be listed in /playbook-alert/metadata/assignees. Default: `null`. **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. **category** `array[string] | null` Return Playbook Alerts with this category. Allowed values are domain_abuse, malicious_sites, cyber_vulnerability, code_repo_leakage, third_party_risk, identity_novel_exposures, geopolitics_facility, dark_web and socmed_impersonation. Default: `null`. **created_from** `string | null` Created at or after this point in time. Sent as created_range.from. Default: `null`. **created_until** `string | null` Created before or at this point in time. Sent as created_range.until. Default: `null`. **direction** `string | null` Order results ascending or descending. Allowed values are asc and desc. Default: `null`. **entity** `array[string] | null` Entity of the alert (ID). For Domain Abuse alerts the entity is the attacker domain and for Vulnerability Alerts the entity is the CVE. Default: `null`. **limit** `integer | null` Pagination limit, show items up to this limit. Offset + limit cannot exceed 10 000. Default: `null`. **offset** `string | null` Allows pagination by using next_offset from previous search response. Default: `null`. **order_by** `string | null` Order results by created or modified data. Allowed values are created and modified. Default: `null`. **organisation** `array[string] | null` Return Playbook Alerts with either of the organisations as owner. Default: `null`. **priority** `array[string] | null` Return Playbook Alerts with this priority. Allowed values are High, Moderate and Informational. If omitted or empty, all priorities will be selected. Default: `null`. **statuses** `array[string] | null` Return Playbook Alerts with this status. Allowed values are New, InProgress, Dismissed and Resolved. If omitted or empty, all statuses will be selected. Default: `null`. **updated_from** `string | null` Updated at or after this point in time. Sent as updated_range.from. Default: `null`. **updated_until** `string | null` Updated before or at this point in time. Sent as updated_range.until. Default: `null`. ## Search risk history Action ID: `tools.recorded_future.search_risk_history` Search for risk history of score, criticality and risk rules for entities for a specific date range. The response includes actual risks (when removed date is absent) and historical risks (when removed date is in requested date range). Calls POST /risk/history directly. Reference: [https://docs.recordedfuture.com/reference/risk-search-risk-history](https://docs.recordedfuture.com/reference/risk-search-risk-history) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **entities** `array[string]` *required* Entity ids to return risk history for. **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. **from** `string | null` Default value is minus 30 days from the to date or current date if the to date is missing. Default: `null`. **to** `string | null` Default value is plus 30 days from the from date or current date if the from date is missing. Default: `null`. ## Search URLs Action ID: `tools.recorded_future.search_urls` Search for URL entities based on a filter. Calls GET /v2/url/search directly. Reference: [https://docs.recordedfuture.com/reference/url-search](https://docs.recordedfuture.com/reference/url-search) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. **direction** `string | null` The direction of the sorting by the orderBy parameter, ascending or descending. Allowed values are asc and desc. Default: `null`. **fields** `string | null` The enrichment fields requested for the entities returned. Several fields can be given as a comma separated string. See [https://docs.recordedfuture.com/reference/enrichment-field-attributes](https://docs.recordedfuture.com/reference/enrichment-field-attributes) for a list of values. Default: `null`. **firstSeen** `string | null` Filters entities based on the download of the first reference which is taken into account during risk scoring of the entity. All Elasticsearch compatible date formats are valid. Default: `null`. **freetext** `string | null` Freetext. Default: `null`. **from** `integer | null` Offsets the pagination of the request. Note that there is a limit of returning only the top 1000 results from a search, meaning if limit plus from exceeds 1000, this will result in a Bad Request message. Default: `null`. **lastSeen** `string | null` Filters entities based on the download of the latest reference which is taken into account during risk scoring of the entity. All Elasticsearch compatible date formats are valid. Default: `null`. **limit** `integer | null` Maximum number of records returned. The maximum is 1000. Default: `null`. **list** `string | null` Filters entities based on presence in a single list. Requires the list ID, which can be found using the List API. Default: `null`. **metadata** `boolean | null` Annotates the response with additional metadata explaining the response data elements. Default: `null`. **orderBy** `string | null` Sorts the search according to the chosen parameter. Results are sorted before pagination. Allowed values are created, modified, sixtydayshits, sevendayhits, criticality, riskscore, totalhits, firstseen, lastseen and rules. Default: `null`. **riskRule** `string | null` Filters for URLs based on a single risk rule. Valid rule IDs are listed by the GET /v2/url/riskrules endpoint. Default: `null`. **riskScore** `string | null` Filters entities based on risk score, e.g. on the form \[20, 80] (20 \<= risk score \<= 80), \[20,) (20 \<= risk score), or \[,90) (risk score \< 90). '\[' and ']' are inclusive while '(' and ')' are exclusive. Default: `null`. ## Search vulnerabilities Action ID: `tools.recorded_future.search_vulnerabilities` Search for Vulnerability entities based on a filter. Calls GET /v2/vulnerability/search directly. Reference: [https://docs.recordedfuture.com/reference/vulnerability-search](https://docs.recordedfuture.com/reference/vulnerability-search) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. **cpe** `string | null` Filters for vulnerabilities based on affected products using the CPE identifier system. Default: `null`. **cvssScore** `string | null` Filters for vulnerabilities based on CVSS score (from most trusted source), e.g. on the form \[8.0, 9.0] (8.0 \<= CVSS score \<= 9.0). Default: `null`. **cvssV3Score** `string | null` Filters for vulnerabilities based on CVSS v3 score, e.g. on the form \[8.0, 9.0] (8.0 \<= CVSS v3 score \<= 9.0). Default: `null`. **direction** `string | null` The direction of the sorting by the orderBy parameter, ascending or descending. Allowed values are asc and desc. Default: `null`. **fields** `string | null` The enrichment fields requested for the entities returned. Several fields can be given as a comma separated string. See [https://docs.recordedfuture.com/reference/enrichment-field-attributes](https://docs.recordedfuture.com/reference/enrichment-field-attributes) for a list of values. Default: `null`. **firstSeen** `string | null` Filters entities based on the download of the first reference which is taken into account during risk scoring of the entity. All Elasticsearch compatible date formats are valid. Default: `null`. **freetext** `string | null` Freetext. Default: `null`. **from** `integer | null` Offsets the pagination of the request. Note that there is a limit of returning only the top 1000 results from a search, meaning if limit plus from exceeds 1000, this will result in a Bad Request message. Default: `null`. **lastSeen** `string | null` Filters entities based on the download of the latest reference which is taken into account during risk scoring of the entity. All Elasticsearch compatible date formats are valid. Default: `null`. **limit** `integer | null` Maximum number of records returned. The maximum is 1000. Default: `null`. **list** `string | null` Filters entities based on presence in a single list. Requires the list ID, which can be found using the List API. Default: `null`. **metadata** `boolean | null` Annotates the response with additional metadata explaining the response data elements. Default: `null`. **orderBy** `string | null` Sorts the search according to the chosen parameter. Results are sorted before pagination. Allowed values are created, modified, sixtydayshits, sevendayhits, criticality, riskscore, totalhits, firstseen, lastseen and rules. Default: `null`. **product** `string | null` RF ID of affected product. Default: `null`. **riskRule** `string | null` Filters for vulnerabilities based on a single risk rule. Valid rule IDs are listed by the GET /v2/vulnerability/riskrules endpoint. Default: `null`. **riskScore** `string | null` Filters entities based on risk score, e.g. on the form \[20, 80] (20 \<= risk score \<= 80), \[20,) (20 \<= risk score), or \[,90) (risk score \< 90). '\[' and ']' are inclusive while '(' and ')' are exclusive. Default: `null`. ## Triage indicators Action ID: `tools.recorded_future.triage_indicators` Triage multiple IOC entities for a specific context with up to 1000 IOCs per request. Calls POST /soar/v3/triage/contexts/\{context_name} directly. Reference: [https://docs.recordedfuture.com/reference/soar-triage-batch](https://docs.recordedfuture.com/reference/soar-triage-batch) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **context_name** `string` *required* The context in which to evaluate the given entities. Available contexts can be fetched using the separate endpoint. **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. **companybydomain** `array[string] | null` Company domains to enrich. Default: `null`. **domain** `array[string] | null` Domains to enrich. Default: `null`. **format** `string | null` Allows for an output format suitable for Splunk SOAR (previously Phantom) when set to phantom. If no value is given, the default format (used in the Enrichment endpoint) will be used. Default: `null`. **hash** `array[string] | null` Hashes to enrich. Default: `null`. **ip** `array[string] | null` IP addresses to enrich. Default: `null`. **metadata** `boolean | null` Annotates the response with additional metadata explaining the response data elements. Default: `null`. **threshold** `integer | null` Determines which risk score should be used to deem an entity risky. Each context has its own default value and depends on the context. Allowed values are 0 to 99. Default: `null`. **threshold_type** `string | null` Determines if the set of entities are deemed risky if a single entity is above the threshold (max) or if all entities have to be above the threshold (min). The default is specified by the context but is max for all contexts currently defined. Default: `null`. **url** `array[string] | null` URLs to enrich. Default: `null`. **vulnerability** `array[string] | null` Vulnerabilities to enrich. Default: `null`. ## Update alerts Action ID: `tools.recorded_future.update_alerts` Update the status, assignee or note of one or several alerts. Calls POST /alert/v2/update directly. Reference: [https://docs.recordedfuture.com/reference/alerts-update](https://docs.recordedfuture.com/reference/alerts-update) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **alerts** `array[object]` *required* Alert updates, each given as \{"id": "\"} plus any of assignee (an id, uhash, username or email), statusInPortal (New, Resolved, Pending, Dismissed or Flag for Tuning) and note (new note text). **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. ## Update playbook alert Action ID: `tools.recorded_future.update_playbook_alert` Update a Playbook Alert. Generic alert properties like status, priority and assignee may be updated, or a log message may be appended. Calls PUT /playbook-alert/common/\{playbook_alert_id} directly. Reference: [https://docs.recordedfuture.com/reference/playbook-alerts-update](https://docs.recordedfuture.com/reference/playbook-alerts-update) ### Secrets Required secrets: * `recorded_future`: required values `RECORDED_FUTURE_API_KEY`. ### Input fields **playbook_alert_id** `string` *required* The unique id of a specific Playbook Alert. **added_actions_taken** `array[string] | null` The ids for the types of action taken. The possible values can be found in the response from /playbook-alert/metadata/common in the actions_by_category field. Can only be set when status is set to Dismissed or Resolved. Default: `null`. **assignee** `string | null` ID of the assignee. Default: `null`. **base_url** `string | null` Base URL of the Recorded Future API. Default: `null`. **log_entry** `string | null` Freetext log message. Maximum of 5000 characters. Default: `null`. **priority** `string | null` The priority of the Playbook Alert. Allowed values are High, Moderate and Informational. Default: `null`. **removed_actions_taken** `array[string] | null` The ids for the types of action taken that should be removed. The possible values can be found in the response from /playbook-alert/metadata/common in the actions_by_category field. Default: `null`. **reopen** `string | null` Reopen strategies can only be applied to alerts with a status of Dismissed or Resolved. Allowed combinations of status and reopen are Dismissed with Never, Resolved with Never, and Resolved with SignificantUpdates. Default: `null`. **status** `string | null` The status of the Playbook Alert. Allowed values are New, InProgress, Dismissed and Resolved. Default: `null`. # Rippling Source: https://docs.tracecat.com/tools/rippling Reference for the Tracecat Rippling integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Create draft hires Action ID: `tools.rippling.create_draft_hires` Create draft hires. Calls POST /draft-hires/ directly. Bulk onboarding entry point. The request body takes a draft_hires array. Required scope: draft-hires.read-write. Reference: [https://developer.rippling.com/documentation/rest-api/reference/create-draft-hires](https://developer.rippling.com/documentation/rest-api/reference/create-draft-hires) ### Secrets Required secrets: * `rippling`: required values `RIPPLING_API_KEY`. ### Input fields **draft_hires** `array[object]` *required* List of draft hires. Each draft hire requires `personal_info`, `employment_info`, and `work_location_info`, and optionally accepts `custom_fields`, `headcount_info`, and `documents`. **base_url** `string | null` Base URL of the Rippling REST API. Default: `null`. ## Create software deployment Action ID: `tools.rippling.create_software_deployment` Create software deployment. Calls POST /software-deployments/ directly. Deploys a SaaS app to a group or device group. Required scope: software-deployments.read-write. Reference: [https://developer.rippling.com/documentation/rest-api/reference/create-software-deployments](https://developer.rippling.com/documentation/rest-api/reference/create-software-deployments) ### Secrets Required secrets: * `rippling`: required values `RIPPLING_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the Rippling REST API. Default: `null`. **payload** `object | null` API-native request body. Documented fields: software_id (required), active_group_type, group_id, ma_device_group_id. Default: `null`. ## Delete software deployment Action ID: `tools.rippling.delete_software_deployment` Delete software deployment. Calls DELETE /software-deployments/\{id}/ directly. Destructive. Removes the deployment and revokes the app for every member of the target group. Required scope: software-deployments.read-write. Reference: [https://developer.rippling.com/documentation/rest-api/reference/delete-software-deployments](https://developer.rippling.com/documentation/rest-api/reference/delete-software-deployments) ### Secrets Required secrets: * `rippling`: required values `RIPPLING_API_KEY`. ### Input fields **id** `string` *required* Rippling API path value for id. **base_url** `string | null` Base URL of the Rippling REST API. Default: `null`. ## Get report run Action ID: `tools.rippling.get_report_run` Get report run. Calls GET /report-runs/\{run_id}/ directly. Retrieves the status and, once complete, the output of a report run started by trigger_report_run. Requires the Reports API entitlement. Required scope: report-runs.read. Reference: [https://developer.rippling.com/documentation/rest-api/reference/get-report-runs](https://developer.rippling.com/documentation/rest-api/reference/get-report-runs) ### Secrets Required secrets: * `rippling`: required values `RIPPLING_API_KEY`. ### Input fields **run_id** `string` *required* Rippling API path value for run_id. **base_url** `string | null` Base URL of the Rippling REST API. Default: `null`. ## Get SSO me Action ID: `tools.rippling.get_sso_me` Get SSO me. Calls GET /sso-me/ directly. Returns a single object, not a paginated collection, despite Rippling naming the endpoint list-sso-me. Cheapest call for verifying that the configured API token is valid: a 401 means the token is revoked or expired and a 403 means a scope is missing. Required scope: sso-me.read. Reference: [https://developer.rippling.com/documentation/rest-api/reference/list-sso-me](https://developer.rippling.com/documentation/rest-api/reference/list-sso-me) ### Secrets Required secrets: * `rippling`: required values `RIPPLING_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the Rippling REST API. Default: `null`. **cursor** `string | null` `cursor` is used to fetch the next page of results. Start with a request without cursor, read the `next_link` value from the response, and continue until `next_link` is `null`. Default: `null`. **expand** `string | null` Fields in a response can represent objects themselves. Instead of making an additional API call, you can expand field(s) in a response using the `expand` query parameter. Use commas to specify multiple fields to expand. Use dot notation (.) to recursively expand. The API supports two levels of expansion and up to ten expanded fields per request. Expandable fields: `company`. Default: `null`. ## Get worker Action ID: `tools.rippling.get_worker` Get worker. Calls GET /workers/\{id}/ directly. Fetches a single worker by Rippling worker id, for when you already have that id from list_workers or an upstream event. Required scope: workers.read. Reference: [https://developer.rippling.com/documentation/rest-api/reference/get-workers](https://developer.rippling.com/documentation/rest-api/reference/get-workers) ### Secrets Required secrets: * `rippling`: required values `RIPPLING_API_KEY`. ### Input fields **id** `string` *required* Rippling API path value for id. **base_url** `string | null` Base URL of the Rippling REST API. Default: `null`. **expand** `string | null` Fields in a response can represent objects themselves. Instead of making an additional API call, you can expand field(s) in a response using the `expand` query parameter. Use commas to specify multiple fields to expand. Use dot notation (.) to recursively expand. The API supports two levels of expansion and up to ten expanded fields per request. Expandable fields: `user`, `manager`, `legal_entity`, `employment_type`, `compensation`, `department`, `teams`, `level`, `job_function`, `custom_fields`, `business_partners`. Default: `null`. ## List app users Action ID: `tools.rippling.list_app_users` List app users. Calls GET /app-users/ directly. Links each worker to their external SaaS account. A push_state of DELETE_FAILED or SUSPEND_FAILED means access was not actually revoked, and a match_state of NOT_MATCHED surfaces orphaned accounts. Required scope: app-users.read. Reference: [https://developer.rippling.com/documentation/rest-api/reference/list-app-users](https://developer.rippling.com/documentation/rest-api/reference/list-app-users) ### Secrets Required secrets: * `rippling`: required values `RIPPLING_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the Rippling REST API. Default: `null`. **cursor** `string | null` `cursor` is used to fetch the next page of results. Start with a request without cursor, read the `next_link` value from the response, and continue until `next_link` is `null`. Default: `null`. **expand** `string | null` Fields in a response can represent objects themselves. Instead of making an additional API call, you can expand field(s) in a response using the `expand` query parameter. Use commas to specify multiple fields to expand. Use dot notation (.) to recursively expand. The API supports two levels of expansion and up to ten expanded fields per request. Expandable fields: `worker`. Default: `null`. **filter** `string | null` The `filter` query parameter is used to filter the data returned from the API - similar to a `where` clause. The following operators are supported: eq, ne, gt, gte, lt, lte, and, or, in. Example: status eq 'ACTIVE'. Filterable fields: `worker_id`, `spoke_user_identifier`, `app_handle`, `created_at`, `updated_at`. Default: `null`. **limit** `integer | null` `limit` controls how many results are returned in a single page. Default page size is 50. Most endpoints allow a maximum of 100. Default: `null`. **order_by** `string | null` The `order_by` parameter is used to select field(s) to sort by and to define whether results are sorted in ascending or descending order. Supported sort directions are `asc` for ascending order and `desc` for descending order. Unless indicated, the default sort direction is ascending order. Use commas to specify multiple fields to sort. Sortable fields: `id`, `created_at`, `updated_at`. Default: `null`. ## List departments Action ID: `tools.rippling.list_departments` List departments. Calls GET /departments/ directly. Departments are the org-chart reporting units carried on each worker record. Required scope: departments.read. Reference: [https://developer.rippling.com/documentation/rest-api/reference/list-departments](https://developer.rippling.com/documentation/rest-api/reference/list-departments) ### Secrets Required secrets: * `rippling`: required values `RIPPLING_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the Rippling REST API. Default: `null`. **cursor** `string | null` `cursor` is used to fetch the next page of results. Start with a request without cursor, read the `next_link` value from the response, and continue until `next_link` is `null`. Default: `null`. **expand** `string | null` Fields in a response can represent objects themselves. Instead of making an additional API call, you can expand field(s) in a response using the `expand` query parameter. Use commas to specify multiple fields to expand. Use dot notation (.) to recursively expand. The API supports two levels of expansion and up to ten expanded fields per request. Expandable fields: `parent`, `department_hierarchy`. Default: `null`. **limit** `integer | null` `limit` controls how many results are returned in a single page. Default page size is 50. Most endpoints allow a maximum of 100. Default: `null`. **order_by** `string | null` The `order_by` parameter is used to select field(s) to sort by and to define whether results are sorted in ascending or descending order. Supported sort directions are `asc` for ascending order and `desc` for descending order. Unless indicated, the default sort direction is ascending order. Use commas to specify multiple fields to sort. Sortable fields: `id`, `created_at`, `updated_at`. Default: `null`. ## List devices Action ID: `tools.rippling.list_devices` List devices. Calls GET /devices/ directly. Filter on worker_id for offboarding device recovery, or on lifecycle_state and enrollment_status for fleet compliance. Required scope: devices.read. Reference: [https://developer.rippling.com/documentation/rest-api/reference/list-devices](https://developer.rippling.com/documentation/rest-api/reference/list-devices) ### Secrets Required secrets: * `rippling`: required values `RIPPLING_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the Rippling REST API. Default: `null`. **cursor** `string | null` `cursor` is used to fetch the next page of results. Start with a request without cursor, read the `next_link` value from the response, and continue until `next_link` is `null`. Default: `null`. **expand** `string | null` Fields in a response can represent objects themselves. Instead of making an additional API call, you can expand field(s) in a response using the `expand` query parameter. Use commas to specify multiple fields to expand. Use dot notation (.) to recursively expand. The API supports two levels of expansion and up to ten expanded fields per request. Expandable fields: `worker`, `pending_actions`. Default: `null`. **filter** `string | null` The `filter` query parameter is used to filter the data returned from the API - similar to a `where` clause. The following operators are supported: eq, ne, gt, gte, lt, lte, and, or, in. Example: status eq 'ACTIVE'. Filterable fields: `worker_id`, `serial_number`, `lifecycle_state`, `enrollment_status`. Allowed values for `lifecycle_state`: INIT, ACTIVE, ACTIVATING, LOCKED, LOCKING, INACTIVE, PENDING_MDM, CLEANING, READY, DECOMMISSIONING, DECOMMISSIONED, FULL_WIPING, FULL_WIPED, E_CYCLED, MDM_LOCKED, LOST, LOST_PLAYING_SOUND. Allowed values for `enrollment_status`: ENROLLED, WAITING_FOR_CONNECTION, ERROR, UNENROLLED. Default: `null`. **limit** `integer | null` `limit` controls how many results are returned in a single page. Default page size is 50. Most endpoints allow a maximum of 100. Default: `null`. **order_by** `string | null` The `order_by` parameter is used to select field(s) to sort by and to define whether results are sorted in ascending or descending order. Supported sort directions are `asc` for ascending order and `desc` for descending order. Unless indicated, the default sort direction is ascending order. Use commas to specify multiple fields to sort. Sortable fields: `id`, `created_at`, `updated_at`. Default: `null`. ## List entitlements Action ID: `tools.rippling.list_entitlements` List entitlements. Calls GET /entitlements/ directly. Reports which API entitlements the company has, so a workflow can branch before calling an entitlement-gated action. Required scope: entitlements.read. Reference: [https://developer.rippling.com/documentation/rest-api/reference/list-entitlements](https://developer.rippling.com/documentation/rest-api/reference/list-entitlements) ### Secrets Required secrets: * `rippling`: required values `RIPPLING_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the Rippling REST API. Default: `null`. ## List leave balances Action ID: `tools.rippling.list_leave_balances` List leave balances. Calls GET /leave-balances/ directly. Balances are point-in-time accrued and available time per leave policy; use list_leave_requests for individual time-off records. Required scope: leave-balances.read. Reference: [https://developer.rippling.com/documentation/rest-api/reference/list-leave-balances](https://developer.rippling.com/documentation/rest-api/reference/list-leave-balances) ### Secrets Required secrets: * `rippling`: required values `RIPPLING_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the Rippling REST API. Default: `null`. **cursor** `string | null` `cursor` is used to fetch the next page of results. Start with a request without cursor, read the `next_link` value from the response, and continue until `next_link` is `null`. Default: `null`. **expand** `string | null` Fields in a response can represent objects themselves. Instead of making an additional API call, you can expand field(s) in a response using the `expand` query parameter. Use commas to specify multiple fields to expand. Use dot notation (.) to recursively expand. The API supports two levels of expansion and up to ten expanded fields per request. Expandable fields: `worker`, `leave_type`. Default: `null`. **filter** `string | null` The `filter` query parameter is used to filter the data returned from the API - similar to a `where` clause. The following operators are supported: eq, ne, gt, gte, lt, lte, and, or, in. Example: status eq 'ACTIVE'. Filterable fields: `worker_id`, `leave_type_id`. Default: `null`. **limit** `integer | null` `limit` controls how many results are returned in a single page. Default page size is 50. Most endpoints allow a maximum of 100. Default: `null`. **order_by** `string | null` The `order_by` parameter is used to select field(s) to sort by and to define whether results are sorted in ascending or descending order. Supported sort directions are `asc` for ascending order and `desc` for descending order. Unless indicated, the default sort direction is ascending order. Use commas to specify multiple fields to sort. Sortable fields: `id`, `created_at`, `updated_at`. Default: `null`. ## List leave requests Action ID: `tools.rippling.list_leave_requests` List leave requests. Calls GET /leave-requests/ directly. Each record is one time-off request with an approval status; pass its id to update_leave_request to approve, reject, or cancel it. Required scope: leave-requests.read. Reference: [https://developer.rippling.com/documentation/rest-api/reference/list-leave-requests](https://developer.rippling.com/documentation/rest-api/reference/list-leave-requests) ### Secrets Required secrets: * `rippling`: required values `RIPPLING_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the Rippling REST API. Default: `null`. **cursor** `string | null` `cursor` is used to fetch the next page of results. Start with a request without cursor, read the `next_link` value from the response, and continue until `next_link` is `null`. Default: `null`. **expand** `string | null` Fields in a response can represent objects themselves. Instead of making an additional API call, you can expand field(s) in a response using the `expand` query parameter. Use commas to specify multiple fields to expand. Use dot notation (.) to recursively expand. The API supports two levels of expansion and up to ten expanded fields per request. Expandable fields: `worker`, `requester`, `leave_type`, `reviewer`. Default: `null`. **filter** `string | null` The `filter` query parameter is used to filter the data returned from the API - similar to a `where` clause. The following operators are supported: eq, ne, gt, gte, lt, lte, and, or, in. Example: status eq 'ACTIVE'. Filterable fields: `worker_id`, `requester_id`, `reviewer_id`, `status`, `leave_policy_id`, `leave_type_id`, `start_date`, `end_date`. Allowed values for `status`: PENDING, APPROVED, REJECTED, CANCELED. Default: `null`. **limit** `integer | null` `limit` controls how many results are returned in a single page. Default page size is 50. Most endpoints allow a maximum of 100. Default: `null`. **order_by** `string | null` The `order_by` parameter is used to select field(s) to sort by and to define whether results are sorted in ascending or descending order. Supported sort directions are `asc` for ascending order and `desc` for descending order. Unless indicated, the default sort direction is ascending order. Use commas to specify multiple fields to sort. Sortable fields: `id`, `created_at`, `updated_at`. Default: `null`. ## List software deployments Action ID: `tools.rippling.list_software_deployments` List software deployments. Calls GET /software-deployments/ directly. Shows which SaaS app is deployed to which group or device group. Required scope: software-deployments.read. Reference: [https://developer.rippling.com/documentation/rest-api/reference/list-software-deployments](https://developer.rippling.com/documentation/rest-api/reference/list-software-deployments) ### Secrets Required secrets: * `rippling`: required values `RIPPLING_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the Rippling REST API. Default: `null`. **cursor** `string | null` `cursor` is used to fetch the next page of results. Start with a request without cursor, read the `next_link` value from the response, and continue until `next_link` is `null`. Default: `null`. **expand** `string | null` Fields in a response can represent objects themselves. Instead of making an additional API call, you can expand field(s) in a response using the `expand` query parameter. Use commas to specify multiple fields to expand. Use dot notation (.) to recursively expand. The API supports two levels of expansion and up to ten expanded fields per request. Expandable fields: `software`. Default: `null`. **filter** `string | null` The `filter` query parameter is used to filter the data returned from the API - similar to a `where` clause. The following operators are supported: eq, ne, gt, gte, lt, lte, and, or, in. Example: status eq 'ACTIVE'. Filterable fields: `software_id`, `active_group_type`. Allowed values for `active_group_type`: Role, Device. Default: `null`. **limit** `integer | null` `limit` controls how many results are returned in a single page. Default page size is 50. Most endpoints allow a maximum of 100. Default: `null`. **order_by** `string | null` The `order_by` parameter is used to select field(s) to sort by and to define whether results are sorted in ascending or descending order. Supported sort directions are `asc` for ascending order and `desc` for descending order. Unless indicated, the default sort direction is ascending order. Use commas to specify multiple fields to sort. Sortable fields: `id`, `created_at`, `updated_at`. Default: `null`. ## List supergroup members Action ID: `tools.rippling.list_supergroup_members` List supergroup members. Calls GET /supergroups/\{group_id}/members/ directly. Returns effective membership, including members inherited from rules. Required scope: supergroups.read. Reference: [https://developer.rippling.com/documentation/rest-api/reference/list-supergroups-group-id-members](https://developer.rippling.com/documentation/rest-api/reference/list-supergroups-group-id-members) ### Secrets Required secrets: * `rippling`: required values `RIPPLING_API_KEY`. ### Input fields **group_id** `string` *required* Rippling API path value for group_id. **base_url** `string | null` Base URL of the Rippling REST API. Default: `null`. **expand** `string | null` Fields in a response can represent objects themselves. Instead of making an additional API call, you can expand field(s) in a response using the `expand` query parameter. Use commas to specify multiple fields to expand. Use dot notation (.) to recursively expand. The API supports two levels of expansion and up to ten expanded fields per request. Expandable fields: `worker`. Default: `null`. **order_by** `string | null` The `order_by` parameter is used to select field(s) to sort by and to define whether results are sorted in ascending or descending order. Supported sort directions are `asc` for ascending order and `desc` for descending order. Unless indicated, the default sort direction is ascending order. Use commas to specify multiple fields to sort. Sortable fields: `id`, `created_at`, `updated_at`. Default: `null`. ## List supergroups Action ID: `tools.rippling.list_supergroups` List supergroups. Calls GET /supergroups/ directly. Supergroups drive app access policies. Required scope: supergroups.read. Reference: [https://developer.rippling.com/documentation/rest-api/reference/list-supergroups](https://developer.rippling.com/documentation/rest-api/reference/list-supergroups) ### Secrets Required secrets: * `rippling`: required values `RIPPLING_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the Rippling REST API. Default: `null`. **filter** `string | null` The `filter` query parameter is used to filter the data returned from the API - similar to a `where` clause. The following operators are supported: eq, ne, gt, gte, lt, lte, and, or, in. Example: status eq 'ACTIVE'. Filterable fields: `app_owner_id`, `group_type`. Default: `null`. **order_by** `string | null` The `order_by` parameter is used to select field(s) to sort by and to define whether results are sorted in ascending or descending order. Supported sort directions are `asc` for ascending order and `desc` for descending order. Unless indicated, the default sort direction is ascending order. Use commas to specify multiple fields to sort. Sortable fields: `id`, `created_at`, `updated_at`. Default: `null`. ## List teams Action ID: `tools.rippling.list_teams` List teams. Calls GET /teams/ directly. Teams group workers independently of the department reporting line, so one worker can belong to several. Required scope: teams.read. Reference: [https://developer.rippling.com/documentation/rest-api/reference/list-teams](https://developer.rippling.com/documentation/rest-api/reference/list-teams) ### Secrets Required secrets: * `rippling`: required values `RIPPLING_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the Rippling REST API. Default: `null`. **cursor** `string | null` `cursor` is used to fetch the next page of results. Start with a request without cursor, read the `next_link` value from the response, and continue until `next_link` is `null`. Default: `null`. **expand** `string | null` Fields in a response can represent objects themselves. Instead of making an additional API call, you can expand field(s) in a response using the `expand` query parameter. Use commas to specify multiple fields to expand. Use dot notation (.) to recursively expand. The API supports two levels of expansion and up to ten expanded fields per request. Expandable fields: `parent`. Default: `null`. **limit** `integer | null` `limit` controls how many results are returned in a single page. Default page size is 50. Most endpoints allow a maximum of 100. Default: `null`. **order_by** `string | null` The `order_by` parameter is used to select field(s) to sort by and to define whether results are sorted in ascending or descending order. Supported sort directions are `asc` for ascending order and `desc` for descending order. Unless indicated, the default sort direction is ascending order. Use commas to specify multiple fields to sort. Sortable fields: `id`, `created_at`, `updated_at`. Default: `null`. ## List users Action ID: `tools.rippling.list_users` List users. Calls GET /users/ directly. Join to workers on worker.user_id. The user number field is the stable cross-system employee identifier. Required scope: users.read. Reference: [https://developer.rippling.com/documentation/rest-api/reference/list-users](https://developer.rippling.com/documentation/rest-api/reference/list-users) ### Secrets Required secrets: * `rippling`: required values `RIPPLING_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the Rippling REST API. Default: `null`. **cursor** `string | null` `cursor` is used to fetch the next page of results. Start with a request without cursor, read the `next_link` value from the response, and continue until `next_link` is `null`. Default: `null`. **limit** `integer | null` `limit` controls how many results are returned in a single page. Default page size is 50. Most endpoints allow a maximum of 100. Default: `null`. **order_by** `string | null` The `order_by` parameter is used to select field(s) to sort by and to define whether results are sorted in ascending or descending order. Supported sort directions are `asc` for ascending order and `desc` for descending order. Unless indicated, the default sort direction is ascending order. Use commas to specify multiple fields to sort. Sortable fields: `id`, `created_at`, `updated_at`. Default: `null`. ## List work locations Action ID: `tools.rippling.list_work_locations` List work locations. Calls GET /work-locations/ directly. Work locations are the work sites the company has registered, used for tax and compliance reporting. Required scope: work-locations.read. Reference: [https://developer.rippling.com/documentation/rest-api/reference/list-work-locations](https://developer.rippling.com/documentation/rest-api/reference/list-work-locations) ### Secrets Required secrets: * `rippling`: required values `RIPPLING_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the Rippling REST API. Default: `null`. **cursor** `string | null` `cursor` is used to fetch the next page of results. Start with a request without cursor, read the `next_link` value from the response, and continue until `next_link` is `null`. Default: `null`. **limit** `integer | null` `limit` controls how many results are returned in a single page. Default page size is 50. Most endpoints allow a maximum of 100. Default: `null`. **order_by** `string | null` The `order_by` parameter is used to select field(s) to sort by and to define whether results are sorted in ascending or descending order. Supported sort directions are `asc` for ascending order and `desc` for descending order. Unless indicated, the default sort direction is ascending order. Use commas to specify multiple fields to sort. Sortable fields: `id`, `created_at`, `updated_at`. Default: `null`. ## List worker changes Action ID: `tools.rippling.list_worker_changes` List worker changes. Calls GET /worker-changes/ directly. Audit trail of changes to worker fields. Requires the Worker Changes API entitlement. Required scope: worker-changes.read. Reference: [https://developer.rippling.com/documentation/rest-api/reference/list-worker-changes](https://developer.rippling.com/documentation/rest-api/reference/list-worker-changes) ### Secrets Required secrets: * `rippling`: required values `RIPPLING_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the Rippling REST API. Default: `null`. **cursor** `string | null` `cursor` is used to fetch the next page of results. Start with a request without cursor, read the `next_link` value from the response, and continue until `next_link` is `null`. Default: `null`. **expand** `string | null` Fields in a response can represent objects themselves. Instead of making an additional API call, you can expand field(s) in a response using the `expand` query parameter. Use commas to specify multiple fields to expand. Use dot notation (.) to recursively expand. The API supports two levels of expansion and up to ten expanded fields per request. Expandable fields: `worker`, `changed_by`. Default: `null`. **filter** `string | null` The `filter` query parameter is used to filter the data returned from the API - similar to a `where` clause. The following operators are supported: eq, ne, gt, gte, lt, lte, and, or, in. Example: status eq 'ACTIVE'. Filterable fields: `worker_id`, `applied_on`, `effective_on`, `changed_by_id`, `reason_code`, `field_key`, `event_type`. Allowed values for `event_type`: HIRE, CHANGE, SCHEDULED_CHANGE, OFFBOARD, SCHEDULED_OFFBOARD, IMPORT, UNDO, EFFECTIVE_DATE_AMENDMENT. Default: `null`. **limit** `integer | null` `limit` controls how many results are returned in a single page. Default page size is 50. Most endpoints allow a maximum of 100. Default: `null`. **order_by** `string | null` The `order_by` parameter is used to select field(s) to sort by and to define whether results are sorted in ascending or descending order. Supported sort directions are `asc` for ascending order and `desc` for descending order. Unless indicated, the default sort direction is ascending order. Use commas to specify multiple fields to sort. Sortable fields: `id`, `created_at`, `updated_at`, `applied_on`, `effective_on`. Default: `null`. ## List workers Action ID: `tools.rippling.list_workers` List workers. Calls GET /workers/ directly. Filter on status to select the active roster, terminated workers, or the pre-start pipeline. Required scope: workers.read. Reference: [https://developer.rippling.com/documentation/rest-api/reference/list-workers](https://developer.rippling.com/documentation/rest-api/reference/list-workers) ### Secrets Required secrets: * `rippling`: required values `RIPPLING_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the Rippling REST API. Default: `null`. **cursor** `string | null` `cursor` is used to fetch the next page of results. Start with a request without cursor, read the `next_link` value from the response, and continue until `next_link` is `null`. Default: `null`. **expand** `string | null` Fields in a response can represent objects themselves. Instead of making an additional API call, you can expand field(s) in a response using the `expand` query parameter. Use commas to specify multiple fields to expand. Use dot notation (.) to recursively expand. The API supports two levels of expansion and up to ten expanded fields per request. Expandable fields: `user`, `manager`, `legal_entity`, `employment_type`, `compensation`, `department`, `teams`, `level`, `job_function`, `custom_fields`, `business_partners`. Default: `null`. **filter** `string | null` The `filter` query parameter is used to filter the data returned from the API - similar to a `where` clause. The following operators are supported: eq, ne, gt, gte, lt, lte, and, or, in. Example: status eq 'ACTIVE'. Filterable fields: `status`, `work_email`, `user_id`, `created_at`, `updated_at`. Allowed values for `status`: INIT, HIRED, ACCEPTED, ACTIVE, TERMINATED. Default: `null`. **limit** `integer | null` `limit` controls how many results are returned in a single page. Default page size is 50. Most endpoints allow a maximum of 100. Default: `null`. **order_by** `string | null` The `order_by` parameter is used to select field(s) to sort by and to define whether results are sorted in ascending or descending order. Supported sort directions are `asc` for ascending order and `desc` for descending order. Unless indicated, the default sort direction is ascending order. Use commas to specify multiple fields to sort. Sortable fields: `id`, `created_at`, `updated_at`. Default: `null`. ## Trigger report run Action ID: `tools.rippling.trigger_report_run` Trigger report run. Calls POST /report-runs/ directly. Starts an asynchronous run of a saved Rippling report. Poll get_report_run with the returned run id to collect results. Requires the Reports API entitlement. Required scope: report-runs.read-write. Reference: [https://developer.rippling.com/documentation/rest-api/reference/trigger-report-runs](https://developer.rippling.com/documentation/rest-api/reference/trigger-report-runs) ### Secrets Required secrets: * `rippling`: required values `RIPPLING_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the Rippling REST API. Default: `null`. **payload** `object | null` API-native request body. Documented fields: report_id (required), filters, format_currency_fields, format_date_fields, include_object_ids, include_total_rows, output_type, view_as. Default: `null`. ## Update leave request Action ID: `tools.rippling.update_leave_request` Update leave request. Calls PATCH /leave-requests/\{id}/ directly. Set status in the request body to approve, reject, or cancel a request. Required scope: leave-requests.read-write. Reference: [https://developer.rippling.com/documentation/rest-api/reference/update-leave-requests](https://developer.rippling.com/documentation/rest-api/reference/update-leave-requests) ### Secrets Required secrets: * `rippling`: required values `RIPPLING_API_KEY`. ### Input fields **id** `string` *required* Rippling API path value for id. **base_url** `string | null` Base URL of the Rippling REST API. Default: `null`. **payload** `object | null` API-native request body. Documented fields: end_date (required), start_date (required), status (required), worker_id (required), comments, end_date_custom_hours, end_time, leave_event_id, leave_policy_id, leave_type_id, reason_for_leave, requester_id, reviewed_at, reviewer_id, start_date_custom_hours, start_time. Default: `null`. ## Update supergroup exclusion members Action ID: `tools.rippling.update_supergroup_exclusion_members` Update supergroup exclusion members. Calls PATCH /supergroups/\{group_id}/exclusion-members/ directly. Force-revokes group-driven access. Takes a SCIM-style Operations array in the request body. Required scope: supergroups.read-write. Reference: [https://developer.rippling.com/documentation/rest-api/reference/update-supergroups-group-id-exclusion-members](https://developer.rippling.com/documentation/rest-api/reference/update-supergroups-group-id-exclusion-members) ### Secrets Required secrets: * `rippling`: required values `RIPPLING_API_KEY`. ### Input fields **Operations** `array[object]` *required* The list of operations to apply. Each operation takes `op` (add or remove) and `value`, the members to add or remove, each carrying an `id` (a member id). **group_id** `string` *required* Rippling API path value for group_id. **base_url** `string | null` Base URL of the Rippling REST API. Default: `null`. ## Update supergroup inclusion members Action ID: `tools.rippling.update_supergroup_inclusion_members` Update supergroup inclusion members. Calls PATCH /supergroups/\{group_id}/inclusion-members/ directly. Grants group-driven access. Takes a SCIM-style Operations array in the request body. Required scope: supergroups.read-write. Reference: [https://developer.rippling.com/documentation/rest-api/reference/update-supergroups-group-id-inclusion-members](https://developer.rippling.com/documentation/rest-api/reference/update-supergroups-group-id-inclusion-members) ### Secrets Required secrets: * `rippling`: required values `RIPPLING_API_KEY`. ### Input fields **Operations** `array[object]` *required* The list of operations to apply. Each operation takes `op` (add or remove) and `value`, the members to add or remove, each carrying an `id` (a member id). **group_id** `string` *required* Rippling API path value for group_id. **base_url** `string | null` Base URL of the Rippling REST API. Default: `null`. # Rootly Source: https://docs.tracecat.com/tools/rootly Reference for the Tracecat Rootly integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Create alert Action ID: `tools.rootly.create_alert` Creates a new alert from provided data. Reference: [https://docs.rootly.com/api-reference/alerts/creates-an-alert](https://docs.rootly.com/api-reference/alerts/creates-an-alert) ### Secrets Required secrets: * `rootly`: required values `ROOTLY_API_KEY`. ### Input fields **attributes** `object` Alert data attributes Default: `null`. ## Create incident Action ID: `tools.rootly.create_incident` Creates a new incident from provided data. Reference: [https://docs.rootly.com/api-reference/incidents/creates-an-incident](https://docs.rootly.com/api-reference/incidents/creates-an-incident) ### Secrets Required secrets: * `rootly`: required values `ROOTLY_API_KEY`. ### Input fields **attributes** `object` Incident data attributes Default: `null`. ## Get alert Action ID: `tools.rootly.get_alert` Retrieves a specific alert by id. Reference: [https://docs.rootly.com/api-reference/alerts/retrieves-an-alert](https://docs.rootly.com/api-reference/alerts/retrieves-an-alert) ### Secrets Required secrets: * `rootly`: required values `ROOTLY_API_KEY`. ### Input fields **alert_id** `string` *required* The ID of the alert. **include** `string | null` Include additional data. Comma separated if needed (e.g. environments,services,groups) Default: `null`. ## Get incident Action ID: `tools.rootly.get_incident` Retrieves a specific incident by id. Reference: [https://docs.rootly.com/api-reference/incidents/retrieves-an-incident](https://docs.rootly.com/api-reference/incidents/retrieves-an-incident) ### Secrets Required secrets: * `rootly`: required values `ROOTLY_API_KEY`. ### Input fields **incident_id** `string` *required* The ID of the incident. **include** `string | null` Include additional data. Comma separated if needed (e.g. sub_statuses,causes,subscribers) Default: `null`. ## List alerts Action ID: `tools.rootly.list_alerts` List alerts. Reference: [https://docs.rootly.com/api-reference/alerts/list-alerts](https://docs.rootly.com/api-reference/alerts/list-alerts) ### Secrets Required secrets: * `rootly`: required values `ROOTLY_API_KEY`. ### Input fields **include** `string | null` Include additional data. Comma separated if needed (e.g. environments,services,groups) Default: `null`. **page_number** `integer | null` Page number. Default: `null`. **page_size** `integer | null` Page size. Default: `null`. **status** `string | null` Filter by status (e.g. triggered, acknowledged, resolved) Default: `null`. ## List incidents Action ID: `tools.rootly.list_incidents` List incidents. Reference: [https://docs.rootly.com/api-reference/incidents/list-incidents](https://docs.rootly.com/api-reference/incidents/list-incidents) ### Secrets Required secrets: * `rootly`: required values `ROOTLY_API_KEY`. ### Input fields **include** `string | null` Include additional data. Comma separated if needed (e.g. sub_statuses,causes,subscribers) Default: `null`. **page_number** `integer | null` Page number. Default: `null`. **page_size** `integer | null` Page size. Default: `null`. **severity** `string | null` Filter by severity (e.g. not-sure-yet, sev4-minor-issue) Default: `null`. **status** `string | null` Filter by status (e.g. started, mitigated, resolved) Default: `null`. ## List incidents alerts Action ID: `tools.rootly.list_incident_alerts` List incidents alerts. Reference: [https://docs.rootly.com/api-reference/alerts/list-incident-alerts](https://docs.rootly.com/api-reference/alerts/list-incident-alerts) ### Secrets Required secrets: * `rootly`: required values `ROOTLY_API_KEY`. ### Input fields **incident_id** `string` *required* The ID of the incident. **include** `string | null` Include additional data. Comma separated if needed (e.g. environments,services,groups) Default: `null`. # Scanner Source: https://docs.tracecat.com/tools/scanner Reference for the Tracecat Scanner integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Cancel Scanner query Action ID: `tools.scanner.cancel_query` Cancel a previously started asynchronous Scanner query. Reference: [https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/developer-tools/api/ad-hoc-queries](https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/developer-tools/api/ad-hoc-queries) ### Secrets Required secrets: * `scanner`: required values `SCANNER_API_KEY`. ### Input fields **query_run_id** `string` *required* Query run ID (`qr_id`) returned by `tools.scanner.start_query`. **base_url** `string | null` Scanner team API URL. Falls back to `VARS.scanner.base_url`. Default: `null`. ## Create Scanner detection rule Action ID: `tools.scanner.create_detection_rule` Create a detection rule in Scanner. Reference: [https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/developer-tools/api/detection-rules](https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/developer-tools/api/detection-rules) ### Secrets Required secrets: * `scanner`: required values `SCANNER_API_KEY`. ### Input fields **description** `string` *required* Description of the detection rule. **enabled_state_override** `string` *required* Scanner enabled state, such as Active, Staging, or Paused. **event_sink_ids** `array[string]` *required* Event sink IDs that receive alerts from this detection rule. **name** `string` *required* Name of the detection rule. **query_text** `string` *required* Scanner query text for the detection rule. **run_frequency\_s** `integer` *required* Run frequency in seconds. Scanner requires minute granularity and a value no greater than `time_range_s`. **severity** `string` *required* Detection severity accepted by Scanner, such as Information, Low, Medium, High, Critical, Fatal, or Other. **tenant_id** `string` *required* Unique identifier for the Scanner tenant. **time_range\_s** `integer` *required* Lookback period in seconds. Scanner requires minute granularity. **base_url** `string | null` Scanner team API URL. Falls back to `VARS.scanner.base_url`. Default: `null`. **sync_key** `string | null` Sync key used by automatic detection rule syncers. Default: `null`. **tags** `array[string] | null` Tags to associate with the detection rule. Default: `null`. ## Create Scanner event sink Action ID: `tools.scanner.create_event_sink` Create a Slack, webhook, or PagerDuty event sink in Scanner. Reference: [https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/developer-tools/api/event-sinks](https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/developer-tools/api/event-sinks) ### Secrets Required secrets: * `scanner`: required values `SCANNER_API_KEY`. ### Input fields **description** `string` *required* Description of the event sink. **event_sink_args** `object` *required* API-native event sink configuration, such as \{"Webhook": \{"url": "[https://example.com/webhook"\}\}](https://example.com/webhook"\}\});. **name** `string` *required* Name of the event sink. **tenant_id** `string` *required* Unique identifier for the Scanner tenant. **base_url** `string | null` Scanner team API URL. Falls back to `VARS.scanner.base_url`. Default: `null`. ## Delete Scanner detection rule Action ID: `tools.scanner.delete_detection_rule` Delete a Scanner detection rule by ID. Reference: [https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/developer-tools/api/detection-rules](https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/developer-tools/api/detection-rules) ### Secrets Required secrets: * `scanner`: required values `SCANNER_API_KEY`. ### Input fields **detection_rule_id** `string` *required* Unique Scanner detection rule ID. **base_url** `string | null` Scanner team API URL. Falls back to `VARS.scanner.base_url`. Default: `null`. ## Delete Scanner event sink Action ID: `tools.scanner.delete_event_sink` Delete a Scanner event sink by ID. Reference: [https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/developer-tools/api/event-sinks](https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/developer-tools/api/event-sinks) ### Secrets Required secrets: * `scanner`: required values `SCANNER_API_KEY`. ### Input fields **event_sink_id** `string` *required* Unique Scanner event sink ID. **base_url** `string | null` Scanner team API URL. Falls back to `VARS.scanner.base_url`. Default: `null`. ## Get Scanner detection rule Action ID: `tools.scanner.get_detection_rule` Get a Scanner detection rule by ID. Reference: [https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/developer-tools/api/detection-rules](https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/developer-tools/api/detection-rules) ### Secrets Required secrets: * `scanner`: required values `SCANNER_API_KEY`. ### Input fields **detection_rule_id** `string` *required* Unique Scanner detection rule ID. **base_url** `string | null` Scanner team API URL. Falls back to `VARS.scanner.base_url`. Default: `null`. ## Get Scanner event sink Action ID: `tools.scanner.get_event_sink` Get a Scanner event sink by ID. Reference: [https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/developer-tools/api/event-sinks](https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/developer-tools/api/event-sinks) ### Secrets Required secrets: * `scanner`: required values `SCANNER_API_KEY`. ### Input fields **event_sink_id** `string` *required* Unique Scanner event sink ID. **base_url** `string | null` Scanner team API URL. Falls back to `VARS.scanner.base_url`. Default: `null`. ## Get Scanner query progress Action ID: `tools.scanner.get_query_progress` Poll an asynchronous Scanner query for progress and results. Reference: [https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/developer-tools/api/ad-hoc-queries](https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/developer-tools/api/ad-hoc-queries) ### Secrets Required secrets: * `scanner`: required values `SCANNER_API_KEY`. ### Input fields **query_run_id** `string` *required* Query run ID (`qr_id`) returned by `tools.scanner.start_query`. **base_url** `string | null` Scanner team API URL. Falls back to `VARS.scanner.base_url`. Default: `null`. **show_intermediate_results** `boolean` Whether to return intermediate results while the query is running. Default: `true`. ## List Scanner detection rules Action ID: `tools.scanner.list_detection_rules` List detection rules for a Scanner tenant. Reference: [https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/developer-tools/api/detection-rules](https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/developer-tools/api/detection-rules) ### Secrets Required secrets: * `scanner`: required values `SCANNER_API_KEY`. ### Input fields **tenant_id** `string` *required* Unique identifier for the Scanner tenant. **base_url** `string | null` Scanner team API URL. Falls back to `VARS.scanner.base_url`. Default: `null`. **page_size** `integer | null` Maximum detection rules to return in a page. Scanner defaults to 50. Default: `null`. **page_token** `string | null` Pagination cursor returned as `next_page_token` by a previous request. Default: `null`. ## List Scanner event sinks Action ID: `tools.scanner.list_event_sinks` List event sinks for a Scanner tenant. Reference: [https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/developer-tools/api/event-sinks](https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/developer-tools/api/event-sinks) ### Secrets Required secrets: * `scanner`: required values `SCANNER_API_KEY`. ### Input fields **tenant_id** `string` *required* Unique identifier for the Scanner tenant. **base_url** `string | null` Scanner team API URL. Falls back to `VARS.scanner.base_url`. Default: `null`. ## Run Scanner detection YAML tests Action ID: `tools.scanner.run_detection_rule_yaml_tests` Run tests declared in a Scanner detection rule YAML document. Reference: [https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/developer-tools/api/validating-yaml-files](https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/developer-tools/api/validating-yaml-files) ### Secrets Required secrets: * `scanner`: required values `SCANNER_API_KEY`. ### Input fields **yaml_text** `string` *required* Detection rule YAML content whose tests should be run. **base_url** `string | null` Scanner team API URL. Falls back to `VARS.scanner.base_url`. Default: `null`. ## Run Scanner query Action ID: `tools.scanner.run_query` Execute a blocking ad hoc query and return its results. Reference: [https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/developer-tools/api/ad-hoc-queries](https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/developer-tools/api/ad-hoc-queries) ### Secrets Required secrets: * `scanner`: required values `SCANNER_API_KEY`. ### Input fields **end_time** `string` *required* Exclusive query end timestamp in RFC 3339 format. **query** `string` *required* Scanner query text to execute. **start_time** `string` *required* Inclusive query start timestamp in RFC 3339 format. **base_url** `string | null` Scanner team API URL. Falls back to `VARS.scanner.base_url`. Default: `null`. **max_bytes** `integer | null` Maximum bytes for the result table. Scanner defaults to 134,217,728 bytes. Default: `null`. **max_rows** `integer | null` Maximum rows to return. Scanner defaults to 1,000 and allows up to 100,000. Default: `null`. **scan_back_to_front** `boolean | null` Scan from the latest events toward the earliest events. Default: `null`. **timeout_seconds** `integer` HTTP timeout in seconds. Scanner may hold blocking queries open for up to 300 seconds. Default: `310`. ## Start Scanner query Action ID: `tools.scanner.start_query` Start an asynchronous ad hoc query and return its query run ID. Reference: [https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/developer-tools/api/ad-hoc-queries](https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/developer-tools/api/ad-hoc-queries) ### Secrets Required secrets: * `scanner`: required values `SCANNER_API_KEY`. ### Input fields **end_time** `string` *required* Exclusive query end timestamp in RFC 3339 format. **query** `string` *required* Scanner query text to execute. **start_time** `string` *required* Inclusive query start timestamp in RFC 3339 format. **base_url** `string | null` Scanner team API URL. Falls back to `VARS.scanner.base_url`. Default: `null`. **max_bytes** `integer | null` Maximum bytes for the result table. Scanner defaults to 134,217,728 bytes. Default: `null`. **max_rows** `integer | null` Maximum rows to return. Scanner defaults to 1,000 and allows up to 100,000. Default: `null`. **scan_back_to_front** `boolean | null` Scan from the latest events toward the earliest events. Default: `null`. ## Update Scanner detection rule Action ID: `tools.scanner.update_detection_rule` Update a Scanner detection rule with API-native fields. Reference: [https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/developer-tools/api/detection-rules](https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/developer-tools/api/detection-rules) ### Secrets Required secrets: * `scanner`: required values `SCANNER_API_KEY`. ### Input fields **detection_rule_id** `string` *required* Unique Scanner detection rule ID. **updates** `object` *required* Detection rule fields to update. The rule ID is added to the request body. **base_url** `string | null` Scanner team API URL. Falls back to `VARS.scanner.base_url`. Default: `null`. ## Update Scanner event sink Action ID: `tools.scanner.update_event_sink` Update a Scanner event sink with API-native fields. Reference: [https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/developer-tools/api/event-sinks](https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/developer-tools/api/event-sinks) ### Secrets Required secrets: * `scanner`: required values `SCANNER_API_KEY`. ### Input fields **event_sink_id** `string` *required* Unique Scanner event sink ID. **updates** `object` *required* Event sink fields to update. The event sink ID is added to the request body. **base_url** `string | null` Scanner team API URL. Falls back to `VARS.scanner.base_url`. Default: `null`. ## Validate Scanner detection YAML Action ID: `tools.scanner.validate_detection_rule_yaml` Validate a Scanner detection rule YAML document. Reference: [https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/developer-tools/api/validating-yaml-files](https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/developer-tools/api/validating-yaml-files) ### Secrets Required secrets: * `scanner`: required values `SCANNER_API_KEY`. ### Input fields **yaml_text** `string` *required* Detection rule YAML content to validate. **base_url** `string | null` Scanner team API URL. Falls back to `VARS.scanner.base_url`. Default: `null`. # SentinelOne Source: https://docs.tracecat.com/tools/sentinel_one Reference for the Tracecat SentinelOne integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Abort scan Action ID: `tools.sentinel_one.abort_scan` Abort a running scan on SentinelOne agents. Reference: [https://github.com/Sentinel-One/purple-mcp](https://github.com/Sentinel-One/purple-mcp) ### Secrets Required secrets: * `sentinel_one`: required values `SENTINEL_ONE_API_TOKEN`. ### Input fields **device_id** `string` *required* ID of the agent/device to abort scan on. **base_url** `string | null` SentinelOne tenant URL. Default: `null`. ## Ask Purple AI Action ID: `tools.sentinel_one.purple_ai` Ask SentinelOne Purple AI a natural-language security question. Returns a message or a generated PowerQuery. Reference: [https://github.com/Sentinel-One/purple-mcp](https://github.com/Sentinel-One/purple-mcp) ### Secrets Required secrets: * `sentinel_one`: required values `SENTINEL_ONE_API_TOKEN`. ### Input fields **question** `string` *required* Natural-language question to ask Purple AI. **account_id** `string | null` Account scope ID. Default: `null`. **base_url** `string | null` SentinelOne console URL. Default: `null`. **console_id** `string | null` Console (deployment) ID. Defaults to the token's own scope when omitted. Default: `null`. **end_time** `integer | null` End of the displayed time range in epoch milliseconds. Defaults to now. Default: `null`. **site_id** `string | null` Site scope ID. Default: `null`. **start_time** `integer | null` Start of the displayed time range in epoch milliseconds. Defaults to 24 hours ago. Default: `null`. **tenant_id** `string | null` Tenant scope ID. Default: `null`. **timeout_seconds** `number` HTTP timeout in seconds for the Purple AI request. Default: `120`. **version** `string | null` Console version string. Default: `null`. ## Delete PowerQuery Action ID: `tools.sentinel_one.delete_powerquery` Delete or cancel a SentinelOne SDL PowerQuery after polling. Reference: [https://github.com/Sentinel-One/purple-mcp](https://github.com/Sentinel-One/purple-mcp) ### Secrets Required secrets: * `sentinel_one`: required values `SENTINEL_ONE_API_TOKEN`. ### Input fields **forward_tag** `string` *required* X-Dataset-Query-Forward-Tag returned by submit_powerquery response headers. **query_id** `string` *required* SDL query ID returned by submit_powerquery. **base_url** `string | null` SentinelOne tenant URL. /sdl is appended automatically. Default: `null`. **timeout_seconds** `number` HTTP timeout in seconds for the SDL delete request. Default: `60`. ## Disable agent Action ID: `tools.sentinel_one.disable_agent` Disable a SentinelOne agent. Reference: [https://github.com/Sentinel-One/purple-mcp](https://github.com/Sentinel-One/purple-mcp) ### Secrets Required secrets: * `sentinel_one`: required values `SENTINEL_ONE_API_TOKEN`. ### Input fields **agent_id** `string` *required* ID of the agent to disable. **base_url** `string | null` SentinelOne tenant URL. Default: `null`. **should_reboot** `boolean` Whether the agent should reboot after disabling. Default: `false`. ## Enable agent Action ID: `tools.sentinel_one.enable_agent` Enable a SentinelOne agent. Reference: [https://github.com/Sentinel-One/purple-mcp](https://github.com/Sentinel-One/purple-mcp) ### Secrets Required secrets: * `sentinel_one`: required values `SENTINEL_ONE_API_TOKEN`. ### Input fields **agent_id** `string` *required* ID of the agent to enable. **base_url** `string | null` SentinelOne tenant URL. Default: `null`. **should_reboot** `boolean` Whether the agent should reboot after enabling. Default: `false`. ## Get PowerQuery results Action ID: `tools.sentinel_one.get_powerquery_results` Poll a SentinelOne SDL PowerQuery for status and incremental results. Reference: [https://github.com/Sentinel-One/purple-mcp](https://github.com/Sentinel-One/purple-mcp) ### Secrets Required secrets: * `sentinel_one`: required values `SENTINEL_ONE_API_TOKEN`. ### Input fields **forward_tag** `string` *required* X-Dataset-Query-Forward-Tag returned by submit_powerquery response headers. **query_id** `string` *required* SDL query ID returned by submit_powerquery. **base_url** `string | null` SentinelOne tenant URL. /sdl is appended automatically. Default: `null`. **last_step_seen** `integer` Last step seen for incremental polling. Default: `0`. **timeout_seconds** `number` HTTP timeout in seconds for the SDL results request. Default: `60`. ## Initiate scan Action ID: `tools.sentinel_one.initiate_scan` Initiate a scan on SentinelOne agents. Reference: [https://github.com/Sentinel-One/purple-mcp](https://github.com/Sentinel-One/purple-mcp) ### Secrets Required secrets: * `sentinel_one`: required values `SENTINEL_ONE_API_TOKEN`. ### Input fields **device_id** `string` *required* ID of the agent/device to scan. **base_url** `string | null` SentinelOne tenant URL. Default: `null`. ## Isolate endpoint Action ID: `tools.sentinel_one.disconnect_device` Disconnect a SentinelOne agent from the network. Reference: [https://github.com/Sentinel-One/purple-mcp](https://github.com/Sentinel-One/purple-mcp) ### Secrets Required secrets: * `sentinel_one`: required values `SENTINEL_ONE_API_TOKEN`. ### Input fields **endpoint_id** `string` *required* ID of the endpoint/agent to disconnect. **base_url** `string | null` SentinelOne tenant URL. Default: `null`. ## List agent IDs Action ID: `tools.sentinel_one.list_agent_ids` Get a simple list of SentinelOne agent IDs. Reference: [https://github.com/Sentinel-One/purple-mcp](https://github.com/Sentinel-One/purple-mcp) ### Secrets Required secrets: * `sentinel_one`: required values `SENTINEL_ONE_API_TOKEN`. ### Input fields **base_url** `string | null` SentinelOne tenant URL. Default: `null`. **limit** `integer` The maximum number of agents to return. Default: `1000`. ## List alerts Action ID: `tools.sentinel_one.list_alerts` Query for SentinelOne alerts. Reference: [https://github.com/Sentinel-One/purple-mcp](https://github.com/Sentinel-One/purple-mcp) ### Secrets Required secrets: * `sentinel_one`: required values `SENTINEL_ONE_API_TOKEN`. ### Input fields **end_time** `string` *required* End time for the query (exclusive). **start_time** `string` *required* Start time for the query (inclusive). **base_url** `string | null` SentinelOne tenant URL. Default: `null`. **limit** `integer` Maximum number of alerts to return. Default: `100`. **query** `string | object | null` SentinelOne search query. Default: `null`. ## List inventory Action ID: `tools.sentinel_one.list_inventory` List SentinelOne inventory assets with API-native filters. Reference: [https://github.com/Sentinel-One/purple-mcp](https://github.com/Sentinel-One/purple-mcp) ### Secrets Required secrets: * `sentinel_one`: required values `SENTINEL_ONE_API_TOKEN`. ### Input fields **base_url** `string | null` SentinelOne tenant URL. Default: `null`. **filters** `object` REST-format filter object, e.g. resourceType, name__contains, id__in, or date-range objects. The limit and skip inputs override matching keys. Default: `{}`. **limit** `integer` Maximum number of assets to return. Default: `50`. **skip** `integer` Number of assets to skip for pagination. Default: `0`. ## List threats Action ID: `tools.sentinel_one.list_threats` Query for SentinelOne threats. Reference: [https://github.com/Sentinel-One/purple-mcp](https://github.com/Sentinel-One/purple-mcp) ### Secrets Required secrets: * `sentinel_one`: required values `SENTINEL_ONE_API_TOKEN`. ### Input fields **end_time** `string` *required* End time for the query (exclusive). **start_time** `string` *required* Start time for the query (inclusive). **base_url** `string | null` SentinelOne tenant URL. Default: `null`. **limit** `integer` Maximum number of alerts to return. Default: `100`. **query** `string | object | null` SentinelOne search query. Default: `null`. ## Lookup agents by account ID Action ID: `tools.sentinel_one.lookup_agent_account_id` Find all SentinelOne agents in a specific account. Reference: [https://github.com/Sentinel-One/purple-mcp](https://github.com/Sentinel-One/purple-mcp) ### Secrets Required secrets: * `sentinel_one`: required values `SENTINEL_ONE_API_TOKEN`. ### Input fields **account_id** `string` *required* Account ID to filter agents by. **base_url** `string | null` SentinelOne tenant URL. Default: `null`. **limit** `integer` The maximum number of agents to return. Default: `100`. ## Lookup agents by email Action ID: `tools.sentinel_one.lookup_agent_email` Find all SentinelOne agents associated with a user email address. Reference: [https://github.com/Sentinel-One/purple-mcp](https://github.com/Sentinel-One/purple-mcp) ### Secrets Required secrets: * `sentinel_one`: required values `SENTINEL_ONE_API_TOKEN`. ### Input fields **email** `string` *required* Email address to search for in agent user fields. **base_url** `string | null` SentinelOne tenant URL. Default: `null`. **limit** `integer` The maximum number of agents to return. Default: `100`. ## Lookup agents by file hash Action ID: `tools.sentinel_one.lookup_agent_hash` Find all SentinelOne agents that have encountered threats with a specific file hash. Reference: [https://github.com/Sentinel-One/purple-mcp](https://github.com/Sentinel-One/purple-mcp) ### Secrets Required secrets: * `sentinel_one`: required values `SENTINEL_ONE_API_TOKEN`. ### Input fields **file_hash** `string` *required* File hash (MD5, SHA1, SHA256) to search for in agent threats. **base_url** `string | null` SentinelOne tenant URL. Default: `null`. **limit** `integer` The maximum number of agents to return. Default: `100`. ## Lookup agents by group ID Action ID: `tools.sentinel_one.lookup_agent_groupid` Find all SentinelOne agents in a specific group. Reference: [https://github.com/Sentinel-One/purple-mcp](https://github.com/Sentinel-One/purple-mcp) ### Secrets Required secrets: * `sentinel_one`: required values `SENTINEL_ONE_API_TOKEN`. ### Input fields **group_id** `string` *required* Group ID to filter agents by. **base_url** `string | null` SentinelOne tenant URL. Default: `null`. **limit** `integer` The maximum number of agents to return. Default: `100`. ## Lookup agents by hostname Action ID: `tools.sentinel_one.lookup_agent_hostname` Find all SentinelOne agents by hostname/computer name. Reference: [https://github.com/Sentinel-One/purple-mcp](https://github.com/Sentinel-One/purple-mcp) ### Secrets Required secrets: * `sentinel_one`: required values `SENTINEL_ONE_API_TOKEN`. ### Input fields **hostname** `string` *required* Hostname/computer name to search for (supports partial matches). **base_url** `string | null` SentinelOne tenant URL. Default: `null`. **limit** `integer` The maximum number of agents to return. Default: `100`. ## Lookup agents by IP address Action ID: `tools.sentinel_one.lookup_agent_ip` Find all SentinelOne agents by IP address (external IP, network interface, or gateway). Reference: [https://github.com/Sentinel-One/purple-mcp](https://github.com/Sentinel-One/purple-mcp) ### Secrets Required secrets: * `sentinel_one`: required values `SENTINEL_ONE_API_TOKEN`. ### Input fields **ip_address** `string` *required* IP address to search for (supports partial matches). **base_url** `string | null` SentinelOne tenant URL. Default: `null`. **limit** `integer` The maximum number of agents to return. Default: `100`. ## Lookup agents by MAC address Action ID: `tools.sentinel_one.lookup_agent_mac_address` Find all SentinelOne agents by MAC address (network interface physical address or gateway MAC). Reference: [https://github.com/Sentinel-One/purple-mcp](https://github.com/Sentinel-One/purple-mcp) ### Secrets Required secrets: * `sentinel_one`: required values `SENTINEL_ONE_API_TOKEN`. ### Input fields **mac_address** `string` *required* MAC address to search for (supports partial matches, e.g., "aa:0f" or "41:") **base_url** `string | null` SentinelOne console base URL (e.g., [https://your-tenant.sentinelone.net](https://your-tenant.sentinelone.net)) Default: `null`. **limit** `integer` Maximum number of agents to return (1-1000) Default: `100`. **search_gateway_mac** `boolean` Whether to also search gateway MAC addresses Default: `false`. ## Lookup agents by machine type Action ID: `tools.sentinel_one.lookup_agent_machine_type` Find all SentinelOne agents filtered by machine type (laptop, desktop, server, etc.). Reference: [https://github.com/Sentinel-One/purple-mcp](https://github.com/Sentinel-One/purple-mcp) ### Secrets Required secrets: * `sentinel_one`: required values `SENTINEL_ONE_API_TOKEN`. ### Input fields **machine_types** `array[string]` *required* Machine types to include (e.g., laptop, desktop, server) **base_url** `string | null` SentinelOne console base URL (e.g., [https://your-tenant.sentinelone.net](https://your-tenant.sentinelone.net)) Default: `null`. **exclude_machine_types** `array[string]` Machine types to exclude (optional) Default: `[]`. **limit** `integer` Maximum number of agents to return (1-1000) Default: `100`. ## Lookup agents by operating system Action ID: `tools.sentinel_one.lookup_agent_os` Find all SentinelOne agents filtered by operating system type, name, revision, and version information. Reference: [https://github.com/Sentinel-One/purple-mcp](https://github.com/Sentinel-One/purple-mcp) ### Secrets Required secrets: * `sentinel_one`: required values `SENTINEL_ONE_API_TOKEN`. ### Input fields **os_types** `array[string]` *required* OS types to include (e.g., windows, linux, macos, windows_legacy) **base_url** `string | null` SentinelOne console base URL (e.g., [https://your-tenant.sentinelone.net](https://your-tenant.sentinelone.net)) Default: `null`. **limit** `integer` Maximum number of agents to return (1-1000) Default: `100`. **os_name** `string` Free-text filter by OS full name (optional) Default: `""`. **os_revision** `string` OS revision filter (optional) Default: `""`. **os_version_contains** `array[string]` Free-text filter by OS full name and version (supports multiple values) Default: `[]`. ## Run GraphQL query Action ID: `tools.sentinel_one.graphql` Run an arbitrary GraphQL query against a SentinelOne GraphQL API. Reference: [https://github.com/Sentinel-One/purple-mcp](https://github.com/Sentinel-One/purple-mcp) ### Secrets Required secrets: * `sentinel_one`: required values `SENTINEL_ONE_API_TOKEN`. ### Input fields **query** `string` *required* GraphQL query or mutation string. **auth_scheme** `string` Authorization scheme. Use ApiToken for the console GraphQL gateway (e.g. Purple AI) or Bearer for data-lake GraphQL services (e.g. Unified Alerts). Default: `"ApiToken"`. **base_url** `string | null` SentinelOne tenant URL. Default: `null`. **endpoint** `string` GraphQL endpoint path appended to base_url. Default: `"/web/api/v2.1/graphql"`. **timeout_seconds** `number` HTTP timeout in seconds for the GraphQL request. Default: `30`. **variables** `object` Variables to bind to the GraphQL query. Default: `{}`. ## Run PowerQuery Action ID: `tools.sentinel_one.powerquery` Submit a SentinelOne Singularity Data Lake PowerQuery and poll until results are ready. Reference: [https://github.com/Sentinel-One/purple-mcp](https://github.com/Sentinel-One/purple-mcp) ### Secrets Required secrets: * `sentinel_one`: required values `SENTINEL_ONE_API_TOKEN`. ### Input fields **query** `string` *required* PowerQuery string to execute. **account_ids** `array[string] | null` Optional SentinelOne account IDs to scope the query. Default: `null`. **base_url** `string | null` SentinelOne tenant URL. /sdl is appended automatically. Default: `null`. **end_time** `string` End time for the query. Accepts SDL relative time or epoch strings. Default: `"0s"`. **frequency** `string` PowerQuery frequency hint. Default: `"LOW"`. **poll_interval** `number` Seconds between poll attempts while the query runs. Default: `5`. **poll_max_attempts** `integer` Maximum number of poll attempts. Set to 0 to poll until timeout. Default: `60`. **query_origin** `string | null` Optional provenance string for SDL. Default: `null`. **query_priority** `string` SDL query priority. Default: `"LOW"`. **result_type** `string` PowerQuery result type. Default: `"TABLE"`. **start_time** `string` Start time for the query. Accepts SDL relative time or epoch strings. Default: `"24h"`. **tenant** `boolean | null` Query the tenant scope available to the token. Set to false when using account_ids. Default: `null`. **timeout_seconds** `number` HTTP timeout in seconds for each SDL request. Default: `60`. ## Submit PowerQuery Action ID: `tools.sentinel_one.submit_powerquery` Submit a SentinelOne Singularity Data Lake PowerQuery for event and telemetry threat hunting. Reference: [https://github.com/Sentinel-One/purple-mcp](https://github.com/Sentinel-One/purple-mcp) ### Secrets Required secrets: * `sentinel_one`: required values `SENTINEL_ONE_API_TOKEN`. ### Input fields **query** `string` *required* PowerQuery string to execute. **account_ids** `array[string] | null` Optional SentinelOne account IDs to scope the query. Default: `null`. **base_url** `string | null` SentinelOne tenant URL. /sdl is appended automatically. Default: `null`. **end_time** `string` End time for the query. Accepts SDL relative time or epoch strings. Default: `"0s"`. **frequency** `string` PowerQuery frequency hint. Default: `"LOW"`. **query_origin** `string | null` Optional provenance string for SDL. Default: `null`. **query_priority** `string` SDL query priority. Default: `"LOW"`. **result_type** `string` PowerQuery result type. Default: `"TABLE"`. **start_time** `string` Start time for the query. Accepts SDL relative time or epoch strings. Default: `"24h"`. **tenant** `boolean | null` Query the tenant scope available to the token. Set to false when using account_ids. Default: `null`. **timeout_seconds** `number` HTTP timeout in seconds for the SDL submission request. Default: `60`. ## Unisolate endpoint Action ID: `tools.sentinel_one.connect_to_network` Connect a SentinelOne agent to the network. Reference: [https://github.com/Sentinel-One/purple-mcp](https://github.com/Sentinel-One/purple-mcp) ### Secrets Required secrets: * `sentinel_one`: required values `SENTINEL_ONE_API_TOKEN`. ### Input fields **endpoint_id** `string` *required* ID of the endpoint/agent to connect. **base_url** `string | null` SentinelOne tenant URL. Default: `null`. ## Update alert analyst verdict Action ID: `tools.sentinel_one.update_alert_analyst_verdict` Update the analyst verdict for one or more SentinelOne alerts. Reference: [https://github.com/Sentinel-One/ai-siem/blob/main/plugins/s1-secops-skills/skills/mgmt-console-api/references/tags/alerts.md](https://github.com/Sentinel-One/ai-siem/blob/main/plugins/s1-secops-skills/skills/mgmt-console-api/references/tags/alerts.md) ### Secrets Required secrets: * `sentinel_one`: required values `SENTINEL_ONE_API_TOKEN`. ### Input fields **alert_ids** `array[string]` *required* IDs of the alerts to update. **analyst_verdict** `string` *required* Analyst verdict to apply to the alerts. **base_url** `string | null` SentinelOne tenant URL. Default: `null`. ## Update alert incident status Action ID: `tools.sentinel_one.update_alert_incident_status` Update the incident status for one or more SentinelOne alerts. Reference: [https://github.com/Sentinel-One/ai-siem/blob/main/plugins/s1-secops-skills/skills/mgmt-console-api/references/tags/alerts.md](https://github.com/Sentinel-One/ai-siem/blob/main/plugins/s1-secops-skills/skills/mgmt-console-api/references/tags/alerts.md) ### Secrets Required secrets: * `sentinel_one`: required values `SENTINEL_ONE_API_TOKEN`. ### Input fields **alert_ids** `array[string]` *required* IDs of the alerts to update. **incident_status** `string` *required* Incident status to apply to the alerts. **base_url** `string | null` SentinelOne tenant URL. Default: `null`. # ServiceNow Source: https://docs.tracecat.com/tools/servicenow Reference for the Tracecat ServiceNow integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Add configuration item relations Action ID: `tools.servicenow.add_ci_relations` Add inbound and/or outbound relations to a configuration item with the CMDB Instance API. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/cmdb-instance-api.html#cmdb-POST-instance-relation](https://www.servicenow.com/docs/r/api-reference/rest-apis/cmdb-instance-api.html#cmdb-POST-instance-relation) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **classname** `string` *required* CMDB class (table) name, e.g. cmdb_ci_linux_server, cmdb_ci_win_server, or cmdb_ci_appl. **source** `string` *required* Discovery source that is updating the CI. Must be a choice value of cmdb_ci.discovery_source, e.g. ServiceNow. **sys_id** `string` *required* sys_id of the parent configuration item. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **inbound_relations** `array[object] | null` Inbound relations, each \{"target": "\", "type": "\"}. Default: `null`. **outbound_relations** `array[object] | null` Outbound relations, each \{"target": "\", "type": "\"}. Default: `null`. ## Add incident comment Action ID: `tools.servicenow.add_incident_comment` Add a customer-visible comment (additional comments) to an incident. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-PATCH](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-PATCH) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **comments** `string` *required* Comment text visible to the caller. **sys_id** `string` *required* sys_id of the incident. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. ## Add incident work note Action ID: `tools.servicenow.add_incident_work_note` Add an internal work note to an incident. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-PATCH](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-PATCH) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **sys_id** `string` *required* sys_id of the incident. **work_notes** `string` *required* Internal work note text. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. ## Add item to cart Action ID: `tools.servicenow.add_item_to_cart` Add a catalog item to the caller's cart. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_ServiceCatalogAPI.html#servicecat-POST-items-add_to_cart](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_ServiceCatalogAPI.html#servicecat-POST-items-add_to_cart) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **sys_id** `string` *required* sys_id of the catalog item. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **sysparm_also_request_for** `string | null` Comma-separated sys_ids of additional users to order the item for. Default: `null`. **sysparm_quantity** `integer` Quantity of the item. Default: `1`. **sysparm_requested_for** `string | null` sys_id of the user to order the item for. Default: `null`. **variables** `object | null` Form variable values keyed by variable name. Use get_catalog_item to list an item's variables. Default: `null`. ## Add record comment Action ID: `tools.servicenow.add_record_comment` Add a customer-visible comment to any task-based record, such as a problem, change request, requested item, catalog task, or security incident. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-PATCH](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-PATCH) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **comments** `string` *required* Comment text. **sys_id** `string` *required* sys_id of the record. **table_name** `string` *required* Table name, e.g. incident, problem, change_request, sc_req_item, sc_task, or sn_si_incident. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. ## Add record work note Action ID: `tools.servicenow.add_record_work_note` Add an internal work note to any task-based record, such as a problem, change request, requested item, catalog task, or security incident. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-PATCH](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-PATCH) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **sys_id** `string` *required* sys_id of the record. **table_name** `string` *required* Table name, e.g. incident, problem, change_request, sc_req_item, sc_task, or sn_si_incident. **work_notes** `string` *required* Work note text. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. ## Assign incident Action ID: `tools.servicenow.assign_incident` Assign an incident to a group and/or user. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-PATCH](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-PATCH) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **sys_id** `string` *required* sys_id of the incident. **assigned_to** `string | null` sys_id of the assignee (sys_user). Default: `null`. **assignment_group** `string | null` sys_id of the assignment group (sys_user_group). Default: `null`. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **sysparm_input_display_value** `boolean | null` Set field values using display values instead of actual values. Default: `null`. ## Close incident Action ID: `tools.servicenow.close_incident` Close an incident by setting state to 7 (Closed) with a resolution code and notes. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-PATCH](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-PATCH) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **close_code** `string` *required* Resolution code. Choices vary by instance; use get_choice_values with table incident and element close_code. **close_notes** `string` *required* Resolution notes. **sys_id** `string` *required* sys_id of the incident. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **state** `string` Target incident state. OOTB 7 is Closed. Default: `"7"`. ## Create case Action ID: `tools.servicenow.create_case` Create a Customer Service Management case with the Case API. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/case-api.html#case-POST-case](https://www.servicenow.com/docs/r/api-reference/rest-apis/case-api.html#case-POST-case) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **short_description** `string` *required* Brief summary of the case. **account** `string | null` sys_id of the customer account (customer_account). Default: `null`. **assigned_to** `string | null` sys_id of the assignee. Default: `null`. **assignment_group** `string | null` sys_id of the assignment group. Default: `null`. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **category** `string | null` Case category. Default: `null`. **consumer** `string | null` sys_id of the consumer, for B2C cases. Default: `null`. **contact** `string | null` sys_id of the customer contact. Default: `null`. **contact_type** `string | null` Channel the case was reported through, e.g. email, phone, web. Default: `null`. **description** `string | null` Detailed description of the case. Default: `null`. **fields** `object | null` Additional case field values keyed by field name, e.g. \{"u_custom_field": "value"}. Default: `null`. **priority** `string | null` Priority: 1 (Critical), 2 (High), 3 (Moderate), 4 (Low). Default: `null`. **product** `string | null` sys_id of the product (cmdb_model). Default: `null`. ## Create configuration item Action ID: `tools.servicenow.create_ci` Create a configuration item in a CMDB class with the CMDB Instance API, applying identification and reconciliation rules. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/cmdb-instance-api.html#cmdb-POST-instance](https://www.servicenow.com/docs/r/api-reference/rest-apis/cmdb-instance-api.html#cmdb-POST-instance) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **attributes** `object` *required* CI attributes keyed by field name, e.g. \{"name": "web-01", "ip_address": "10.0.0.5"}. **classname** `string` *required* CMDB class (table) name, e.g. cmdb_ci_linux_server, cmdb_ci_win_server, or cmdb_ci_appl. **source** `string` *required* Discovery source that is updating the CI. Must be a choice value of cmdb_ci.discovery_source, e.g. ServiceNow. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **inbound_relations** `array[object] | null` Inbound relations, each \{"target": "\", "type": "\"}. Default: `null`. **outbound_relations** `array[object] | null` Outbound relations, each \{"target": "\", "type": "\"}. Default: `null`. ## Create incident Action ID: `tools.servicenow.create_incident` Create an incident with the Table API. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-POST](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-POST) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **short_description** `string` *required* Brief summary of the incident. **assigned_to** `string | null` sys_id of the assignee (sys_user). Default: `null`. **assignment_group** `string | null` sys_id of the assignment group (sys_user_group). Default: `null`. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **caller_id** `string | null` sys_id (or display value with sysparm_input_display_value) of the user reporting the incident. Default: `null`. **category** `string | null` Incident category, e.g. inquiry, software, hardware, network. Default: `null`. **cmdb_ci** `string | null` sys_id of the affected configuration item (cmdb_ci). Default: `null`. **contact_type** `string | null` Channel the incident was reported through, e.g. email, phone, self-service. Default: `null`. **description** `string | null` Detailed description of the incident. Default: `null`. **fields** `object | null` Additional incident field values keyed by field name, e.g. \{"u_custom_field": "value"}. Default: `null`. **impact** `string | null` Impact: 1 (High), 2 (Medium), 3 (Low). Default: `null`. **subcategory** `string | null` Incident subcategory. Default: `null`. **sysparm_display_value** `string | null` Return display values (true), actual values (false), or both (all). Default: `null`. **sysparm_exclude_reference_link** `boolean | null` Exclude Table API links for reference fields. Default: `null`. **sysparm_fields** `string | null` Comma-separated list of fields to return. Default: `null`. **sysparm_input_display_value** `boolean | null` Set field values using display values instead of actual values. Default: `null`. **urgency** `string | null` Urgency: 1 (High), 2 (Medium), 3 (Low). Default: `null`. ## Create ServiceNow record Action ID: `tools.servicenow.create_record` Create a record in a ServiceNow table. Reference: [https://www.servicenow.com/docs/bundle/zurich-api-reference/page/build/applications/concept/api-rest.html](https://www.servicenow.com/docs/bundle/zurich-api-reference/page/build/applications/concept/api-rest.html) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **base_url** `string` *required* Base API URL, e.g. [https://example.service-now.com/api/now](https://example.service-now.com/api/now). **record** `object` *required* JSON payload for the new record. **table_name** `string` *required* ServiceNow table name, e.g. 'incident', 'sys_user'. **params** `object | null` Optional query parameters such as sysparm_display_value. Default: `null`. ## Delete attachment Action ID: `tools.servicenow.delete_attachment` Delete an attachment with the Attachment API. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_AttachmentAPI.html#attachment-DELETE](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_AttachmentAPI.html#attachment-DELETE) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **sys_id** `string` *required* sys_id of the attachment. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. ## Delete cart item Action ID: `tools.servicenow.delete_cart_item` Remove an item from the caller's cart. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_ServiceCatalogAPI.html#servicecat-DELETE-cart](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_ServiceCatalogAPI.html#servicecat-DELETE-cart) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **cart_item_id** `string` *required* sys_id of the cart item. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. ## Delete configuration item relation Action ID: `tools.servicenow.delete_ci_relation` Delete a relation from a configuration item with the CMDB Instance API. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/cmdb-instance-api.html#cmdb-DELETE-instance-relation](https://www.servicenow.com/docs/r/api-reference/rest-apis/cmdb-instance-api.html#cmdb-DELETE-instance-relation) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **classname** `string` *required* CMDB class (table) name, e.g. cmdb_ci_linux_server, cmdb_ci_win_server, or cmdb_ci_appl. **rel_sys_id** `string` *required* sys_id of the relation (cmdb_rel_ci). **sys_id** `string` *required* sys_id of the configuration item. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. ## Delete ServiceNow record Action ID: `tools.servicenow.delete_record` Delete a ServiceNow table record by sys_id. Reference: [https://www.servicenow.com/docs/bundle/zurich-api-reference/page/build/applications/concept/api-rest.html](https://www.servicenow.com/docs/bundle/zurich-api-reference/page/build/applications/concept/api-rest.html) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **base_url** `string` *required* Base API URL, e.g. [https://example.service-now.com/api/now](https://example.service-now.com/api/now). **record_id** `string` *required* Unique record identifier (sys_id). **table_name** `string` *required* ServiceNow table name, e.g. 'incident', 'sys_user'. **params** `object | null` Optional query parameters such as sysparm_display_value. Default: `null`. ## Download attachment Action ID: `tools.servicenow.download_attachment` Download attachment content with the Attachment API. The file is returned base64-encoded in data. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_AttachmentAPI.html#attachment-GET-file](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_AttachmentAPI.html#attachment-GET-file) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **sys_id** `string` *required* sys_id of the attachment. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. ## Get attachment Action ID: `tools.servicenow.get_attachment` Get attachment metadata with the Attachment API. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_AttachmentAPI.html#attachment-GET-sys_id](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_AttachmentAPI.html#attachment-GET-sys_id) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **sys_id** `string` *required* sys_id of the attachment. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. ## Get cart Action ID: `tools.servicenow.get_cart` Get the contents of the caller's cart. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_ServiceCatalogAPI.html#servicecat-GET-cart](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_ServiceCatalogAPI.html#servicecat-GET-cart) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. ## Get case Action ID: `tools.servicenow.get_case` Get a Customer Service Management case by sys_id or case number with the Case API. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/case-api.html#case-GET-case-id](https://www.servicenow.com/docs/r/api-reference/rest-apis/case-api.html#case-GET-case-id) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **id** `string` *required* sys_id or case number, e.g. CS0001001. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **sysparm_display_value** `string | null` Return display values (true), actual values (false), or both (all). Default: `null`. ## Get case field values Action ID: `tools.servicenow.get_case_field_values` List valid values for a case field, such as priority or a reference field, with the Case API. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/case-api.html#case-GET-case-field_values](https://www.servicenow.com/docs/r/api-reference/rest-apis/case-api.html#case-GET-case-field_values) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **field_name** `string` *required* Case field name, e.g. priority, state, or account. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **sysparm_dependent_value** `string | null` Value of the field this field depends on. Default: `null`. **sysparm_limit** `integer | null` Maximum number of records to return. Default: `null`. **sysparm_offset** `integer | null` Number of records to skip, for pagination. Default: `null`. **sysparm_query** `string | null` Encoded query used to filter the result set, e.g. active=true^priority=1^ORDERBYDESCsys_created_on. Default: `null`. ## Get catalog item Action ID: `tools.servicenow.get_catalog_item` Get a catalog item or record producer, including its form variables. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_ServiceCatalogAPI.html#servicecat-GET-items-sys_id](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_ServiceCatalogAPI.html#servicecat-GET-items-sys_id) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **sys_id** `string` *required* sys_id of the catalog item or record producer. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **sysparm_view** `string | null` UI view to return items for. Default: `null`. ## Get choice values Action ID: `tools.servicenow.get_choice_values` List the active choice values for a choice field, such as incident state or close_code, from the sys_choice table. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-GET](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-GET) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **element** `string` *required* Field name, e.g. state, category, or close_code. **table_name** `string` *required* Table name, e.g. incident. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **sysparm_limit** `integer | null` Maximum number of records to return. Default: `null`. ## Get configuration item Action ID: `tools.servicenow.get_ci` Get a configuration item, including its attributes and relations, with the CMDB Instance API. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/cmdb-instance-api.html#cmdb-GET-instance-classname-sys_id](https://www.servicenow.com/docs/r/api-reference/rest-apis/cmdb-instance-api.html#cmdb-GET-instance-classname-sys_id) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **classname** `string` *required* CMDB class (table) name, e.g. cmdb_ci_linux_server, cmdb_ci_win_server, or cmdb_ci_appl. **sys_id** `string` *required* sys_id of the configuration item. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. ## Get email Action ID: `tools.servicenow.get_email` Get an email record (sys_email) by sys_id with the Email API. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/email-api.html#email-GET](https://www.servicenow.com/docs/r/api-reference/rest-apis/email-api.html#email-GET) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **id** `string` *required* sys_id of the email. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **sysparm_fields** `string | null` Comma-separated list of fields to return. Default: `null`. ## Get incident Action ID: `tools.servicenow.get_incident` Get an incident by sys_id with the Table API. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-GET-id](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-GET-id) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **sys_id** `string` *required* sys_id of the incident. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **sysparm_display_value** `string | null` Return display values (true), actual values (false), or both (all). Default: `null`. **sysparm_exclude_reference_link** `boolean | null` Exclude Table API links for reference fields. Default: `null`. **sysparm_fields** `string | null` Comma-separated list of fields to return. Default: `null`. ## Get record statistics Action ID: `tools.servicenow.get_record_stats` Compute counts, averages, and grouped statistics over a table with the Aggregate API. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_AggregateAPI.html#aggregate-GET-stats](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_AggregateAPI.html#aggregate-GET-stats) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **table_name** `string` *required* Table name, e.g. incident, problem, change_request, sc_req_item, sc_task, or sn_si_incident. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **sysparm_avg_fields** `string | null` Comma-separated fields to average. Default: `null`. **sysparm_count** `boolean | null` Return the number of matching records. Default: `null`. **sysparm_display_value** `string | null` Return display values (true), actual values (false), or both (all). Default: `null`. **sysparm_group_by** `string | null` Comma-separated fields to group results by. Default: `null`. **sysparm_having** `string | null` Additional query applied to the aggregates, e.g. count^priority^>^3. Default: `null`. **sysparm_order_by** `string | null` Field to order grouped results by. Default: `null`. **sysparm_query** `string | null` Encoded query used to filter the result set, e.g. active=true^priority=1^ORDERBYDESCsys_created_on. Default: `null`. ## Get ServiceNow record Action ID: `tools.servicenow.get_record` Retrieve a record from a ServiceNow table by sys_id. Reference: [https://www.servicenow.com/docs/bundle/zurich-api-reference/page/build/applications/concept/api-rest.html](https://www.servicenow.com/docs/bundle/zurich-api-reference/page/build/applications/concept/api-rest.html) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **base_url** `string` *required* Base API URL, e.g. [https://example.service-now.com/api/now](https://example.service-now.com/api/now). **record_id** `string` *required* Unique record identifier (sys_id). **table_name** `string` *required* ServiceNow table name, e.g. 'incident', 'sys_user'. **params** `object | null` Optional query parameters such as sysparm_fields or sysparm_display_value. Default: `null`. ## Get table columns Action ID: `tools.servicenow.get_table_columns` List the field definitions (form fields) of a table from the sys_dictionary table. Fields inherited from a parent table, such as task for incident, are defined on the parent table. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-GET](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-GET) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **table_name** `string` *required* Table name, e.g. incident or task. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **sysparm_fields** `string | null` Comma-separated list of fields to return, e.g. element,column_label,internal_type,mandatory,reference. Default: `null`. **sysparm_limit** `integer | null` Maximum number of records to return. Default: `null`. **sysparm_offset** `integer | null` Number of records to skip, for pagination. Default: `null`. ## Get user by email Action ID: `tools.servicenow.get_user_by_email` Look up users in the sys_user table by email address. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-GET](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-GET) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **email** `string` *required* Email address of the user. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **sysparm_fields** `string | null` Comma-separated list of fields to return. Default: `null`. ## List attachments Action ID: `tools.servicenow.list_attachments` List attachment metadata with the Attachment API. Use sysparm_query table_sys_id=\ to list a record's attachments. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_AttachmentAPI.html#attachment-GET](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_AttachmentAPI.html#attachment-GET) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **sysparm_limit** `integer | null` Maximum number of records to return. Default: `null`. **sysparm_offset** `integer | null` Number of records to skip, for pagination. Default: `null`. **sysparm_query** `string | null` Encoded query used to filter the result set, e.g. active=true^priority=1^ORDERBYDESCsys_created_on. Default: `null`. ## List case activities Action ID: `tools.servicenow.list_case_activities` List the activity stream (comments, work notes, and field changes) of a case with the Case API. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/case-api.html#case-GET-case-activities](https://www.servicenow.com/docs/r/api-reference/rest-apis/case-api.html#case-GET-case-activities) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **id** `string` *required* sys_id or case number. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **sysparm_activity_type** `string | null` Activity types to return, e.g. comments or work_notes. Default: `null`. **sysparm_limit** `integer | null` Maximum number of records to return. Default: `null`. **sysparm_offset** `integer | null` Number of records to skip, for pagination. Default: `null`. ## List cases Action ID: `tools.servicenow.list_cases` List Customer Service Management cases with the Case API. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/case-api.html#case-GET-case](https://www.servicenow.com/docs/r/api-reference/rest-apis/case-api.html#case-GET-case) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **sysparm_display_value** `string | null` Return display values (true), actual values (false), or both (all). Default: `null`. **sysparm_fields** `string | null` Comma-separated list of fields to return. Default: `null`. **sysparm_limit** `integer | null` Maximum number of records to return. Default: `null`. **sysparm_offset** `integer | null` Number of records to skip, for pagination. Default: `null`. **sysparm_query** `string | null` Encoded query used to filter the result set, e.g. active=true^priority=1^ORDERBYDESCsys_created_on. Default: `null`. **sysparm_reference_fields** `boolean | null` Return reference fields with display values and links. Default: `null`. ## List catalog items Action ID: `tools.servicenow.list_catalog_items` Search service catalog items and record producers (request forms). Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_ServiceCatalogAPI.html#servicecat-GET-items](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_ServiceCatalogAPI.html#servicecat-GET-items) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **sysparm_catalog** `string | null` sys_id of the catalog to search. Default: `null`. **sysparm_category** `string | null` sys_id of the category to search. Default: `null`. **sysparm_limit** `integer | null` Maximum number of records to return. Default: `null`. **sysparm_offset** `integer | null` Number of records to skip, for pagination. Default: `null`. **sysparm_text** `string | null` Search text. Default: `null`. **sysparm_type** `string | null` Item type to return, e.g. sc_cat_item or sc_cat_item_producer. Default: `null`. ## List catalogs Action ID: `tools.servicenow.list_catalogs` List service catalogs available to the caller. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_ServiceCatalogAPI.html#servicecat-GET-catalogs](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_ServiceCatalogAPI.html#servicecat-GET-catalogs) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **sysparm_limit** `integer | null` Maximum number of records to return. Default: `null`. **sysparm_offset** `integer | null` Number of records to skip, for pagination. Default: `null`. **sysparm_text** `string | null` Search text. Default: `null`. ## List configuration items Action ID: `tools.servicenow.list_cis` List configuration items in a CMDB class with the CMDB Instance API. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/cmdb-instance-api.html#cmdb-GET-instance-classname](https://www.servicenow.com/docs/r/api-reference/rest-apis/cmdb-instance-api.html#cmdb-GET-instance-classname) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **classname** `string` *required* CMDB class (table) name, e.g. cmdb_ci_linux_server, cmdb_ci_win_server, or cmdb_ci_appl. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **sysparm_limit** `integer | null` Maximum number of records to return. Default: `null`. **sysparm_offset** `integer | null` Number of records to skip, for pagination. Default: `null`. **sysparm_query** `string | null` Encoded query used to filter the result set, e.g. active=true^priority=1^ORDERBYDESCsys_created_on. Default: `null`. ## List group members Action ID: `tools.servicenow.list_group_members` List members of a user group from the sys_user_grmember table. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-GET](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-GET) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **group_sys_id** `string` *required* sys_id of the group. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **sysparm_display_value** `string | null` Return display values (true), actual values (false), or both (all). Default: `null`. **sysparm_fields** `string | null` Comma-separated list of fields to return. Default: `null`. **sysparm_limit** `integer | null` Maximum number of records to return. Default: `null`. **sysparm_offset** `integer | null` Number of records to skip, for pagination. Default: `null`. ## List groups Action ID: `tools.servicenow.list_groups` List user groups, such as assignment groups, from the sys_user_group table. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-GET](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-GET) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **sysparm_display_value** `string | null` Return display values (true), actual values (false), or both (all). Default: `null`. **sysparm_fields** `string | null` Comma-separated list of fields to return. Default: `null`. **sysparm_limit** `integer | null` Maximum number of records to return. Default: `null`. **sysparm_offset** `integer | null` Number of records to skip, for pagination. Default: `null`. **sysparm_query** `string | null` Encoded query used to filter the result set, e.g. active=true^priority=1^ORDERBYDESCsys_created_on. Default: `null`. ## List incidents Action ID: `tools.servicenow.list_incidents` List incidents matching an encoded query with the Table API. Use sysparm_query number=INC0010001 to look up an incident by number. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-GET](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-GET) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **sysparm_display_value** `string | null` Return display values (true), actual values (false), or both (all). Default: `null`. **sysparm_exclude_reference_link** `boolean | null` Exclude Table API links for reference fields. Default: `null`. **sysparm_fields** `string | null` Comma-separated list of fields to return. Default: `null`. **sysparm_limit** `integer | null` Maximum number of records to return. Default: `null`. **sysparm_offset** `integer | null` Number of records to skip, for pagination. Default: `null`. **sysparm_query** `string | null` Encoded query used to filter the result set, e.g. active=true^priority=1^ORDERBYDESCsys_created_on. Default: `null`. ## List journal entries Action ID: `tools.servicenow.list_journal_entries` List comments and work notes for a record from the sys_journal_field table, newest first. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-GET](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-GET) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **element_id** `string` *required* sys_id of the record whose journal entries to list. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **element** `string | null` Only return comments or only return work notes. Default: `null`. **sysparm_limit** `integer | null` Maximum number of records to return. Default: `null`. **sysparm_offset** `integer | null` Number of records to skip, for pagination. Default: `null`. ## List tables Action ID: `tools.servicenow.list_tables` List tables defined on the instance from the sys_db_object table. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-GET](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-GET) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **sysparm_fields** `string | null` Comma-separated list of fields to return. Default: `null`. **sysparm_limit** `integer | null` Maximum number of records to return. Default: `null`. **sysparm_offset** `integer | null` Number of records to skip, for pagination. Default: `null`. **sysparm_query** `string | null` Encoded query used to filter the result set, e.g. active=true^priority=1^ORDERBYDESCsys_created_on. Default: `null`. ## List users Action ID: `tools.servicenow.list_users` List users from the sys_user table. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-GET](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-GET) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **sysparm_display_value** `string | null` Return display values (true), actual values (false), or both (all). Default: `null`. **sysparm_fields** `string | null` Comma-separated list of fields to return. Default: `null`. **sysparm_limit** `integer | null` Maximum number of records to return. Default: `null`. **sysparm_offset** `integer | null` Number of records to skip, for pagination. Default: `null`. **sysparm_query** `string | null` Encoded query used to filter the result set, e.g. active=true^priority=1^ORDERBYDESCsys_created_on. Default: `null`. ## Order catalog item Action ID: `tools.servicenow.order_catalog_item` Order a catalog item immediately, creating a request (REQ) and requested item (RITM). Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_ServiceCatalogAPI.html#servicecat-POST-items-order_now](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_ServiceCatalogAPI.html#servicecat-POST-items-order_now) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **sys_id** `string` *required* sys_id of the catalog item. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **sysparm_also_request_for** `string | null` Comma-separated sys_ids of additional users to order the item for. Default: `null`. **sysparm_quantity** `integer` Quantity of the item. Default: `1`. **sysparm_requested_for** `string | null` sys_id of the user to order the item for. Default: `null`. **variables** `object | null` Form variable values keyed by variable name. Use get_catalog_item to list an item's variables. Default: `null`. ## Query ServiceNow records Action ID: `tools.servicenow.query_records` Query a ServiceNow table with optional filters. Reference: [https://www.servicenow.com/docs/bundle/zurich-api-reference/page/build/applications/concept/api-rest.html](https://www.servicenow.com/docs/bundle/zurich-api-reference/page/build/applications/concept/api-rest.html) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **base_url** `string` *required* Base API URL, e.g. [https://example.service-now.com/api/now](https://example.service-now.com/api/now). **table_name** `string` *required* ServiceNow table name, e.g. 'incident', 'sys_user'. **params** `object | null` Optional query parameters such as sysparm_query, sysparm_fields, or sysparm_limit. Default: `null`. ## Resolve incident Action ID: `tools.servicenow.resolve_incident` Resolve an incident by setting state to 6 (Resolved) with a resolution code and notes. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-PATCH](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-PATCH) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **close_code** `string` *required* Resolution code. Choices vary by instance; use get_choice_values with table incident and element close_code. **close_notes** `string` *required* Resolution notes. **sys_id** `string` *required* sys_id of the incident. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **state** `string` Target incident state. OOTB 6 is Resolved. Default: `"6"`. ## Send email Action ID: `tools.servicenow.send_email` Send an email from the instance with the Email API, optionally associating it with a record. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/email-api.html#email-POST](https://www.servicenow.com/docs/r/api-reference/rest-apis/email-api.html#email-POST) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **subject** `string` *required* Email subject. **to** `array[string]` *required* Recipient email addresses. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **bcc** `array[string] | null` BCC email addresses. Default: `null`. **cc** `array[string] | null` CC email addresses. Default: `null`. **html** `string | null` HTML body. Default: `null`. **table_name** `string | null` Table of a record to associate the email with. Default: `null`. **table_record_id** `string | null` sys_id of the record to associate the email with. Default: `null`. **text** `string | null` Plain-text body. Default: `null`. ## Submit cart order Action ID: `tools.servicenow.submit_cart_order` Order all items in the caller's cart, creating a request. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_ServiceCatalogAPI.html#servicecat-POST-cart-sub_order](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_ServiceCatalogAPI.html#servicecat-POST-cart-sub_order) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. ## Submit record producer Action ID: `tools.servicenow.submit_record_producer` Submit a record producer form, which creates the target record (e.g. an incident or case) from form variables. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_ServiceCatalogAPI.html#servicecat-POST-items-submit_prod](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_ServiceCatalogAPI.html#servicecat-POST-items-submit_prod) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **sys_id** `string` *required* sys_id of the record producer. **variables** `object` *required* Form variable values keyed by variable name. Use get_catalog_item to list the producer's variables. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. ## Update cart item Action ID: `tools.servicenow.update_cart_item` Update the quantity or variables of an item in the caller's cart. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_ServiceCatalogAPI.html#servicecat-PUT-cart](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_ServiceCatalogAPI.html#servicecat-PUT-cart) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **cart_item_id** `string` *required* sys_id of the cart item. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **sysparm_quantity** `integer | null` New quantity. Default: `null`. **variables** `object | null` Form variable values keyed by variable name. Use get_catalog_item to list an item's variables. Default: `null`. ## Update case Action ID: `tools.servicenow.update_case` Update a Customer Service Management case with the Case API. Include comments or work_notes in fields to add journal entries. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/case-api.html#case-PUT-case](https://www.servicenow.com/docs/r/api-reference/rest-apis/case-api.html#case-PUT-case) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **fields** `object` *required* Field values to update, e.g. \{"state": "10", "work_notes": "Investigating"}. **id** `string` *required* sys_id or case number. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **sysparm_display_value** `string | null` Return display values (true), actual values (false), or both (all). Default: `null`. **sysparm_fields** `string | null` Comma-separated list of fields to return. Default: `null`. **sysparm_get_case_details** `boolean | null` Return the full case record in the response. Default: `null`. ## Update configuration item Action ID: `tools.servicenow.update_ci` Update attributes of a configuration item with the CMDB Instance API. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/cmdb-instance-api.html#cmdb-PATCH-instance](https://www.servicenow.com/docs/r/api-reference/rest-apis/cmdb-instance-api.html#cmdb-PATCH-instance) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **attributes** `object` *required* CI attributes to update, keyed by field name. **classname** `string` *required* CMDB class (table) name, e.g. cmdb_ci_linux_server, cmdb_ci_win_server, or cmdb_ci_appl. **source** `string` *required* Discovery source that is updating the CI. Must be a choice value of cmdb_ci.discovery_source, e.g. ServiceNow. **sys_id** `string` *required* sys_id of the configuration item. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. ## Update incident Action ID: `tools.servicenow.update_incident` Update incident fields with the Table API. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-PATCH](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_TableAPI.html#table-PATCH) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **fields** `object` *required* Field values to update, keyed by field name, e.g. \{"state": "2", "priority": "1"}. **sys_id** `string` *required* sys_id of the incident. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **sysparm_display_value** `string | null` Return display values (true), actual values (false), or both (all). Default: `null`. **sysparm_fields** `string | null` Comma-separated list of fields to return. Default: `null`. **sysparm_input_display_value** `boolean | null` Set field values using display values instead of actual values. Default: `null`. ## Update ServiceNow record Action ID: `tools.servicenow.update_record` Update fields on a ServiceNow table record. Reference: [https://www.servicenow.com/docs/bundle/zurich-api-reference/page/build/applications/concept/api-rest.html](https://www.servicenow.com/docs/bundle/zurich-api-reference/page/build/applications/concept/api-rest.html) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **base_url** `string` *required* Base API URL, e.g. [https://example.service-now.com/api/now](https://example.service-now.com/api/now). **fields** `object` *required* Fields to update on the record. **record_id** `string` *required* Unique record identifier (sys_id). **table_name** `string` *required* ServiceNow table name, e.g. 'incident', 'sys_user'. **params** `object | null` Optional query parameters such as sysparm_display_value. Default: `null`. ## Upload attachment Action ID: `tools.servicenow.upload_attachment` Attach a file to any record, such as an incident or case, with the Attachment API. Reference: [https://www.servicenow.com/docs/r/api-reference/rest-apis/c_AttachmentAPI.html#attachment-POST-upload](https://www.servicenow.com/docs/r/api-reference/rest-apis/c_AttachmentAPI.html#attachment-POST-upload) ### Secrets Required secrets: * `servicenow_oauth`: OAuth token `SERVICENOW_SERVICE_TOKEN`. ### Input fields **content_base64** `string` *required* Base64-encoded file content. **file_name** `string` *required* Name of the file. **table_name** `string` *required* Table of the record to attach the file to, e.g. incident. **table_sys_id** `string` *required* sys_id of the record to attach the file to. **base_url** `string | null` ServiceNow instance URL, e.g. https\://\.service-now\.com. Defaults to the `servicenow.base_url` workspace variable. Default: `null`. **content_type** `string` MIME type of the file. Default: `"application/octet-stream"`. # Shodan Source: https://docs.tracecat.com/tools/shodan Reference for the Tracecat Shodan integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Count hosts Action ID: `tools.shodan.count_hosts` Count Shodan host search matches. Calls GET /shodan/host/count directly. Reference: [https://developer.shodan.io/api#shodan-host-count](https://developer.shodan.io/api#shodan-host-count) ### Secrets Required secrets: * `shodan`: required values `SHODAN_API_KEY`. ### Input fields **query** `string` *required* Shodan search query. The provided string is used to search the database of banners in Shodan, with the additional option to provide filters inside the search query using a "filter:value" format. For example, the following search query would find Apache Web servers located in Germany: "apache country:DE". **base_url** `string | null` Shodan REST API base URL. Default: `null`. **facets** `string | null` A comma-separated list of properties to get summary information on. Property names can also be in the format of "property:count", where "count" is the number of facets that will be returned for a property (i.e. "country:100" to get the top 100 countries for a search query). Default: `null`. ## Lookup host Action ID: `tools.shodan.lookup_host` Look up Shodan host information. Calls GET /shodan/host/\{ip} directly. Reference: [https://developer.shodan.io/api#shodan-host-details](https://developer.shodan.io/api#shodan-host-details) ### Secrets Required secrets: * `shodan`: required values `SHODAN_API_KEY`. ### Input fields **ip** `string` *required* Host IP address. **base_url** `string | null` Shodan REST API base URL. Default: `null`. **history** `boolean | null` True if all historical banners should be returned (default: False) Default: `null`. **minify** `boolean | null` True to only return the list of ports and the general host information, no banners. (default: False) Default: `null`. ## Resolve DNS Action ID: `tools.shodan.resolve_dns` Resolve hostnames to IP addresses. Calls GET /dns/resolve directly. Reference: [https://developer.shodan.io/api#dns-resolve](https://developer.shodan.io/api#dns-resolve) ### Secrets Required secrets: * `shodan`: required values `SHODAN_API_KEY`. ### Input fields **hostnames** `string` *required* Comma-separated list of hostnames; example "google.com,bing.com" **base_url** `string | null` Shodan REST API base URL. Default: `null`. ## Reverse DNS Action ID: `tools.shodan.reverse_dns` Look up hostnames for IP addresses. Calls GET /dns/reverse directly. Reference: [https://developer.shodan.io/api#dns-reverse](https://developer.shodan.io/api#dns-reverse) ### Secrets Required secrets: * `shodan`: required values `SHODAN_API_KEY`. ### Input fields **ips** `string` *required* Comma-separated list of IP addresses; example "74.125.227.230,204.79.197.200" **base_url** `string | null` Shodan REST API base URL. Default: `null`. ## Search exploits Action ID: `tools.shodan.search_exploits` Search Shodan Exploits. Calls GET /api/search directly. Reference: [https://developer.shodan.io/api/exploits/rest#shodan-exploits-search](https://developer.shodan.io/api/exploits/rest#shodan-exploits-search) ### Secrets Required secrets: * `shodan`: required values `SHODAN_API_KEY`. ### Input fields **query** `string` *required* Search query used to search the database of known exploits. Possible search filters are: author, bid, code, cve, date, description, msb, osvdb, platform, port, title and type. **base_url** `string | null` Shodan Exploits REST API base URL. Default: `null`. **facets** `string | null` A comma-separated list of properties to get summary information on. The following facets are currently supported: author, platform, port, source and type. Default: `null`. **page** `integer | null` The page number to page through results 100 at a time. Default: `null`. ## Search hosts Action ID: `tools.shodan.search_hosts` Search Shodan host banners. Calls GET /shodan/host/search directly. Reference: [https://developer.shodan.io/api#shodan-host-search](https://developer.shodan.io/api#shodan-host-search) ### Secrets Required secrets: * `shodan`: required values `SHODAN_API_KEY`. ### Input fields **query** `string` *required* Shodan search query. The provided string is used to search the database of banners in Shodan, with the additional option to provide filters inside the search query using a "filter:value" format. For example, the following search query would find Apache Web servers located in Germany: "apache country:DE". **base_url** `string | null` Shodan REST API base URL. Default: `null`. **facets** `string | null` A comma-separated list of properties to get summary information on. Property names can also be in the format of "property:count", where "count" is the number of facets that will be returned for a property (i.e. "country:100" to get the top 100 countries for a search query). Default: `null`. **fields** `string | null` Comma-separated list of fields to return in the search results. Example: tags,http.title,http.favicon.hash Default: `null`. **minify** `boolean | null` True or False; whether or not to truncate some of the larger fields (default: True) Default: `null`. **page** `integer | null` The page number to page through results 100 at a time (default: 1) Default: `null`. # Slack Source: https://docs.tracecat.com/tools/slack Reference for the Tracecat Slack integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Add bookmark Action ID: `tools.slack.add_bookmark` Add a bookmark to a Slack channel. Reference: [https://docs.slack.dev/reference/methods/bookmarks.add/](https://docs.slack.dev/reference/methods/bookmarks.add/) ### Input fields **channel_id** `string` *required* ID of the channel to add the bookmark to. **link** `string` *required* URL to bookmark. **title** `string` *required* Title for the bookmark. **emoji** `string | null` Emoji tag to apply to the bookmark. Default: `null`. ## Add pin Action ID: `tools.slack.add_pin` Pin a message in a Slack channel. Reference: [https://docs.slack.dev/reference/methods/pins.add/](https://docs.slack.dev/reference/methods/pins.add/) ### Input fields **channel** `string` *required* ID of the channel containing the message to pin. **timestamp** `string` *required* Timestamp of the message to pin. ## Add reaction Action ID: `tools.slack.add_reaction` Add a reaction to a message in a Slack channel. Reference: [https://docs.slack.dev/reference/methods/reactions.add/](https://docs.slack.dev/reference/methods/reactions.add/) ### Input fields **channel** `string` *required* ID of the channel to add the reaction to. **name** `string` *required* Name of the reaction to add. **timestamp** `string` *required* Timestamp of the message to add the reaction to. ## Append stream Action ID: `tools.slack.append_stream` Append text or chunks to an existing Slack streaming message. Reference: [https://docs.slack.dev/reference/methods/chat.appendStream/](https://docs.slack.dev/reference/methods/chat.appendStream/) ### Input fields **channel** `string` *required* ID of the channel containing the streaming message. **ts** `string` *required* Timestamp of the streaming message. **chunks** `array[object] | null` Streaming chunks, such as markdown_text, task_update, plan_update, or blocks chunks. Default: `null`. **markdown_text** `string | null` Markdown-formatted text to append to the stream. Default: `null`. ## Archive channel Action ID: `tools.slack.archive_channel` Archive a Slack channel. Reference: [https://docs.slack.dev/reference/methods/conversations.archive/](https://docs.slack.dev/reference/methods/conversations.archive/) ### Input fields **channel** `string` *required* ID of the channel to archive. ## Assistant search context Action ID: `tools.slack.assistant_search_context` Search Slack messages, files, channels, and users for AI assistant context. Reference: [https://docs.slack.dev/reference/methods/assistant.search.context/](https://docs.slack.dev/reference/methods/assistant.search.context/) ### Input fields **action_token** `string` *required* Action token from a Slack assistant message event. **query** `string` *required* User prompt or search query. **after** `integer | null` UNIX timestamp filter for results after this time. Default: `null`. **before** `integer | null` UNIX timestamp filter for results before this time. Default: `null`. **channel_types** `array[string]` Slack channel types to search. Default: `[ "public_channel" ]`. **content_types** `array[string]` Slack content types to include in search results. Default: `[ "messages" ]`. **context_channel_id** `string | null` Context channel ID to scope the search when applicable. Default: `null`. **cursor** `string | null` Cursor returned by Slack for the next page of results. Default: `null`. **disable_semantic_search** `boolean` Whether to disable semantic search and use keyword search only. Default: `false`. **highlight** `boolean` Whether to highlight the search query in results. Default: `false`. **include_archived_channels** `boolean` Whether to include archived channels in search results. Default: `false`. **include_bots** `boolean` Whether to include bot-authored results. Default: `false`. **include_context_messages** `boolean` Whether to include context messages around message results. Default: `false`. **include_deleted_users** `boolean` Whether to include deleted users in user search results. Default: `false`. **include_message_blocks** `boolean` Whether to include message blocks in the response. Default: `false`. **limit** `integer` Number of results to return, up to a maximum of 20. Default: `20`. **modifiers** `string | null` Slack search modifiers, such as has:pin before:yesterday. Default: `null`. **sort** `string` Field to sort results by. Supported values are score and timestamp. Default: `"score"`. **sort_dir** `string` Direction to sort results by. Supported values are asc and desc. Default: `"desc"`. **term_clauses** `array[string]` Term clauses that every returned search result should match. Default: `[]`. ## Assistant search info Action ID: `tools.slack.assistant_search_info` Return Slack assistant search capabilities for the workspace. Reference: [https://docs.slack.dev/reference/methods/assistant.search.info/](https://docs.slack.dev/reference/methods/assistant.search.info/) ### Input fields This action does not take input fields. ## Create canvas Action ID: `tools.slack.create_canvas` Create a standalone Slack canvas. Reference: [https://docs.slack.dev/reference/methods/canvases.create/](https://docs.slack.dev/reference/methods/canvases.create/) ### Input fields **channel_id** `string | null` ID of the channel where the canvas should be tabbed. Default: `null`. **document_content** `object | null` Structure describing the type and value of the content to create. Default: `null`. **title** `string | null` Title of the newly created canvas. Default: `null`. ## Create channel Action ID: `tools.slack.create_channel` Create a new Slack channel. Reference: [https://docs.slack.dev/reference/methods/conversations.create/](https://docs.slack.dev/reference/methods/conversations.create/) ### Input fields **name** `string` *required* Name of the channel to create. **is_private** `boolean` Whether the channel is private. Default: `false`. ## Create channel canvas Action ID: `tools.slack.create_channel_canvas` Create a Slack channel canvas for a channel. Reference: [https://docs.slack.dev/reference/methods/conversations.canvases.create/](https://docs.slack.dev/reference/methods/conversations.canvases.create/) ### Input fields **channel_id** `string` *required* ID of the channel where the canvas will be tabbed. **document_content** `object | null` Structure describing the type and value of the content to create. Default: `null`. **title** `string | null` Title of the newly created canvas. Default: `null`. ## Delete canvas Action ID: `tools.slack.delete_canvas` Delete a Slack canvas. Reference: [https://docs.slack.dev/reference/methods/canvases.delete/](https://docs.slack.dev/reference/methods/canvases.delete/) ### Input fields **canvas_id** `string` *required* Encoded ID of the canvas to delete. ## Delete canvas access Action ID: `tools.slack.delete_canvas_access` Remove access to a Slack canvas for specified channels or users. Reference: [https://docs.slack.dev/reference/methods/canvases.access.delete/](https://docs.slack.dev/reference/methods/canvases.access.delete/) ### Input fields **canvas_id** `string` *required* Encoded ID of the canvas to remove access from. **channel_ids** `array[string] | null` List of channels to remove access for. Default: `null`. **user_ids** `array[string] | null` List of users to remove access for. Default: `null`. ## Delete message Action ID: `tools.slack.delete_message` Delete a message from a Slack channel. Reference: [https://docs.slack.dev/reference/methods/chat.delete/](https://docs.slack.dev/reference/methods/chat.delete/) ### Input fields **channel** `string` *required* ID of the channel to delete the message from. **ts** `string` *required* Timestamp of the message to delete. ## Edit canvas Action ID: `tools.slack.edit_canvas` Update an existing Slack canvas. Reference: [https://docs.slack.dev/reference/methods/canvases.edit/](https://docs.slack.dev/reference/methods/canvases.edit/) ### Input fields **canvas_id** `string` *required* Encoded ID of the canvas to update. **changes** `array[object]` *required* List of changes to apply to the canvas. ## Get reactions Action ID: `tools.slack.get_reactions` Get reactions to a message. Reference: [https://docs.slack.dev/reference/methods/reactions.get/](https://docs.slack.dev/reference/methods/reactions.get/) ### Input fields **channel** `string` *required* The channel to get reactions from. **timestamp** `string` *required* The timestamp of the message to get reactions from. ## Get user profile Action ID: `tools.slack.get_profile` Get a user's profile. Reference: [https://docs.slack.dev/reference/methods/users.profile.get/](https://docs.slack.dev/reference/methods/users.profile.get/) ### Input fields **user** `string` *required* ID of the user to get the profile of. ## Invite members to channel Action ID: `tools.slack.invite_members` Invite members to a Slack channel. Reference: [https://docs.slack.dev/reference/methods/conversations.invite/](https://docs.slack.dev/reference/methods/conversations.invite/) ### Input fields **channel** `string` *required* ID of the channel to invite members to. **users** `array[string]` *required* List of user IDs to invite to the channel. ## Kick member Action ID: `tools.slack.kick_member` Kick a member from a Slack channel. Reference: [https://docs.slack.dev/reference/methods/conversations.kick/](https://docs.slack.dev/reference/methods/conversations.kick/) ### Input fields **channel** `string` *required* ID of the channel to kick members from. **user** `string` *required* ID of the user to kick from the channel. ## List bookmarks Action ID: `tools.slack.list_bookmarks` List bookmarks for a Slack channel. Reference: [https://docs.slack.dev/reference/methods/bookmarks.list/](https://docs.slack.dev/reference/methods/bookmarks.list/) ### Input fields **channel_id** `string` *required* ID of the channel to list bookmarks for. ## List channels Action ID: `tools.slack.list_channels` List all channels. Reference: [https://docs.slack.dev/reference/methods/conversations.list/](https://docs.slack.dev/reference/methods/conversations.list/) ### Input fields **exclude_archived** `boolean` Whether to exclude archived channels from the list. Default: `false`. **limit** `integer` Maximum number of channels to return. Default: `100`. **types** `array[string]` Types of channels to return. Default: `[ "public_channel", "private_channel" ]`. ## List conversation replies Action ID: `tools.slack.list_replies` List replies to a conversation in a Slack channel. Reference: [https://docs.slack.dev/reference/methods/conversations.replies/](https://docs.slack.dev/reference/methods/conversations.replies/) ### Input fields **channel** `string` *required* ID of the channel to list replies from. **ts** `string` *required* Timestamp of the thread's parent message or message in the thread to list replies from. Also known as `thread_ts` in some Slack responses. ## List members Action ID: `tools.slack.list_members` List members of a Slack channel. Reference: [https://docs.slack.dev/reference/methods/conversations.members/](https://docs.slack.dev/reference/methods/conversations.members/) ### Input fields **channel** `string` *required* ID of the channel to list members of. **limit** `integer` Maximum number of members to return. Default: `100`. ## List messages Action ID: `tools.slack.list_messages` List messages from a Slack channel. Reference: [https://docs.slack.dev/reference/methods/conversations.history/](https://docs.slack.dev/reference/methods/conversations.history/) ### Input fields **channel** `string` *required* ID of the channel to list messages from. **inclusive** `boolean` Include messages with `latest` or `oldest` timestamps in results. Ignored unless either timestamp is specified. Default: `false`. **latest** `string | null` Unix timestamp of the latest message to return. Default: `null`. **limit** `integer` Maximum number of messages to return. Default: `100`. **oldest** `string | null` Unix timestamp of the oldest message to return. Default: `null`. ## List pins Action ID: `tools.slack.list_pins` List pinned messages in a Slack channel. Reference: [https://docs.slack.dev/reference/methods/pins.list/](https://docs.slack.dev/reference/methods/pins.list/) ### Input fields **channel** `string` *required* ID of the channel to list pins for. ## List users Action ID: `tools.slack.list_users` List users in a Slack workspace. Reference: [https://docs.slack.dev/reference/methods/users.list/](https://docs.slack.dev/reference/methods/users.list/) ### Input fields **include_locale** `boolean` Whether to include the locale in the response. Default: `false`. **limit** `integer` The maximum number of users to return. Default: `100`. ## Lookup canvas sections Action ID: `tools.slack.lookup_canvas_sections` Find Slack canvas sections matching the provided criteria. Reference: [https://docs.slack.dev/reference/methods/canvases.sections.lookup/](https://docs.slack.dev/reference/methods/canvases.sections.lookup/) ### Input fields **canvas_id** `string` *required* Encoded ID of the canvas to search. **criteria** `object` *required* Filtering criteria used to find matching sections. ## Lookup many users by email Action ID: `tools.slack.lookup_users_by_email` Lookup users by emails. Returns a list of users found and a list of users not found. Reference: [https://docs.slack.dev/reference/methods/users.lookupByEmail/](https://docs.slack.dev/reference/methods/users.lookupByEmail/) ### Secrets Required secrets: * `slack`: required values `SLACK_BOT_TOKEN`. ### Input fields **emails** `array[string]` *required* List of user emails. ## Lookup user by email Action ID: `tools.slack.lookup_user_by_email` Get a Slack user by email. Reference: [https://docs.slack.dev/reference/methods/users.lookupByEmail/](https://docs.slack.dev/reference/methods/users.lookupByEmail/) ### Input fields **email** `string` *required* Email of an existing user. ## Open view Action ID: `tools.slack.open_view` Open a view. Used to create a pop up modal. Reference: [https://docs.slack.dev/reference/methods/views.open/](https://docs.slack.dev/reference/methods/views.open/) ### Input fields **trigger_id** `string` *required* Trigger ID from a Slack interaction payload. See: [https://docs.slack.dev/reference/interaction-payloads/block_actions-payload/](https://docs.slack.dev/reference/interaction-payloads/block_actions-payload/) **view** `object` *required* View payload for the modal to open. See: [https://docs.slack.dev/reference/views/modal-views/](https://docs.slack.dev/reference/views/modal-views/) ## Post ephemeral message Action ID: `tools.slack.post_ephemeral` Send an ephemeral Slack message to a user in a channel. Reference: [https://docs.slack.dev/reference/methods/chat.postEphemeral/](https://docs.slack.dev/reference/methods/chat.postEphemeral/) ### Input fields **channel** `string` *required* Channel, private group, or IM channel to send the ephemeral message to. **user** `string` *required* ID of the user who will receive the ephemeral message. **as_user** `boolean | null` Legacy option to post the message as the authenticated user. Default: `null`. **attachments** `array[object] | null` List of JSON-based attachments. Default: `null`. **blocks** `array[object] | null` List of JSON-based blocks. Default: `null`. **icon_emoji** `string | null` Emoji to use as the icon for this message. Default: `null`. **icon_url** `string | null` URL to an image to use as the icon for this message. Default: `null`. **link_names** `boolean` Whether Slack should find and link channel names and usernames. Default: `false`. **markdown_text** `string | null` Markdown-formatted message text. Do not use with blocks or text. Default: `null`. **parse** `string | null` How Slack should parse message text. Default: `null`. **text** `string | null` Message text. Used as fallback text when blocks are provided. Default: `null`. **thread_ts** `string | null` Parent message timestamp for posting the ephemeral message in a thread. Default: `null`. **username** `string | null` Bot username to display. Default: `null`. ## Post message Action ID: `tools.slack.post_message` Post a message to a Slack channel. Reference: [https://docs.slack.dev/reference/methods/chat.postMessage/](https://docs.slack.dev/reference/methods/chat.postMessage/) ### Input fields **channel** `string` *required* The channel to post the message to. **blocks** `array[object] | null` List of JSON-based blocks. Default: `null`. **markdown_text** `string | null` The text to post to Slack, in Markdown format. Default: `null`. **text** `string | null` The message to post to Slack. Default: `null`. **thread_ts** `string | null` The timestamp of the thread to reply to. Default: `null`. **unfurl_links** `boolean` Whether to unfurl links in the message. Default: `true`. **unfurl_media** `boolean` Whether to unfurl media in the message. Default: `false`. ## Remove bookmark Action ID: `tools.slack.remove_bookmark` Remove a bookmark from a Slack channel. Reference: [https://docs.slack.dev/reference/methods/bookmarks.remove/](https://docs.slack.dev/reference/methods/bookmarks.remove/) ### Input fields **bookmark_id** `string` *required* ID of the bookmark to remove. **channel_id** `string` *required* ID of the channel to remove the bookmark from. ## Remove pin Action ID: `tools.slack.remove_pin` Remove a pinned message from a Slack channel. Reference: [https://docs.slack.dev/reference/methods/pins.remove/](https://docs.slack.dev/reference/methods/pins.remove/) ### Input fields **channel** `string` *required* ID of the channel containing the pinned message. **timestamp** `string` *required* Timestamp of the message to unpin. ## Remove reaction Action ID: `tools.slack.remove_reaction` Remove a reaction from a message in a Slack channel. Reference: [https://docs.slack.dev/reference/methods/reactions.remove/](https://docs.slack.dev/reference/methods/reactions.remove/) ### Input fields **channel** `string` *required* ID of the channel to remove the reaction from. **name** `string` *required* Name of the reaction to remove. **timestamp** `string` *required* Timestamp of the message to remove the reaction from. ## Revoke sessions Action ID: `tools.slack.revoke_sessions` Revoke all sessions on all devices for a Slack user. Reference: [https://docs.slack.dev/reference/methods/admin.users.session.reset/](https://docs.slack.dev/reference/methods/admin.users.session.reset/) ### Input fields **user_id** `string` *required* ID of an existing user. ## Search messages Action ID: `tools.slack.search_messages` Search for messages matching a query in a Slack workspace. Reference: [https://docs.slack.dev/reference/methods/search.messages/](https://docs.slack.dev/reference/methods/search.messages/) ### Secrets Required secrets: * `slack_oauth`: OAuth token `SLACK_USER_TOKEN`. ### Input fields **query** `string` *required* Search query. To search within a channel / specific user, add `in:channel_name` / `from:<@user_id>` to the query. **count** `integer` Number of messages to return. Default: `20`. **cursor** `string | null` For the first call send '\*', for subsequent calls send the value of `next_cursor` from the previous call. Default: `null`. **sort** `string` Sort by score or timestamp. Default: `"score"`. Allowed values: `score`, `timestamp`. ## Set assistant thread status Action ID: `tools.slack.set_assistant_thread_status` Set the status for a Slack AI assistant thread. Reference: [https://docs.slack.dev/reference/methods/assistant.threads.setStatus/](https://docs.slack.dev/reference/methods/assistant.threads.setStatus/) ### Input fields **channel_id** `string` *required* Channel ID containing the assistant thread. **status** `string` *required* Status to display for the bot user. Use an empty string to clear it. **thread_ts** `string` *required* Message timestamp of the assistant thread. **icon_emoji** `string | null` Emoji to use as the icon for this message. Default: `null`. **icon_url** `string | null` Image URL to use as the icon for this message. Default: `null`. **loading_messages** `array[string]` Loading indicator messages to rotate through, up to 10 messages. Default: `[]`. **username** `string | null` Bot username to display. Default: `null`. ## Set assistant thread suggested prompts Action ID: `tools.slack.set_assistant_thread_suggested_prompts` Set suggested prompts for a Slack AI assistant thread. Reference: [https://docs.slack.dev/reference/methods/assistant.threads.setSuggestedPrompts/](https://docs.slack.dev/reference/methods/assistant.threads.setSuggestedPrompts/) ### Input fields **channel_id** `string` *required* Channel ID containing the assistant thread. **prompts** `array[map[string, string]]` *required* Suggested prompts, each with title and message attributes. **thread_ts** `string` *required* Message timestamp of the assistant thread. **title** `string | null` Optional title for the suggested prompts list. Default: `null`. ## Set assistant thread title Action ID: `tools.slack.set_assistant_thread_title` Set the title for a Slack AI assistant thread. Reference: [https://docs.slack.dev/reference/methods/assistant.threads.setTitle/](https://docs.slack.dev/reference/methods/assistant.threads.setTitle/) ### Input fields **channel_id** `string` *required* Channel ID containing the assistant thread. **thread_ts** `string` *required* Message timestamp of the assistant thread. **title** `string` *required* Title to use for the assistant thread. ## Set canvas access Action ID: `tools.slack.set_canvas_access` Set access to a Slack canvas for specified channels or users. Reference: [https://docs.slack.dev/reference/methods/canvases.access.set/](https://docs.slack.dev/reference/methods/canvases.access.set/) ### Input fields **access_level** `string` *required* Desired access level. Valid values are read, write, or owner. **canvas_id** `string` *required* Encoded ID of the canvas to update access for. **channel_ids** `array[string] | null` List of channels to update access for. Do not provide with user_ids. Default: `null`. **user_ids** `array[string] | null` List of users to update access for. Do not provide with channel_ids. Default: `null`. ## Set channel description Action ID: `tools.slack.set_channel_description` Set the description of a Slack channel. Reference: [https://docs.slack.dev/reference/methods/conversations.setPurpose/](https://docs.slack.dev/reference/methods/conversations.setPurpose/) ### Input fields **channel** `string` *required* The ID of the channel to set the description for. **description** `string` *required* The description to set for the channel. ## Set channel topic Action ID: `tools.slack.set_channel_topic` Set the topic of a Slack channel. Reference: [https://docs.slack.dev/reference/methods/conversations.setTopic/](https://docs.slack.dev/reference/methods/conversations.setTopic/) ### Input fields **channel** `string` *required* The ID of the channel to set the topic for. **topic** `string` *required* The topic to set for the channel. ## Start stream Action ID: `tools.slack.start_stream` Start a new Slack streaming message in a thread. Reference: [https://docs.slack.dev/reference/methods/chat.startStream/](https://docs.slack.dev/reference/methods/chat.startStream/) ### Input fields **channel** `string` *required* ID of the channel, private group, or DM for the stream. **thread_ts** `string` *required* Parent message timestamp to reply to with the stream. **chunks** `array[object] | null` Initial streaming chunks, such as markdown_text, task_update, plan_update, or blocks chunks. Default: `null`. **icon_emoji** `string | null` Emoji to use as the icon for this message. Default: `null`. **icon_url** `string | null` URL to an image to use as the icon for this message. Default: `null`. **markdown_text** `string | null` Initial markdown-formatted text for the stream. Default: `null`. **recipient_team_id** `string | null` ID of the recipient user's team. Required by Slack when streaming to channels. Default: `null`. **recipient_user_id** `string | null` ID of the user receiving the stream. Required by Slack when streaming to channels. Default: `null`. **task_display_mode** `string | null` How task chunks are displayed. Accepts timeline, plan, or dense. Default: `null`. **username** `string | null` Bot username to display. Default: `null`. ## Stop stream Action ID: `tools.slack.stop_stream` Stop and finalize a Slack streaming message. Reference: [https://docs.slack.dev/reference/methods/chat.stopStream/](https://docs.slack.dev/reference/methods/chat.stopStream/) ### Input fields **channel** `string` *required* ID of the channel containing the streaming message. **ts** `string` *required* Timestamp of the streaming message. **blocks** `array[object] | null` Blocks rendered at the bottom of the finalized message. Default: `null`. **chunks** `array[object] | null` Final streaming chunks, such as markdown_text, task_update, plan_update, or blocks chunks. Default: `null`. **markdown_text** `string | null` Final markdown-formatted text to append before stopping the stream. Default: `null`. **metadata** `object | null` Slack message metadata with event_type and event_payload fields. Default: `null`. ## Update message Action ID: `tools.slack.update_message` Update a message in a Slack channel. Reference: [https://docs.slack.dev/reference/methods/chat.update/](https://docs.slack.dev/reference/methods/chat.update/) ### Input fields **channel** `string` *required* ID of the channel to update the message in. **ts** `string` *required* Timestamp of the message to update. **blocks** `array[object] | null` List of JSON-based blocks. Default: `null`. **markdown_text** `string | null` The text to update the message with, in Markdown format. Default: `null`. **text** `string | null` New text for the message. Default: `null`. ## Update view Action ID: `tools.slack.update_view` Update a view. Used to update a pop up modal. Reference: [https://docs.slack.dev/reference/methods/views.update/](https://docs.slack.dev/reference/methods/views.update/) ### Input fields **view** `object` *required* Updated view payload for the modal. See: [https://docs.slack.dev/reference/views/modal-views/](https://docs.slack.dev/reference/views/modal-views/) **view_id** `string` *required* ID of the view to update. **hash** `string | null` Optional view state hash for optimistic concurrency control. Obtained from the response of views.open or a previous views.update. If provided, the update fails with hash_conflict when the view has been modified since. Omit to update unconditionally. Default: `null`. # Slack SDK Source: https://docs.tracecat.com/tools/slack_sdk Reference for the Tracecat Slack SDK integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Call method Action ID: `tools.slack_sdk.call_method` Instantiate a Slack client and call a Slack SDK or Web API method. Reference: [https://docs.slack.dev/reference/methods](https://docs.slack.dev/reference/methods) ### Secrets Required secrets: * `slack`: required values `SLACK_BOT_TOKEN`. ### Input fields **sdk_method** `string` *required* Slack Python SDK method name or Web API method name (e.g. `chat_postMessage` or `chat.postMessage`) **params** `object | null` Slack Python SDK method parameters Default: `null`. ## Call paginated method Action ID: `tools.slack_sdk.call_paginated_method` Instantiate a Slack client and call a paginated Slack SDK method. Reference: [https://docs.slack.dev/apis/web-api/pagination#methods](https://docs.slack.dev/apis/web-api/pagination#methods) ### Secrets Required secrets: * `slack`: required values `SLACK_BOT_TOKEN`. ### Input fields **sdk_method** `string` *required* Slack Python SDK method name that supports cursor pagination (e.g. `conversations_history`) **key** `string | null` Key to extract from the response. Default: `null`. **limit** `integer` Maximum number of items to retrieve. Must be less than 1000 Default: `200`. **params** `object | null` Slack Python SDK method parameters Default: `null`. ## Post response Action ID: `tools.slack_sdk.post_response` Post messsage back to Slack interaction via `response_url`. Reference: [https://docs.slack.dev/interactivity/handling-user-interaction#message_responses](https://docs.slack.dev/interactivity/handling-user-interaction#message_responses) ### Input fields **url** `string` *required* Webhook URL. **blocks** `array[object] | null` Blocks to send to the webhook. Default: `null`. **replace_original** `boolean` Whether to replace the original message. Default: `false`. **response_type** `string` Response type. Defaults to `ephemeral`. Default: `"ephemeral"`. Allowed values: `in_channel`, `ephemeral`. **text** `string | null` Text to send to the webhook. Default: `null`. **thread_ts** `string | null` Thread timestamp. If None, defaults to the current timestamp. Default: `null`. # Snowflake Source: https://docs.tracecat.com/tools/snowflake Reference for the Tracecat Snowflake integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Cancel SQL statement Action ID: `tools.snowflake.cancel_statement` Cancel execution of a Snowflake SQL statement. Reference: [https://docs.snowflake.com/en/developer-guide/sql-api/reference#post-apiv2statementsstatementhandlecancel](https://docs.snowflake.com/en/developer-guide/sql-api/reference#post-apiv2statementsstatementhandlecancel) ### Secrets Optional secrets: * `snowflake_oauth`: OAuth token `SNOWFLAKE_USER_TOKEN`. * `snowflake_oauth`: OAuth token `SNOWFLAKE_SERVICE_TOKEN`. * `snowflake`: required values `SNOWFLAKE_OAUTH_CLIENT_ID`, `SNOWFLAKE_OAUTH_CLIENT_SECRET`, `SNOWFLAKE_OAUTH_TOKEN_URL`; optional values `SNOWFLAKE_OAUTH_SCOPE`, `SNOWFLAKE_OAUTH_AUDIENCE`, `SNOWFLAKE_OAUTH_TOKEN_ENDPOINT_AUTH_METHOD`. ### Input fields **statementHandle** `string` *required* Handle of the statement to cancel. **base_url** `string | null` Snowflake account URL, for example [https://org-account.snowflakecomputing.com](https://org-account.snowflakecomputing.com). Default: `null`. **requestId** `string | null` Unique UUID for the API request. Default: `null`. ## Execute SQL statement Action ID: `tools.snowflake.execute_statement` Submit one or more Snowflake SQL statements for execution. Reference: [https://docs.snowflake.com/en/developer-guide/sql-api/reference#post-apiv2statements](https://docs.snowflake.com/en/developer-guide/sql-api/reference#post-apiv2statements) ### Secrets Optional secrets: * `snowflake_oauth`: OAuth token `SNOWFLAKE_USER_TOKEN`. * `snowflake_oauth`: OAuth token `SNOWFLAKE_SERVICE_TOKEN`. * `snowflake`: required values `SNOWFLAKE_OAUTH_CLIENT_ID`, `SNOWFLAKE_OAUTH_CLIENT_SECRET`, `SNOWFLAKE_OAUTH_TOKEN_URL`; optional values `SNOWFLAKE_OAUTH_SCOPE`, `SNOWFLAKE_OAUTH_AUDIENCE`, `SNOWFLAKE_OAUTH_TOKEN_ENDPOINT_AUTH_METHOD`. ### Input fields **payload** `object` *required* SQL API request body. Documented fields are statement, timeout, database, schema, warehouse, role, bindings, and parameters. **async** `boolean | null` Execute asynchronously and return the statement handle. Default: `null`. **base_url** `string | null` Snowflake account URL, for example [https://org-account.snowflakecomputing.com](https://org-account.snowflakecomputing.com). Default: `null`. **nullable** `boolean | null` Set false to return SQL NULL as the string "null". Default: `null`. **requestId** `string | null` Unique UUID for the API request. Default: `null`. **retry** `boolean | null` Set true with the same requestId when resubmitting a request. Default: `null`. ## Get SQL statement Action ID: `tools.snowflake.get_statement` Check statement status or retrieve a result partition. Reference: [https://docs.snowflake.com/en/developer-guide/sql-api/reference#get-apiv2statementsstatementhandle](https://docs.snowflake.com/en/developer-guide/sql-api/reference#get-apiv2statementsstatementhandle) ### Secrets Optional secrets: * `snowflake_oauth`: OAuth token `SNOWFLAKE_USER_TOKEN`. * `snowflake_oauth`: OAuth token `SNOWFLAKE_SERVICE_TOKEN`. * `snowflake`: required values `SNOWFLAKE_OAUTH_CLIENT_ID`, `SNOWFLAKE_OAUTH_CLIENT_SECRET`, `SNOWFLAKE_OAUTH_TOKEN_URL`; optional values `SNOWFLAKE_OAUTH_SCOPE`, `SNOWFLAKE_OAUTH_AUDIENCE`, `SNOWFLAKE_OAUTH_TOKEN_ENDPOINT_AUTH_METHOD`. ### Input fields **statementHandle** `string` *required* Handle of the statement to check. **base_url** `string | null` Snowflake account URL, for example [https://org-account.snowflakecomputing.com](https://org-account.snowflakecomputing.com). Default: `null`. **partition** `integer | null` Partition number to return. Default: `null`. **requestId** `string | null` Unique UUID for the API request. Default: `null`. # Socket Source: https://docs.tracecat.com/tools/socket Reference for the Tracecat Socket integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Create full scan Action ID: `tools.socket.create_full_scan` Create a full scan. Calls POST /v0/orgs/\{org_slug}/full-scans directly with multipart files. Reference: [https://docs.socket.dev/reference/createorgfullscan](https://docs.socket.dev/reference/createorgfullscan) ### Secrets Required secrets: * `socket`: required values `SOCKET_API_TOKEN`. ### Input fields **files** `object` *required* Multipart files map accepted by core.http_request. **org_slug** `string` *required* Socket organization slug. **repo** `string` *required* The slug of the repository to associate the full-scan with. **base_url** `string | null` Base URL of the Socket API. Default: `null`. **branch** `string | null` The branch name to associate the full-scan with. Branch names must follow Git branch name rules: be 1-255 characters long; cannot be exactly @; cannot begin or end with /, ., or .lock; cannot contain "//", "..", or "@\{"; and cannot include control characters, spaces, or any of \~^:?\*\[. Default: `null`. **commit_hash** `string | null` The commit hash to associate the full-scan with. Default: `null`. **commit_message** `string | null` The commit message to associate the full-scan with. Default: `null`. **committers** `array[string] | null` The committers to associate with the full-scan. Set query more than once to set multiple. Default: `null`. **integration_org_slug** `string | null` The integration org slug to associate the full-scan with. If omitted, the Socket org name will be used. This is used to generate links and badges. Default: `null`. **integration_type** `string | null` The integration type to associate the full-scan with. Defaults to "Api" if omitted. Supported values are api, github, gitlab, bitbucket, azure and web. Default: `null`. **make_default_branch** `boolean | null` Set the default branch of the repository to the branch of this full-scan. A branch name is required with this option. Default: `null`. **pull_request** `integer | null` The pull request number to associate the full-scan with. Default: `null`. **scan_type** `string | null` The type of scan to perform. Defaults to 'socket'. Must be 32 characters or less. Used for categorizing multiple SBOM heads per repository branch. Default: `null`. **set_as_pending_head** `boolean | null` Designate this full-scan as the latest scan of a given branch. Default branch head scans are included in org alerts. This is only supported on the default branch. A branch name is required with this option. Default: `null`. **tmp** `boolean | null` Create a temporary full-scan that is not listed in the reports dashboard. Cannot be used when set_as_pending_head=true. Default: `null`. **workspace** `string | null` The workspace of the repository to associate the full-scan with. Default: `null`. ## Create full scan from archive Action ID: `tools.socket.create_full_scan_from_archive` Create a full scan from an archive. Calls POST /v0/orgs/\{org_slug}/full-scans/archive directly with multipart files. Reference: [https://docs.socket.dev/reference/createorgfullscanarchive](https://docs.socket.dev/reference/createorgfullscanarchive) ### Secrets Required secrets: * `socket`: required values `SOCKET_API_TOKEN`. ### Input fields **files** `object` *required* Multipart archive files map accepted by core.http_request. **org_slug** `string` *required* Socket organization slug. **repo** `string` *required* The slug of the repository to associate the full-scan with. **base_url** `string | null` Base URL of the Socket API. Default: `null`. **branch** `string | null` The branch name to associate the full-scan with. Branch names must follow Git branch name rules: be 1-255 characters long; cannot be exactly @; cannot begin or end with /, ., or .lock; cannot contain "//", "..", or "@\{"; and cannot include control characters, spaces, or any of \~^:?\*\[. Default: `null`. **commit_hash** `string | null` The commit hash to associate the full-scan with. Default: `null`. **commit_message** `string | null` The commit message to associate the full-scan with. Default: `null`. **committers** `array[string] | null` The committers to associate with the full-scan. Set query more than once to set multiple. Default: `null`. **integration_org_slug** `string | null` The integration org slug to associate the full-scan with. If omitted, the Socket org name will be used. This is used to generate links and badges. Default: `null`. **integration_type** `string | null` The integration type to associate the full-scan with. Defaults to "Api" if omitted. Supported values are api, github, gitlab, bitbucket, azure and web. Default: `null`. **make_default_branch** `boolean | null` Set the default branch of the repository to the branch of this full-scan. A branch name is required with this option. Default: `null`. **pull_request** `integer | null` The pull request number to associate the full-scan with. Default: `null`. **scan_type** `string | null` The type of scan to perform. Defaults to 'socket'. Must be 32 characters or less. Used for categorizing multiple SBOM heads per repository branch. Default: `null`. **set_as_pending_head** `boolean | null` Designate this full-scan as the latest scan of a given branch. Default branch head scans are included in org alerts. This is only supported on the default branch. A branch name is required with this option. Default: `null`. **tmp** `boolean | null` Create a temporary full-scan that is not listed in the reports dashboard. Cannot be used when set_as_pending_head=true. Default: `null`. **workspace** `string | null` The workspace of the repository to associate the full-scan with. Default: `null`. ## Fetch packages by PURL Action ID: `tools.socket.fetch_packages_by_purl` Fetch packages by PURL. Calls POST /v0/orgs/\{org_slug}/purl directly. Reference: [https://docs.socket.dev/reference/batchpackagefetchbyorg](https://docs.socket.dev/reference/batchpackagefetchbyorg) ### Secrets Required secrets: * `socket`: required values `SOCKET_API_TOKEN`. ### Input fields **components** `array[object]` *required* API-native package components containing PURLs. **org_slug** `string` *required* Socket organization slug. **accept** `string` Response media type to request. Default: `"application/x-ndjson"`. **actions** `string | null` Include only alerts with comma separated actions defined by security policy. Supported values are error, monitor, warn and ignore. Default: `null`. **alerts** `boolean | null` Include alert metadata. Default: `null`. **base_url** `string | null` Base URL of the Socket API. Default: `null`. **cachedResultsOnly** `boolean | null` Legacy fallback for older clients. Only used when poll is omitted: cachedResultsOnly=true behaves like poll=false, while cachedResultsOnly=false preserves the older blocking behavior. Default: `null`. **compact** `boolean | null` Compact metadata. When enabled, excludes metadata fields like author, scores, size, dependencies, and manifest files. Always includes: id, type, name, version, release, namespace, subpath, alerts, and alertPriorities. Default: `null`. **fixable** `boolean | null` Include only fixable alerts. Default: `null`. **labels** `string | null` Repository label slugs to apply policies. Only one label is supported currently; the parameter is an array to allow future support for multiple labels. Default: `null`. **licenseattrib** `boolean | null` Include license attribution data, including license text and author information. Maps attribution/license text to a list of data objects to which that attribution info applies. Default: `null`. **licensedetails** `boolean | null` Include detailed license information, including location and match strength, for each license datum. Default: `null`. **poll** `boolean | null` When true, wait up to timeoutSec for pending analysis to complete before returning. When false (default), return the current known state immediately, including synthesized pendingScan and notFound alerts when alerts=true unless purlErrors=true keeps legacy not-found errors. Default: `null`. **purlErrors** `boolean | null` Return errors found with handling PURLs as error objects in the stream. Default: `null`. **summary** `boolean | null` Include a summary object at the end of the stream with counts of malformed, resolved, and not found PURLs. Default: `null`. **timeoutSec** `integer | null` Maximum time in seconds to wait for package resolution and, when poll=true, pending analysis. Inputs that have not completed processing when the timeout is reached return pendingScan alerts when alerts=true, or errors when purlErrors=true. Default: `null`. ## Get full scan metadata Action ID: `tools.socket.get_full_scan_metadata` Get full scan metadata. Calls GET /v0/orgs/\{org_slug}/full-scans/\{full_scan_id}/metadata directly. Reference: [https://docs.socket.dev/reference/getorgfullscanmetadata](https://docs.socket.dev/reference/getorgfullscanmetadata) ### Secrets Required secrets: * `socket`: required values `SOCKET_API_TOKEN`. ### Input fields **full_scan_id** `string` *required* Socket full scan ID. **org_slug** `string` *required* Socket organization slug. **base_url** `string | null` Base URL of the Socket API. Default: `null`. ## List full scans Action ID: `tools.socket.list_full_scans` List full scans. Calls GET /v0/orgs/\{org_slug}/full-scans directly. Reference: [https://docs.socket.dev/reference/getorgfullscanlist](https://docs.socket.dev/reference/getorgfullscanlist) ### Secrets Required secrets: * `socket`: required values `SOCKET_API_TOKEN`. ### Input fields **org_slug** `string` *required* Socket organization slug. **base_url** `string | null` Base URL of the Socket API. Default: `null`. **branch** `string | null` A branch name to filter full-scans by. Default: `null`. **commit_hash** `string | null` A commit hash to filter full-scans by. Default: `null`. **direction** `string | null` Specify sort direction. Supported values are asc and desc. Socket defaults to desc. Default: `null`. **from** `string | null` A Unix timestamp in seconds that filters full-scans prior to the date. Default: `null`. **page** `integer | null` The page number to return when using offset-style pagination. Ignored when cursor pagination is used. Socket defaults to 1. Default: `null`. **per_page** `integer | null` Specify the maximum number of results to return per page. Socket defaults to 30. Default: `null`. **pull_request** `string | null` A PR number to filter full-scans by. Default: `null`. **repo** `string | null` A repository slug to filter full-scans by. Default: `null`. **scan_type** `string | null` A scan type to filter full-scans by (e.g. socket, socket_tier1, socket_basics). Default: `null`. **sort** `string | null` Specify Sort order. Supported values are name and created_at. Socket defaults to created_at. Default: `null`. **startAfterCursor** `string | null` Cursor token for pagination. Pass the returned nextPageCursor from previous responses to fetch the next set of results. Default: `null`. **use_cursor** `boolean | null` Set to true on the first request to opt into cursor-based pagination. Default: `null`. **workspace** `string | null` A repository workspace to filter full-scans by. Default: `null`. ## List supported files Action ID: `tools.socket.list_supported_files` List supported files. Calls GET /v0/orgs/\{org_slug}/supported-files directly. Reference: [https://docs.socket.dev/reference/getsupportedfiles](https://docs.socket.dev/reference/getsupportedfiles) ### Secrets Required secrets: * `socket`: required values `SOCKET_API_TOKEN`. ### Input fields **org_slug** `string` *required* Socket organization slug. **base_url** `string | null` Base URL of the Socket API. Default: `null`. ## List threat feed items Action ID: `tools.socket.list_threat_feed_items` List threat feed items. Calls GET /v0/orgs/\{org_slug}/threat-feed directly. Reference: [https://docs.socket.dev/reference/getorgthreatfeeditems](https://docs.socket.dev/reference/getorgthreatfeeditems) ### Secrets Required secrets: * `socket`: required values `SOCKET_API_TOKEN`. ### Input fields **org_slug** `string` *required* Socket organization slug. **base_url** `string | null` Base URL of the Socket API. Default: `null`. **created_after** `string | null` A Unix timestamp in seconds that filters results to items only created after the date. Default: `null`. **direction** `string | null` Order direction of the provided sort field. Supported values are desc and asc. Socket defaults to desc. Default: `null`. **ecosystem** `string | null` Filter threats by package ecosystem. Supported values are github, cargo, clawhub, composer, chrome, firefox-extension, edge-extension, golang, huggingface, maven, npm, nuget, vscode, pypi, gem and swift. Default: `null`. **filter** `string | null` Filter by threat classification. Supported values: mal (malware, including possible malware), vuln (vulnerability), typo (typosquat, including possible typosquat), anom (anomaly), spy (telemetry), obf (obfuscated code), dual (dual-use tool), joke (protestware or joke package), tp (all confirmed true positives), fp (false positive), u (unreviewed), c (classified, i.e. anything except unreviewed). Socket defaults to mal. Default: `null`. **is_human_reviewed** `boolean | null` Only return threats which have been human-reviewed. Default: `null`. **name** `string | null` Filter threats by package name. Default: `null`. **page_cursor** `string | null` Page cursor token. Pass the returned nextPageCursor to this query string to fetch the next page of the threat feed. Default: `null`. **per_page** `integer | null` Number of threats per page. Socket defaults to 30. Default: `null`. **sort** `string | null` Set the sort order for the threat feed items. Default is descending order by updated_at, which includes all new and updated threat feed items. Supported values are id, created_at and updated_at. Default: `null`. **updated_after** `string | null` A Unix timestamp in seconds that filters results to items only updated after the timestamp. Default: `null`. **version** `string | null` Filter threats by package version. Default: `null`. ## Stream full scan Action ID: `tools.socket.stream_full_scan` Stream a full scan. Calls GET /v0/orgs/\{org_slug}/full-scans/\{full_scan_id} directly. Reference: [https://docs.socket.dev/reference/getorgfullscan](https://docs.socket.dev/reference/getorgfullscan) ### Secrets Required secrets: * `socket`: required values `SOCKET_API_TOKEN`. ### Input fields **full_scan_id** `string` *required* Socket full scan ID. **org_slug** `string` *required* Socket organization slug. **accept** `string` Response media type to request. Default: `"application/x-ndjson"`. **base_url** `string | null` Base URL of the Socket API. Default: `null`. **cached** `boolean | null` Return cached immutable scan results. When enabled and results are cached, returns the pre-computed scan. When results are not yet cached, returns 202 Accepted and enqueues a background job. Default: `null`. **include_alert_priority_details** `string | null` Control which alert priority fields to include in the response. Set to "true" to include all fields, "false" to exclude all fields, or specify individual fields like "components,formula" to include only those fields. Default: `null`. **include_license_details** `boolean` Include license details in the response. This can increase the response size significantly. Default: `false`. **include_scores** `boolean` Include scores event in the response. include_scores_details implies this flag. Default: `false`. **include_scores_details** `string | null` Control which score detail fields to include in the scores event. Set to "true" to include all fields, "false" to exclude all fields, or specify individual fields like "components,formula" to include only those fields. Default: `null`. # Splunk Source: https://docs.tracecat.com/tools/splunk Reference for the Tracecat Splunk integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Add fields to collection Action ID: `tools.splunk.add_kv_fields` Add field definitions to a KV Store collection in Splunk. Reference: [https://help.splunk.com/en/splunk-enterprise/rest-api-reference/9.4/kv-store-endpoints/kv-store-endpoint-descriptions#post-9](https://help.splunk.com/en/splunk-enterprise/rest-api-reference/9.4/kv-store-endpoints/kv-store-endpoint-descriptions#post-9) ### Secrets Required secrets: * `splunk`: required values `SPLUNK_API_KEY`. ### Input fields **collection** `string` *required* Name of the KV Store collection to add fields to. Must be unique and contain only alphanumeric characters, underscores, and hyphens. **fields** `array[map[string, string]]` *required* List of field definitions to add. Each field requires name and type. Supported types: array, number, bool, string, cidr, time Example: \[\{"name": "username", "type": "string"}, \{"name": "age", "type": "number"}] **app** `string` Splunk app context where the collection resides (e.g. "search" for default). Default: `"search"`. **base_url** `string | null` Splunk base URL (e.g. [https://localhost:8089](https://localhost:8089) or [https://tracecat.splunkcloud.com:8089](https://tracecat.splunkcloud.com:8089)). Default: `null`. **owner** `string` Splunk namespace owner for access control (use "nobody" for shared access). Default: `"nobody"`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Batch save KV entries Action ID: `tools.splunk.batch_save_kv_entries` Insert or update multiple entries in a Splunk KV Store collection in a single request. If an entry includes a \_key that matches an existing document, it is updated; otherwise a new document is created. Processing stops on the first failure. Reference: [https://help.splunk.com/en/splunk-cloud-platform/leverage-rest-apis/rest-api-reference/10.0.2503/kv-store-endpoints/kv-store-endpoint-descriptions#ariaid-title16](https://help.splunk.com/en/splunk-cloud-platform/leverage-rest-apis/rest-api-reference/10.0.2503/kv-store-endpoints/kv-store-endpoint-descriptions#ariaid-title16) ### Secrets Required secrets: * `splunk`: required values `SPLUNK_API_KEY`. ### Input fields **collection** `string` *required* Name of the KV Store collection to save entries into. **entries** `array[object]` *required* List of documents to save. Each document is a dict of field-value pairs. Include a \_key field to update an existing document; omit it to create a new one (Splunk auto-generates the key). Maximum 1000 documents per request (Splunk default). Example: \[\{"username": "john", "email": "[john@example.com](mailto:john@example.com)", "active": true}, \{"username": "jane", "email": "[jane@example.com](mailto:jane@example.com)", "active": false}] **app** `string` Splunk app context where the collection resides (e.g. "search" for default). Default: `"search"`. **base_url** `string | null` Splunk base URL (e.g. [https://localhost:8089](https://localhost:8089) or [https://tracecat.splunkcloud.com:8089](https://tracecat.splunkcloud.com:8089)). Default: `null`. **owner** `string` Splunk namespace owner for access control (use "nobody" for shared access). Default: `"nobody"`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Create KV collection Action ID: `tools.splunk.create_kv_collection` Create a new KV Store collection in Splunk. Reference: [https://help.splunk.com/en/splunk-enterprise/rest-api-reference/9.4/kv-store-endpoints/kv-store-endpoint-descriptions#post-9](https://help.splunk.com/en/splunk-enterprise/rest-api-reference/9.4/kv-store-endpoints/kv-store-endpoint-descriptions#post-9) ### Secrets Required secrets: * `splunk`: required values `SPLUNK_API_KEY`. ### Input fields **name** `string` *required* Name of the KV Store collection. Must be unique and contain only alphanumeric characters, underscores, and hyphens. **app** `string` Splunk app context where the collection will be created (e.g. "search" for default). Default: `"search"`. **base_url** `string | null` Splunk base URL (e.g. [https://localhost:8089](https://localhost:8089) or [https://tracecat.splunkcloud.com:8089](https://tracecat.splunkcloud.com:8089)). Default: `null`. **owner** `string` Splunk namespace owner for access control (use "nobody" for shared access). Default: `"nobody"`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Create KV entry Action ID: `tools.splunk.create_kv_entry` Create a new entry in a Splunk KV Store collection. Reference: [https://help.splunk.com/en/splunk-enterprise/rest-api-reference/9.4/kv-store-endpoints/kv-store-endpoint-descriptions#post-2](https://help.splunk.com/en/splunk-enterprise/rest-api-reference/9.4/kv-store-endpoints/kv-store-endpoint-descriptions#post-2) ### Secrets Required secrets: * `splunk`: required values `SPLUNK_API_KEY`. ### Input fields **collection** `string` *required* Name of the KV Store collection where the entry will be created. **entry** `object` *required* Key-value pairs to store in the collection. The \_key field is automatically generated by Splunk if not provided. Example: \{"username": "john", "email": "[john@example.com](mailto:john@example.com)", "active": true} **app** `string` Splunk app context where the collection resides (e.g. "search" for default). Default: `"search"`. **base_url** `string | null` Splunk base URL (e.g. [https://localhost:8089](https://localhost:8089) or [https://tracecat.splunkcloud.com:8089](https://tracecat.splunkcloud.com:8089)). Default: `null`. **owner** `string` Splunk namespace owner for access control (use "nobody" for shared access). Default: `"nobody"`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Delete KV collection Action ID: `tools.splunk.delete_kv_collection` Delete a KV Store collection from Splunk. Reference: [https://help.splunk.com/en/splunk-enterprise/rest-api-reference/9.4/kv-store-endpoints/kv-store-endpoint-descriptions#delete-0](https://help.splunk.com/en/splunk-enterprise/rest-api-reference/9.4/kv-store-endpoints/kv-store-endpoint-descriptions#delete-0) ### Secrets Required secrets: * `splunk`: required values `SPLUNK_API_KEY`. ### Input fields **collection** `string` *required* Name of the KV Store collection to delete. **app** `string` Splunk app context where the collection resides (e.g. "search" for default). Default: `"search"`. **base_url** `string | null` Splunk base URL (e.g. [https://localhost:8089](https://localhost:8089) or [https://tracecat.splunkcloud.com:8089](https://tracecat.splunkcloud.com:8089)). Default: `null`. **owner** `string` Splunk namespace owner for access control (use "nobody" for shared access). Default: `"nobody"`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Delete KV entry Action ID: `tools.splunk.delete_kv_entry` Delete an entry from a KV Store collection in Splunk. Reference: [https://help.splunk.com/en/splunk-enterprise/rest-api-reference/9.4/kv-store-endpoints/kv-store-endpoint-descriptions#delete-1](https://help.splunk.com/en/splunk-enterprise/rest-api-reference/9.4/kv-store-endpoints/kv-store-endpoint-descriptions#delete-1) ### Secrets Required secrets: * `splunk`: required values `SPLUNK_API_KEY`. ### Input fields **collection** `string` *required* Name of the KV Store collection containing the entry. **entry_key** `string` *required* The \_key value of the entry to delete from the collection. Example: "5f3a1b2c3d4e5f6a7b8c9d0e" **app** `string` Splunk app context where the collection resides (e.g. "search" for default). Default: `"search"`. **base_url** `string | null` Splunk base URL (e.g. [https://localhost:8089](https://localhost:8089) or [https://tracecat.splunkcloud.com:8089](https://tracecat.splunkcloud.com:8089)). Default: `null`. **owner** `string` Splunk namespace owner for access control (use "nobody" for shared access). Default: `"nobody"`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Discover fields Action ID: `tools.splunk.discover_fields` Discover fields in Splunk data using the fieldsummary command with statistics and sample values. Reference: [https://help.splunk.com/en?resourceId=Splunk_SearchReference_Fieldsummary\&version=splunk-9_4](https://help.splunk.com/en?resourceId=Splunk_SearchReference_Fieldsummary\&version=splunk-9_4) ### Secrets Required secrets: * `splunk`: required values `SPLUNK_API_KEY`. ### Input fields **end_time** `string` *required* End time for the search. **start_time** `string` *required* Start time for the search. **adhoc_search_level** `string` Adhoc search level. Default: `"fast"`. **base_url** `string | null` Splunk base URL (e.g. [https://localhost:8089](https://localhost:8089)). Default: `null`. **index** `string` Index to search for fields. Use \* for all indexes. Default: `"*"`. **limit** `integer` Maximum number of fields to return. Default: `100`. **max_values** `integer` Maximum number of sample values to return per field. Default: `5`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Get KV collection Action ID: `tools.splunk.get_kv_collection` Get configuration details for a specific KV Store collection from Splunk. Reference: [https://help.splunk.com/en/splunk-enterprise/rest-api-reference/9.4/kv-store-endpoints/kv-store-endpoint-descriptions#get-5](https://help.splunk.com/en/splunk-enterprise/rest-api-reference/9.4/kv-store-endpoints/kv-store-endpoint-descriptions#get-5) ### Secrets Required secrets: * `splunk`: required values `SPLUNK_API_KEY`. ### Input fields **collection** `string` *required* Name of the KV Store collection to retrieve. **app** `string` Splunk app context where the collection resides (e.g. "search" for default). Default: `"search"`. **base_url** `string | null` Splunk base URL (e.g. [https://localhost:8089](https://localhost:8089) or [https://tracecat.splunkcloud.com:8089](https://tracecat.splunkcloud.com:8089)). Default: `null`. **owner** `string` Splunk namespace owner for access control (use "nobody" for shared access). Default: `"nobody"`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Get KV entry Action ID: `tools.splunk.get_kv_entry` Get a specific entry from a KV Store collection in Splunk. Reference: [https://help.splunk.com/en/splunk-enterprise/rest-api-reference/9.4/kv-store-endpoints/kv-store-endpoint-descriptions#get-7](https://help.splunk.com/en/splunk-enterprise/rest-api-reference/9.4/kv-store-endpoints/kv-store-endpoint-descriptions#get-7) ### Secrets Required secrets: * `splunk`: required values `SPLUNK_API_KEY`. ### Input fields **collection** `string` *required* Name of the KV Store collection containing the entry. **entry_key** `string` *required* The \_key value of the entry to retrieve from the collection. Example: "5f3a1b2c3d4e5f6a7b8c9d0e" **app** `string` Splunk app context where the collection resides (e.g. "search" for default). Default: `"search"`. **base_url** `string | null` Splunk base URL (e.g. [https://localhost:8089](https://localhost:8089) or [https://tracecat.splunkcloud.com:8089](https://tracecat.splunkcloud.com:8089)). Default: `null`. **owner** `string` Splunk namespace owner for access control (use "nobody" for shared access). Default: `"nobody"`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## List data models Action ID: `tools.splunk.list_data_models` List all data models on the Splunk server using native Splunk search. ### Secrets Required secrets: * `splunk`: required values `SPLUNK_API_KEY`. ### Input fields **adhoc_search_level** `string` Adhoc search level. Default: `"fast"`. **base_url** `string | null` Splunk base URL (e.g. [https://localhost:8089](https://localhost:8089)). Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## List field extractions Action ID: `tools.splunk.list_field_extractions` List all configured field extraction rules using a simple Splunk query. ### Secrets Required secrets: * `splunk`: required values `SPLUNK_API_KEY`. ### Input fields **adhoc_search_level** `string` Adhoc search level. Default: `"fast"`. **base_url** `string | null` Splunk base URL (e.g. [https://localhost:8089](https://localhost:8089)). Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## List indexes Action ID: `tools.splunk.list_indexes` List all indexes on the Splunk server using native Splunk search. ### Secrets Required secrets: * `splunk`: required values `SPLUNK_API_KEY`. ### Input fields **adhoc_search_level** `string` Adhoc search level. Default: `"fast"`. **base_url** `string | null` Splunk base URL (e.g. [https://localhost:8089](https://localhost:8089)). Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## List KV collections Action ID: `tools.splunk.list_kv_collections` List all KV Store collections in Splunk. Reference: [https://help.splunk.com/en/splunk-enterprise/rest-api-reference/9.4/kv-store-endpoints/kv-store-endpoint-descriptions#get-4](https://help.splunk.com/en/splunk-enterprise/rest-api-reference/9.4/kv-store-endpoints/kv-store-endpoint-descriptions#get-4) ### Secrets Required secrets: * `splunk`: required values `SPLUNK_API_KEY`. ### Input fields **app** `string` Splunk app context to list collections from (e.g. "search" for default). Default: `"search"`. **base_url** `string | null` Splunk base URL (e.g. [https://localhost:8089](https://localhost:8089) or [https://tracecat.splunkcloud.com:8089](https://tracecat.splunkcloud.com:8089)). Default: `null`. **limit** `integer` Maximum number of collections to return. Default: `100`. **offset** `integer` Number of collections to skip for pagination. Default: `0`. **owner** `string` Splunk namespace owner for access control (use "nobody" for shared access). Default: `"nobody"`. **search** `string` Search query to filter collections. Example: "name=*whitelist*" to find collections with "whitelist" in the name. Default: `""`. **sort_key** `string` Field to sort results by. Default: `"_key"`. **sort_mode** `string` How to sort values ("auto", "num", "alpha_case", or "alpha"). Default: `"auto"`. **sort_order** `string` Sort order ("asc" or "desc"). Default: `"asc"`. **summarize** `boolean` Return summarized response with fewer details for faster response. Default: `false`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## List KV entries Action ID: `tools.splunk.list_kv_entries` List entries in a KV Store collection from Splunk. Reference: [https://help.splunk.com/en/splunk-enterprise/rest-api-reference/9.4/kv-store-endpoints/kv-store-endpoint-descriptions#get-6](https://help.splunk.com/en/splunk-enterprise/rest-api-reference/9.4/kv-store-endpoints/kv-store-endpoint-descriptions#get-6) ### Secrets Required secrets: * `splunk`: required values `SPLUNK_API_KEY`. ### Input fields **collection** `string` *required* Name of the KV Store collection to list entries from. **app** `string` Splunk app context where the collection resides (e.g. "search" for default). Default: `"search"`. **base_url** `string | null` Splunk base URL (e.g. [https://localhost:8089](https://localhost:8089) or [https://tracecat.splunkcloud.com:8089](https://tracecat.splunkcloud.com:8089)). Default: `null`. **limit** `integer` Maximum number of entries to return. Default: `100`. **offset** `integer` Number of entries to skip for pagination. Default: `0`. **owner** `string` Splunk namespace owner for access control (use "nobody" for shared access). Default: `"nobody"`. **query** `object` MongoDB-style query to filter entries. Supported operators: * Conditional: $gt, $gte, $lt, $lte, \$ne * Regex: \$regex * Logical: $and, $or, \$not Examples: * \{"title": "Item"} - Find entries where title equals "Item" * \{"price": \{"\$gt": 5}} - Find entries where price > 5 * \{"ip": \{"\$regex": "192.168.1.\*"}} - Find entries matching IP pattern Default: `{}`. **shared** `boolean` Include entries from both specified owner and "nobody" user. Default: `false`. **skip** `integer` Number of items to skip from the start (alternative to offset). Default: `0`. **sort** `string` Field to sort entries by. Default: `"_key"`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## List sourcetypes Action ID: `tools.splunk.list_sourcetypes` List all defined sourcetypes on the Splunk server. Reference: [https://help.splunk.com/en?resourceId=Splunk_RESTREF_RESTsearch\&version=splunk-9_4](https://help.splunk.com/en?resourceId=Splunk_RESTREF_RESTsearch\&version=splunk-9_4) ### Secrets Required secrets: * `splunk`: required values `SPLUNK_API_KEY`. ### Input fields **adhoc_search_level** `string` Adhoc search level. Default: `"fast"`. **base_url** `string | null` Splunk base URL (e.g. [https://localhost:8089](https://localhost:8089)). Default: `null`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Search events Action ID: `tools.splunk.search_events` Search events from Splunk. Reference: [https://help.splunk.com/en?resourceId=Splunk_RESTREF_RESTsearch\&version=splunk-9_4#search.2Fjobs](https://help.splunk.com/en?resourceId=Splunk_RESTREF_RESTsearch\&version=splunk-9_4#search.2Fjobs) ### Secrets Required secrets: * `splunk`: required values `SPLUNK_API_KEY`. ### Input fields **end_time** `string` *required* End time for the search. **limit** `integer` *required* Maximum number of events to return. **query** `string` *required* Splunk (Splunk Query Language) search query. You MUST start the query with `search`, e.g. `search index=main | head 10` **start_time** `string` *required* Start time for the search. **adhoc_search_level** `string` Adhoc search level. Default: `"fast"`. **base_url** `string | null` Splunk base URL (e.g. [https://localhost:8089](https://localhost:8089)). Default: `null`. **include_headers** `boolean` Include headers in the response? Default: `false`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Submit HEC event Action ID: `tools.splunk.submit_hec_event` Submit an event to Splunk using the HTTP Event Collector (HEC). Uses HEC token authentication. Reference: [https://help.splunk.com/en/splunk-enterprise/get-data-in/get-started-with-getting-data-in/9.4/get-data-with-http-event-collector/format-events-for-http-event-collector](https://help.splunk.com/en/splunk-enterprise/get-data-in/get-started-with-getting-data-in/9.4/get-data-with-http-event-collector/format-events-for-http-event-collector) ### Secrets Required secrets: * `splunk_hec`: required values `SPLUNK_HEC_TOKEN`. ### Input fields **event** `object` *required* Event data to send to Splunk. Can contain any key-value pairs. Example: \{"action": "login", "username": "john", "ip": "192.168.1.100"} **base_url** `string | null` Splunk HEC endpoint URL (e.g. [https://localhost:8088](https://localhost:8088) or [https://tracecat.splunkcloud.com:8088](https://tracecat.splunkcloud.com:8088)). Default: `null`. **host** `string` Host field value for the event. Default: `"tracecat.com"`. **index** `string | null` Splunk index to send the event to. If not specified, uses the default index configured for the HEC token. Default: `null`. **source** `string` Event source identifier (e.g. application name, script name). Default: `"tracecat_workflow"`. **sourcetype** `string` Event source type for categorization and parsing rules. Default: `"tracecat_log"`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Update KV entry Action ID: `tools.splunk.update_kv_entry` Update an existing entry in a KV Store collection in Splunk. Reference: [https://help.splunk.com/en/splunk-enterprise/rest-api-reference/9.4/kv-store-endpoints/kv-store-endpoint-descriptions#post-12](https://help.splunk.com/en/splunk-enterprise/rest-api-reference/9.4/kv-store-endpoints/kv-store-endpoint-descriptions#post-12) ### Secrets Required secrets: * `splunk`: required values `SPLUNK_API_KEY`. ### Input fields **collection** `string` *required* Name of the KV Store collection containing the entry. **entry_key** `string` *required* The \_key value of the entry to update in the collection. Example: "5f3a1b2c3d4e5f6a7b8c9d0e" **fields** `object` *required* Fields to update in the entry. Only specified fields will be updated. Example: \{"status": "completed", "updated_at": "2024-01-15"} **app** `string` Splunk app context where the collection resides (e.g. "search" for default). Default: `"search"`. **base_url** `string | null` Splunk base URL (e.g. [https://localhost:8089](https://localhost:8089) or [https://tracecat.splunkcloud.com:8089](https://tracecat.splunkcloud.com:8089)). Default: `null`. **owner** `string` Splunk namespace owner for access control (use "nobody" for shared access). Default: `"nobody"`. **verify_ssl** `boolean` Whether to verify SSL certificates. Default: `true`. ## Upload CSV to KV Collection Action ID: `tools.splunk.upload_csv_to_kv_collection` Download a CSV file and upload its rows to a Splunk KV Store collection with create, append, or override modes. Reference: [https://help.splunk.com/en/splunk-enterprise/rest-api-reference/9.4/kv-store-endpoints/kv-store-endpoint-descriptions](https://help.splunk.com/en/splunk-enterprise/rest-api-reference/9.4/kv-store-endpoints/kv-store-endpoint-descriptions) ### Secrets Required secrets: * `splunk`: required values `SPLUNK_API_KEY`. ### Input fields **collection** `string` *required* Name of the KV Store collection to target. **csv_url** `string` *required* URL pointing to the CSV file to ingest. **app** `string` Splunk app context (e.g. search). Default: `"search"`. **base_url** `string | null` Splunk base URL (e.g. [https://localhost:8089](https://localhost:8089) or [https://example.splunkcloud.com:8089](https://example.splunkcloud.com:8089)). If not provided, falls back to the workspace variable `splunk.base_url`. Default: `null`. **batch_size** `integer` Number of CSV rows to send per request. Lower this if you hit payload limits. Default: `500`. **csv_headers** `map[string, string] | null` Optional HTTP headers for downloading the CSV (e.g. Authorization). Default: `null`. **mode** `string` create: new collection, error if it exists. append: add to existing collection, error if missing. override: replace existing collection if present. Default: `"create"`. Allowed values: `create`, `append`, `override`. **owner** `string` Splunk namespace owner (use "nobody" for shared access). Default: `"nobody"`. **verify_ssl** `boolean` Whether to verify SSL certificates when downloading and uploading. Default: `true`. # Spur (Context API) Source: https://docs.tracecat.com/tools/spur Reference for the Tracecat Spur (Context API) integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Lookup API token status Action ID: `tools.spur.lookup_api_token_status` Retrieve the Spur API token's status, the number of queries it can still make, and the service tier. Does not use a query. Calls GET /status directly. Reference: [https://docs.spur.us/context-api/endpoints#lookup-api-token-status](https://docs.spur.us/context-api/endpoints#lookup-api-token-status) ### Secrets Required secrets: * `spur`: required values `SPUR_TOKEN`. ### Input fields **base_url** `string | null` Spur API base URL. Default: `null`. ## Lookup IP address Action ID: `tools.spur.lookup_ip` Retrieve the Spur IP Context Object for an IPv4 or IPv6 address, or the context for a past date when `dt` is set. Calls GET /v2/context/\{ip} directly. Reference: [https://docs.spur.us/context-api/endpoints#lookup-an-ip-address](https://docs.spur.us/context-api/endpoints#lookup-an-ip-address) ### Secrets Required secrets: * `spur`: required values `SPUR_TOKEN`. ### Input fields **ip** `string` *required* Public IPv4 or IPv6 address to look up. **base_url** `string | null` Spur API base URL. Default: `null`. **dt** `string | null` A datetime in the format YYYYmmdd. Only valid for tokens with the Context API Historical Query permission (Pro plans and above); other tokens get a 401. Default: `null`. **mmgeo** `integer | null` A boolean value, that when set to 1, will return MaxMind's GeoLite2 geolocation data instead of Spur's geolocation data in the location object. Default: `null`. ## Lookup tag metadata Action ID: `tools.spur.lookup_tag_metadata` Retrieve the Spur Tag Metadata Object (summary, metrics and attributes) for a service tag such as OXYLABS_PROXY or PROTON_VPN. Calls GET /v2/metadata/tags/\{tag} directly. Reference: [https://docs.spur.us/context-api/endpoints#lookup-tag-metadata](https://docs.spur.us/context-api/endpoints#lookup-tag-metadata) ### Secrets Required secrets: * `spur`: required values `SPUR_TOKEN`. ### Input fields **tag** `string` *required* Service tag to look up, e.g. a tunnel operator or proxy tag returned in an IP Context Object (OXYLABS_PROXY, PROTON_VPN). **base_url** `string | null` Spur API base URL. Default: `null`. # Sublime Source: https://docs.tracecat.com/tools/sublime Reference for the Tracecat Sublime integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Activate rule Action ID: `tools.sublime.activate_rule` Activate a Sublime rule. Reference: [https://docs.sublime.security/reference/activaterule-1](https://docs.sublime.security/reference/activaterule-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* Sublime rule ID. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Add list entry Action ID: `tools.sublime.add_list_entry` Add an entry to a Sublime list. Reference: [https://docs.sublime.security/reference/addlistentry-1](https://docs.sublime.security/reference/addlistentry-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* List ID. **string** `string` *required* String list entry **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Analyze EML Action ID: `tools.sublime.analyze_eml` Analyze an EML message against active detection rules and ML attack score in Sublime. Reference: [https://docs.sublime.security/reference/analyzemessage](https://docs.sublime.security/reference/analyzemessage) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **eml_base64** `string` *required* Base64-encoded EML file. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Analyze EML with the free analyzer Action ID: `tools.sublime.eml_analyze` Analyze a raw message with the free, unauthenticated Sublime EML Analyzer API. Reference: [https://docs.sublime.security/reference/analysis-api-introduction](https://docs.sublime.security/reference/analysis-api-introduction) ### Input fields **payload** `object` *required* API-native request body. Documented fields: raw_message (required), queries, rules, run_active_detection_rules, run_all_detection_rules, run_all_insights. **base_url** `string` Base URL of the Sublime EML Analyzer API. Default: `"https://analyzer.sublime.security"`. ## Analyze message by ID Action ID: `tools.sublime.analyze_message_by_id` Analyze an existing Sublime message with API-native rules or queries. Reference: [https://docs.sublime.security/reference/analyzemessagebyid](https://docs.sublime.security/reference/analyzemessagebyid) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* Sublime message ID. **payload** `object` *required* API-native request body. Documented fields: queries, rules, run_active_detection_rules, run_all_detection_rules, run_all_insights. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Analyze URL Action ID: `tools.sublime.analyze_url` Analyze a URL with ML link analysis in Sublime. Reference: [https://docs.sublime.security/docs/enrichment-functions#mllink_analysis](https://docs.sublime.security/docs/enrichment-functions#mllink_analysis) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **url** `string` *required* URL to analyze. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Attack score for message Action ID: `tools.sublime.attack_score_for_message` Evaluate the attack score of an existing Sublime message. Reference: [https://docs.sublime.security/reference/attackscoreformessage](https://docs.sublime.security/reference/attackscoreformessage) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* Sublime message ID. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Attack score for raw message Action ID: `tools.sublime.score_eml` Evaluate the Sublime attack score for a base64-encoded raw EML message. Reference: [https://docs.sublime.security/reference/attackscoreforrawmessage](https://docs.sublime.security/reference/attackscoreforrawmessage) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **eml_base64** `string` *required* Base64-encoded EML file. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## BinExplode file Action ID: `tools.sublime.binexplode` Submit a base64-encoded file to Sublime BinExplode and return the task response. Reference: [https://docs.sublime.security/reference/postscan-1](https://docs.sublime.security/reference/postscan-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **file_contents** `string` *required* Base64-encoded raw file contents. **file_name** `string` *required* Name of the submitted file. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Create email bomb Action ID: `tools.sublime.create_email_bomb` Declare a mailbox time range as a Sublime email bomb. Reference: [https://docs.sublime.security/reference/createemailbomb](https://docs.sublime.security/reference/createemailbomb) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **end_time** `string` *required* End of the email bomb time range (must not be in the future) **mailbox_id** `string` *required* ID of the mailbox to declare the email bomb for **start_time** `string` *required* Start of the email bomb time range **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Create list Action ID: `tools.sublime.create_list` Create a Sublime list. Reference: [https://docs.sublime.security/reference/createlist-1](https://docs.sublime.security/reference/createlist-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **description** `string` *required* Description of list **name** `string` *required* Unique name used to reference the list in MQL **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Create message Action ID: `tools.sublime.create_message` Create a Sublime message data model from a raw message. Reference: [https://docs.sublime.security/reference/createmessage](https://docs.sublime.security/reference/createmessage) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **payload** `object` *required* API-native request body. Documented fields: raw_message (required), canonical_id, external_created_at, external_message_id, external_thread_id, folder, labels, mailbox_email_address, message_type, route_type. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Create rule Action ID: `tools.sublime.create_rule` Create a Sublime detection, DLP, or triage rule. Reference: [https://docs.sublime.security/reference/createrule-1](https://docs.sublime.security/reference/createrule-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **payload** `object` *required* API-native request body. Documented fields: name (required), source (required), action_ids, active, attack_types, authors, auto_review_auto_share, auto_review_classification, description, detection_methods, false_positives, internal_type, label, maturity, references, run_triage_on_excluded_messages, severity, tactics_and_techniques, tags, triage_abuse_reports, triage_classification_changes, triage_dlp_rule_matched, triage_flagged_messages, type, user_provided_tags. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Deactivate rule Action ID: `tools.sublime.deactivate_rule` Deactivate a Sublime rule. Reference: [https://docs.sublime.security/reference/deactivaterule-1](https://docs.sublime.security/reference/deactivaterule-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* Sublime rule ID. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Delete list Action ID: `tools.sublime.delete_list` Delete a Sublime list. Reference: [https://docs.sublime.security/reference/deletelist-1](https://docs.sublime.security/reference/deletelist-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* List ID. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Delete list entry Action ID: `tools.sublime.delete_list_entry` Delete an entry from a Sublime list. Reference: [https://docs.sublime.security/reference/deletelistentry-1](https://docs.sublime.security/reference/deletelistentry-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* List ID. **string** `string` *required* String list entry **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Delete rule Action ID: `tools.sublime.delete_rule` Delete a Sublime rule. Reference: [https://docs.sublime.security/reference/deleterule-1](https://docs.sublime.security/reference/deleterule-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* Sublime rule ID. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Dismiss email bomb Action ID: `tools.sublime.dismiss_email_bomb` Dismiss a Sublime email-bomb incident. Reference: [https://docs.sublime.security/reference/dismissemailbomb](https://docs.sublime.security/reference/dismissemailbomb) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* Email bomb ID. **payload** `object` *required* API-native request body. Documented fields: review_comment. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Dismiss message group Action ID: `tools.sublime.dismiss_message_canonical_group` Dismiss a Sublime message group and its future messages. Reference: [https://docs.sublime.security/reference/dismissmessagecanonicalgroup-1](https://docs.sublime.security/reference/dismissmessagecanonicalgroup-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* Message group canonical ID. **payload** `object` *required* API-native request body. Documented fields: classification, report_label, review_comment. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Dismiss multiple message groups Action ID: `tools.sublime.dismiss_multiple_message_groups` Dismiss multiple Sublime message groups. Reference: [https://docs.sublime.security/reference/dismissmultiplemessagegroups-1](https://docs.sublime.security/reference/dismissmultiplemessagegroups-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **payload** `object` *required* API-native request body. Documented fields: message_group_ids (required), classification, report_label, review_comment. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Get BinExplode scan Action ID: `tools.sublime.get_binexplode_scan` Retrieve the current status and results of a Sublime BinExplode task. Reference: [https://docs.sublime.security/reference/getscan-1](https://docs.sublime.security/reference/getscan-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* BinExplode task ID. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Get email bomb Action ID: `tools.sublime.get_email_bomb` Retrieve a Sublime email-bomb incident. Reference: [https://docs.sublime.security/reference/getemailbomb](https://docs.sublime.security/reference/getemailbomb) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* Email bomb ID. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Get hunt job Action ID: `tools.sublime.get_hunt_job` Retrieve the current state and summary of a Sublime hunt job. Reference: [https://docs.sublime.security/reference/gethuntjob](https://docs.sublime.security/reference/gethuntjob) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* Hunt job ID. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Get hunt job results Action ID: `tools.sublime.get_hunt_job_results` Retrieve detailed results for a Sublime hunt job. Reference: [https://docs.sublime.security/reference/gethuntjobresults](https://docs.sublime.security/reference/gethuntjobresults) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* Hunt job ID. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. **limit** `integer | null` The maximum number of results to return. Default: `null`. **offset** `integer | null` The (zero-based) offset of the first hunt job results to return. Default: `null`. ## Get list Action ID: `tools.sublime.get_list` Retrieve a Sublime list. Reference: [https://docs.sublime.security/reference/getlist-1](https://docs.sublime.security/reference/getlist-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* List ID. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Get list entries Action ID: `tools.sublime.get_list_entries` Retrieve all entries in a Sublime list. Reference: [https://docs.sublime.security/reference/getlistentries-1](https://docs.sublime.security/reference/getlistentries-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* List ID. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Get list entry Action ID: `tools.sublime.get_list_entry` Check for and retrieve an entry in a Sublime list. Reference: [https://docs.sublime.security/reference/getlistentry-1](https://docs.sublime.security/reference/getlistentry-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* List ID. **string** `string` *required* String list entry **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Get lists Action ID: `tools.sublime.get_lists` Retrieve Sublime lists using API-native filters. Reference: [https://docs.sublime.security/reference/getlists-1](https://docs.sublime.security/reference/getlists-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **entry_type** `string` *required* List type to filter by. One of 'string', 'user_group', 'provider_org_unit'. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. **id** `string | null` Optional ID (exact match) to filter by Default: `null`. **name** `string | null` Optional name (exact match) to filter by Default: `null`. ## Get message Action ID: `tools.sublime.get_message` Retrieve a Sublime message. Reference: [https://docs.sublime.security/reference/getmessage-1](https://docs.sublime.security/reference/getmessage-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* Sublime message ID. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. **recompute_mdm_from_raw** `boolean | null` When true, recompute the MDM from the raw EML. For internal use only! Default: `null`. **remove_large_text_fields** `boolean | null` When true, any text field over 1MB will be cleared before returning Default: `null`. ## Get message attachment image Action ID: `tools.sublime.get_message_attachment_image` Retrieve rendered images for a PDF attachment by MD5 hash. Reference: [https://docs.sublime.security/reference/getmessageattachmentimage-1](https://docs.sublime.security/reference/getmessageattachmentimage-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **hash** `string` *required* MD5 hash of the attachment. **id** `string` *required* Sublime message ID. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Get message data model Action ID: `tools.sublime.get_message_data_model` Retrieve the Message Data Model for a Sublime message. Reference: [https://docs.sublime.security/reference/getmessagedatamodel-1](https://docs.sublime.security/reference/getmessagedatamodel-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* Sublime message ID. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. **recompute_mdm_from_raw** `boolean | null` When true, recompute the MDM from the raw EML. For internal use only! Default: `null`. **remove_large_text_fields** `boolean | null` When true, any text field over 1MB will be cleared before returning Default: `null`. ## Get message EML Action ID: `tools.sublime.get_message_eml` Retrieve the raw EML for a Sublime message. Reference: [https://docs.sublime.security/reference/getmessageeml](https://docs.sublime.security/reference/getmessageeml) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* Sublime message ID. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Get message group Action ID: `tools.sublime.get_message_group` Retrieve a Sublime message group. Reference: [https://docs.sublime.security/reference/getmessagegroup](https://docs.sublime.security/reference/getmessagegroup) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* Message group canonical ID. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. **sort_previews_message_id__is** `array[string] | null` Sort previews with these message IDs at the top Default: `null`. ## Get message group action state Action ID: `tools.sublime.get_message_canonical_group_action_state` Retrieve manual action state for a canonical message group. Reference: [https://docs.sublime.security/reference/getmessagecanonicalgroupactionstate](https://docs.sublime.security/reference/getmessagecanonicalgroupactionstate) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* Message group canonical ID. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. **created_at__gte** `string | null` Only return action states created after this time Default: `null`. **limit** `integer | null` The maximum number of action states to return. If the value exceeds the maximum, then the maximum value will be used. Default: `null`. **offset** `integer | null` The (zero-based) offset of the action states to return Default: `null`. ## Get message group SIEM summary Action ID: `tools.sublime.get_message_group_siem_summary` Retrieve the reduced-field SIEM summary of flagged message groups. Reference: [https://docs.sublime.security/reference/getmessagegroupsiemsummary](https://docs.sublime.security/reference/getmessagegroupsiemsummary) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the Sublime API. Default: `null`. **cursor** `string | null` Opaque pagination cursor returned in the previous response's cursor field. Default: `null`. **limit** `integer | null` The maximum number of message groups to return. Default: `null`. **timestamp__gte** `string | null` Inclusive lower bound on the sort timestamp (newest_created_at for type=flagged, first_reported_as_phish_at for type=reported). Default: `null`. **timestamp__lt** `string | null` Exclusive upper bound on the sort timestamp (newest_created_at for type=flagged, first_reported_as_phish_at for type=reported). Default: `null`. **type** `string | null` Which timestamp the endpoint sorts/filters on: 'flagged' uses newest_created_at, 'reported' uses first_reported_as_phish_at. Possible values: flagged, reported. Default: `null`. ## Get message image Action ID: `tools.sublime.get_message_image` Retrieve rendered images for a Sublime message. Reference: [https://docs.sublime.security/reference/getmessageimage-1](https://docs.sublime.security/reference/getmessageimage-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* Sublime message ID. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. **recompute_mdm_from_raw** `boolean | null` When true, recompute the MDM from the raw EML. For internal use only! Default: `null`. **remove_large_text_fields** `boolean | null` When true, any text field over 1MB will be cleared before returning Default: `null`. ## Get message image link Action ID: `tools.sublime.get_message_image_link` Retrieve a temporary link to a rendered Sublime message image. Reference: [https://docs.sublime.security/reference/getmessageimagelink-1](https://docs.sublime.security/reference/getmessageimagelink-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* Sublime message ID. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. **link_duration_seconds** `integer | null` Period link should be valid for. Default is 15 minutes, max 7 days. Default: `null`. **platform_link** `boolean | null` When true, link will always be presigned against Sublime. When false, the link may be to S3 directly. Default: `null`. **recompute_mdm_from_raw** `boolean | null` When true, recompute the MDM from the raw EML. For internal use only! Default: `null`. **remove_large_text_fields** `boolean | null` When true, any text field over 1MB will be cleared before returning Default: `null`. ## Get rule Action ID: `tools.sublime.get_rule` Retrieve a Sublime rule. Reference: [https://docs.sublime.security/reference/getrule-1](https://docs.sublime.security/reference/getrule-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* Sublime rule ID. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Get rule history Action ID: `tools.sublime.get_rule_history` Retrieve history for a Sublime rule. Reference: [https://docs.sublime.security/reference/getrulehistory](https://docs.sublime.security/reference/getrulehistory) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* Sublime rule ID. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. **classification_created_at_gte** `string | null` Filter by classifications made after this datetime. Results are limited to the most recent 180 days. Default: `null`. **classification_created_at_lte** `string | null` Filter by classifications made before this datetime. Results are limited to the most recent 180 days. Default: `null`. **use_rule_last_updated_as_created_at** `boolean | null` Filter by classifications made since the rule has been updated. Results are limited to the most recent 180 days. Default: `null`. ## Get task Action ID: `tools.sublime.get_task` Retrieve the current status of a Sublime task. Reference: [https://docs.sublime.security/reference/gettask-1](https://docs.sublime.security/reference/gettask-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* Sublime task ID. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Graymail multiple message groups Action ID: `tools.sublime.graymail_multiple_message_groups` Move multiple Sublime message groups to Graymail. Reference: [https://docs.sublime.security/reference/graymailmultiplemessagegroups](https://docs.sublime.security/reference/graymailmultiplemessagegroups) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **payload** `object` *required* API-native request body. Documented fields: message_group_ids (required), classification, report_label, review_comment. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## List email bombs Action ID: `tools.sublime.list_email_bombs` List Sublime email-bomb incidents using API-native filters. Reference: [https://docs.sublime.security/reference/listemailbombs](https://docs.sublime.security/reference/listemailbombs) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **active** `boolean | null` Filter by active status. true = only active, false = only inactive, null = all Default: `null`. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. **dismissed** `boolean | null` Filter by dismissed status. true = only dismissed, false = only not dismissed, null = all Default: `null`. **limit** `integer | null` The maximum number of email bombs to return Default: `null`. **offset** `integer | null` The (zero-based) offset of the email bombs to return Default: `null`. ## List mailboxes Action ID: `tools.sublime.list_mailboxes` List Sublime mailboxes using API-native filters. Reference: [https://docs.sublime.security/reference/listmailboxes](https://docs.sublime.security/reference/listmailboxes) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **active** `boolean | null` Filter for effectively active mailboxes (marked active with a live subscription) Default: `null`. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. **email_addresses** `string | null` Email addresses of the mailboxes to return (comma-delimited) Default: `null`. **limit** `integer | null` The maximum number of entries to return. If the value exceeds the maximum, then the maximum value will be used Default: `null`. **mailbox_types** `string | null` Comma-delimited list of mailbox types to filter by Default: `null`. **marked_active** `boolean | null` Filter for mailboxes marked active Default: `null`. **message_source_id** `string | null` ID of the message source the mailboxes belong to Default: `null`. **offset** `integer | null` The (zero-based) offset of the first mailbox to return Default: `null`. **search** `string | null` Search across mailbox names and email addresses Default: `null`. **sub_error_types** `string | null` Comma-delimited list of subscription error types to filter by Default: `null`. ## List message groups Action ID: `tools.sublime.list_message_groups` List Sublime message groups using API-native filters. Reference: [https://docs.sublime.security/reference/listmessagegroups-1](https://docs.sublime.security/reference/listmessagegroups-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **attachment_name__is** `array[string] | null` Filters result to only message groups with the provided attachment name Default: `null`. **attachment_sha256__is** `array[string] | null` Filters result to only message groups with the provided attachment SHA256 Default: `null`. **attack_score_verdict__is** `array[string] | null` Filters result to only message groups with the provided attack score verdict. Possible values: unknown, likely_benign, suspicious, malicious, graymail, spam. Default: `null`. **attack_surface_reduction__filter** `boolean | null` Filters result to only message groups that have flagged (ONLY) rules with the 'Attack surface reduction' tag Default: `null`. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. **canonical_id__is** `array[string] | null` Filters result to only message groups with the provided canonical ID Default: `null`. **created_at__gte** `string | null` Inclusive start datetime filter, in UTC using the ISO 8601 format (e.g., '2021-03-14T15:09:26Z'). Only message groups that contain a message processed at or after this time will be returned. Default: `null`. **created_at__lt** `string | null` Exclusive end datetime filter, in UTC using the ISO 8601 format (e.g., '2021-05-04T15:09:26Z'). Only message groups that contain a message processed before this time will be returned. Paired with created_at__gte this selects groups that were active at any point in the window, including groups that are still receiving messages after it. Note that this bounds a group's oldest message while created_at__gte bounds its newest, so the two cannot be served by a single index and the request may time out on high volume organizations or wide date ranges. If you only need groups whose newest message falls inside the window, prefer last_created_at__lt, which bounds the same field as created_at__gte. Default: `null`. **first_message_reported_at__gte** `string | null` Filters result to only message groups with a message first reported at or after the provided time. Datetime must be in UTC using the ISO 8601 format (e.g., '2021-03-14T15:09:26Z'). Default: `null`. **flagged** `boolean | null` Filters result to only message groups with at least one flagged message Default: `null`. **flagged_rule_id__is** `array[string] | null` Filters result to only message groups with the provided flagged rule ID Default: `null`. **flagged_rule_severity__is** `array[string] | null` Filters result to only message groups with the provided flagged rule severity. Possible values: informational, low, medium, high, critical. Default: `null`. **historically_flagged_rule_id__is** `array[string] | null` Filters result to only message groups with the provided historically flagged rule ID Default: `null`. **historically_flagged_rule_severity__is** `array[string] | null` Filters result to only message groups with the provided historically flagged rule severity. Possible values: informational, low, medium, high, critical. Default: `null`. **last_created_at__gte** `string | null` Inclusive start datetime filter, in UTC using the ISO 8601 format (e.g., '2021-03-14T15:09:26Z'). Only message groups whose newest message was processed at or after this time will be returned. Equivalent to created_at__gte. Default: `null`. **last_created_at__lt** `string | null` Exclusive end datetime filter, in UTC using the ISO 8601 format (e.g., '2021-05-04T15:09:26Z'). Only message groups whose newest message was processed before this time will be returned. Unlike created_at__lt, groups that are still receiving messages after this time are excluded. Prefer this over created_at__lt for historical lookbacks, since it bounds the same field as created_at__gte and both can then be served by a single index. High volume organizations may still need to request narrow time windows to avoid a timeout. Default: `null`. **limit** `integer | null` The maximum number of message groups to return. If the value exceeds the maximum, then the maximum value will be used. Default: `null`. **mailbox_email__is** `array[string] | null` Filters result to only message groups with the provided mailbox email Default: `null`. **offset** `integer | null` The (zero-based) offset of the message groups to return Default: `null`. **recipient_email__is** `array[string] | null` Filters result to only message groups with the provided recipient email Default: `null`. **reported_as_phish_by__is** `array[string] | null` Filters result to only message groups with the provided reporter Default: `null`. **reviewed** `boolean | null` Filters result to only message groups which have or have not been reviewed Default: `null`. **sender_display_name__is** `array[string] | null` Filters result to only message groups with the provided sender display name Default: `null`. **sender_domain__is** `array[string] | null` Filters result to only message groups with the provided sender domain Default: `null`. **sender_email__is** `array[string] | null` Filters result to only message groups with the provided sender email Default: `null`. **spam__is** `array[string] | null` Filters result to only message groups with the provided spam status. Possible values: spam, not_spam, mixed. Default: `null`. **subject__is** `array[string] | null` Filters result to only message groups with the provided subject Default: `null`. **user_reported** `boolean | null` Filters result to only message groups with at least one reported message Default: `null`. **vendor_id__is** `array[string] | null` Filters result to only message groups with the provided vendor Default: `null`. ## List rule history Action ID: `tools.sublime.list_rule_history` List history across Sublime rules using API-native filters. Reference: [https://docs.sublime.security/reference/listrulehistory](https://docs.sublime.security/reference/listrulehistory) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **classification_created_at_gte** `string` *required* Filter by classifications made after this datetime. Results are limited to the most recent 180 days. **classification_created_at_lte** `string` *required* Filter by classifications made before this datetime. Results are limited to the most recent 180 days. **active** `boolean | null` Restrict to rules that are active Default: `null`. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. **count** `integer | null` Number of results to return Default: `null`. **in_feed** `boolean | null` Restrict to rules that are in a feed Default: `null`. **offset** `integer | null` Offset from the first result Default: `null`. **type** `array[string] | null` Restrict to rules that have one of the given types. One of 'detection', 'triage', 'dlp'. Default: `null`. ## List rules Action ID: `tools.sublime.list_rules` List Sublime rules using API-native filters. Reference: [https://docs.sublime.security/reference/listrules-1](https://docs.sublime.security/reference/listrules-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the Sublime API. Default: `null`. **in_feed** `boolean | null` Restrict to rules that are explicitly in or not in a feed Default: `null`. **limit** `integer | null` The maximum number of entries to return. Maximum value is 500. Default: `null`. **offset** `integer | null` The (zero-based) offset of the first rule to return Default: `null`. **search** `string | null` Search for matching case-insensitive substring across rule name, description, and MQL source Default: `null`. ## List user reports Action ID: `tools.sublime.list_user_reports` List Sublime user-reported messages using API-native filters. Reference: [https://docs.sublime.security/reference/listuserreports](https://docs.sublime.security/reference/listuserreports) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the Sublime API. Default: `null`. **limit** `integer | null` The maximum number of message groups to return. If the value exceeds the maximum, then the maximum value will be used. Default: `null`. **reported_at_gte** `string | null` Inclusive start datetime filter for time of report, in UTC using the ISO 8601 format (e.g., '2021-03-14T15:09:26Z'). Only reports at or after this time will be returned. Default: `null`. **reported_at_lt** `string | null` Exclusive end datetime filter for time of report, in UTC using the ISO 8601 format (e.g., '2021-03-14T15:09:26Z'). Only reports before this time will be returned. Default: `null`. ## Patch list Action ID: `tools.sublime.patch_list` Update a Sublime list with an API-native patch body. Reference: [https://docs.sublime.security/reference/patchlist-1](https://docs.sublime.security/reference/patchlist-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **description** `string` *required* Description of list **id** `string` *required* List ID. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Perform message actions Action ID: `tools.sublime.action_message` Perform API-native actions on an individual Sublime message. Reference: [https://docs.sublime.security/reference/actionmessage](https://docs.sublime.security/reference/actionmessage) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* Sublime message ID. **payload** `object` *required* API-native request body. Documented fields: action, custom_action_ids, share_with_sublime. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Quarantine message group Action ID: `tools.sublime.quarantine_message_canonical_group` Quarantine a Sublime message group and its future messages. Reference: [https://docs.sublime.security/reference/quarantinemessagecanonicalgroup-1](https://docs.sublime.security/reference/quarantinemessagecanonicalgroup-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* Message group canonical ID. **payload** `object` *required* API-native request body. Documented fields: classification, report_label, review_comment. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Quarantine multiple message groups Action ID: `tools.sublime.quarantine_multiple_message_groups` Quarantine multiple Sublime message groups. Reference: [https://docs.sublime.security/reference/quarantinemultiplemessagegroups-1](https://docs.sublime.security/reference/quarantinemultiplemessagegroups-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **payload** `object` *required* API-native request body. Documented fields: message_group_ids (required), classification, report_label, review_comment. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Render attachment image Action ID: `tools.sublime.get_message_attachment_image_raw` Render images from a base64-encoded raw attachment. Reference: [https://docs.sublime.security/reference/getmessageattachmentimageraw-1](https://docs.sublime.security/reference/getmessageattachmentimageraw-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **payload** `object` *required* API-native request body. Documented fields: raw (required), file_type. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Restore message Action ID: `tools.sublime.restore_message` Restore a previously remediated Sublime message. Reference: [https://docs.sublime.security/reference/restoremessage-1](https://docs.sublime.security/reference/restoremessage-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* Sublime message ID. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Restore message group Action ID: `tools.sublime.restore_message_canonical_group` Restore a Sublime message group and disable future remediation. Reference: [https://docs.sublime.security/reference/restoremessagecanonicalgroup-1](https://docs.sublime.security/reference/restoremessagecanonicalgroup-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* Message group canonical ID. **payload** `object` *required* API-native request body. Documented fields: classification, report_label, review_comment. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Restore multiple message groups Action ID: `tools.sublime.restore_multiple_message_groups` Restore multiple Sublime message groups. Reference: [https://docs.sublime.security/reference/restoremultiplemessagegroups-1](https://docs.sublime.security/reference/restoremultiplemessagegroups-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **payload** `object` *required* API-native request body. Documented fields: message_group_ids (required), classification, report_label, review_comment. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Retrieve ASA report Action ID: `tools.sublime.retrieve_asa_report` Retrieve the Autonomous Security Analyst report for a message. Reference: [https://docs.sublime.security/reference/retrieveasareport](https://docs.sublime.security/reference/retrieveasareport) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* Sublime message ID. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Retrieve ASA verdict Action ID: `tools.sublime.retrieve_asa_verdict` Retrieve the Autonomous Security Analyst verdict for a message. Reference: [https://docs.sublime.security/reference/retrieveasaverdict](https://docs.sublime.security/reference/retrieveasaverdict) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* Sublime message ID. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Review message groups Action ID: `tools.sublime.review_message_groups` Review, classify, and take actions on Sublime message groups. Reference: [https://docs.sublime.security/reference/reviewmessagegroups](https://docs.sublime.security/reference/reviewmessagegroups) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **payload** `object` *required* API-native request body. Documented fields: classification (required), message_group_ids (required), action, custom_action_ids, generate_asa_lesson, review_comment, share_with_sublime. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Scan file with BinExplode Action ID: `tools.sublime.scan_file` Scan a file with BinExplode and return the completed scan results. Reference: [https://docs.sublime.security/reference/postscan-1](https://docs.sublime.security/reference/postscan-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **file_base64** `string` *required* Base64-encoded file. **file_name** `string` *required* Name of the file. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Search message groups Action ID: `tools.sublime.search_message_groups` Search Sublime message groups using API-native query parameters. Reference: [https://docs.sublime.security/reference/searchmessagegroups-1](https://docs.sublime.security/reference/searchmessagegroups-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **any** `string | null` Searches every field (performs a case insensitive, OR search in all fields). Not compatible with other search fields. Default: `null`. **attachment_md5** `string | null` Search for messages containing an attachment MD5 match Default: `null`. **attachment_sha1** `string | null` Search for messages containing an attachment SHA1 match Default: `null`. **attachment_sha256** `string | null` Search for messages containing an attachment SHA256 match Default: `null`. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. **created_at_gte** `string | null` Inclusive start datetime filter for search, in UTC using the ISO 8601 format (e.g., '2021-03-14T15:09:26Z'). Only message groups with a message processed at or after this time will be returned. Default: `null`. **created_at_lt** `string | null` Exclusive end datetime filter for search, in UTC using the ISO 8601 format (e.g., '2021-05-04T15:09:26Z'). Only message groups with a message processed before this time will be returned. Default: `null`. **file_name** `string | null` Search in attachment filenames (case insensitive wildcard match) Default: `null`. **first_reported_as_phish_at_gte** `string | null` Inclusive start datetime filter for search, in UTC using the ISO 8601 format (e.g., '2021-03-14T15:09:26Z'). Only message groups reported at or after this time will be returned. Default: `null`. **first_reported_as_phish_at_lt** `string | null` Exclusive end datetime filter for search, in UTC using the ISO 8601 format (e.g., '2021-05-04T15:09:26Z'). Only message groups reported before this time will be returned. Default: `null`. **limit** `integer | null` The maximum number of message groups to return. If the value exceeds the maximum, then the maximum value will be used. Default: `null`. **mailbox** `string | null` Search for a mailbox by email address (case insensitive, wildcard match) Default: `null`. **message_id** `string | null` Search in the Message-ID header (case insensitive exact match; wildcards are not supported) Default: `null`. **offset** `integer | null` The (zero-based) offset of the message groups to return Default: `null`. **sender** `string | null` Search in the From field (case insensitive wildcard match) Default: `null`. **states** `array[string] | null` Search for messages in any of the given states Default: `null`. **subject** `string | null` Search in the message subject (case insensitive wildcard match) Default: `null`. **to** `string | null` Search in the To, CC, and Bcc fields (case insensitive wildcard match). If possible, use 'mailbox' and 'type' instead for better performance Default: `null`. **type** `array[string] | null` Search for messages by type. Multiple values are OR'd together. Default: `null`. ## Set list entries Action ID: `tools.sublime.set_list_entries` Replace all entries in a Sublime list. Reference: [https://docs.sublime.security/reference/setlistentries-1](https://docs.sublime.security/reference/setlistentries-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **entries** `array[string]` *required* List entries **id** `string` *required* List ID. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Set message access justification Action ID: `tools.sublime.set_message_access_justification` Set the message-content access justification for the API user. Reference: [https://docs.sublime.security/reference/setmessageaccessjustification-1](https://docs.sublime.security/reference/setmessageaccessjustification-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* Sublime message ID. **payload** `object` *required* API-native request body. Documented fields: justification. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Share message group with Sublime Action ID: `tools.sublime.share_with_sublime_public` Share a message group with the Sublime team. Reference: [https://docs.sublime.security/reference/sharewithsublimepublic-1](https://docs.sublime.security/reference/sharewithsublimepublic-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* Message group canonical ID. **payload** `object` *required* API-native request body. Documented fields: destination, report_label, review_comment. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Start hunt job Action ID: `tools.sublime.start_hunt_job` Start an asynchronous Sublime hunt job. Reference: [https://docs.sublime.security/reference/starthuntjob](https://docs.sublime.security/reference/starthuntjob) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **payload** `object` *required* API-native request body. Documented fields: range_end_time (required), range_start_time (required), source (required), name, private, triage_email_bomb, triage_flagged, triage_reported. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Trash message Action ID: `tools.sublime.trash_message` Trash an individual Sublime message. Reference: [https://docs.sublime.security/reference/trashmessage-1](https://docs.sublime.security/reference/trashmessage-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* Sublime message ID. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Trash message group Action ID: `tools.sublime.trash_message_canonical_group` Trash a Sublime message group and its future messages. Reference: [https://docs.sublime.security/reference/trashmessagecanonicalgroup-1](https://docs.sublime.security/reference/trashmessagecanonicalgroup-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* Message group canonical ID. **payload** `object` *required* API-native request body. Documented fields: classification, report_label, review_comment. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Trash multiple message groups Action ID: `tools.sublime.trash_multiple_message_groups` Trash multiple Sublime message groups. Reference: [https://docs.sublime.security/reference/trashmultiplemessagegroups-1](https://docs.sublime.security/reference/trashmultiplemessagegroups-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **payload** `object` *required* API-native request body. Documented fields: message_group_ids (required), classification, report_label, review_comment. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Update rule Action ID: `tools.sublime.update_rule` Replace a Sublime rule definition. Reference: [https://docs.sublime.security/reference/updaterule-1](https://docs.sublime.security/reference/updaterule-1) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **id** `string` *required* Sublime rule ID. **payload** `object` *required* API-native request body. Documented fields: name (required), source (required), action_ids, attack_types, authors, auto_review_auto_share, auto_review_classification, description, detection_methods, false_positives, internal_type, label, maturity, references, run_triage_on_excluded_messages, severity, tactics_and_techniques, tags, triage_abuse_reports, triage_classification_changes, triage_dlp_rule_matched, triage_flagged_messages, user_provided_tags. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. ## Validate rule Action ID: `tools.sublime.validate_rule` Validate an API-native Sublime rule definition. Reference: [https://docs.sublime.security/reference/validaterule](https://docs.sublime.security/reference/validaterule) ### Secrets Required secrets: * `sublime`: required values `SUBLIME_API_KEY`. ### Input fields **payload** `object` *required* API-native request body. Documented fields: name (required), source (required), action_ids, active, attack_types, authors, auto_review_auto_share, auto_review_classification, description, detection_methods, false_positives, internal_type, label, maturity, references, run_triage_on_excluded_messages, severity, tactics_and_techniques, tags, triage_abuse_reports, triage_classification_changes, triage_dlp_rule_matched, triage_flagged_messages, type, user_provided_tags. **base_url** `string | null` Base URL of the Sublime API. Default: `null`. # Swif.ai (UEM) Source: https://docs.tracecat.com/tools/swif Reference for the Tracecat Swif.ai (UEM) integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Delete device extension attributes Action ID: `tools.swif.delete_device_extension_attributes` Remove extension attributes by key from one or more devices. Calls DELETE /restful/organization/deviceExtensionAttributes. Reference: [https://help.swif.ai/en/articles/13172920-public-apis-how-to-edit-device-extension-attributes](https://help.swif.ai/en/articles/13172920-public-apis-how-to-edit-device-extension-attributes) ### Secrets Required secrets: * `swif`: required values `SWIF_API_KEY`. ### Input fields **deviceIds** `array[string]` *required* Swif device IDs to remove the attributes from. **keys** `array[string]` *required* Extension attribute keys to remove. **base_url** `string | null` Swif API base URL. Defaults to [https://api.swifteam.com](https://api.swifteam.com) (global tenants). Use [https://api.eu.swifteam.com](https://api.eu.swifteam.com) for EU tenants. Default: `null`. ## Get employee Action ID: `tools.swif.get_employee` Get an employee by Swif internal employee ID. Calls GET /restful/organization/employees/\{employeeId}. Reference: [https://help.swif.ai/en/articles/13901608-public-apis-manage-employees](https://help.swif.ai/en/articles/13901608-public-apis-manage-employees) ### Secrets Required secrets: * `swif`: required values `SWIF_API_KEY`. ### Input fields **employeeId** `string` *required* Swif internal employee ID, as returned by List employees. This is not the HRIS employee number. **base_url** `string | null` Swif API base URL. Defaults to [https://api.swifteam.com](https://api.swifteam.com) (global tenants). Use [https://api.eu.swifteam.com](https://api.eu.swifteam.com) for EU tenants. Default: `null`. ## Get script report Action ID: `tools.swif.get_script_report` Get the full result of a script or osquery command execution on a device, including the command or osquery SQL and the raw response. Calls GET /restful/organization/api/v1/script-reports/\{reportId}. Reference: [https://help.swif.ai/en/articles/14188336-public-apis-fetch-script-execution-reports](https://help.swif.ai/en/articles/14188336-public-apis-fetch-script-execution-reports) ### Secrets Required secrets: * `swif`: required values `SWIF_API_KEY`. ### Input fields **reportId** `string` *required* Script report ID (24-character MongoID). **base_url** `string | null` Swif API base URL. Defaults to [https://api.swifteam.com](https://api.swifteam.com) (global tenants). Use [https://api.eu.swifteam.com](https://api.eu.swifteam.com) for EU tenants. Default: `null`. ## List device applications Action ID: `tools.swif.list_device_applications` List applications detected on a managed device, for software inventory, vulnerable or unauthorized software, and shadow IT investigations. Calls GET /restful/organization/devices/\{deviceId}/applications. Reference: [https://help.swif.ai/en/articles/16290808-public-apis-device-application-retrieval](https://help.swif.ai/en/articles/16290808-public-apis-device-application-retrieval) ### Secrets Required secrets: * `swif`: required values `SWIF_API_KEY`. ### Input fields **deviceId** `string` *required* Swif device ID. **base_url** `string | null` Swif API base URL. Defaults to [https://api.swifteam.com](https://api.swifteam.com) (global tenants). Use [https://api.eu.swifteam.com](https://api.eu.swifteam.com) for EU tenants. Default: `null`. **limit** `integer | null` Maximum number of application records to return. Default: `null`. **offset** `integer | null` Number of application records to skip. Default: `null`. **q** `string | null` Case-insensitive fuzzy search across application name, bundle name, version, and status. Default: `null`. ## List device browser extensions Action ID: `tools.swif.list_device_extensions` List Chrome, Safari, Firefox, and Edge browser extensions detected on a managed device, for malicious or risky extension investigations. Calls GET /restful/organization/devices/\{deviceId}/extensions. Reference: [https://help.swif.ai/en/articles/16425729-public-apis-retrieve-extensions-for-a-specific-device](https://help.swif.ai/en/articles/16425729-public-apis-retrieve-extensions-for-a-specific-device) ### Secrets Required secrets: * `swif`: required values `SWIF_API_KEY`. ### Input fields **deviceId** `string` *required* Swif device ID. **base_url** `string | null` Swif API base URL. Defaults to [https://api.swifteam.com](https://api.swifteam.com) (global tenants). Use [https://api.eu.swifteam.com](https://api.eu.swifteam.com) for EU tenants. Default: `null`. ## List device extension attributes Action ID: `tools.swif.list_device_extension_attributes` Retrieve custom extension attributes (device metadata such as tags or risk labels) for a device. Calls GET /restful/organization/deviceExtensionAttributes. Reference: [https://help.swif.ai/en/articles/13172920-public-apis-how-to-edit-device-extension-attributes](https://help.swif.ai/en/articles/13172920-public-apis-how-to-edit-device-extension-attributes) ### Secrets Required secrets: * `swif`: required values `SWIF_API_KEY`. ### Input fields **ids** `string` *required* Swif device ID to retrieve extension attributes for. **base_url** `string | null` Swif API base URL. Defaults to [https://api.swifteam.com](https://api.swifteam.com) (global tenants). Use [https://api.eu.swifteam.com](https://api.eu.swifteam.com) for EU tenants. Default: `null`. **limit** `integer | null` Maximum number of records to return. Default: `null`. **offset** `integer | null` Number of records to skip. Default: `null`. ## List devices Action ID: `tools.swif.list_devices` List managed devices with inventory and security evidence, including Swif's compliance verdict (isCompliant, nonComplianceReasons, failingComplianceChecks), osquery device information, hardware, network, owner, and policy state. Calls GET /restful/organization/devices. Reference: [https://help.swif.ai/en/articles/9341271-public-apis-device-and-evidence-retrieval](https://help.swif.ai/en/articles/9341271-public-apis-device-and-evidence-retrieval) ### Secrets Required secrets: * `swif`: required values `SWIF_API_KEY`. ### Input fields **base_url** `string | null` Swif API base URL. Defaults to [https://api.swifteam.com](https://api.swifteam.com) (global tenants). Use [https://api.eu.swifteam.com](https://api.eu.swifteam.com) for EU tenants. Default: `null`. **limit** `integer | null` Maximum number of records to return. Swif defaults to 10. Default: `null`. **offset** `integer | null` Number of records to skip. Swif defaults to 0. Default: `null`. **q** `string | null` Search query, for example a device serial number. Default: `null`. **teamId** `string | null` Only return devices in this team (24-character hexadecimal team ID). Use List teams to look up team IDs. Default: `null`. ## List employees Action ID: `tools.swif.list_employees` List employees (device owners) in the organization, optionally filtered by primary team. Calls GET /restful/organization/employees. Reference: [https://help.swif.ai/en/articles/9341271-public-apis-device-and-evidence-retrieval](https://help.swif.ai/en/articles/9341271-public-apis-device-and-evidence-retrieval) ### Secrets Required secrets: * `swif`: required values `SWIF_API_KEY`. ### Input fields **base_url** `string | null` Swif API base URL. Defaults to [https://api.swifteam.com](https://api.swifteam.com) (global tenants). Use [https://api.eu.swifteam.com](https://api.eu.swifteam.com) for EU tenants. Default: `null`. **limit** `integer | null` Maximum number of records to return. Swif defaults to 10. Default: `null`. **offset** `integer | null` Number of records to skip. Swif defaults to 0. Default: `null`. **q** `string | null` Search query to filter employees. Default: `null`. **teamId** `string | null` Only return employees whose primary team is this team (24-character hexadecimal team ID). Default: `null`. ## List script reports Action ID: `tools.swif.list_script_reports` Search and filter stored results of scripts and osquery commands run on managed devices, for threat hunting and fleet-wide evidence collection. Each report contains the command or osquery SQL, the raw response, device, owner, team, status, and timestamps. Reports are retained for up to 90 days. Calls GET /restful/organization/api/v1/script-reports. Reference: [https://help.swif.ai/en/articles/14188336-public-apis-fetch-script-execution-reports](https://help.swif.ai/en/articles/14188336-public-apis-fetch-script-execution-reports) ### Secrets Required secrets: * `swif`: required values `SWIF_API_KEY`. ### Input fields **base_url** `string | null` Swif API base URL. Defaults to [https://api.swifteam.com](https://api.swifteam.com) (global tenants). Use [https://api.eu.swifteam.com](https://api.eu.swifteam.com) for EU tenants. Default: `null`. **collectedAtFrom** `string | null` ISO 8601 lower bound on collectedAt. Use the last collectedAt seen to poll for new reports. Default: `null`. **collectedAtTo** `string | null` ISO 8601 upper bound on collectedAt. Default: `null`. **command** `string | null` Case-insensitive partial match on the raw command, script, or osquery SQL text. Default: `null`. **commandId** `string | null` Case-insensitive partial match on command execution ID. Default: `null`. **commandName** `string | null` Case-insensitive partial match on command display name. Default: `null`. **commandTemplateId** `string | null` Case-insensitive partial match on command template ID, for example an osquery command template. Default: `null`. **commandType** `string | null` Case-insensitive partial match on command type, for example SCRIPT. Default: `null`. **completedAtFrom** `string | null` ISO 8601 lower bound on completedAt. Default: `null`. **completedAtTo** `string | null` ISO 8601 upper bound on completedAt. Default: `null`. **deviceId** `string | null` Exact match on Swif device ID (24-character MongoID). Default: `null`. **deviceName** `string | null` Case-insensitive partial match on device name. Default: `null`. **limit** `integer | null` Page size. Values of 0 or less default to 20; the maximum is 200. Default: `null`. **mdmDeviceId** `string | null` Case-insensitive partial match on MDM device ID. Default: `null`. **offset** `integer | null` Number of records to skip. Negative values are treated as 0. Default: `null`. **ownerEmail** `string | null` Case-insensitive partial match on device owner email. Default: `null`. **ownerId** `string | null` Exact match on device owner ID (24-character MongoID). Default: `null`. **ownerName** `string | null` Case-insensitive partial match on device owner name. Default: `null`. **response** `string | null` Case-insensitive partial match on the raw command output, for example an indicator such as a file hash, process name, or extension ID. Default: `null`. **search** `string | null` Case-insensitive keyword search across team name, device, owner, serial number, command ID, template, name, type, command text, and response. Default: `null`. **serialNumber** `string | null` Case-insensitive partial match on device serial number. Default: `null`. **startedAtFrom** `string | null` ISO 8601 lower bound on startedAt. Default: `null`. **startedAtTo** `string | null` ISO 8601 upper bound on startedAt. Default: `null`. **status** `integer | null` Exact match on the integer execution status code. Default: `null`. **teamId** `string | null` Exact match on team ID (24-character MongoID). Default: `null`. ## List teams Action ID: `tools.swif.list_teams` List the organization's active teams, sorted by name. Use team IDs to scope device, employee, and script report queries. Calls GET /restful/organization/teams. Reference: [https://help.swif.ai/en/articles/9341271-public-apis-device-and-evidence-retrieval](https://help.swif.ai/en/articles/9341271-public-apis-device-and-evidence-retrieval) ### Secrets Required secrets: * `swif`: required values `SWIF_API_KEY`. ### Input fields **base_url** `string | null` Swif API base URL. Defaults to [https://api.swifteam.com](https://api.swifteam.com) (global tenants). Use [https://api.eu.swifteam.com](https://api.eu.swifteam.com) for EU tenants. Default: `null`. ## Set device extension attributes Action ID: `tools.swif.set_device_extension_attributes` Set, update, or clear custom extension attributes on one or more devices, for example to tag a compromised device so a smart device group applies a response policy. A non-empty value sets or updates the attribute; an empty string or null value deletes it. Calls POST /restful/organization/deviceExtensionAttributes. Reference: [https://help.swif.ai/en/articles/13172920-public-apis-how-to-edit-device-extension-attributes](https://help.swif.ai/en/articles/13172920-public-apis-how-to-edit-device-extension-attributes) ### Secrets Required secrets: * `swif`: required values `SWIF_API_KEY`. ### Input fields **items** `array[object]` *required* Devices and attributes to set. Each item has a deviceId and an attributes list of objects with key and value, for example \[\{"deviceId": "\", "attributes": \[\{"key": "risk", "value": "high"}]}]. Keys must match an extension attribute definition in Swif. **base_url** `string | null` Swif API base URL. Defaults to [https://api.swifteam.com](https://api.swifteam.com) (global tenants). Use [https://api.eu.swifteam.com](https://api.eu.swifteam.com) for EU tenants. Default: `null`. **ids** `string | null` Swif device ID query parameter, as shown in Swif's request examples. Default: `null`. # Tavily Source: https://docs.tracecat.com/tools/tavily Reference for the Tracecat Tavily integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Search the web Action ID: `tools.tavily.web_search` Search the web with Tavily for a given search query. Reference: [https://docs.tavily.com/documentation/api-reference/endpoint/search](https://docs.tavily.com/documentation/api-reference/endpoint/search) ### Secrets Required secrets: * `tavily`: required values `TAVILY_API_KEY`. ### Input fields **query** `string` *required* Search query to execute with Tavily. **search_depth** `string` *required* Depth of the search. Allowed values: `basic`, `advanced`. **time_range** `string` *required* Time range back from the current date to filter results. Allowed values: `day`, `week`, `month`, `year`. **topic** `string` *required* Category of the search. Allowed values: `general`, `news`. # Tenable Security Center Source: https://docs.tracecat.com/tools/tenable_sc Reference for the Tracecat Tenable Security Center integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Create active scan Action ID: `tools.tenable_sc.create_active_scan` Create a Tenable Security Center scan using an existing policy and set of assets or targets. Reference: [https://docs.tenable.com/security-center/api/Scan.htm](https://docs.tenable.com/security-center/api/Scan.htm) ### Secrets Required secrets: * `tenable_sc`: required values `TENABLE_SC_ACCESS_KEY`, `TENABLE_SC_SECRET_KEY`. ### Input fields **name** `string` *required* Name of the scan to create. **repository_id** `integer` *required* Repository ID targeted by the scan. **asset_ids** `array[integer]` Asset object IDs that the scan should target. Default: `[]`. **base_url** `string | null` Tenable Security Center base URL (e.g. [https://security-center.example.com](https://security-center.example.com)). Default: `null`. **credentials** `array[object]` Credential objects to use for authenticated scanning. Default: `[]`. **description** `string | null` Optional scan description shown in Tenable Security Center. Default: `null`. **ip_list** `string | null` Comma-separated list of additional targets/IP ranges. Default: `null`. **policy_id** `integer | null` Policy ID to associate with the scan (required for policy scans). Default: `null`. **scan_type** `string` Scan type (e.g. policy, discovery, agent). Default: `"policy"`. **verify_ssl** `boolean` Whether to verify TLS certificates when calling the API. Default: `true`. ## Run analysis query Action ID: `tools.tenable_sc.run_analysis_query` Execute a Tenable Security Center analysis query (e.g. vuln details for a scan). Reference: [https://docs.tenable.com/security-center/api/Analysis.htm](https://docs.tenable.com/security-center/api/Analysis.htm) ### Secrets Required secrets: * `tenable_sc`: required values `TENABLE_SC_ACCESS_KEY`, `TENABLE_SC_SECRET_KEY`. ### Input fields **scan_id** `integer` *required* ID of the scan whose results the query should evaluate. **analysis_type** `string` Analysis type to pass to the Analysis API. Default: `"vuln"`. **base_url** `string | null` Tenable Security Center base URL (e.g. [https://security-center.example.com](https://security-center.example.com)). Default: `null`. **end_offset** `integer` Ending offset for pagination. Default: `100`. **query** `object` Tenable Security Center analysis query block (tool, type, filters, etc.). Default: `{ "tool": "vulndetails", "type": "vuln" }`. **sort_dir** `string` Sort direction for the results. Default: `"desc"`. **sort_field** `string` Field to sort results by. Default: `"severity"`. **source_type** `string` Result source type (e.g. individual, cumulative, lce). Default: `"individual"`. **start_offset** `integer` Starting offset for pagination. Default: `0`. **verify_ssl** `boolean` Whether to verify TLS certificates when calling the API. Default: `true`. **view** `string` View applied to the result set (e.g. all, exploitable, accepted). Default: `"all"`. # Terraform Cloud Source: https://docs.tracecat.com/tools/terraform Reference for the Tracecat Terraform Cloud integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Apply run Action ID: `tools.terraform.apply_run` Apply a planned Terraform Cloud run to execute infrastructure changes. Reference: [https://developer.hashicorp.com/terraform/cloud-docs/api-docs/run](https://developer.hashicorp.com/terraform/cloud-docs/api-docs/run) ### Secrets Required secrets: * `terraform`: required values `TERRAFORM_API_TOKEN`. ### Input fields **run_id** `string` *required* The ID of the run to apply. **comment** `string | null` Optional comment explaining why the run is being applied. Default: `null`. ## Create workspace variable Action ID: `tools.terraform.create_workspace_variable` Create a new variable in a Terraform Cloud workspace. Reference: [https://developer.hashicorp.com/terraform/cloud-docs/api-docs/workspace-variables](https://developer.hashicorp.com/terraform/cloud-docs/api-docs/workspace-variables) ### Secrets Required secrets: * `terraform`: required values `TERRAFORM_API_TOKEN`. ### Input fields **key** `string` *required* The name of the variable. **value** `string` *required* The value of the variable. **workspace_id** `string` *required* The ID of the workspace to create the variable in. **category** `string` Whether this is a Terraform variable or environment variable. Default: `"terraform"`. Allowed values: `terraform`, `env`. **hcl** `boolean` Whether the value is in HCL format. Default: `false`. **sensitive** `boolean` Whether the value is sensitive and should be hidden in the UI. Default: `false`. ## Get run details Action ID: `tools.terraform.get_run_details` Get details for a specific Terraform Cloud run. Reference: [https://developer.hashicorp.com/terraform/cloud-docs/api-docs/run](https://developer.hashicorp.com/terraform/cloud-docs/api-docs/run) ### Secrets Required secrets: * `terraform`: required values `TERRAFORM_API_TOKEN`. ### Input fields **run_id** `string` *required* The ID of the run to get details for. ## Get workspace details Action ID: `tools.terraform.get_workspace_details` Get details for a workspace by ID or by organization and workspace name. Reference: [https://developer.hashicorp.com/terraform/cloud-docs/api-docs/workspaces](https://developer.hashicorp.com/terraform/cloud-docs/api-docs/workspaces) ### Secrets Required secrets: * `terraform`: required values `TERRAFORM_API_TOKEN`. ### Input fields **organization** `string | null` The organization name. Required if workspace_id is not provided. Default: `null`. **workspace_id** `string | null` The workspace ID. If provided, organization and workspace_name are ignored. Default: `null`. **workspace_name** `string | null` The workspace name. Required if workspace_id is not provided. Default: `null`. ## List projects Action ID: `tools.terraform.list_projects` List all projects in a Terraform Cloud organization. Reference: [https://developer.hashicorp.com/terraform/cloud-docs/api-docs/projects](https://developer.hashicorp.com/terraform/cloud-docs/api-docs/projects) ### Secrets Required secrets: * `terraform`: required values `TERRAFORM_API_TOKEN`. ### Input fields **organization** `string` *required* The name of the Terraform Cloud organization. **page_number** `integer` The page number to return. Default: `1`. **page_size** `integer` The number of projects to return per page. Default: `20`. ## List runs Action ID: `tools.terraform.list_runs` List all runs for a Terraform Cloud workspace. Reference: [https://developer.hashicorp.com/terraform/cloud-docs/api-docs/run](https://developer.hashicorp.com/terraform/cloud-docs/api-docs/run) ### Secrets Required secrets: * `terraform`: required values `TERRAFORM_API_TOKEN`. ### Input fields **workspace_id** `string` *required* The ID of the workspace to list runs for. **page_number** `integer` The page number to return. Default: `1`. **page_size** `integer` The number of runs to return per page. Default: `20`. ## List workspace variables Action ID: `tools.terraform.list_workspace_variables` List all variables configured for a Terraform Cloud workspace. Reference: [https://developer.hashicorp.com/terraform/cloud-docs/api-docs/workspace-variables](https://developer.hashicorp.com/terraform/cloud-docs/api-docs/workspace-variables) ### Secrets Required secrets: * `terraform`: required values `TERRAFORM_API_TOKEN`. ### Input fields **workspace_id** `string` *required* The ID of the workspace to list variables for. ## List workspaces Action ID: `tools.terraform.list_workspaces` List all workspaces in a Terraform Cloud organization, optionally filtered by project. Reference: [https://developer.hashicorp.com/terraform/cloud-docs/api-docs/workspaces](https://developer.hashicorp.com/terraform/cloud-docs/api-docs/workspaces) ### Secrets Required secrets: * `terraform`: required values `TERRAFORM_API_TOKEN`. ### Input fields **organization** `string` *required* The name of the Terraform Cloud organization. **page_number** `integer` The page number to return. Default: `1`. **page_size** `integer` The number of workspaces to return per page. Default: `20`. **project_id** `string | null` Optional project ID to filter workspaces by project. Default: `null`. ## Plan run Action ID: `tools.terraform.plan_run` Create a plan-only run in Terraform Cloud to preview infrastructure changes. Reference: [https://developer.hashicorp.com/terraform/cloud-docs/api-docs/run](https://developer.hashicorp.com/terraform/cloud-docs/api-docs/run) ### Secrets Required secrets: * `terraform`: required values `TERRAFORM_API_TOKEN`. ### Input fields **workspace_id** `string` *required* The ID of the workspace to create the plan run for. **message** `string | null` Optional message to describe the purpose of the run. Default: `null`. ## Refresh state Action ID: `tools.terraform.refresh_state` Create a refresh-only run to update Terraform state with real infrastructure. Reference: [https://developer.hashicorp.com/terraform/cloud-docs/api-docs/run](https://developer.hashicorp.com/terraform/cloud-docs/api-docs/run) ### Secrets Required secrets: * `terraform`: required values `TERRAFORM_API_TOKEN`. ### Input fields **workspace_id** `string` *required* The ID of the workspace to refresh state for. **message** `string | null` Optional message to describe the purpose of the refresh. Default: `null`. ## Update workspace variable Action ID: `tools.terraform.update_workspace_variable` Update an existing variable in a Terraform Cloud workspace. Reference: [https://developer.hashicorp.com/terraform/cloud-docs/api-docs/workspace-variables](https://developer.hashicorp.com/terraform/cloud-docs/api-docs/workspace-variables) ### Secrets Required secrets: * `terraform`: required values `TERRAFORM_API_TOKEN`. ### Input fields **variable_id** `string` *required* The ID of the variable to update. **workspace_id** `string` *required* The ID of the workspace containing the variable. **hcl** `boolean | null` Whether the value is in HCL format. Default: `null`. **key** `string | null` The name of the variable. Only required if changing the key. Default: `null`. **sensitive** `boolean | null` Whether the value is sensitive. Default: `null`. **value** `string | null` The value of the variable. Only required if changing the value. Default: `null`. # ThreatFox Source: https://docs.tracecat.com/tools/threatfox Reference for the Tracecat ThreatFox integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Get IOC Action ID: `tools.threatfox.get_ioc` Get a ThreatFox indicator by IOC ID. Calls POST /api/v1/ directly with query ioc. Reference: [https://threatfox.abuse.ch/api/#query-id](https://threatfox.abuse.ch/api/#query-id) ### Secrets Required secrets: * `abusech`: required values `ABUSECH_API_KEY`. ### Input fields **ioc_id** `string` *required* ThreatFox IOC ID. **base_url** `string | null` Base URL of the ThreatFox API. Default: `null`. ## List IOC types Action ID: `tools.threatfox.list_ioc_types` List IOC and threat-type combinations. Calls POST /api/v1/ directly with query types. Reference: [https://threatfox.abuse.ch/api/#types](https://threatfox.abuse.ch/api/#types) ### Secrets Required secrets: * `abusech`: required values `ABUSECH_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the ThreatFox API. Default: `null`. ## List malware families Action ID: `tools.threatfox.list_malware_families` List malware families. Calls POST /api/v1/ directly with query malware_list. Reference: [https://threatfox.abuse.ch/api/#malware-list](https://threatfox.abuse.ch/api/#malware-list) ### Secrets Required secrets: * `abusech`: required values `ABUSECH_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the ThreatFox API. Default: `null`. ## List recent IOCs Action ID: `tools.threatfox.list_recent_iocs` List recent ThreatFox indicators. Calls POST /api/v1/ directly with query get_iocs. Reference: [https://threatfox.abuse.ch/api/#recent-iocs](https://threatfox.abuse.ch/api/#recent-iocs) ### Secrets Required secrets: * `abusech`: required values `ABUSECH_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the ThreatFox API. Default: `null`. **days** `integer | null` Number of days to filter IOCs by first_seen. ThreatFox allows 1 through 7 and defaults to 3. Default: `3`. ## List tags Action ID: `tools.threatfox.list_tags` List tags. Calls POST /api/v1/ directly with query tag_list. Reference: [https://threatfox.abuse.ch/api/#tag-list](https://threatfox.abuse.ch/api/#tag-list) ### Secrets Required secrets: * `abusech`: required values `ABUSECH_API_KEY`. ### Input fields **base_url** `string | null` Base URL of the ThreatFox API. Default: `null`. ## Lookup IOC Action ID: `tools.threatfox.lookup_ioc` Look up an indicator. Calls POST /api/v1/ directly with query search_ioc. Reference: [https://threatfox.abuse.ch/api/#search-ioc](https://threatfox.abuse.ch/api/#search-ioc) ### Secrets Required secrets: * `abusech`: required values `ABUSECH_API_KEY`. ### Input fields **ioc** `string` *required* IOC value to search, such as a URL, domain, IP, IP:port, or hash. **base_url** `string | null` Base URL of the ThreatFox API. Default: `null`. **exact_match** `boolean | null` Search for the exact IOC instead of a wildcard search. Default: false (wildcard search). Default: `null`. ## Query malware family Action ID: `tools.threatfox.query_malware_family` Query indicators by malware family. Calls POST /api/v1/ directly with query malwareinfo. Reference: [https://threatfox.abuse.ch/api/#malware](https://threatfox.abuse.ch/api/#malware) ### Secrets Required secrets: * `abusech`: required values `ABUSECH_API_KEY`. ### Input fields **malware** `string` *required* ThreatFox malware family or Malpedia family name. **base_url** `string | null` Base URL of the ThreatFox API. Default: `null`. **limit** `integer | null` Maximum number of results. ThreatFox defaults to 100 and allows up to 1000. Default: `100`. ## Query tag Action ID: `tools.threatfox.query_tag` Query indicators by tag. Calls POST /api/v1/ directly with query taginfo. Reference: [https://threatfox.abuse.ch/api/#taginfo](https://threatfox.abuse.ch/api/#taginfo) ### Secrets Required secrets: * `abusech`: required values `ABUSECH_API_KEY`. ### Input fields **tag** `string` *required* ThreatFox tag to query. **base_url** `string | null` Base URL of the ThreatFox API. Default: `null`. **limit** `integer | null` Maximum number of results. ThreatFox defaults to 100 and allows up to 1000. Default: `100`. ## Search file hash Action ID: `tools.threatfox.search_file_hash` Search indicators by file hash. Calls POST /api/v1/ directly with query search_hash. Reference: [https://threatfox.abuse.ch/api/#search-by-hash](https://threatfox.abuse.ch/api/#search-by-hash) ### Secrets Required secrets: * `abusech`: required values `ABUSECH_API_KEY`. ### Input fields **file_hash** `string` *required* MD5 or SHA256 file hash. **base_url** `string | null` Base URL of the ThreatFox API. Default: `null`. # Anomali ThreatStream Source: https://docs.tracecat.com/tools/threatstream Reference for the Tracecat Anomali ThreatStream integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Lookup domain Action ID: `tools.threatstream.lookup_domain` Search Anomali ThreatStream for reputation of a domain. ### Secrets Required secrets: * `threatstream`: required values `ANOMALI_USERNAME`, `ANOMALI_API_KEY`. ### Input fields **domain** `string` *required* Domain to lookup. ## Lookup email Action ID: `tools.threatstream.lookup_email` Search Anomali ThreatStream for reputation of an email address. ### Secrets Required secrets: * `threatstream`: required values `ANOMALI_USERNAME`, `ANOMALI_API_KEY`. ### Input fields **email** `string` *required* Email address to lookup. ## Lookup File Hash Action ID: `tools.threatstream.lookup_file_hash` Search Anomali ThreatStream for reputation of a file hash. ### Secrets Required secrets: * `threatstream`: required values `ANOMALI_USERNAME`, `ANOMALI_API_KEY`. ### Input fields **file_hash** `string` *required* File hash to lookup. ## Lookup IP address Action ID: `tools.threatstream.lookup_ip_address` Search Anomali ThreatStream for reputation of an IP address. ### Secrets Required secrets: * `threatstream`: required values `ANOMALI_USERNAME`, `ANOMALI_API_KEY`. ### Input fields **ip_address** `string` *required* IP address to lookup. ## Lookup URL Action ID: `tools.threatstream.lookup_url` Search Anomali ThreatStream for reputation of an URL. ### Secrets Required secrets: * `threatstream`: required values `ANOMALI_USERNAME`, `ANOMALI_API_KEY`. ### Input fields **url** `string` *required* URL to lookup. # Trend Micro (Vision One) Source: https://docs.tracecat.com/tools/trend_vision_one Reference for the Tracecat Trend Micro (Vision One) integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Add alert note Action ID: `tools.trend_vision_one.add_alert_note` Add alert note. Adds a note to the specified Workbench alert. Calls POST /v3.0/workbench/alerts/\{alertId}/notes. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Workbench-notes/paths/~~1v3.0~~1workbench~~1alerts~~1\{alertId}\~1notes/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Workbench-notes/paths/~1v3.0~1workbench~1alerts~1\{alertId}~1notes/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **alertId** `string` *required* Unique alphanumeric string that identifies a Workbench alert. **content** `string` *required* Content of the note. Maximum 500,000 characters. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Add case attachment Action ID: `tools.trend_vision_one.add_case_attachment` Add an attachment. Allows supported ticketing systems to add attachments to a case in Case Management. Calls POST /v3.0/caseManagement/cases/\{id}/attachments. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Case/paths/~~1v3.0~~1caseManagement~~1cases~~1\{id}\~1attachments/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Case/paths/~1v3.0~1caseManagement~1cases~1\{id}~1attachments/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **file** `string` *required* Base64-encoded file content to upload. **filename** `string` *required* Name of the uploaded file, including its extension. **id** `string` *required* The case ID. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **externalAttachmentId** `string | null` The attachment ID in the third-party ticketing system Default: `null`. ## Add case content Action ID: `tools.trend_vision_one.add_case_content` Add content to a case. Allows supported ticketing systems to add content to a case in Case Management. Calls POST /v3.0/caseManagement/cases/\{id}/contents. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Case/paths/~~1v3.0~~1caseManagement~~1cases~~1\{id}\~1contents/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Case/paths/~1v3.0~1caseManagement~1cases~1\{id}~1contents/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **id** `string` *required* The case ID. **payload** `object` *required* API-native JSON request body. Documented fields for POST /v3.0/caseManagement/cases/\{id}/contents: attachmentIds, comment (required). **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Add to block list Action ID: `tools.trend_vision_one.add_to_block_list` Add to block list. Adds an email address, file SHA-1, domain, IP address, or URL to the Suspicious Object List, which blocks the objects on subsequent detections. Calls POST /v3.0/response/suspiciousObjects. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Suspicious-Objects/paths/~~1v3.0~~1response\~1suspiciousObjects/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Suspicious-Objects/paths/~1v3.0~1response~1suspiciousObjects/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **objects** `array[object]` *required* JSON array sent as the request body. Documented item fields: exactly one of url | domain | fileSha1 | fileSha256 | senderMailAddress | ip; description. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Add to Exception List Action ID: `tools.trend_vision_one.add_suspicious_object_exceptions` Add to Exception List. Adds domains, file SHA-1, file SHA-256, IP addresses, sender addresses, or URLs to the Exception List. Calls POST /v3.0/threatintel/suspiciousObjectExceptions. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Suspicious-Object-Exception-List/paths/~~1v3.0~~1threatintel\~1suspiciousObjectExceptions/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Suspicious-Object-Exception-List/paths/~1v3.0~1threatintel~1suspiciousObjectExceptions/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **objects** `array[object]` *required* JSON array sent as the request body. Documented item fields: exactly one of url | domain | ip | senderMailAddress | fileSha1 | fileSha256; description. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Add to Suspicious Object List Action ID: `tools.trend_vision_one.add_suspicious_objects` Add to Suspicious Object List. Adds information about domains, file SHA-1, file SHA-256, IP addresses, email addresses, or URLs to the Suspicious Object List. Calls POST /v3.0/threatintel/suspiciousObjects. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Suspicious-Object-List/paths/~~1v3.0~~1threatintel\~1suspiciousObjects/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Suspicious-Object-List/paths/~1v3.0~1threatintel~1suspiciousObjects/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **objects** `array[object]` *required* JSON array sent as the request body. Documented item fields: exactly one of url | domain | senderMailAddress | ip | fileSha1 | fileSha256; description, scanAction, riskLevel, daysToExpiration. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Cancel response tasks Action ID: `tools.trend_vision_one.cancel_response_tasks` Cancel response task. Stops a currently running response task. Note: Only the Scan for Malware task is currently supported. Calls POST /v3.0/response/tasks/cancel. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Common/paths/~~1v3.0~~1response~~1tasks~~1cancel/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Common/paths/~1v3.0~1response~1tasks~1cancel/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **tasks** `array[object]` *required* JSON array sent as the request body. Documented item fields: id (required). **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Check API connectivity Action ID: `tools.trend_vision_one.check_connectivity` Check availability of API service. Checks the connection to the API service and verifies if your authentication token is valid. Calls GET /v3.0/healthcheck/connectivity. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Connectivity/paths/~~1v3.0~~1healthcheck\~1connectivity/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Connectivity/paths/~1v3.0~1healthcheck~1connectivity/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Close case risk events Action ID: `tools.trend_vision_one.close_case_risk_events` Close risk events related to case. Sets the status of all the risk events associated to a case ID to any of the following statuses. Calls POST /v3.0/caseManagement/cases/\{id}/riskIndicatorEvents/close. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Case/paths/~~1v3.0~~1caseManagement~~1cases~~1\{id}~~1riskIndicatorEvents~~1close/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Case/paths/~1v3.0~1caseManagement~1cases~1\{id}~1riskIndicatorEvents~1close/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **id** `string` *required* The ID of the case. **status** `string` *required* The new status of the case's risk events. Supported values: remediated, dismissed, accepted. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Collect file from endpoints Action ID: `tools.trend_vision_one.collect_file` Collect file. Collects a file from one or more endpoints and then sends the files to Trend Vision One in a password-protected archive Note: You can specify either the computer name ("endpointName") or the GUID of the installed agent program ("agentGuid"). Calls POST /v3.0/response/endpoints/collectFile. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Endpoint/paths/~~1v3.0~~1response~~1endpoints~~1collectFile/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Endpoint/paths/~1v3.0~1response~1endpoints~1collectFile/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **endpoints** `array[object]` *required* JSON array sent as the request body. Documented item fields: exactly one of agentGuid | endpointName; description, filePath (required). **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Configure isolation traffic exceptions Action ID: `tools.trend_vision_one.set_isolation_traffic_exceptions` Configure network traffic exceptions. Configures the exceptions that allow network traffic to and from isolated endpoints. Note: You can specify up to 50 inbound and 50 outbound exceptions. Calls POST /v3.0/response/isolatedTrafficExceptions/register. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Endpoint/paths/~~1v3.0~~1response~~1isolatedTrafficExceptions~~1register/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Endpoint/paths/~1v3.0~1response~1isolatedTrafficExceptions~1register/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **exceptions** `array[object]` *required* JSON array sent as the request body. Documented item fields: direction (required), protocol, ip (required), port. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Create case Action ID: `tools.trend_vision_one.create_case` Create a case. Allows supported ticketing systems to create new cases in Case Management. Calls POST /v3.0/caseManagement/cases. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Case/paths/~~1v3.0~~1caseManagement\~1cases/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Case/paths/~1v3.0~1caseManagement~1cases/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **payload** `object` *required* API-native JSON request body. Documented fields for POST /v3.0/caseManagement/cases: name (required), priority (required: P0, P1, P2, P3), status (required: Open, In-progress), type (General), description, owners (account IDs from GET /v3.0/iam/accounts), severity (Critical, High, Medium, Low, Information), mailReceivers, associatedItemIds, externalTicketAlias, externalTicketId, findings, relatedCaseIds, holder, externalTicketCreatedDateTime. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Create detection model exceptions Action ID: `tools.trend_vision_one.create_detection_exceptions` Create an exception. Creates a custom exception. Calls POST /v3.0/dmm/exceptions. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Exceptions/paths/~~1v3.0~~1dmm\~1exceptions/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Exceptions/paths/~1v3.0~1dmm~1exceptions/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **exceptions** `array[object]` *required* JSON array sent as the request body. Documented item fields: name (required), description, targetEntities (endpointGUID, endpointHostName, endpointIp, src, dst, samUser, suser, mailbox, mailFromAddress), event (category, id, subId), criteria (required). Maximum 10 items per request. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Delete alert notes Action ID: `tools.trend_vision_one.delete_alert_notes` Delete alert notes. Deletes the specified notes from a Workbench alert. Calls POST /v3.0/workbench/alerts/\{alertId}/notes/delete. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Workbench-notes/paths/~~1v3.0~~1workbench~~1alerts~~1\{alertId}~~1notes~~1delete/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Workbench-notes/paths/~1v3.0~1workbench~1alerts~1\{alertId}~1notes~1delete/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **alertId** `string` *required* Unique alphanumeric string that identifies a Workbench alert. **notes** `array[object]` *required* JSON array sent as the request body. Documented item fields: id (required). **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Delete case attachment Action ID: `tools.trend_vision_one.delete_case_attachment` Delete an attachment. Allows supported ticketing systems to delete the specified attachment from a case in Case Management. Calls DELETE /v3.0/caseManagement/cases/\{id}/attachments/\{attachmentId}. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Case/paths/~~1v3.0~~1caseManagement~~1cases~~1\{id}~~1attachments~~1\{attachmentId}/delete](https://automation.trendmicro.com/xdr/api-v3/#tag/Case/paths/~1v3.0~1caseManagement~1cases~1\{id}~1attachments~1\{attachmentId}/delete) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **attachmentId** `string` *required* The attachment ID. **id** `string` *required* The case ID. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Delete case content Action ID: `tools.trend_vision_one.delete_case_content` Delete case content using content ID. Allows supported ticketing systems to delete the specified item from a case in Case Management. Calls DELETE /v3.0/caseManagement/cases/\{id}/contents/\{contentId}. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Case/paths/~~1v3.0~~1caseManagement~~1cases~~1\{id}~~1contents~~1\{contentId}/delete](https://automation.trendmicro.com/xdr/api-v3/#tag/Case/paths/~1v3.0~1caseManagement~1cases~1\{id}~1contents~1\{contentId}/delete) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **contentId** `string` *required* The content ID. **id** `string` *required* The case ID. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Delete detection model exceptions Action ID: `tools.trend_vision_one.delete_detection_exceptions` Delete a custom exception. Deletes the specified custom exception. Calls POST /v3.0/dmm/exceptions/delete. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Exceptions/paths/~~1v3.0~~1dmm~~1exceptions~~1delete/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Exceptions/paths/~1v3.0~1dmm~1exceptions~1delete/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **exceptions** `array[object]` *required* JSON array sent as the request body. Documented item fields: id (required). Maximum 10 items per request. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Delete email messages Action ID: `tools.trend_vision_one.delete_emails` Delete email message. Deletes a message from one or more mailboxes. Calls POST /v3.0/response/emails/delete. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Email/paths/~~1v3.0~~1response~~1emails~~1delete/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Email/paths/~1v3.0~1response~1emails~1delete/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **emails** `array[object]` *required* JSON array sent as the request body. Documented item fields: exactly one of messageId | uniqueId; description, mailBox. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Disable user accounts Action ID: `tools.trend_vision_one.disable_user_accounts` Disable user account. Signs the user out of all active application and browser sessions, and prevents the user from signing in any new session. Calls POST /v3.0/response/domainAccounts/disable. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Domain-Account/paths/~~1v3.0~~1response~~1domainAccounts~~1disable/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Domain-Account/paths/~1v3.0~1response~1domainAccounts~1disable/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **accounts** `array[object]` *required* JSON array sent as the request body. Documented item fields: accountName (required), description. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Download case attachment Action ID: `tools.trend_vision_one.download_case_attachment` Download attachment by attachment ID. Allows supported ticketing systems to retrieve the specified attachment from a case in Case Management. Calls GET /v3.0/caseManagement/cases/\{id}/attachments/\{attachmentId}. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Case/paths/~~1v3.0~~1caseManagement~~1cases~~1\{id}~~1attachments~~1\{attachmentId}/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Case/paths/~1v3.0~1caseManagement~1cases~1\{id}~1attachments~1\{attachmentId}/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **attachmentId** `string` *required* The attachment ID. **id** `string` *required* The case ID. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Download sandbox analysis report Action ID: `tools.trend_vision_one.download_analysis_report` Download analysis results. Downloads the analysis results of the specified object as PDF. Calls GET /v3.0/sandbox/analysisResults/\{id}/report. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Sandbox-Analysis/paths/~~1v3.0~~1sandbox~~1analysisResults~~1\{id}\~1report/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Sandbox-Analysis/paths/~1v3.0~1sandbox~1analysisResults~1\{id}~1report/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **id** `string` *required* Unique alphanumeric string that identifies the analysis results of a submission. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Enable user accounts Action ID: `tools.trend_vision_one.enable_user_accounts` Enable user account. Allows the user to sign in to new application and browser sessions. Calls POST /v3.0/response/domainAccounts/enable. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Domain-Account/paths/~~1v3.0~~1response~~1domainAccounts~~1enable/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Domain-Account/paths/~1v3.0~1response~1domainAccounts~1enable/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **accounts** `array[object]` *required* JSON array sent as the request body. Documented item fields: accountName (required), description. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Exclude endpoints from response actions Action ID: `tools.trend_vision_one.add_response_action_exclusions` Exclude endpoints from response actions. Configures exclusions to prevent specific response actions from affecting selected endpoints. Note: Each exclusion supports a maximum of 2000 endpoints. Calls POST /v3.0/response/endpointActionExceptions/register. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Endpoint/paths/~~1v3.0~~1response~~1endpointActionExceptions~~1register/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Endpoint/paths/~1v3.0~1response~1endpointActionExceptions~1register/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **exclusions** `array[object]` *required* JSON array sent as the request body. Documented item fields: action (required), endpoints (required). **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Export endpoints Action ID: `tools.trend_vision_one.export_endpoints` Export information about endpoints. Generates a CSV file with the information about your endpoints in Endpoint Inventory. The CSV file is compressed into a ZIP file for download. Calls POST /v3.0/endpointSecurity/endpoints/export. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Endpoint-Security/paths/~~1v3.0~~1endpointSecurity~~1endpoints~~1export/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Endpoint-Security/paths/~1v3.0~1endpointSecurity~1endpoints~1export/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **payload** `object` *required* API-native JSON request body. Documented fields for POST /v3.0/endpointSecurity/endpoints/export: filter, orderBy. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Force password reset Action ID: `tools.trend_vision_one.reset_user_account_passwords` Force password reset. Signs the user out of all active application and browser sessions, and forces the user to create a new password during the next sign-in attempt. Calls POST /v3.0/response/domainAccounts/resetPassword. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Domain-Account/paths/~~1v3.0~~1response~~1domainAccounts~~1resetPassword/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Domain-Account/paths/~1v3.0~1response~1domainAccounts~1resetPassword/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **accounts** `array[object]` *required* JSON array sent as the request body. Documented item fields: accountName (required), description. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Force sign out user accounts Action ID: `tools.trend_vision_one.sign_out_user_accounts` Force sign out. Signs the user out of all active application and browser sessions. Calls POST /v3.0/response/domainAccounts/signOut. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Domain-Account/paths/~~1v3.0~~1response~~1domainAccounts~~1signOut/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Domain-Account/paths/~1v3.0~1response~1domainAccounts~1signOut/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **accounts** `array[object]` *required* JSON array sent as the request body. Documented item fields: accountName (required), description. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Get alert note Action ID: `tools.trend_vision_one.get_alert_note` Get alert note. Displays the specified Workbench alert note. Calls GET /v3.0/workbench/alerts/\{alertId}/notes/\{id}. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Workbench-notes/paths/~~1v3.0~~1workbench~~1alerts~~1\{alertId}~~1notes~~1\{id}/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Workbench-notes/paths/~1v3.0~1workbench~1alerts~1\{alertId}~1notes~1\{id}/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **alertId** `string` *required* Unique alphanumeric string that identifies a Workbench alert. **id** `integer` *required* Numeric string that identifies a Workbench alert note. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Get case Action ID: `tools.trend_vision_one.get_case` Get case details. Allows supported ticketing systems to retrieve information about a specific case from Case Management. Calls GET /v3.0/caseManagement/cases/\{id}. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Case/paths/~~1v3.0~~1caseManagement~~1cases~~1\{id}/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Case/paths/~1v3.0~1caseManagement~1cases~1\{id}/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **id** `string` *required* Case ID. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Get case content Action ID: `tools.trend_vision_one.get_case_content` Get case item. Allows supported ticketing systems to retrieved the specified case item in Case Management. Calls GET /v3.0/caseManagement/cases/\{id}/contents/\{contentId}. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Case/paths/~~1v3.0~~1caseManagement~~1cases~~1\{id}~~1contents~~1\{contentId}/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Case/paths/~1v3.0~1caseManagement~1cases~1\{id}~1contents~1\{contentId}/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **contentId** `string` *required* The content ID. **id** `string` *required* The case ID. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Get custom intelligence report Action ID: `tools.trend_vision_one.get_intelligence_report` Download custom intelligence report. Downloads a custom intelligence report as a STIX Bundle. Calls GET /v3.0/threatintel/intelligenceReports/\{id}. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Intelligence-Reports/paths/~~1v3.0~~1threatintel~~1intelligenceReports~~1\{id}/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Intelligence-Reports/paths/~1v3.0~1threatintel~1intelligenceReports~1\{id}/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **id** `string` *required* The unique alphanumeric string that identifies a custom intelligence report. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Get detection model exception Action ID: `tools.trend_vision_one.get_detection_exception` Get a custom exception. Retrieves the specified custom exception. Calls GET /v3.0/dmm/exceptions/\{id}. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Exceptions/paths/~~1v3.0~~1dmm~~1exceptions~~1\{id}/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Exceptions/paths/~1v3.0~1dmm~1exceptions~1\{id}/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **id** `string` *required* The unique identifier of the exception. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Get device risk profile Action ID: `tools.trend_vision_one.get_device_risk_profile` Get device risk profile. Displays the risk profile of the specified device. Calls GET /v3.0/asrm/highRiskDevices/\{id}. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Device-Risk-Profile/paths/~~1v3.0~~1asrm~~1highRiskDevices~~1\{id}/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Device-Risk-Profile/paths/~1v3.0~1asrm~1highRiskDevices~1\{id}/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **id** `string` *required* The ID of the device on the Trend Vision One platform. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **riskyEventScore** `integer | null` The minimum risk score of the risk events this API endpoint returns. Provider default: 70. Default: `null`. ## Get endpoint Action ID: `tools.trend_vision_one.get_endpoint` Get endpoint details. Displays the detailed profile of the specified endpoint. Calls GET /v3.0/endpointSecurity/endpoints/\{id}. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Endpoint-Security/paths/~~1v3.0~~1endpointSecurity~~1endpoints~~1\{id}/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Endpoint-Security/paths/~1v3.0~1endpointSecurity~1endpoints~1\{id}/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **id** `string` *required* The ID of the endpoint on the Trend Vision One platform. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Get endpoint security task Action ID: `tools.trend_vision_one.get_endpoint_task` Get status of a task. Displays the status of the specified task. Calls GET /v3.0/endpointSecurity/tasks/\{id}. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Endpoint-Security/paths/~~1v3.0~~1endpointSecurity~~1tasks~~1\{id}/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Endpoint-Security/paths/~1v3.0~1endpointSecurity~1tasks~1\{id}/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **id** `string` *required* The ID of the task. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Get insight impact scope Action ID: `tools.trend_vision_one.get_insight_impact_scope` Get insight details (impact scope). Displays impact scope of the specified Workbench insight. Calls GET /v3.0/workbench/insights/\{id}/impactScopeEntities. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Insight/paths/~~1v3.0~~1workbench~~1insights~~1\{id}\~1impactScopeEntities/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Insight/paths/~1v3.0~1workbench~1insights~1\{id}~1impactScopeEntities/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **id** `string` *required* The Workbench insight ID. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **skipToken** `string | null` Pagination token from the skipToken query parameter of the nextLink returned by the previous page. Reuse the same filters when requesting the next page. Default: `null`. **top** `integer | null` The number of records displayed on a page. Allowed values: 50. Provider default: 50. Default: `null`. ## Get insight indicators Action ID: `tools.trend_vision_one.get_insight_indicators` Get insight details (indicators). Displays indicators of the specified Workbench insight. Calls GET /v3.0/workbench/insights/\{id}/indicators. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Insight/paths/~~1v3.0~~1workbench~~1insights~~1\{id}\~1indicators/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Insight/paths/~1v3.0~1workbench~1insights~1\{id}~1indicators/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **id** `string` *required* The Workbench insight ID. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **skipToken** `string | null` Pagination token from the skipToken query parameter of the nextLink returned by the previous page. Reuse the same filters when requesting the next page. Default: `null`. **top** `integer | null` The number of records displayed on a page. Allowed values: 50. Provider default: 50. Default: `null`. ## Get insight matched highlights Action ID: `tools.trend_vision_one.get_insight_matched_highlights` Get insight details (matched highlights). Displays the matched SAE filters and threat intelligence indicator patterns of the specified Workbench insight. Calls GET /v3.0/workbench/insights/\{id}/matchedHighlights. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Insight/paths/~~1v3.0~~1workbench~~1insights~~1\{id}\~1matchedHighlights/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Insight/paths/~1v3.0~1workbench~1insights~1\{id}~1matchedHighlights/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **id** `string` *required* The Workbench insight ID. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **skipToken** `string | null` Pagination token from the skipToken query parameter of the nextLink returned by the previous page. Reuse the same filters when requesting the next page. Default: `null`. **top** `integer | null` The number of records displayed on a page. Allowed values: 50. Provider default: 50. Default: `null`. ## Get response task Action ID: `tools.trend_vision_one.get_response_task` Download response task results. Retrieves an object containing the results of a response task in JSON format. Calls GET /v3.0/response/tasks/\{id}. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Common/paths/~~1v3.0~~1response~~1tasks~~1\{id}/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Common/paths/~1v3.0~1response~1tasks~1\{id}/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **id** `string` *required* Unique alphanumeric string that identifies a response task. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Get sandbox analysis result Action ID: `tools.trend_vision_one.get_analysis_result` Get analysis results. Displays the analysis results of the specified object. Calls GET /v3.0/sandbox/analysisResults/\{id}. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Sandbox-Analysis/paths/~~1v3.0~~1sandbox~~1analysisResults~~1\{id}/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Sandbox-Analysis/paths/~1v3.0~1sandbox~1analysisResults~1\{id}/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **id** `string` *required* Unique alphanumeric string that identifies the analysis results of a submission. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Get sandbox submission status Action ID: `tools.trend_vision_one.get_submission_status` Get submission status. Displays information about the specified submission. Calls GET /v3.0/sandbox/tasks/\{id}. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Sandbox-Analysis/paths/~~1v3.0~~1sandbox~~1tasks~~1\{id}/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Sandbox-Analysis/paths/~1v3.0~1sandbox~1tasks~1\{id}/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **id** `string` *required* Displays information about the specified submission. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Get sandbox submission usage Action ID: `tools.trend_vision_one.get_submission_usage` Get daily reserve. Retrieves the maximum number of samples your company can submit to the sandbox per day. Note: Samples marked as "Not analyzed" do not count towards the daily reserve. Calls GET /v3.0/sandbox/submissionUsage. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Sandbox-Analysis/paths/~~1v3.0~~1sandbox\~1submissionUsage/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Sandbox-Analysis/paths/~1v3.0~1sandbox~1submissionUsage/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Get sandbox suspicious objects Action ID: `tools.trend_vision_one.get_analysis_suspicious_objects` Download suspicious object list. Downloads the suspicious object list associated to the specified object. Calls GET /v3.0/sandbox/analysisResults/\{id}/suspiciousObjects. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Sandbox-Analysis/paths/~~1v3.0~~1sandbox~~1analysisResults~~1\{id}\~1suspiciousObjects/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Sandbox-Analysis/paths/~1v3.0~1sandbox~1analysisResults~1\{id}~1suspiciousObjects/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **id** `string` *required* Unique alphanumeric string that identifies the analysis results of a submission. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Get sweeping task results Action ID: `tools.trend_vision_one.get_sweeping_task_results` Get task results. Retrieves the results of a task. Calls GET /v3.0/threatintel/tasks/\{id}. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Intelligence-Reports/paths/~~1v3.0~~1threatintel~~1tasks~~1\{id}/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Intelligence-Reports/paths/~1v3.0~1threatintel~1tasks~1\{id}/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **id** `string` *required* id **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Get threat feed filter definition Action ID: `tools.trend_vision_one.get_feed_filter_definition` Retrieve supported filter keys and values for Trend Threat Intelligence Feed queries. Returns a list of supported filter keys and their corresponding values that can be used to construct filters in the `TMV1-Contextual-Filter` parameter of the `GET /v3.0/threatintel/feeds` API. These filters help tailor threat intelligence queries by allowing users to specify targeted subsets of data based on context such as geographical location and industry sector. Calls GET /v3.0/threatintel/feeds/filterDefinition. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Trend-Threat-Intelligence-Feed/paths/~~1v3.0~~1threatintel~~1feeds~~1filterDefinition/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Trend-Threat-Intelligence-Feed/paths/~1v3.0~1threatintel~1feeds~1filterDefinition/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Get user risk profile Action ID: `tools.trend_vision_one.get_user_risk_profile` Get user risk profile. Displays the risk profile of the specified user. Calls GET /v3.0/asrm/highRiskUsers/\{id}. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/User-Risk-Profile/paths/~~1v3.0~~1asrm~~1highRiskUsers~~1\{id}/get](https://automation.trendmicro.com/xdr/api-v3/#tag/User-Risk-Profile/paths/~1v3.0~1asrm~1highRiskUsers~1\{id}/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **id** `string` *required* The ID of a user on the Trend Vision One platform. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Get Workbench alert Action ID: `tools.trend_vision_one.get_alert` Get alert details. Displays information about the specified alert. Calls GET /v3.0/workbench/alerts/\{id}. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Workbench/paths/~~1v3.0~~1workbench~~1alerts~~1\{id}/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Workbench/paths/~1v3.0~1workbench~1alerts~1\{id}/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **id** `string` *required* The unique identifier of a Workbench alert. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Get Workbench insight Action ID: `tools.trend_vision_one.get_insight` Get insight details. Displays details about the specified Workbench insight. Calls GET /v3.0/workbench/insights/\{id}. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Insight/paths/~~1v3.0~~1workbench~~1insights~~1\{id}/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Insight/paths/~1v3.0~1workbench~1insights~1\{id}/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **id** `string` *required* The Workbench insight ID. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Isolate endpoints Action ID: `tools.trend_vision_one.isolate_endpoints` Isolate endpoints. Disconnects one or more endpoints from the network (but allows communication with the managing Trend Micro server product) Note: You can specify either the computer name ("endpointName") or the GUID of the installed agent program ("agentGuid"). Calls POST /v3.0/response/endpoints/isolate. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Endpoint/paths/~~1v3.0~~1response~~1endpoints~~1isolate/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Endpoint/paths/~1v3.0~1response~1endpoints~1isolate/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **endpoints** `array[object]` *required* JSON array sent as the request body. Documented item fields: exactly one of agentGuid | endpointName; description. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## List alert notes Action ID: `tools.trend_vision_one.list_alert_notes` Get alert notes. Displays the notes of the specified Workbench alert in a paginated list. Calls GET /v3.0/workbench/alerts/\{alertId}/notes. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Workbench-notes/paths/~~1v3.0~~1workbench~~1alerts~~1\{alertId}\~1notes/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Workbench-notes/paths/~1v3.0~1workbench~1alerts~1\{alertId}~1notes/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **alertId** `string` *required* Unique alphanumeric string that identifies a Workbench alert. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **dateTimeTarget** `string | null` Parameter that allows you to filter the retrieved Workbench alert notes. Allowed values: createdDateTime, lastUpdatedDateTime. Provider default: createdDateTime. Default: `null`. **endDateTime** `string | null` Timestamp in ISO 8601 format that indicates the end of the data retrieval time range. Provider default: Current date time. Default: `null`. **orderBy** `string | null` Parameter to be used for sorting records. Records are returned in descending order by default. To return records in ascending order, add a phrase "asc" after the parameter name. Sub-sorts can be specified by a comma-separated list of property names. Sortable fields are as follows. Provider default: createdDateTime desc. Default: `null`. **skipToken** `string | null` Pagination token from the skipToken query parameter of the nextLink returned by the previous page. Reuse the same filters when requesting the next page. Default: `null`. **startDateTime** `string | null` Timestamp in ISO 8601 format that indicates the start of the data retrieval time range. Provider default: 1970-01-01T00:00:00Z. Default: `null`. **tmv1_filter** `string | null` Filter for retrieving a subset of Workbench alert notes. Sent as the TMV1-Filter header. Default: `null`. **top** `integer | null` Number of records displayed on a page. Allowed values: 50, 100, 200. Provider default: 50. Default: `null`. ## List at-risk devices Action ID: `tools.trend_vision_one.list_high_risk_devices` Get at-risk devices list. Displays information about at-risk devices that match specified criteria in a paginated list. Calls GET /v3.0/asrm/highRiskDevices. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Device-Risk-Profile/paths/~~1v3.0~~1asrm\~1highRiskDevices/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Device-Risk-Profile/paths/~1v3.0~1asrm~1highRiskDevices/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **orderBy** `string | null` The field by which the results are sorted. Provider default: riskScore desc. Default: `null`. **skipToken** `string | null` Pagination token from the skipToken query parameter of the nextLink returned by the previous page. Reuse the same filters when requesting the next page. Default: `null`. **tmv1_filter** `string | null` Filter for retrieving a subset of the at-risk devices list. Supported fields: id, deviceName, ip, os, riskScore, lastLogonUser. Sent as the TMV1-Filter header. Default: `null`. **top** `integer | null` The number of records displayed on a page. Allowed values: 10, 50, 100, 200, 1000. Provider default: 100. Default: `null`. ## List at-risk users Action ID: `tools.trend_vision_one.list_high_risk_users` Get at-risk users list. Displays information about at-risk users that match specified criteria in a paginated list. Calls GET /v3.0/asrm/highRiskUsers. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/User-Risk-Profile/paths/~~1v3.0~~1asrm\~1highRiskUsers/get](https://automation.trendmicro.com/xdr/api-v3/#tag/User-Risk-Profile/paths/~1v3.0~1asrm~1highRiskUsers/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **orderBy** `string | null` The field by which the results are sorted. Provider default: riskScore desc. Default: `null`. **skipToken** `string | null` Pagination token from the skipToken query parameter of the nextLink returned by the previous page. Reuse the same filters when requesting the next page. Default: `null`. **tmv1_filter** `string | null` Filter for retrieving a subset of the at-risk users list. Supported fields: id, riskScore, userPrincipalName, userName. Sent as the TMV1-Filter header. Default: `null`. **top** `integer | null` The number of records displayed on a page. Allowed values: 10, 50, 100, 200, 1000. Provider default: 100. Default: `null`. ## List case contents Action ID: `tools.trend_vision_one.list_case_contents` Get case contents. Allows supported ticketing systems to retrieve the contents of the specified case in Case Management. Calls GET /v3.0/caseManagement/cases/\{id}/contents. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Case/paths/~~1v3.0~~1caseManagement~~1cases~~1\{id}\~1contents/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Case/paths/~1v3.0~1caseManagement~1cases~1\{id}~1contents/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **id** `string` *required* The case ID. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **dateTimeTarget** `string | null` A parameter that allows you to sort by either created date or updated date. Allowed values: createdDateTime, updatedDateTime. Provider default: createdDateTime. Default: `null`. **endDateTime** `string | null` The date and time of the end of data retrieval in ISO 8601 format. Provider default: Current date time. Default: `null`. **orderBy** `string | null` The fields by which the results are sorted. You can indicate multiple fields separated by commas (`,`). Provider default: createdDateTime desc. Default: `null`. **skipToken** `string | null` Pagination token from the skipToken query parameter of the nextLink returned by the previous page. Reuse the same filters when requesting the next page. Default: `null`. **startDateTime** `string | null` The date and time of the start of data retrieval in ISO 8601 format. Provider default: 1970-01-01T00:00:00Z. Default: `null`. **tmv1_filter** `string | null` Filter for retrieving a subset of case contents. Supported fields: creatorId. Sent as the TMV1-Filter header. Default: `null`. **top** `integer | null` The number of case notes retrieved per page. If no value is specified, the request retrieves a maximum of the top 50 notes. Allowed values: 10, 50, 100. Provider default: 50. Default: `null`. ## List case risk events Action ID: `tools.trend_vision_one.list_case_risk_events` Get risk indicators in specified case. Displays the risk indicators associated to a case ID. Calls GET /v3.0/caseManagement/cases/\{id}/riskIndicatorEvents. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Case/paths/~~1v3.0~~1caseManagement~~1cases~~1\{id}\~1riskIndicatorEvents/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Case/paths/~1v3.0~1caseManagement~1cases~1\{id}~1riskIndicatorEvents/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **id** `string` *required* The ID of the case on the Trend Vision One platform. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **orderBy** `string | null` The field by which the results are sorted. Provider default: detectedDateTime desc. Default: `null`. **skipToken** `string | null` Pagination token from the skipToken query parameter of the nextLink returned by the previous page. Reuse the same filters when requesting the next page. Default: `null`. **tmv1_filter** `string | null` The filter for retrieving a subset of the cloud asset information list. Supported fields: id, riskLevel, riskFactor, status, detectedDateTime. Sent as the TMV1-Filter header. Default: `null`. **top** `integer | null` The number of records displayed on a page. Allowed values: 10, 50, 100, 200, 500, 1000. Provider default: 100. Default: `null`. ## List cases Action ID: `tools.trend_vision_one.list_cases` Get all cases. Allows supported ticketing systems to get case info from Case Management. Calls GET /v3.0/caseManagement/cases. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Case/paths/~~1v3.0~~1caseManagement\~1cases/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Case/paths/~1v3.0~1caseManagement~1cases/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **dateTimeTarget** `string | null` A parameter that allows you to sort by either created date or updated date. Allowed values: createdDateTime, updatedDateTime. Provider default: createdDateTime. Default: `null`. **endDateTime** `string | null` The date and time of the end of data retrieval in ISO 8601 format retrieval time range. Provider default: Current date time. Default: `null`. **orderBy** `string | null` A parameter to be used for sorting records. Records are returned in descending order by default. To return records in ascending order, add a phrase "asc" after the parameter name. Sub-sorts can be specified by a comma-separated list of property names. Provider default: createdDateTime desc. Default: `null`. **skipToken** `string | null` Pagination token from the skipToken query parameter of the nextLink returned by the previous page. Reuse the same filters when requesting the next page. Default: `null`. **startDateTime** `string | null` The date and time of the start of data retrieval in ISO 8601 format. Provider default: 1970-01-01T00:00:00Z. Default: `null`. **tmv1_filter** `string | null` Filter for retrieving a subset of cases. Supported fields: type, priority, status. Sent as the TMV1-Filter header. Default: `null`. **top** `integer | null` The number of cases retrieved. If no value is specified, the request retrieves records for the top 50 cases. Allowed values: 10, 50, 100. Provider default: 50. Default: `null`. ## List custom intelligence reports Action ID: `tools.trend_vision_one.list_intelligence_reports` List custom intelligence reports. Retrieves a list of custom intelligence reports created from imported or retrieved data. Calls GET /v3.0/threatintel/intelligenceReports. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Intelligence-Reports/paths/~~1v3.0~~1threatintel\~1intelligenceReports/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Intelligence-Reports/paths/~1v3.0~1threatintel~1intelligenceReports/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **endDateTime** `string | null` Timestamp in ISO 8601 format that indicates the end of the data retrieval time range. If no value is specified, 'endDateTime' defaults to the time the request is made. Default: `null`. **filter** `string | null` The filter for retrieving a subset of the custom intelligence reports list. Supported fields: id, name. Default: `null`. **orderBy** `string | null` The parameter that allows you to sort the retrieved search results in ascending or descending order. If no order is specified, the results are shown in ascending order. Provider default: createdDateTime desc. Default: `null`. **skipToken** `string | null` Pagination token from the skipToken query parameter of the nextLink returned by the previous page. Reuse the same filters when requesting the next page. Default: `null`. **startDateTime** `string | null` The timestamp in ISO 8601 format that indicates the start of the data retrieval time range. If no value is specified, 'startDateTime' defaults to the earliest available value for 'updatedDateTime'. Default: `null`. **top** `integer | null` The number of records displayed on a page. Allowed values: 50, 100, 200. Provider default: 100. Default: `null`. ## List custom scripts Action ID: `tools.trend_vision_one.list_custom_scripts` List custom scripts. Retrieves information about the available custom scripts and displays the information in a paginated list. Calls GET /v3.0/response/customScripts. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Custom-Script/paths/~~1v3.0~~1response\~1customScripts/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Custom-Script/paths/~1v3.0~1response~1customScripts/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **filter** `string | null` Filter for retrieving a subset of the custom scripts list. Supported fields: fileName, fileType. Default: `null`. **skipToken** `string | null` Pagination token from the skipToken query parameter of the nextLink returned by the previous page. Reuse the same filters when requesting the next page. Default: `null`. ## List detection model exceptions Action ID: `tools.trend_vision_one.list_detection_exceptions` Get all custom exceptions. Retrieves all your custom exceptions. Calls GET /v3.0/dmm/exceptions. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Exceptions/paths/~~1v3.0~~1dmm\~1exceptions/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Exceptions/paths/~1v3.0~1dmm~1exceptions/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## List endpoint security tasks Action ID: `tools.trend_vision_one.list_endpoint_tasks` Get task list. Displays the tasks of your endpoints in a paginated list. Calls GET /v3.0/endpointSecurity/tasks. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Endpoint-Security/paths/~~1v3.0~~1endpointSecurity\~1tasks/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Endpoint-Security/paths/~1v3.0~1endpointSecurity~1tasks/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **dateTimeTarget** `string | null` The filter of the results. Allowed values: createdDateTime, lastActionDateTime. Provider default: createdDateTime. Default: `null`. **endDateTime** `string | null` The end of the data retrieval range, in ISO 8601 format. Default: `null`. **orderBy** `string | null` The field by which the results are sorted. Provider default: createdDateTime desc. Default: `null`. **skipToken** `string | null` Pagination token from the skipToken query parameter of the nextLink returned by the previous page. Reuse the same filters when requesting the next page. Default: `null`. **startDateTime** `string | null` The start of the data retrieval range, in ISO 8601 format. Default: `null`. **tmv1_filter** `string | null` The filter for retrieving a subset of the task list. Supported fields: id, agentGuid, status, action. Sent as the TMV1-Filter header. Default: `null`. **top** `integer | null` The number of records displayed on a page. Allowed values: 10, 50, 100, 200, 1000. Provider default: 100. Default: `null`. ## List endpoints Action ID: `tools.trend_vision_one.list_endpoints` Get endpoint list. Displays a detailed list of your endpoints. Calls GET /v3.0/endpointSecurity/endpoints. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Endpoint-Security/paths/~~1v3.0~~1endpointSecurity\~1endpoints/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Endpoint-Security/paths/~1v3.0~1endpointSecurity~1endpoints/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **orderBy** `string | null` The field by which the results are sorted. Provider default: agentGuid. Default: `null`. **select** `string | null` The endpoint information to include in the response. Allowed values: endpointName, osName, type, ipAddresses, isolationStatus, osPlatform, osVersion, osKernelVersion, osArchitecture, cpuArchitecture, displayName, agentGuid, lastLoggedOnUser, lastUsedIp, serviceGatewayOrProxy, serialNumber, versionControlPolicy, agentUpdatePolicy, agentUpdateStatus, creditAllocatedLicenses, securityPolicy, securityPolicyOverriddenStatus, eppAgentComponentVersion, eppAgentComponentUpdatePolicy, eppAgentComponentUpdateStatus, eppAgentKernelSupportPackageVersion, eppAgentProtectionManager, eppAgentProductNames, eppAgentEndpointGroup, eppAgentStatus, eppAgentPolicyName, eppAgentVersion, eppAgentLastConnectedDateTime, eppAgentLastScannedDateTime, eppAgentInstalledComponentIds, eppAgentPatterns, edrSensorEndpointGroup, edrSensorProductNames, edrSensorVersion, edrSensorComponentUpdatePolicy, edrSensorComponentUpdateStatus, edrSensorKernelSupportPackageVersion, edrSensorConnectivity, edrSensorLastConnectedDateTime, edrSensorStatus, edrSensorAdvancedRiskTelemetryStatus, edrSensorPatterns, eppAgentVirtualMachineDetailsCloudInstanceId, eppAgentVirtualMachineDetailsCloudProvider, eppAgentVirtualMachineDetailsCloudAccountId, eppAgentVirtualMachineDetailsPowerState. Default: `null`. **skipToken** `string | null` Pagination token from the skipToken query parameter of the nextLink returned by the previous page. Reuse the same filters when requesting the next page. Default: `null`. **tmv1_filter** `string | null` Filter for retrieving a subset of the endpoint information list. Supported fields: endpointName, agentGuid, type, edrSensorAdvancedRiskTelemetryStatus, edrSensorConnectivity, eppAgentProtectionManager, eppAgentEndpointGroup, osName, osPlatform, serviceGatewayOrProxy, osArchitecture, versionControlPolicy, agentUpdateStatus, agentUpdatePolicy, creditAllocatedLicenses, securityPolicy, securityPolicyOverriddenStatus, edrSensorStatus, edrSensorComponentUpdatePolicy, edrSensorComponentUpdateStatus, eppAgentStatus, eppAgentPolicyName, isolationStatus, eppAgentComponentVersion, eppAgentComponentUpdatePolicy, eppAgentComponentUpdateStatus, availableActions, securityDeployment, eppAgentVirtualMachineDetailsCloudInstanceId, eppAgentVirtualMachineDetailsCloudProvider, eppAgentVirtualMachineDetailsCloudAccountId, eppAgentVirtualMachineDetailsPowerState. Sent as the TMV1-Filter header. Default: `null`. **top** `integer | null` Number of records displayed on a page. Allowed values: 10, 50, 100, 200, 500, 1000. Provider default: 100. Default: `null`. ## List isolation traffic exceptions Action ID: `tools.trend_vision_one.list_isolation_traffic_exceptions` Get network traffic exceptions for isolated endpoints. Retrieves the list of exceptions that allow network traffic to and from isolated endpoints. Note: This method can only retrieve the entire exception list at once. Calls GET /v3.0/response/isolatedTrafficExceptions. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Endpoint/paths/~~1v3.0~~1response\~1isolatedTrafficExceptions/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Endpoint/paths/~1v3.0~1response~1isolatedTrafficExceptions/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **tmv1_filter** `string | null` Filter for retrieving a subset of the network traffic exceptions list. Supported fields: direction, ip, protocol, port. Sent as the TMV1-Filter header. Default: `null`. ## List Observed Attack Techniques events Action ID: `tools.trend_vision_one.list_oat_detections` Get Observed Attack Techniques events. Displays a list of Observed Attack Techniques events that match the specified criteria. Calls GET /v3.0/oat/detections. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Observed-Attack-Techniques/paths/~~1v3.0~~1oat\~1detections/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Observed-Attack-Techniques/paths/~1v3.0~1oat~1detections/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **detectedEndDateTime** `string | null` The end of the event detection data retrieval time range, in ISO 8601 format. Default: The time you make the request. Default: `null`. **detectedStartDateTime** `string | null` The start of the event detection data retrieval time range, in ISO 8601 format. Default: `null`. **ingestedEndDateTime** `string | null` The end of the data ingestion time range, in ISO 8601 format. Default: `null`. **ingestedStartDateTime** `string | null` The beginning of the data ingestion time range, in ISO 8601 format. Default: `null`. **nextBatchToken** `string | null` Pagination token from the nextBatchToken query parameter of the nextLink returned by the previous page. Reuse the same filters when requesting the next page. Default: `null`. **tmv1_filter** `string | null` Filter for retrieving a subset of the collected Observed Attack Techniques events. Include this parameter in every request that generates paginated output. Supported fields: uuid, riskLevel, filterName, filterMitreTacticId, filterMitreTechniqueId, endpointName, agentGuid, endpointIp, productCode, containerName, detailCustomAssetTagKey, detailCustomAssetTagValuesOf, detailPlatformAssetTagKey, detailPlatformAssetTagValuesOf, groupId. Sent as the TMV1-Filter header. Default: `null`. **top** `integer | null` Number of records displayed on a page. Allowed values: 50, 100, 200. Provider default: 50. Default: `null`. ## List osquery statements Action ID: `tools.trend_vision_one.list_osquery_statements` List osquery statements. Retrieves information about the available osquery and displays the information in a paginated list. Calls GET /v3.0/response/osqueryStatements. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/osquery/paths/~~1v3.0~~1response\~1osqueryStatements/get](https://automation.trendmicro.com/xdr/api-v3/#tag/osquery/paths/~1v3.0~1response~1osqueryStatements/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **skipToken** `string | null` Pagination token from the skipToken query parameter of the nextLink returned by the previous page. Reuse the same filters when requesting the next page. Default: `null`. **top** `integer | null` Allowed values: 50, 100, 200. Provider default: 50. Default: `null`. ## List response action exclusions Action ID: `tools.trend_vision_one.list_response_action_exclusions` Get endpoint response action exclusion list. Retrieves all exclusions including response actions and excluded endpoints in a paginated list. Calls GET /v3.0/response/endpointActionExceptions. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Endpoint/paths/~~1v3.0~~1response\~1endpointActionExceptions/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Endpoint/paths/~1v3.0~1response~1endpointActionExceptions/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **tmv1_filter** `string | null` Filter for retrieving a subset of the endpoint response action exclusion list. Supported fields: action, endpointName, endpointAgentGuid. Sent as the TMV1-Filter header. Default: `null`. ## List response tasks Action ID: `tools.trend_vision_one.list_response_tasks` Get response tasks. Displays a list of response tasks in a paginated list. Calls GET /v3.0/response/tasks. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Common/paths/~~1v3.0~~1response\~1tasks/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Common/paths/~1v3.0~1response~1tasks/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **dateTimeTarget** `string | null` Parameter that allows you to filter the results. Allowed values: createdDateTime, lastActionDateTime. Provider default: createdDateTime. Default: `null`. **endDateTime** `string | null` Timestamp in ISO 8601 format that indicates the end of the data retrieval range. Default: `null`. **filter** `string | null` Filter for retrieving a subset of the response task list. Supported fields: id, status, action, account. Default: `null`. **skipToken** `string | null` Pagination token from the skipToken query parameter of the nextLink returned by the previous page. Reuse the same filters when requesting the next page. Default: `null`. **startDateTime** `string | null` Timestamp in ISO 8601 format that indicates the start of the data retrieval range. You can retrieve data for response tasks that were created no later than 180 days ago. Default: `null`. **top** `integer | null` Number of records displayed on a page. If no value is specified, 'top' defaults to 50. Allowed values: 50, 100, 200. Provider default: 50. Default: `null`. ## List sandbox analysis results Action ID: `tools.trend_vision_one.list_analysis_results` Get list of analysis results. Displays the analysis results of all submitted objects in a paginated list. Calls GET /v3.0/sandbox/analysisResults. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Sandbox-Analysis/paths/~~1v3.0~~1sandbox\~1analysisResults/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Sandbox-Analysis/paths/~1v3.0~1sandbox~1analysisResults/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **endDateTime** `string | null` Timestamp in ISO 8601 format that indicates the end of the data retrieval time range. If no value is specified, 'endDateTime' defaults to the time the request is made. Default: `null`. **filter** `string | null` Filter for retrieving a subset of the analysis results list. Supported fields: sha1, sha256, md5, riskLevel, type, id. Default: `null`. **orderBy** `string | null` Parameter that allows you to sort the retrieved elements in ascending or descending order. If no order is specified, the elements are shown in ascending order. Provider default: analysisCompletionDateTime desc. Default: `null`. **skipToken** `string | null` Pagination token from the skipToken query parameter of the nextLink returned by the previous page. Reuse the same filters when requesting the next page. Default: `null`. **startDateTime** `string | null` Timestamp in ISO 8601 format that indicates the start of the data retrieval time range. If no value is specified, 'startDateTime' defaults to 180 days before the time the request is made. Default: `null`. **top** `integer | null` Number of records displayed on a page. Allowed values: 50, 100, 200. Provider default: 50. Default: `null`. ## List sandbox submissions Action ID: `tools.trend_vision_one.list_submissions` List submissions. Displays all submitted objects in a paginated list. Calls GET /v3.0/sandbox/tasks. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Sandbox-Analysis/paths/~~1v3.0~~1sandbox\~1tasks/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Sandbox-Analysis/paths/~1v3.0~1sandbox~1tasks/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **dateTimeTarget** `string | null` Parameter that indicates which field is used to sort the submission list. Allowed values: createdDateTime, lastActionDateTime. Provider default: createdDateTime. Default: `null`. **endDateTime** `string | null` Timestamp in ISO 8601 format that indicates the end of the data retrieval time range. If no value is specified, 'endDateTime' defaults to the time the request is made. Default: `null`. **filter** `string | null` Filter for retrieving a subset of the submissions list. Supported fields: status, action, sha1, sha256, md5, id. Default: `null`. **orderBy** `string | null` Parameter that allows you to sort the retrieved elements in ascending or descending order. If no order is specified, the elements are shown in ascending order. Provider default: createdDateTime desc. Default: `null`. **skipToken** `string | null` Pagination token from the skipToken query parameter of the nextLink returned by the previous page. Reuse the same filters when requesting the next page. Default: `null`. **startDateTime** `string | null` Timestamp in ISO 8601 format that indicates the start of the data retrieval time range. If no value is specified, 'startDateTime' defaults to 180 days before the time the request is made. Default: `null`. **top** `integer | null` Number of records displayed on a page. Allowed values: 50, 100, 200. Provider default: 50. Default: `null`. ## List suspicious object exceptions Action ID: `tools.trend_vision_one.list_suspicious_object_exceptions` Get Exception List. Retrieves information about domains, file SHA-1, file SHA-256, IP addresses, sender addresses, or URLs in the Exception List and displays it in a paginated list. Calls GET /v3.0/threatintel/suspiciousObjectExceptions. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Suspicious-Object-Exception-List/paths/~~1v3.0~~1threatintel\~1suspiciousObjectExceptions/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Suspicious-Object-Exception-List/paths/~1v3.0~1threatintel~1suspiciousObjectExceptions/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **endDateTime** `string | null` The timestamp in ISO 8601 format that indicates the end of the data retrieval time range. If no value is specified, 'endDateTime' defaults to the time the request is made. Default: `null`. **orderBy** `string | null` The parameter that allows you to sort the retrieved search results in ascending or descending order. If no order is specified, the results are shown in ascending order. Provider default: lastModifiedDateTime desc. Default: `null`. **skipToken** `string | null` Pagination token from the skipToken query parameter of the nextLink returned by the previous page. Reuse the same filters when requesting the next page. Default: `null`. **startDateTime** `string | null` The timestamp in ISO 8601 format that indicates the start of the data retrieval time range. If no value is specified, 'startDateTime' defaults to the earliest available value for 'lastModifiedDateTime'. Default: `null`. **tmv1_filter** `string | null` The filter for retrieving a subset of the Suspicious Object List. Supported fields: type, url, domain, ip, senderMailAddress, fileSha1, fileSha256, scanAction, riskLevel. Sent as the TMV1-Filter header. Default: `null`. **top** `integer | null` The number of records displayed on a page. Allowed values: 50, 100, 200. Provider default: 100. Default: `null`. ## List suspicious objects Action ID: `tools.trend_vision_one.list_suspicious_objects` List suspicious objects. Retrieves information about domains, file SHA-1, file SHA-256, IP addresses, email addresses, or URLs in the Suspicious Object List and displays the information in a paginated list. Calls GET /v3.0/threatintel/suspiciousObjects. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Suspicious-Object-List/paths/~~1v3.0~~1threatintel\~1suspiciousObjects/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Suspicious-Object-List/paths/~1v3.0~1threatintel~1suspiciousObjects/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **endDateTime** `string | null` The timestamp in ISO 8601 format that indicates the end of the data retrieval time range. If no value is specified, 'endDateTime' defaults to the time the request is made. Default: `null`. **orderBy** `string | null` The parameter that allows you to sort the retrieved search results in ascending or descending order. If no order is specified, the results are shown in ascending order. Provider default: lastModifiedDateTime desc. Default: `null`. **skipToken** `string | null` Pagination token from the skipToken query parameter of the nextLink returned by the previous page. Reuse the same filters when requesting the next page. Default: `null`. **startDateTime** `string | null` The timestamp in ISO 8601 format that indicates the start of the data retrieval time range. If no value is specified, 'startDateTime' defaults to the earliest available value for 'lastModifiedDateTime'. Default: `null`. **tmv1_filter** `string | null` The filter for retrieving a subset of the Suspicious Object List. Supported fields: type, url, domain, ip, senderMailAddress, fileSha1, fileSha256, scanAction, riskLevel. Sent as the TMV1-Filter header. Default: `null`. **top** `integer | null` The number of records displayed on a page. Allowed values: 50, 100, 200. Provider default: 100. Default: `null`. ## List sweeping tasks Action ID: `tools.trend_vision_one.list_sweeping_tasks` List tasks. Displays information about tasks and asynchronous jobs in a paginated list. Calls GET /v3.0/threatintel/tasks. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Intelligence-Reports/paths/~~1v3.0~~1threatintel\~1tasks/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Intelligence-Reports/paths/~1v3.0~1threatintel~1tasks/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **endDateTime** `string | null` The timestamp in ISO 8601 format that indicates the end of the data retrieval time range. If no value is specified, 'endDateTime' defaults to the time the request is made. Default: `null`. **filter** `string | null` Filter for retrieving a subset of the sweeping task list. Default: `null`. **orderBy** `string | null` The parameter that allows you to sort the retrieved search results in ascending or descending order. If no order is specified, the results are shown in ascending order. Provider default: lastActionDateTime desc. Default: `null`. **skipToken** `string | null` Pagination token from the skipToken query parameter of the nextLink returned by the previous page. Reuse the same filters when requesting the next page. Default: `null`. **startDateTime** `string | null` The timestamp in ISO 8601 format that indicates the start of the data retrieval time range. If no value is specified, 'startDateTime' defaults to the earliest available value for 'createdDateTime'. Default: `null`. **top** `integer | null` The number of records displayed on a page. Allowed values: 50, 100, 200. Provider default: 100. Default: `null`. ## List threat feed indicators Action ID: `tools.trend_vision_one.list_feed_indicators` List IoCs from Trend Threat Intelligence Feed. Retrieves a list of IoCs from Trend Threat Intelligence Feed. DISCLAIMER: The Threat Intelligence Feed data (“Data”) is provided "as is" for informational purposes only. Trend Micro Incorporated (Trend Micro) makes no warranties or representations of any kind as to its accuracy or completeness. You agree that access to and use of and reliance on the Data is at your own risk. Calls GET /v3.0/threatintel/feedIndicators. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Trend-Threat-Intelligence-Feed/paths/~~1v3.0~~1threatintel\~1feedIndicators/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Trend-Threat-Intelligence-Feed/paths/~1v3.0~1threatintel~1feedIndicators/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **endDateTime** `string | null` The data retrieval timestamp in ISO 8601 format that filters objects to only include objects added before or at the specified time. The default is the time you make the request. Default: `null`. **indicatorObjectFormat** `string | null` The desired format for the query response. Allowed values: stixBundle, taxiiEnvelope. Provider default: stixBundle. Default: `null`. **skipToken** `string | null` Pagination token from the skipToken query parameter of the nextLink returned by the previous page. Reuse the same filters when requesting the next page. Default: `null`. **startDateTime** `string | null` The data retrieval timestamp in ISO 8601 format that filters objects to only include objects added after the specified time. The default is the earliest available value for "created". Default: `null`. **top** `integer | null` The number of IoCs returned by a query (maximum 10,000 IoCs). Allowed values: 1000, 5000, 10000. Provider default: 5000. Default: `null`. ## List threat feed intelligence objects Action ID: `tools.trend_vision_one.list_feeds` List intelligence objects from Trend Threat Intelligence Feed. Retrieves a list of intelligence reports from the Trend Threat Intelligence Feed, along with their associated objects and relationships. These include entities such as indicators, campaigns, intrusion sets, malware, tools, CVEs, targeted industries, and targeted countries, all interconnected through STIX relationships (`object`, `attributed-to`, etc.). Calls GET /v3.0/threatintel/feeds. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Trend-Threat-Intelligence-Feed/paths/~~1v3.0~~1threatintel\~1feeds/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Trend-Threat-Intelligence-Feed/paths/~1v3.0~1threatintel~1feeds/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **endDateTime** `string | null` The data retrieval timestamp in ISO 8601 format used to filter results. Only reports created before or at this time will be included. If not provided, the query will include all reports up to the time of the request. Default: `null`. **responseObjectFormat** `string | null` The preferred format for the query response. If the preferred format is unsupported, the default format is used. Allowed values: stixBundle, taxiiEnvelope. Provider default: stixBundle. Default: `null`. **skipToken** `string | null` Pagination token from the skipToken query parameter of the nextLink returned by the previous page. Reuse the same filters when requesting the next page. Default: `null`. **startDateTime** `string | null` The data retrieval timestamp in ISO 8601 format used to filter results. Only reports created after this time will be included. If not provided, the query will include all available reports from the earliest creation time. Default: `null`. **tmv1_contextual_filter** `string | null` Defines the criteria for retrieving specific subsets of intelligence objects from the Trend Threat Intelligence Feed by applying contextual relationship-based filtering. Supported fields: location, industry. Sent as the TMV1-Contextual-Filter header. Default: `null`. **topReport** `integer | null` The number of reports (maximum 20) returned by a query. Allowed values: 5, 10, 20. Provider default: 10. Default: `null`. ## List Workbench alerts Action ID: `tools.trend_vision_one.list_alerts` Get alerts list. Displays information about workbench alerts that match the specified criteria in a paginated list. Calls GET /v3.0/workbench/alerts. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Workbench/paths/~~1v3.0~~1workbench\~1alerts/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Workbench/paths/~1v3.0~1workbench~1alerts/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **dateTimeTarget** `string | null` The timestamp to be used for retrieving Workbench alert data. Allowed values: createdDateTime, updatedDateTime, firstInvestigatedDateTime. Provider default: createdDateTime. Default: `null`. **endDateTime** `string | null` The datetime in ISO 8601 format that indicates the end of the data retrieval time range. Provider default: Current date time. Default: `null`. **orderBy** `string | null` Specifies the field by which the results are sorted. Provider default: createdDateTime desc. Default: `null`. **skipToken** `string | null` Pagination token from the skipToken query parameter of the nextLink returned by the previous page. Reuse the same filters when requesting the next page. Default: `null`. **startDateTime** `string | null` Datetime in ISO 8601 format (yyyy-MM-ddThh:mm:ssZ in UTC) that indicates the start of the data retrieval time range. The available oldest value is "1970-01-01T00:00:00Z". Provider default: 1970-01-01T00:00:00Z. Default: `null`. **tmv1_filter** `string | null` Filter for retrieving a subset of the alert list. Supported fields: id, status, investigationResult, alertProvider, modelId, model, modelType, severity, impactScopeEntityValue, indicatorValue, incidentId. Sent as the TMV1-Filter header. Default: `null`. ## List Workbench insights Action ID: `tools.trend_vision_one.list_insights` Get insights list. Displays information about Workbench insights that match the specified criteria in a paginated list. Calls GET /v3.0/workbench/insights. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Insight/paths/~~1v3.0~~1workbench\~1insights/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Insight/paths/~1v3.0~1workbench~1insights/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **orderBy** `string | null` The field that specifies the order in which the results are sorted. Provider default: updatedDateTime desc. Default: `null`. **skipToken** `string | null` Pagination token from the skipToken query parameter of the nextLink returned by the previous page. Reuse the same filters when requesting the next page. Default: `null`. **tmv1_filter** `string | null` The filter for retrieving a subset of the insight list. Supported fields: id, caseId, inProcess, createdDateTime, updatedDateTime. Sent as the TMV1-Filter header. Default: `null`. **top** `integer | null` The number of records displayed on a page. Allowed values: 50. Provider default: 50. Default: `null`. ## List YARA rule files Action ID: `tools.trend_vision_one.list_yara_rule_files` List YARA rule files. Retrieves information about the available YARA rules and displays the information in a paginated list. Calls GET /v3.0/response/yaraRuleFiles. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/YARA-Rule/paths/~~1v3.0~~1response\~1yaraRuleFiles/get](https://automation.trendmicro.com/xdr/api-v3/#tag/YARA-Rule/paths/~1v3.0~1response~1yaraRuleFiles/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **filter** `string | null` Filter for retrieving a subset of the YARA rules file list. Supported fields: name. Default: `null`. **skipToken** `string | null` Pagination token from the skipToken query parameter of the nextLink returned by the previous page. Reuse the same filters when requesting the next page. Default: `null`. **top** `integer | null` The maximum number of items to return in the response. Allowed values: 50, 100, 200. Provider default: 50. Default: `null`. ## Override endpoint sensor policy Action ID: `tools.trend_vision_one.apply_sensor_policy` Override endpoint sensor policy. Overrides endpoint sensor policy settings for multiple endpoints. Calls POST /v3.0/endpointSecurity/endpoints/applySensorPolicy. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Endpoint-Security/paths/~~1v3.0~~1endpointSecurity~~1endpoints~~1applySensorPolicy/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Endpoint-Security/paths/~1v3.0~1endpointSecurity~1endpoints~1applySensorPolicy/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **payload** `object` *required* API-native JSON request body. Documented fields for POST /v3.0/endpointSecurity/endpoints/applySensorPolicy: agentGuids (required), sensorDetectionAndResponse (required), advancedRiskTelemetry (required). **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Quarantine email messages Action ID: `tools.trend_vision_one.quarantine_emails` Quarantine email message. Moves a message from one or more mailboxes to their corresponding quarantine folders. Calls POST /v3.0/response/emails/quarantine. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Email/paths/~~1v3.0~~1response~~1emails~~1quarantine/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Email/paths/~1v3.0~1response~1emails~1quarantine/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **emails** `array[object]` *required* JSON array sent as the request body. Documented item fields: exactly one of messageId | uniqueId; description, mailBox. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Remove from block list Action ID: `tools.trend_vision_one.remove_from_block_list` Remove from block list. Removes an email address, file SHA-1, domain, IP address, or URL that was added to the Suspicious Object List using the "Add to block list" action. Calls POST /v3.0/response/suspiciousObjects/delete. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Suspicious-Objects/paths/~~1v3.0~~1response~~1suspiciousObjects~~1delete/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Suspicious-Objects/paths/~1v3.0~1response~1suspiciousObjects~1delete/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **objects** `array[object]` *required* JSON array sent as the request body. Documented item fields: exactly one of url | domain | fileSha1 | fileSha256 | senderMailAddress | ip; description. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Remove from Exception List Action ID: `tools.trend_vision_one.remove_suspicious_object_exceptions` Remove from Exception list. Deletes the specified objects from the Exception List. Calls POST /v3.0/threatintel/suspiciousObjectExceptions/delete. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Suspicious-Object-Exception-List/paths/~~1v3.0~~1threatintel~~1suspiciousObjectExceptions~~1delete/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Suspicious-Object-Exception-List/paths/~1v3.0~1threatintel~1suspiciousObjectExceptions~1delete/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **objects** `array[object]` *required* JSON array sent as the request body. Documented item fields: exactly one of url | domain | ip | senderMailAddress | fileSha1 | fileSha256. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Remove from Suspicious Object List Action ID: `tools.trend_vision_one.remove_suspicious_objects` Remove from Suspicious Object List. Deletes information about domains, file SHA-1, file SHA-256, IP addresses, sender addresses, or URLs from the Suspicious Object List. Calls POST /v3.0/threatintel/suspiciousObjects/delete. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Suspicious-Object-List/paths/~~1v3.0~~1threatintel~~1suspiciousObjects~~1delete/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Suspicious-Object-List/paths/~1v3.0~1threatintel~1suspiciousObjects~1delete/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **objects** `array[object]` *required* JSON array sent as the request body. Documented item fields: exactly one of url | domain | senderMailAddress | ip | fileSha1 | fileSha256. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Restore email messages Action ID: `tools.trend_vision_one.restore_emails` Restore email message. Restore quarantined email messages. Calls POST /v3.0/response/emails/restore. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Email/paths/~~1v3.0~~1response~~1emails~~1restore/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Email/paths/~1v3.0~1response~1emails~1restore/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **emails** `array[object]` *required* JSON array sent as the request body. Documented item fields: exactly one of messageId | uniqueId; description, mailBox. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Restore endpoint connection Action ID: `tools.trend_vision_one.restore_endpoints` Restore endpoint connection. Restores network connectivity to one or more endpoints that applied the "Isolate endpoint" action Note: You can specify either the computer name ("endpointName") or the GUID of the installed agent program ("agentGuid"). Calls POST /v3.0/response/endpoints/restore. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Endpoint/paths/~~1v3.0~~1response~~1endpoints~~1restore/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Endpoint/paths/~1v3.0~1response~1endpoints~1restore/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **endpoints** `array[object]` *required* JSON array sent as the request body. Documented item fields: exactly one of agentGuid | endpointName; description. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Run custom script on endpoints Action ID: `tools.trend_vision_one.run_custom_script` Run custom script. Runs custom script. Calls POST /v3.0/response/endpoints/runScript. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Custom-Script/paths/~~1v3.0~~1response~~1endpoints~~1runScript/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Custom-Script/paths/~1v3.0~1response~1endpoints~1runScript/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **endpoints** `array[object]` *required* JSON array sent as the request body. Documented item fields: exactly one of agentGuid | endpointName; description, fileName (required), parameter. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Run osquery on endpoints Action ID: `tools.trend_vision_one.run_osquery` Run osquery. Run SQL-based queries on the specified endpoints. Calls POST /v3.0/response/endpoints/runOsquery. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/osquery/paths/~~1v3.0~~1response~~1endpoints~~1runOsquery/post](https://automation.trendmicro.com/xdr/api-v3/#tag/osquery/paths/~1v3.0~1response~1endpoints~1runOsquery/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **endpoints** `array[object]` *required* JSON array sent as the request body. Documented item fields: exactly one of agentGuid | endpointName; exactly one of statement | statementId; description. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Run YARA rules on endpoints Action ID: `tools.trend_vision_one.run_yara_rules` Run YARA rules. Run custom YARA rules on the specified endpoints. Calls POST /v3.0/response/endpoints/runYaraRules. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/YARA-Rule/paths/~~1v3.0~~1response~~1endpoints~~1runYaraRules/post](https://automation.trendmicro.com/xdr/api-v3/#tag/YARA-Rule/paths/~1v3.0~1response~1endpoints~1runYaraRules/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **endpoints** `array[object]` *required* JSON array sent as the request body. Documented item fields: exactly one of agentGuid | endpointName; exactly one of yaraRuleFileContent | yaraRuleFileId | yaraRuleFileName; target (required; file targets also require targetFileLocation and accept targetFileSize, targetFileOption; process targets accept targetProcessName); description. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Search cloud activities Action ID: `tools.trend_vision_one.search_cloud_activities` Get cloud activity data. Displays search results from the Cloud Activity Data source in a paginated list. Calls GET /v3.0/search/cloudActivities. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Search/paths/~~1v3.0~~1search\~1cloudActivities/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Search/paths/~1v3.0~1search~1cloudActivities/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **tmv1_query** `string` *required* The statement that retrieves a subset of the collected cloud activity data from Trend Cloud One - AWS CloudTrail. Supported fields: eventID, eventName, eventSource, requestParameters, resources, responseElements, sourceIPAddress, userAgent, userIdentity, vpcEndpointId, uuid, productCode, tags. Sent as the TMV1-Query header. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **endDateTime** `string | null` Timestamp in ISO 8601 format that indicates the end of the data retrieval time range. If no value is specified, 'endDateTime' defaults to the time the request is made. Default: `null`. **mode** `string | null` The type of data returned by the query results ("default" displays all data returned by the query, "countOnly" displays the number of records returned, and "performance" limits the returned records to 500.). Allowed values: default, countOnly, performance. Provider default: default. Default: `null`. **select** `string | null` The list of Trend Cloud One - AWS CloudTrail fields to include in the search results. Note: If no fields are specified, the query returns all supported fields. Default: `null`. **skipToken** `string | null` Pagination token from the skipToken query parameter of the nextLink returned by the previous page. Reuse the same filters when requesting the next page. Default: `null`. **startDateTime** `string | null` The start of the data retrieval range in ISO 8601 format. Default: startDateTime defaults to 24 hours before the request is made. Default: `null`. **top** `integer | null` The number of records displayed on a page in default mode. Allowed values: 50, 100, 500, 1000, 5000. Provider default: 500. Default: `null`. ## Search detections Action ID: `tools.trend_vision_one.search_detections` Get detection data. Displays search results from the Detection Data source in a paginated list. The primary purpose of the "Get Detection Data" API is to provide customers with a querying capability, rather than exporting all logs. Calls GET /v3.0/search/detections. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Search/paths/~~1v3.0~~1search\~1detections/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Search/paths/~1v3.0~1search~1detections/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **tmv1_query** `string` *required* Statement that allows you to retrieve a subset of the collected detection data. Supported fields: hostName, interestedHost, shost, dhost, endpointHostName, userDomain, endpointGUID, request, src, dst, interestedIp, endpointIp, peerIp, denyListIp, dpt, spt, fileName, objectFileName, compressedFileName, attachmentFileName, filePath, filePathName, objectFilePath, fileHash, attachmentFileHash, attachmentFileHashSha1, compressedFileHash, objectFileHashSha1, fileHashSha256, attachmentFileHashSha256, compressedFileHashSha256, objectFileHashSha256, attachmentFileHashMd5, objectFileHashMd5, processCmd, objectCmd, objectRegistryData, objectRegistryKeyHandle, objectRegistryValue, suid. Sent as the TMV1-Query header. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **endDateTime** `string | null` Timestamp in ISO 8601 format that indicates the end of the data retrieval time range. If no value is specified, 'endDateTime' defaults to the time the request is made. Default: `null`. **mode** `string | null` The type of data returned by the query results ("default" displays all data returned by the query, "countOnly" displays the number of records returned, and "performance" limits the returned records to 500.). Allowed values: default, countOnly, performance. Provider default: default. Default: `null`. **select** `string | null` The list of fields included in search results (If no fields are specified, the query returns all supported fields.). Default: `null`. **skipToken** `string | null` Pagination token from the skipToken query parameter of the nextLink returned by the previous page. Reuse the same filters when requesting the next page. Default: `null`. **startDateTime** `string | null` The start of the data retrieval range in ISO 8601 format. Default: startDateTime defaults to 24 hours before the request is made. Default: `null`. **top** `integer | null` The number of records displayed on a page in default mode. Allowed values: 50, 100, 500, 1000, 5000. Provider default: 500. Default: `null`. ## Search email activities Action ID: `tools.trend_vision_one.search_email_activities` Get email activity data. Displays search results from the Email Activity Data source in a paginated list. Calls GET /v3.0/search/emailActivities. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Search/paths/~~1v3.0~~1search\~1emailActivities/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Search/paths/~1v3.0~1search~1emailActivities/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **tmv1_query** `string` *required* Statement that allows you to retrieve a subset of the collected email activity data. Supported fields: uuid, tags, pname, msgUuid, mailDirection, mailFromAddresses, mailToAddresses, mailMsgSubject, mailMsgId, mailCcAddresses, mailBccAddresses, mailSenderIp, mailAttachmentHash, attachmentFileName, attachmentSha1, attachmentMd5, attachmentSha256, attachmentUrls, orgId, mailUrlsVisibleLink, mailUrlsRealLink. Sent as the TMV1-Query header. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **endDateTime** `string | null` Timestamp in ISO 8601 format that indicates the end of the data retrieval time range. If no value is specified, 'endDateTime' defaults to the time the request is made. Default: `null`. **mode** `string | null` The type of data returned by the query results ("default" displays all data returned by the query, "countOnly" displays the number of records returned, and "performance" limits the returned records to 500.). Allowed values: default, countOnly, performance. Provider default: default. Default: `null`. **select** `string | null` List of fields to include in the search results. If no fields are specified, the query returns all supported fields. Default: `null`. **skipToken** `string | null` Pagination token from the skipToken query parameter of the nextLink returned by the previous page. Reuse the same filters when requesting the next page. Default: `null`. **startDateTime** `string | null` The start of the data retrieval range in ISO 8601 format. Default: startDateTime defaults to 24 hours before the request is made. Default: `null`. **top** `integer | null` The number of records displayed on a page in default mode. Allowed values: 50, 100, 500, 1000, 5000. Provider default: 500. Default: `null`. ## Search endpoint activities Action ID: `tools.trend_vision_one.search_endpoint_activities` Get endpoint activity data. Displays search results from the Endpoint Activity Data source in a paginated list. Calls GET /v3.0/search/endpointActivities. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Search/paths/~~1v3.0~~1search\~1endpointActivities/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Search/paths/~1v3.0~1search~1endpointActivities/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **tmv1_query** `string` *required* The filter for retrieving a subset of the collected endpoint activity data. Supported fields: dpt, dst, endpointGuid, endpointHostName, endpointIp, eventId, eventSubId, hostName, logonUser, objectAppName, objectCmd, objectFileHashMd5, objectFileHashSha1, objectFileHashSha256, objectFilePath, objectIp, objectIps, objectPid, objectPort, objectProcessHashId, objectRawDataStr, objectRegistryData, objectRegistryKeyHandle, objectRegistryValue, objectSigner, objectSignerValid, objectUser, parentCmd, parentFileHashMd5, parentFileHashSha1, parentFileHashSha256, parentFilePath, parentPid, pname, processCmd, processFileHashMd5, processFileHashSha1, processFileHashSha256, processFilePath, processHashId. Sent as the TMV1-Query header. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **endDateTime** `string | null` Timestamp in ISO 8601 format that indicates the end of the data retrieval time range. If no value is specified, 'endDateTime' defaults to the time the request is made. Default: `null`. **mode** `string | null` The type of data returned by the query results ("default" displays all data returned by the query, "countOnly" displays the number of records returned, and "performance" limits the returned records to 500.). Allowed values: default, countOnly, performance. Provider default: default. Default: `null`. **select** `string | null` The list of fields included in search results (If no fields are specified, the query returns all supported fields.). Default: `null`. **skipToken** `string | null` Pagination token from the skipToken query parameter of the nextLink returned by the previous page. Reuse the same filters when requesting the next page. Default: `null`. **startDateTime** `string | null` The start of the data retrieval range in ISO 8601 format. Default: startDateTime defaults to 24 hours before the request is made. Default: `null`. **top** `integer | null` The number of records displayed on a page in default mode. Allowed values: 50, 100, 500, 1000, 5000. Provider default: 500. Default: `null`. ## Search endpoint inventory Action ID: `tools.trend_vision_one.search_endpoints` Get detailed endpoint list. Displays detailed information about your endpoints in a paginated list. Calls GET /v3.0/eiqs/endpoints. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Search/paths/~~1v3.0~~1eiqs\~1endpoints/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Search/paths/~1v3.0~1eiqs~1endpoints/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **tmv1_query** `string` *required* The filter for retrieving a subset of the collected endpoint information data. Supported fields: agentGuid, loginAccount, endpointName, macAddress, ip, protectionManager, policyName, componentUpdatePolicy, componentUpdateStatus, componentVersion, osName, osVersion, productCode, installedProductCodes. Sent as the TMV1-Query header. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **skipToken** `string | null` Pagination token from the skipToken query parameter of the nextLink returned by the previous page. Reuse the same filters when requesting the next page. Default: `null`. **top** `integer | null` The number of records displayed on a page. Allowed values: 50, 100, 200. Provider default: 50. Default: `null`. ## Search identity activities Action ID: `tools.trend_vision_one.search_identity_activities` Get Identity and Access Activity Data. Displays search results from the Identity and Access Activity Data source in a paginated list. Calls GET /v3.0/search/identityActivities. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Search/paths/~~1v3.0~~1search\~1identityActivities/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Search/paths/~1v3.0~1search~1identityActivities/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **tmv1_query** `string` *required* The statement that allows you to retrieve a subset of the collected Identity and Access Activity Data. Sent as the TMV1-Query header. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **endDateTime** `string | null` Timestamp in ISO 8601 format that indicates the end of the data retrieval time range. If no value is specified, 'endDateTime' defaults to the time the request is made. Default: `null`. **mode** `string | null` The type of data returned by the query results ("default" displays all data returned by the query, "countOnly" displays the number of records returned, and "performance" limits the returned records to 500.). Allowed values: default, countOnly, performance. Provider default: default. Default: `null`. **select** `string | null` The list of fields to include in the search results. Default: The query returns all supported fields if no fields are specified. Default: `null`. **skipToken** `string | null` Pagination token from the skipToken query parameter of the nextLink returned by the previous page. Reuse the same filters when requesting the next page. Default: `null`. **startDateTime** `string | null` The start of the data retrieval range in ISO 8601 format. Default: startDateTime defaults to 24 hours before the request is made. Default: `null`. **top** `integer | null` The number of records displayed on a page in default mode. Allowed values: 50, 100, 500, 1000, 5000. Provider default: 500. Default: `null`. ## Search mobile activities Action ID: `tools.trend_vision_one.search_mobile_activities` Get mobile activity data. Displays search results from the mobile Activity Data source in a paginated list. Calls GET /v3.0/search/mobileActivities. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Search/paths/~~1v3.0~~1search\~1mobileActivities/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Search/paths/~1v3.0~1search~1mobileActivities/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **tmv1_query** `string` *required* Statement that allows you to retrieve a subset of the collected secure access activity data. Supported fields: tags, productCode, uuid, filterRiskLevel, endpointGuid, endpointHostName, endpointIp, eventId, eventSubId, logonUser, objectFileHashSha256, objectFilePath, pname, request, srcFileHashSha256, srcFilePath, endpointModel, osName, appLabel, appPkgName, appPublicKeySha1, objectAppDexSha256, objectAppLabel, objectAppPackageName, objectAppPublicKeySha1. Sent as the TMV1-Query header. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **endDateTime** `string | null` Timestamp in ISO 8601 format that indicates the end of the data retrieval time range. If no value is specified, 'endDateTime' defaults to the time the request is made. Default: `null`. **mode** `string | null` The type of data returned by the query results ("default" displays all data returned by the query, "countOnly" displays the number of records returned, and "performance" limits the returned records to 500.). Allowed values: default, countOnly, performance. Provider default: default. Default: `null`. **select** `string | null` The list of fields included in search results (If no fields are specified, the query returns all supported fields.). Default: `null`. **skipToken** `string | null` Pagination token from the skipToken query parameter of the nextLink returned by the previous page. Reuse the same filters when requesting the next page. Default: `null`. **startDateTime** `string | null` The start of the data retrieval range in ISO 8601 format. Default: startDateTime defaults to 24 hours before the request is made. Default: `null`. **top** `integer | null` The number of records displayed on a page in default mode. Allowed values: 50, 100, 500, 1000, 5000. Provider default: 500. Default: `null`. ## Search network activities Action ID: `tools.trend_vision_one.search_network_activities` Get network activity data. Displays search results from the Network Activity Data source in a paginated list. Calls GET /v3.0/search/networkActivities. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Search/paths/~~1v3.0~~1search\~1networkActivities/get](https://automation.trendmicro.com/xdr/api-v3/#tag/Search/paths/~1v3.0~1search~1networkActivities/get) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **tmv1_query** `string` *required* Statement that allows you to retrieve a subset of the collected secure access activity data. Sent as the TMV1-Query header. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **endDateTime** `string | null` Timestamp in ISO 8601 format that indicates the end of the data retrieval time range. If no value is specified, 'endDateTime' defaults to the time the request is made. Default: `null`. **mode** `string | null` The type of data returned by the query results ("default" displays all data returned by the query, "countOnly" displays the number of records returned, and "performance" limits the returned records to 500.). Allowed values: default, countOnly, performance. Provider default: default. Default: `null`. **select** `string | null` The list of fields included in search results (If no fields are specified, the query returns all supported fields.). Default: `null`. **skipToken** `string | null` Pagination token from the skipToken query parameter of the nextLink returned by the previous page. Reuse the same filters when requesting the next page. Default: `null`. **startDateTime** `string | null` The start of the data retrieval range in ISO 8601 format. Default: startDateTime defaults to 24 hours before the request is made. Default: `null`. **top** `integer | null` The number of records displayed on a page in default mode. Allowed values: 50, 100, 500, 1000, 5000. Provider default: 500. Default: `null`. ## Start malware scan Action ID: `tools.trend_vision_one.start_malware_scan` Scan for malware. Runs a one-time malware scan on one or more endpoints. Note: When choosing endpoints, you may specify either the computer name ("endpointName") or the GUID of the installed agent program ("agentGuid"). Calls POST /v3.0/response/endpoints/startMalwareScan. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Endpoint/paths/~~1v3.0~~1response~~1endpoints~~1startMalwareScan/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Endpoint/paths/~1v3.0~1response~1endpoints~1startMalwareScan/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **endpoints** `array[object]` *required* Endpoints to scan. Documented item fields: exactly one of agentGuid | endpointName; description. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Submit file to sandbox Action ID: `tools.trend_vision_one.submit_file` Submit file to sandbox. Submits a file to the sandbox for analysis. Calls POST /v3.0/sandbox/files/analyze. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Sandbox-Analysis/paths/~~1v3.0~~1sandbox~~1files~~1analyze/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Sandbox-Analysis/paths/~1v3.0~1sandbox~1files~1analyze/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **file** `string` *required* Base64-encoded file content to upload. **filename** `string` *required* Name of the uploaded file, including its extension. **archivePassword** `string | null` Password encoded in Base64 used to decrypt the submitted archive. The maximum password length (without encoding) is 128 bytes. Default: `null`. **arguments** `string | null` Parameter that allows you to specify Base64-encoded command line arguments to run the submitted file. The maximum argument length before encoding is 1024 bytes. Arguments are only available for Portable Executable (PE) files and script files. Default: `null`. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **documentPassword** `string | null` Password encoded in Base64 used to decrypt the submitted file sample. The maximum password length (without encoding) is 128 bytes. Default: `null`. ## Submit URLs to sandbox Action ID: `tools.trend_vision_one.submit_urls` Submit URLs to sandbox. Submits URLs to the sandbox for analysis. Calls POST /v3.0/sandbox/urls/analyze. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Sandbox-Analysis/paths/~~1v3.0~~1sandbox~~1urls~~1analyze/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Sandbox-Analysis/paths/~1v3.0~1sandbox~1urls~1analyze/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **urls** `array[object]` *required* JSON array sent as the request body. Documented item fields: url (required). **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Terminate process on endpoints Action ID: `tools.trend_vision_one.terminate_process` Terminate process. Terminates a process that is running on one or more endpoints. This operation is currently only supported on the Windows platform. Note: You can specify either the computer name ("endpointName") or the GUID of the installed agent program ("agentGuid"). Calls POST /v3.0/response/endpoints/terminateProcess. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Endpoint/paths/~~1v3.0~~1response~~1endpoints~~1terminateProcess/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Endpoint/paths/~1v3.0~1response~1endpoints~1terminateProcess/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **processes** `array[object]` *required* JSON array sent as the request body. Documented item fields: exactly one of agentGuid | endpointName; description, processId (required), fileSha1, fileName. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Trigger sweeping task Action ID: `tools.trend_vision_one.trigger_sweep` Trigger sweeping task. Searches your environment or third-party data sources that support STIX-Shifter for threat indicators specified in a custom intelligence report. Calls POST /v3.0/threatintel/intelligenceReports/sweep. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Intelligence-Reports/paths/~~1v3.0~~1threatintel~~1intelligenceReports~~1sweep/post](https://automation.trendmicro.com/xdr/api-v3/#tag/Intelligence-Reports/paths/~1v3.0~1threatintel~1intelligenceReports~1sweep/post) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **reports** `array[object]` *required* JSON array sent as the request body. Documented item fields: id (required), sweepType (required), description. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Update alert note Action ID: `tools.trend_vision_one.update_alert_note` Edit alert note. Modifies the content of the specified Workbench alert note. Calls PATCH /v3.0/workbench/alerts/\{alertId}/notes/\{id}. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Workbench-notes/paths/~~1v3.0~~1workbench~~1alerts~~1\{alertId}~~1notes~~1\{id}/patch](https://automation.trendmicro.com/xdr/api-v3/#tag/Workbench-notes/paths/~1v3.0~1workbench~1alerts~1\{alertId}~1notes~1\{id}/patch) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **alertId** `string` *required* Unique alphanumeric string that identifies a Workbench alert. **content** `string` *required* New content of the alert note (up to 500,000 characters). **id** `integer` *required* Numeric string that identifies a Workbench alert note. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **if_match** `string | null` Parameter that allows you to specify the version of the resource to be updated. Sent as the If-Match header. Default: `null`. ## Update case Action ID: `tools.trend_vision_one.update_case` Update a case. Allows supported ticketing systems to update the specified case. Calls PATCH /v3.0/caseManagement/cases/\{id}. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Case/paths/~~1v3.0~~1caseManagement~~1cases~~1\{id}/patch](https://automation.trendmicro.com/xdr/api-v3/#tag/Case/paths/~1v3.0~1caseManagement~1cases~1\{id}/patch) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **id** `string` *required* The case ID. **payload** `object` *required* API-native JSON request body. Documented fields for PATCH /v3.0/caseManagement/cases/\{id}: associatedItemIds, description, findings, name, priority, relatedCaseIds, severity, status, holder, externalTicketId, externalTicketUpdatedDateTime. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **if_match** `string | null` Provide the ETag of the resource to be updated. Sent as the If-Match header. Default: `null`. ## Update case content Action ID: `tools.trend_vision_one.update_case_content` Update the case content. Allows supported ticketing systems to update the specified case item in Case Management. Calls PATCH /v3.0/caseManagement/cases/\{id}/contents/\{contentId}. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Case/paths/~~1v3.0~~1caseManagement~~1cases~~1\{id}~~1contents~~1\{contentId}/patch](https://automation.trendmicro.com/xdr/api-v3/#tag/Case/paths/~1v3.0~1caseManagement~1cases~1\{id}~1contents~1\{contentId}/patch) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **contentId** `string` *required* The content ID. **id** `string` *required* The case ID. **payload** `object` *required* API-native JSON request body. Documented fields for PATCH /v3.0/caseManagement/cases/\{id}/contents/\{contentId}: attachmentIds, comment. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **if_match** `string | null` Provide the ETag of the resource to be updated. Sent as the If-Match header. Default: `null`. ## Update detection model exception Action ID: `tools.trend_vision_one.update_detection_exception` Update a custom exception. Updates the specified custom exception. Calls PATCH /v3.0/dmm/exceptions/\{id}. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Exceptions/paths/~~1v3.0~~1dmm~~1exceptions~~1\{id}/patch](https://automation.trendmicro.com/xdr/api-v3/#tag/Exceptions/paths/~1v3.0~1dmm~1exceptions~1\{id}/patch) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **id** `string` *required* The unique identifier of the exception. **payload** `object` *required* API-native JSON request body. Documented fields for PATCH /v3.0/dmm/exceptions/\{id}: name, description, targetEntities (endpointGUID, endpointHostName, endpointIp, src, dst, samUser, suser, mailbox, mailFromAddress), event (category, id, subId), criteria. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. ## Update Workbench alert status Action ID: `tools.trend_vision_one.update_alert` Modify alert status. Modifies the status of an alert or investigation triggered in Workbench. Calls PATCH /v3.0/workbench/alerts/\{id}. Reference: [https://automation.trendmicro.com/xdr/api-v3/#tag/Workbench/paths/~~1v3.0~~1workbench~~1alerts~~1\{id}/patch](https://automation.trendmicro.com/xdr/api-v3/#tag/Workbench/paths/~1v3.0~1workbench~1alerts~1\{id}/patch) ### Secrets Required secrets: * `trend_vision_one`: required values `TREND_VISION_ONE_API_KEY`. ### Input fields **id** `string` *required* The unique identifier of a Workbench alert. **payload** `object` *required* API-native JSON request body. Documented fields for PATCH /v3.0/workbench/alerts/\{id}: investigationStatus, status, investigationResult. **base_url** `string | null` Trend Vision One regional API base URL. Defaults to [https://api.xdr.trendmicro.com](https://api.xdr.trendmicro.com) (United States). Other regions: [https://api.eu.xdr.trendmicro.com](https://api.eu.xdr.trendmicro.com), [https://api.sg.xdr.trendmicro.com](https://api.sg.xdr.trendmicro.com), [https://api.au.xdr.trendmicro.com](https://api.au.xdr.trendmicro.com), [https://api.in.xdr.trendmicro.com](https://api.in.xdr.trendmicro.com), [https://api.xdr.trendmicro.co.jp](https://api.xdr.trendmicro.co.jp), [https://api.mea.xdr.trendmicro.com](https://api.mea.xdr.trendmicro.com), [https://api.uk.xdr.trendmicro.com](https://api.uk.xdr.trendmicro.com), [https://api.ca.xdr.trendmicro.com](https://api.ca.xdr.trendmicro.com), and [https://api.usgov.xdr.trendmicro.com](https://api.usgov.xdr.trendmicro.com) (FedRAMP). Default: `null`. **if_match** `string | null` The ETag of the resource you want to update. Sent as the If-Match header. Default: `null`. # URLhaus Source: https://docs.tracecat.com/tools/urlhaus Reference for the Tracecat URLhaus integration: registered actions, required secrets, expected inputs, and example workflow usage. ## List recent payloads Action ID: `tools.urlhaus.list_recent_payloads` List recent payloads. Calls GET /v1/payloads/recent/limit/\{limit}/ directly. Reference: [https://urlhaus-api.abuse.ch/#payloads-recent](https://urlhaus-api.abuse.ch/#payloads-recent) ### Secrets Required secrets: * `abusech`: required values `ABUSECH_API_KEY`. ### Input fields **base_url** `string | null` URLhaus API base URL. Default: `null`. **limit** `integer` Maximum number of payloads to return. URLhaus allows up to 1000. Default: `100`. ## List URL blocklist Action ID: `tools.urlhaus.list_url_threats` List recent URLs from URLhaus blocklist Reference: [https://urlhaus-api.abuse.ch/#urls-recent](https://urlhaus-api.abuse.ch/#urls-recent) ### Secrets Required secrets: * `abusech`: required values `ABUSECH_API_KEY`. ### Input fields **limit** `integer` Maximum number of URLs to return. Default: `100`. ## Lookup host Action ID: `tools.urlhaus.lookup_host` Look up a host, domain, or IPv4 address. Calls POST /v1/host/ directly. Reference: [https://urlhaus-api.abuse.ch/#host](https://urlhaus-api.abuse.ch/#host) ### Secrets Required secrets: * `abusech`: required values `ABUSECH_API_KEY`. ### Input fields **host** `string` *required* Host, domain, or IPv4 address to lookup. **base_url** `string | null` URLhaus API base URL. Default: `null`. ## Lookup payload Action ID: `tools.urlhaus.lookup_payload` Look up a payload by file hash. Calls POST /v1/payload/ directly. Reference: [https://urlhaus-api.abuse.ch/#payload](https://urlhaus-api.abuse.ch/#payload) ### Secrets Required secrets: * `abusech`: required values `ABUSECH_API_KEY`. ### Input fields **file_hash** `string` *required* MD5 or SHA256 hash of the payload to lookup. **base_url** `string | null` URLhaus API base URL. Default: `null`. ## Lookup URL Action ID: `tools.urlhaus.lookup_url` Look up a malware URL. Calls POST /v1/url/ directly. Reference: [https://urlhaus-api.abuse.ch/#url](https://urlhaus-api.abuse.ch/#url) ### Secrets Required secrets: * `abusech`: required values `ABUSECH_API_KEY`. ### Input fields **url** `string` *required* URL to lookup. **base_url** `string | null` URLhaus API base URL. Default: `null`. # URLScan Source: https://docs.tracecat.com/tools/urlscan Reference for the Tracecat URLScan integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Get result Action ID: `tools.urlscan.get_result` Get a urlscan result. Calls GET /api/v1/result/\{uuid}/ directly. Reference: [https://docs.urlscan.io/apis/urlscan-openapi/scanning/getresult](https://docs.urlscan.io/apis/urlscan-openapi/scanning/getresult) ### Secrets Required secrets: * `urlscan`: required values `URLSCAN_API_KEY`. ### Input fields **uuid** `string` *required* urlscan scan UUID. **base_url** `string | null` urlscan base URL. Default: `null`. ## Get screenshot Action ID: `tools.urlscan.get_screenshot` Get a urlscan PNG screenshot. Calls GET /screenshots/\{uuid}.png directly. Reference: [https://docs.urlscan.io/apis/urlscan-openapi/scanning/getscreenshot](https://docs.urlscan.io/apis/urlscan-openapi/scanning/getscreenshot) ### Secrets Required secrets: * `urlscan`: required values `URLSCAN_API_KEY`. ### Input fields **uuid** `string` *required* urlscan scan UUID. **base_url** `string | null` urlscan base URL. Default: `null`. ## Lookup URL Action ID: `tools.urlscan.lookup_url` Lookup a URL using URLScan. Reference: [https://urlscan.io/docs/result/](https://urlscan.io/docs/result/) ### Secrets Required secrets: * `urlscan`: required values `URLSCAN_API_KEY`. ### Input fields **url** `string` *required* URL to lookup. **visibility** `string` Visibility of the scan. Default: `"private"`. ## Search scans Action ID: `tools.urlscan.search_scans` Search urlscan scans. Calls GET /api/v1/search/ directly. Reference: [https://docs.urlscan.io/apis/urlscan-openapi/search/searchdatasource](https://docs.urlscan.io/apis/urlscan-openapi/search/searchdatasource) ### Secrets Required secrets: * `urlscan`: required values `URLSCAN_API_KEY`. ### Input fields **base_url** `string | null` urlscan base URL. Default: `null`. **datasource** `string | null` Datasources to search - scans (urlscan.io), hostnames, incidents, notifications, certificates (urlscan Pro). Default: `null`. **query** `string` Search Query (Elasticsearch Query String). Maps to q. Default: `"*"`. **search_after** `string | null` For retrieving the next batch of results, send the value of the sort attribute of the last (oldest) result you received (comma-separated) from the previous call. Default: `null`. **size** `integer | null` Number of results to return. Default: `null`. # Vercel Security Source: https://docs.tracecat.com/tools/vercel_security Reference for the Tracecat Vercel Security integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Create system bypass rule Action ID: `tools.vercel_security.create_system_bypass_rule` Create new system bypass rules. Calls POST /v1/security/firewall/bypass directly. Reference: [https://vercel.com/docs/rest-api/security/create-system-bypass-rule](https://vercel.com/docs/rest-api/security/create-system-bypass-rule) ### Secrets Required secrets: * `vercel`: required values `VERCEL_API_TOKEN`. ### Input fields **payload** `object` *required* API-native request body. Documented fields: domain or projectScope (one required), sourceIp, allSources, ttl (time to live in milliseconds), note (max 500 characters). **projectId** `string` *required* Project ID. **base_url** `string | null` Vercel REST API base URL. Default: `null`. **slug** `string | null` The Team slug to perform the request on behalf of. Default: `null`. **teamId** `string | null` The Team identifier to perform the request on behalf of. Default: `null`. ## Put firewall configuration Action ID: `tools.vercel_security.put_firewall_configuration` Set the firewall configuration to provided rules and settings. Creates or overwrites the existing firewall configuration. Calls PUT /v1/security/firewall/config directly. Reference: [https://vercel.com/docs/rest-api/security/put-firewall-configuration](https://vercel.com/docs/rest-api/security/put-firewall-configuration) ### Secrets Required secrets: * `vercel`: required values `VERCEL_API_TOKEN`. ### Input fields **payload** `object` *required* API-native request body. Documented fields for PUT /v1/security/firewall/config: firewallEnabled (required), managedRules, crs, rules, rulesets, ips, botIdEnabled, logHeaders. **projectId** `string` *required* Project ID. **base_url** `string | null` Vercel REST API base URL. Default: `null`. **slug** `string | null` The Team slug to perform the request on behalf of. Default: `null`. **teamId** `string | null` The Team identifier to perform the request on behalf of. Default: `null`. ## Read active attack data Action ID: `tools.vercel_security.read_active_attack_data` Retrieve active attack data within the last N days (default: 1 day). Calls GET /v1/security/firewall/attack-status directly. Reference: [https://vercel.com/docs/rest-api/security/read-active-attack-data](https://vercel.com/docs/rest-api/security/read-active-attack-data) ### Secrets Required secrets: * `vercel`: required values `VERCEL_API_TOKEN`. ### Input fields **projectId** `string` *required* Project ID. **base_url** `string | null` Vercel REST API base URL. Default: `null`. **since** `number | null` Number of days to look back. Default: `null`. **slug** `string | null` The Team slug to perform the request on behalf of. Default: `null`. **teamId** `string | null` The Team identifier to perform the request on behalf of. Default: `null`. ## Read firewall actions by project Action ID: `tools.vercel_security.read_firewall_actions_by_project` Retrieve firewall actions for a project. Calls GET /v1/security/firewall/events directly. Reference: [https://vercel.com/docs/rest-api/security/read-firewall-actions-by-project](https://vercel.com/docs/rest-api/security/read-firewall-actions-by-project) ### Secrets Required secrets: * `vercel`: required values `VERCEL_API_TOKEN`. ### Input fields **projectId** `string` *required* Project ID. **base_url** `string | null` Vercel REST API base URL. Default: `null`. **endTimestamp** `number | null` End timestamp of the time range to retrieve firewall actions for. Default: `null`. **hosts** `string | null` Hosts to filter firewall actions by. Default: `null`. **slug** `string | null` The Team slug to perform the request on behalf of. Default: `null`. **startTimestamp** `number | null` Start timestamp of the time range to retrieve firewall actions for. Default: `null`. **teamId** `string | null` The Team identifier to perform the request on behalf of. Default: `null`. ## Read firewall configuration Action ID: `tools.vercel_security.read_firewall_configuration` Retrieve the specified firewall configuration for a project. The deployed configVersion will be `active`. Calls GET /v1/security/firewall/config/\{configVersion} directly. Reference: [https://vercel.com/docs/rest-api/security/read-firewall-configuration](https://vercel.com/docs/rest-api/security/read-firewall-configuration) ### Secrets Required secrets: * `vercel`: required values `VERCEL_API_TOKEN`. ### Input fields **projectId** `string` *required* Project ID. **base_url** `string | null` Vercel REST API base URL. Default: `null`. **configVersion** `string` The deployed configVersion for the firewall configuration. Use `active` for the deployed configuration. Default: `"active"`. **slug** `string | null` The Team slug to perform the request on behalf of. Default: `null`. **teamId** `string | null` The Team identifier to perform the request on behalf of. Default: `null`. ## Read system bypass Action ID: `tools.vercel_security.read_system_bypass` Retrieve the system bypass rules configured for the specified project. Calls GET /v1/security/firewall/bypass directly. Reference: [https://vercel.com/docs/rest-api/security/read-system-bypass](https://vercel.com/docs/rest-api/security/read-system-bypass) ### Secrets Required secrets: * `vercel`: required values `VERCEL_API_TOKEN`. ### Input fields **projectId** `string` *required* Project ID. **base_url** `string | null` Vercel REST API base URL. Default: `null`. **domain** `string | null` Filter by domain. Default: `null`. **limit** `number | null` Maximum number of bypass rules to return. Default: `null`. **offset** `string | null` Used for pagination. Retrieves results after the provided id. Default: `null`. **projectScope** `boolean | null` Filter by project scoped rules. Default: `null`. **slug** `string | null` The Team slug to perform the request on behalf of. Default: `null`. **sourceIp** `string | null` Filter by source IP. Default: `null`. **teamId** `string | null` The Team identifier to perform the request on behalf of. Default: `null`. ## Remove system bypass rule Action ID: `tools.vercel_security.remove_system_bypass_rule` Remove system bypass rules. Calls DELETE /v1/security/firewall/bypass directly. Reference: [https://vercel.com/docs/rest-api/security/remove-system-bypass-rule](https://vercel.com/docs/rest-api/security/remove-system-bypass-rule) ### Secrets Required secrets: * `vercel`: required values `VERCEL_API_TOKEN`. ### Input fields **payload** `object` *required* API-native request body. Documented fields: domain or projectScope (one required), sourceIp, allSources, note (max 500 characters). **projectId** `string` *required* Project ID. **base_url** `string | null` Vercel REST API base URL. Default: `null`. **slug** `string | null` The Team slug to perform the request on behalf of. Default: `null`. **teamId** `string | null` The Team identifier to perform the request on behalf of. Default: `null`. ## Update attack challenge mode Action ID: `tools.vercel_security.update_attack_challenge_mode` Update the setting for determining if the project has Attack Challenge mode enabled. Calls POST /v1/security/attack-mode directly. Reference: [https://vercel.com/docs/rest-api/security/update-attack-challenge-mode](https://vercel.com/docs/rest-api/security/update-attack-challenge-mode) ### Secrets Required secrets: * `vercel`: required values `VERCEL_API_TOKEN`. ### Input fields **payload** `object` *required* API-native request body. Documented fields: projectId (required), attackModeEnabled (required), attackModeActiveUntil (timestamp; omit to leave the mode active until it is disabled). **base_url** `string | null` Vercel REST API base URL. Default: `null`. **slug** `string | null` The Team slug to perform the request on behalf of. Default: `null`. **teamId** `string | null` The Team identifier to perform the request on behalf of. Default: `null`. ## Update firewall configuration Action ID: `tools.vercel_security.update_firewall_configuration` Process updates to modify the existing firewall config for a project. Calls PATCH /v1/security/firewall/config directly. Reference: [https://vercel.com/docs/rest-api/security/update-firewall-configuration](https://vercel.com/docs/rest-api/security/update-firewall-configuration) ### Secrets Required secrets: * `vercel`: required values `VERCEL_API_TOKEN`. ### Input fields **payload** `object` *required* API-native request body with fields action, id, value. Documented actions include firewallEnabled, rules.insert, rules.update, rules.remove, rules.priority, crs.update, crs.disable, ip.insert, ip.update, ip.remove, managedRules.update, and named-condition, ruleset, bot ID and log-header updates; the shape of `value` depends on the action. **projectId** `string` *required* Project ID. **base_url** `string | null` Vercel REST API base URL. Default: `null`. **slug** `string | null` The Team slug to perform the request on behalf of. Default: `null`. **teamId** `string | null` The Team identifier to perform the request on behalf of. Default: `null`. # VirusTotal Source: https://docs.tracecat.com/tools/virustotal Reference for the Tracecat VirusTotal integration: registered actions, required secrets, expected inputs, and example workflow usage. ## List threats Action ID: `tools.virustotal.list_threats` List threats from VirusTotal. Reference: [https://docs.virustotal.com/reference/overview](https://docs.virustotal.com/reference/overview) ### Secrets Required secrets: * `virustotal`: required values `VIRUSTOTAL_API_KEY`. ### Input fields **filter** `string` *required* Filter to apply to the list of threats. **limit** `integer` Maximum number of threats to return. Default: `10`. ## Lookup domain Action ID: `tools.virustotal.lookup_domain` Get VirusTotal report for a domain. Reference: [https://docs.virustotal.com/reference/domain-info](https://docs.virustotal.com/reference/domain-info) ### Secrets Required secrets: * `virustotal`: required values `VIRUSTOTAL_API_KEY`. ### Input fields **domain** `string` *required* Domain to lookup. ## Lookup file hash Action ID: `tools.virustotal.lookup_file_hash` Get VirusTotal report for a file hash. Reference: [https://docs.virustotal.com/reference/file-info](https://docs.virustotal.com/reference/file-info) ### Secrets Required secrets: * `virustotal`: required values `VIRUSTOTAL_API_KEY`. ### Input fields **file_hash** `string` *required* File hash to lookup. ## Lookup IP address Action ID: `tools.virustotal.lookup_ip_address` Get VirusTotal report for an IP address. Reference: [https://docs.virustotal.com/reference/ip-info](https://docs.virustotal.com/reference/ip-info) ### Secrets Required secrets: * `virustotal`: required values `VIRUSTOTAL_API_KEY`. ### Input fields **ip_address** `string` *required* IP address to lookup. ## Lookup URL Action ID: `tools.virustotal.lookup_url` Get VirusTotal report for a URL. Reference: [https://docs.virustotal.com/reference/url-info](https://docs.virustotal.com/reference/url-info) ### Secrets Required secrets: * `virustotal`: required values `VIRUSTOTAL_API_KEY`. ### Input fields **url** `string` *required* URL to lookup. # Wazuh Source: https://docs.tracecat.com/tools/wazuh Reference for the Tracecat Wazuh integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Assign agents to group Action ID: `tools.wazuh.assign_agents_to_group` Assign agents to a group, e.g. move compromised hosts into a containment group with a restrictive configuration. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.agent_controller.put_multiple_agent_single_group](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.agent_controller.put_multiple_agent_single_group) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **agents_list** `array[string]` *required* Agent IDs to assign to the group. **group_id** `string` *required* Group ID (name of the group). **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **force_single_group** `boolean` If true, removes the agents from all their other groups. Default: `false`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## Block IP address Action ID: `tools.wazuh.block_ip` Block an IP address on agents with an Active Response script (`firewall-drop` by default). The agents must have the script installed. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.active_response_controller.run_command](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.active_response_controller.run_command) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **agents_list** `array[string]` *required* Agent IDs to block the IP address on. **ip_address** `string` *required* IP address to block. Sent as `alert.data.srcip`. **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **command** `string` Active Response script to run. Use `!netsh` or `!win_route-null` for Windows agents. Default: `"!firewall-drop"`. Allowed values: `!firewall-drop`, `!host-deny`, `!route-null`, `!netsh`, `!win_route-null`, `!firewalld-drop`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## Disable user account Action ID: `tools.wazuh.disable_account` Disable a local user account on Linux or Unix agents with the `disable-account` Active Response script. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.active_response_controller.run_command](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.active_response_controller.run_command) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **agents_list** `array[string]` *required* Agent IDs to disable the account on. **username** `string` *required* Username to disable. Sent as `alert.data.dstuser`. **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## Get agent active configuration Action ID: `tools.wazuh.get_agent_config` Get the configuration an agent is currently running for a component (e.g. `syscheck`/`syscheck`, `logcollector`/`localfile`, `com`/`active-response`, `agent`/`client`). Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_agent_config](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_agent_config) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **agent_id** `string` *required* Agent ID (e.g. `001`). Use `000` for the manager. **component** `string` *required* Agent component. Allowed values: `agent`, `agentless`, `analysis`, `auth`, `com`, `csyslog`, `integrator`, `logcollector`, `mail`, `monitor`, `request`, `syscheck`, `wazuh-db`, `wmodules`. **configuration** `string` *required* Configuration section to read for the component (e.g. `syscheck`, `rootcheck`, `localfile`, `active-response`, `client`, `labels`, `wmodules`). **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## Get agent hardware Action ID: `tools.wazuh.get_agent_hardware` Get the hardware details (CPU, RAM, serial) inventoried on an agent. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.syscollector_controller.get_hardware_info](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.syscollector_controller.get_hardware_info) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **agent_id** `string` *required* Agent ID (e.g. `001`). Use `000` for the manager. **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **select** `array[string] | null` Fields to return. Use `.` for nested fields (e.g. `ram.total`). Default: `null`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## Get agent hotfixes Action ID: `tools.wazuh.get_agent_hotfixes` List the Microsoft hotfixes (KBs) installed on a Windows agent. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.syscollector_controller.get_hotfix_info](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.syscollector_controller.get_hotfix_info) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **agent_id** `string` *required* Agent ID (e.g. `001`). Use `000` for the manager. **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **hotfix** `string | null` Filter by hotfix (e.g. `KB5034441`). Default: `null`. **limit** `integer` Maximum number of elements to return (up to 100000; Wazuh recommends 500 or fewer). Default: `500`. **offset** `integer` First element to return in the collection. Default: `0`. **q** `string | null` Wazuh query to filter results by (e.g. `status=active;os.platform=ubuntu`). Default: `null`. **search** `string | null` Look for elements containing the specified string. Prefix with `-` for a complementary search. Default: `null`. **select** `array[string] | null` Fields to return. Use `.` for nested fields (e.g. `os.name`). Default: `null`. **sort** `string | null` Fields to sort by, comma separated. Prefix with `+` or `-` for ascending or descending order. Default: `null`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## Get agent network addresses Action ID: `tools.wazuh.get_agent_netaddr` List the network addresses (IP, netmask, broadcast) inventoried on an agent. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.syscollector_controller.get_network_address_info](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.syscollector_controller.get_network_address_info) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **agent_id** `string` *required* Agent ID (e.g. `001`). Use `000` for the manager. **address** `string | null` Filter by IP address. Default: `null`. **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **iface** `string | null` Filter by network interface. Default: `null`. **limit** `integer` Maximum number of elements to return (up to 100000; Wazuh recommends 500 or fewer). Default: `500`. **offset** `integer` First element to return in the collection. Default: `0`. **proto** `string | null` Filter by IP protocol (`ipv4` or `ipv6`). Default: `null`. **q** `string | null` Wazuh query to filter results by (e.g. `status=active;os.platform=ubuntu`). Default: `null`. **search** `string | null` Look for elements containing the specified string. Prefix with `-` for a complementary search. Default: `null`. **select** `array[string] | null` Fields to return. Use `.` for nested fields (e.g. `os.name`). Default: `null`. **sort** `string | null` Fields to sort by, comma separated. Prefix with `+` or `-` for ascending or descending order. Default: `null`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## Get agent network interfaces Action ID: `tools.wazuh.get_agent_netiface` List the network interfaces (MAC, state, traffic counters) inventoried on an agent. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.syscollector_controller.get_network_interface_info](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.syscollector_controller.get_network_interface_info) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **agent_id** `string` *required* Agent ID (e.g. `001`). Use `000` for the manager. **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **limit** `integer` Maximum number of elements to return (up to 100000; Wazuh recommends 500 or fewer). Default: `500`. **name** `string | null` Filter by interface name. Default: `null`. **offset** `integer` First element to return in the collection. Default: `0`. **q** `string | null` Wazuh query to filter results by (e.g. `status=active;os.platform=ubuntu`). Default: `null`. **search** `string | null` Look for elements containing the specified string. Prefix with `-` for a complementary search. Default: `null`. **select** `array[string] | null` Fields to return. Use `.` for nested fields (e.g. `os.name`). Default: `null`. **sort** `string | null` Fields to sort by, comma separated. Prefix with `+` or `-` for ascending or descending order. Default: `null`. **state** `string | null` Filter by state (e.g. `up`). Default: `null`. **type** `string | null` Filter by interface type. Default: `null`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## Get agent OS Action ID: `tools.wazuh.get_agent_os` Get the operating system details inventoried on an agent. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.syscollector_controller.get_os_info](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.syscollector_controller.get_os_info) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **agent_id** `string` *required* Agent ID (e.g. `001`). Use `000` for the manager. **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **select** `array[string] | null` Fields to return. Use `.` for nested fields (e.g. `os.name`). Default: `null`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## Get agent packages Action ID: `tools.wazuh.get_agent_packages` List the software packages inventoried on an agent. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.syscollector_controller.get_packages_info](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.syscollector_controller.get_packages_info) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **agent_id** `string` *required* Agent ID (e.g. `001`). Use `000` for the manager. **architecture** `string | null` Filter by architecture. Default: `null`. **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **format** `string | null` Filter by package format (e.g. `deb`, `rpm`, `win`). Default: `null`. **limit** `integer` Maximum number of elements to return (up to 100000; Wazuh recommends 500 or fewer). Default: `500`. **name** `string | null` Filter by package name. Default: `null`. **offset** `integer` First element to return in the collection. Default: `0`. **q** `string | null` Wazuh query to filter results by (e.g. `status=active;os.platform=ubuntu`). Default: `null`. **search** `string | null` Look for elements containing the specified string. Prefix with `-` for a complementary search. Default: `null`. **select** `array[string] | null` Fields to return. Use `.` for nested fields (e.g. `os.name`). Default: `null`. **sort** `string | null` Fields to sort by, comma separated. Prefix with `+` or `-` for ascending or descending order. Default: `null`. **vendor** `string | null` Filter by vendor. Default: `null`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. **version** `string | null` Filter by package version. Default: `null`. ## Get agent ports Action ID: `tools.wazuh.get_agent_ports` List the open ports and network connections inventoried on an agent. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.syscollector_controller.get_ports_info](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.syscollector_controller.get_ports_info) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **agent_id** `string` *required* Agent ID (e.g. `001`). Use `000` for the manager. **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **limit** `integer` Maximum number of elements to return (up to 100000; Wazuh recommends 500 or fewer). Default: `500`. **local_ip** `string | null` Filter by local IP. Default: `null`. **local_port** `string | null` Filter by local port. Default: `null`. **offset** `integer` First element to return in the collection. Default: `0`. **pid** `string | null` Filter by PID. Default: `null`. **process** `string | null` Filter by process name. Default: `null`. **protocol** `string | null` Filter by protocol (e.g. `tcp`). Default: `null`. **q** `string | null` Wazuh query to filter results by (e.g. `status=active;os.platform=ubuntu`). Default: `null`. **remote_ip** `string | null` Filter by remote IP. Default: `null`. **search** `string | null` Look for elements containing the specified string. Prefix with `-` for a complementary search. Default: `null`. **select** `array[string] | null` Fields to return. Use `.` for nested fields (e.g. `os.name`). Default: `null`. **sort** `string | null` Fields to sort by, comma separated. Prefix with `+` or `-` for ascending or descending order. Default: `null`. **state** `string | null` Filter by state (e.g. `listening`, `established`). Default: `null`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## Get agent processes Action ID: `tools.wazuh.get_agent_processes` List the running processes inventoried on an agent. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.syscollector_controller.get_processes_info](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.syscollector_controller.get_processes_info) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **agent_id** `string` *required* Agent ID (e.g. `001`). Use `000` for the manager. **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **euser** `string | null` Filter by effective user. Default: `null`. **limit** `integer` Maximum number of elements to return (up to 100000; Wazuh recommends 500 or fewer). Default: `500`. **name** `string | null` Filter by process name. Default: `null`. **offset** `integer` First element to return in the collection. Default: `0`. **pid** `string | null` Filter by process PID. Default: `null`. **ppid** `string | null` Filter by parent PID. Default: `null`. **q** `string | null` Wazuh query to filter results by (e.g. `status=active;os.platform=ubuntu`). Default: `null`. **search** `string | null` Look for elements containing the specified string. Prefix with `-` for a complementary search. Default: `null`. **select** `array[string] | null` Fields to return. Use `.` for nested fields (e.g. `os.name`). Default: `null`. **sort** `string | null` Fields to sort by, comma separated. Prefix with `+` or `-` for ascending or descending order. Default: `null`. **state** `string | null` Filter by process state. Default: `null`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## Get CDB list file Action ID: `tools.wazuh.get_cdb_list_file` Get the content of a CDB list file. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.cdb_list_controller.get_file](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.cdb_list_controller.get_file) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **filename** `string` *required* CDB list file name (e.g. `malicious-ioc`). **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **raw** `boolean` If true, return the file as plain `key:value` text instead of JSON. Default: `false`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## Get FIM last scan Action ID: `tools.wazuh.get_syscheck_last_scan` Get when the last file integrity monitoring (syscheck) scan started and ended on an agent. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.syscheck_controller.get_last_scan_agent](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.syscheck_controller.get_last_scan_agent) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **agent_id** `string` *required* Agent ID (e.g. `001`). Use `000` for the manager. **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## Get rootcheck last scan Action ID: `tools.wazuh.get_rootcheck_last_scan` Get when the last rootcheck scan started and ended on an agent. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.rootcheck_controller.get_last_scan_agent](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.rootcheck_controller.get_last_scan_agent) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **agent_id** `string` *required* Agent ID (e.g. `001`). Use `000` for the manager. **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## Get rules file Action ID: `tools.wazuh.get_rules_file` Get the content of a rules file (e.g. `local_rules.xml`). Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.rule_controller.get_file](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.rule_controller.get_file) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **filename** `string` *required* Rules file name (e.g. `local_rules.xml`). **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **raw** `boolean` If true, return the file as plain XML text instead of JSON. Default: `false`. **relative_dirname** `string | null` Relative directory of the file (e.g. `etc/rules`). Default: `null`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## Ingest events Action ID: `tools.wazuh.ingest_events` Send security events to the Wazuh analysis engine. Limited to 100 events per request and 30 requests per minute. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.event_controller.forward_event](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.event_controller.forward_event) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **events** `array[string]` *required* Events to ingest. Each event is a raw log line or a JSON string. **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## List agents Action ID: `tools.wazuh.list_agents` List Wazuh agents and filter them by ID, status, name, IP, group, OS, or version. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_agents](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_agents) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **agents_list** `array[string] | null` Agent IDs to return. All agents are returned if not specified. Default: `null`. **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **group** `string | null` Filter by agent group. Default: `null`. **ip** `string | null` Filter by the IP the agent uses to communicate with the manager. Default: `null`. **limit** `integer` Maximum number of elements to return (up to 100000; Wazuh recommends 500 or fewer). Default: `500`. **name** `string | null` Filter by agent name. Default: `null`. **offset** `integer` First element to return in the collection. Default: `0`. **older_than** `string | null` Filter out agents whose last keep alive is more recent than this (e.g. `1h`, `7d`). Default: `null`. **os_platform** `string | null` Filter by OS platform (e.g. `ubuntu`, `windows`, `darwin`). Default: `null`. **q** `string | null` Wazuh query to filter results by (e.g. `status=active;os.platform=ubuntu`). Default: `null`. **search** `string | null` Look for elements containing the specified string. Prefix with `-` for a complementary search. Default: `null`. **select** `array[string] | null` Fields to return. Use `.` for nested fields (e.g. `os.name`). Default: `null`. **sort** `string | null` Fields to sort by, comma separated. Prefix with `+` or `-` for ascending or descending order. Default: `null`. **status** `array[string] | null` Filter by agent status: `active`, `pending`, `never_connected`, `disconnected`. Default: `null`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. **version** `string | null` Filter by agent version (e.g. `4.13.1`). Default: `null`. ## List agents in group Action ID: `tools.wazuh.list_agents_in_group` List the agents that belong to a group. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_agents_in_group](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_agents_in_group) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **group_id** `string` *required* Group ID (name of the group). **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **limit** `integer` Maximum number of elements to return (up to 100000; Wazuh recommends 500 or fewer). Default: `500`. **offset** `integer` First element to return in the collection. Default: `0`. **q** `string | null` Wazuh query to filter results by (e.g. `status=active;os.platform=ubuntu`). Default: `null`. **search** `string | null` Look for elements containing the specified string. Prefix with `-` for a complementary search. Default: `null`. **select** `array[string] | null` Fields to return. Use `.` for nested fields (e.g. `os.name`). Default: `null`. **sort** `string | null` Fields to sort by, comma separated. Prefix with `+` or `-` for ascending or descending order. Default: `null`. **status** `array[string] | null` Filter by agent status: `active`, `pending`, `never_connected`, `disconnected`. Default: `null`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## List CDB lists Action ID: `tools.wazuh.list_cdb_lists` List CDB lists (e.g. IP or hash blocklists referenced by rules) and their contents. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.cdb_list_controller.get_lists](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.cdb_list_controller.get_lists) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **filename** `array[string] | null` Filter by CDB list file name. Default: `null`. **limit** `integer` Maximum number of elements to return (up to 100000; Wazuh recommends 500 or fewer). Default: `500`. **offset** `integer` First element to return in the collection. Default: `0`. **q** `string | null` Wazuh query to filter results by (e.g. `status=active;os.platform=ubuntu`). Default: `null`. **relative_dirname** `string | null` Filter by relative directory (e.g. `etc/lists`). Default: `null`. **search** `string | null` Look for elements containing the specified string. Prefix with `-` for a complementary search. Default: `null`. **select** `array[string] | null` Fields to return. Use `.` for nested fields (e.g. `os.name`). Default: `null`. **sort** `string | null` Fields to sort by, comma separated. Prefix with `+` or `-` for ascending or descending order. Default: `null`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## List decoders Action ID: `tools.wazuh.list_decoders` List log decoders filtered by name, file, or status. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.decoder_controller.get_decoders](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.decoder_controller.get_decoders) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **decoder_names** `array[string] | null` Decoder names to return. Default: `null`. **filename** `array[string] | null` Filter by decoder file name. Default: `null`. **limit** `integer` Maximum number of elements to return (up to 100000; Wazuh recommends 500 or fewer). Default: `500`. **offset** `integer` First element to return in the collection. Default: `0`. **q** `string | null` Wazuh query to filter results by (e.g. `status=active;os.platform=ubuntu`). Default: `null`. **search** `string | null` Look for elements containing the specified string. Prefix with `-` for a complementary search. Default: `null`. **select** `array[string] | null` Fields to return. Use `.` for nested fields (e.g. `os.name`). Default: `null`. **sort** `string | null` Fields to sort by, comma separated. Prefix with `+` or `-` for ascending or descending order. Default: `null`. **status** `string | null` Filter by decoder status. Default: `null`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## List FIM findings Action ID: `tools.wazuh.list_syscheck_findings` List file integrity monitoring (syscheck) findings for an agent, filtered by path, type, or hash. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.syscheck_controller.get_syscheck_agent](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.syscheck_controller.get_syscheck_agent) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **agent_id** `string` *required* Agent ID (e.g. `001`). Use `000` for the manager. **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **file** `string | null` Filter by full file path. Default: `null`. **hash** `string | null` Filter by MD5, SHA1, or SHA256 hash. Default: `null`. **limit** `integer` Maximum number of elements to return (up to 100000; Wazuh recommends 500 or fewer). Default: `500`. **offset** `integer` First element to return in the collection. Default: `0`. **q** `string | null` Wazuh query to filter results by (e.g. `status=active;os.platform=ubuntu`). Default: `null`. **search** `string | null` Look for elements containing the specified string. Prefix with `-` for a complementary search. Default: `null`. **select** `array[string] | null` Fields to return. Use `.` for nested fields (e.g. `os.name`). Default: `null`. **sort** `string | null` Fields to sort by, comma separated. Prefix with `+` or `-` for ascending or descending order. Default: `null`. **summary** `boolean` If true, return a summary grouped by filename. Default: `false`. **type** `string | null` Filter by entry type. Registry types are only available on Windows agents. Default: `null`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## List groups Action ID: `tools.wazuh.list_groups` List agent groups with their agent counts and configuration checksums. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_list_group](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_list_group) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **groups_list** `array[string] | null` Group IDs to return. All groups are returned if not specified. Default: `null`. **limit** `integer` Maximum number of elements to return (up to 100000; Wazuh recommends 500 or fewer). Default: `500`. **offset** `integer` First element to return in the collection. Default: `0`. **q** `string | null` Wazuh query to filter results by (e.g. `status=active;os.platform=ubuntu`). Default: `null`. **search** `string | null` Look for elements containing the specified string. Prefix with `-` for a complementary search. Default: `null`. **select** `array[string] | null` Fields to return. Use `.` for nested fields (e.g. `os.name`). Default: `null`. **sort** `string | null` Fields to sort by, comma separated. Prefix with `+` or `-` for ascending or descending order. Default: `null`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## List MITRE techniques Action ID: `tools.wazuh.list_mitre_techniques` List MITRE ATT\&CK techniques from the Wazuh MITRE database. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.mitre_controller.get_techniques](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.mitre_controller.get_techniques) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **limit** `integer` Maximum number of elements to return (up to 100000; Wazuh recommends 500 or fewer). Default: `500`. **offset** `integer` First element to return in the collection. Default: `0`. **q** `string | null` Wazuh query to filter results by (e.g. `status=active;os.platform=ubuntu`). Default: `null`. **search** `string | null` Look for elements containing the specified string. Prefix with `-` for a complementary search. Default: `null`. **select** `array[string] | null` Fields to return. Use `.` for nested fields (e.g. `os.name`). Default: `null`. **sort** `string | null` Fields to sort by, comma separated. Prefix with `+` or `-` for ascending or descending order. Default: `null`. **technique_ids** `array[string] | null` Wazuh MITRE technique IDs to return. Default: `null`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## List rootcheck findings Action ID: `tools.wazuh.list_rootcheck_findings` List rootcheck findings (rootkits, anomalies, policy checks) for an agent. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.rootcheck_controller.get_rootcheck_agent](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.rootcheck_controller.get_rootcheck_agent) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **agent_id** `string` *required* Agent ID (e.g. `001`). Use `000` for the manager. **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **cis** `string | null` Filter by CIS requirement. Default: `null`. **limit** `integer` Maximum number of elements to return (up to 100000; Wazuh recommends 500 or fewer). Default: `500`. **offset** `integer` First element to return in the collection. Default: `0`. **pci_dss** `string | null` Filter by PCI DSS requirement. Default: `null`. **q** `string | null` Wazuh query to filter results by (e.g. `status=active;os.platform=ubuntu`). Default: `null`. **search** `string | null` Look for elements containing the specified string. Prefix with `-` for a complementary search. Default: `null`. **select** `array[string] | null` Fields to return. Use `.` for nested fields (e.g. `os.name`). Default: `null`. **sort** `string | null` Fields to sort by, comma separated. Prefix with `+` or `-` for ascending or descending order. Default: `null`. **status** `string | null` Filter by status. Default: `null`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## List rules Action ID: `tools.wazuh.list_rules` List detection rules filtered by ID, level, group, MITRE technique, compliance requirement, or file. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.rule_controller.get_rules](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.rule_controller.get_rules) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **filename** `array[string] | null` Filter by rule file name. Default: `null`. **group** `string | null` Filter by rule group (e.g. `authentication_failed`). Default: `null`. **level** `string | null` Filter by rule level, either a single level (`10`) or a range (`10-15`). Default: `null`. **limit** `integer` Maximum number of elements to return (up to 100000; Wazuh recommends 500 or fewer). Default: `500`. **mitre** `string | null` Filter by MITRE ATT\&CK technique ID (e.g. `T1110`). Default: `null`. **offset** `integer` First element to return in the collection. Default: `0`. **pci_dss** `string | null` Filter by PCI DSS requirement. Default: `null`. **q** `string | null` Wazuh query to filter results by (e.g. `status=active;os.platform=ubuntu`). Default: `null`. **rule_ids** `array[string] | null` Rule IDs to return. Default: `null`. **search** `string | null` Look for elements containing the specified string. Prefix with `-` for a complementary search. Default: `null`. **select** `array[string] | null` Fields to return. Use `.` for nested fields (e.g. `os.name`). Default: `null`. **sort** `string | null` Fields to sort by, comma separated. Prefix with `+` or `-` for ascending or descending order. Default: `null`. **status** `string | null` Filter by rule status. Default: `null`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## List SCA policies Action ID: `tools.wazuh.list_sca_policies` List Security Configuration Assessment (SCA) policy results for an agent, including pass, fail, and score. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.sca_controller.get_sca_agent](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.sca_controller.get_sca_agent) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **agent_id** `string` *required* Agent ID (e.g. `001`). Use `000` for the manager. **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **limit** `integer` Maximum number of elements to return (up to 100000; Wazuh recommends 500 or fewer). Default: `500`. **name** `string | null` Filter by policy name. Default: `null`. **offset** `integer` First element to return in the collection. Default: `0`. **q** `string | null` Wazuh query to filter results by (e.g. `status=active;os.platform=ubuntu`). Default: `null`. **search** `string | null` Look for elements containing the specified string. Prefix with `-` for a complementary search. Default: `null`. **select** `array[string] | null` Fields to return. Use `.` for nested fields (e.g. `os.name`). Default: `null`. **sort** `string | null` Fields to sort by, comma separated. Prefix with `+` or `-` for ascending or descending order. Default: `null`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## List SCA policy checks Action ID: `tools.wazuh.list_sca_policy_checks` List the Security Configuration Assessment (SCA) checks of a policy on an agent, e.g. failed checks with remediation steps. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.sca_controller.get_sca_checks](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.sca_controller.get_sca_checks) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **agent_id** `string` *required* Agent ID (e.g. `001`). Use `000` for the manager. **policy_id** `string` *required* SCA policy ID (e.g. `cis_ubuntu22-04`). **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **limit** `integer` Maximum number of elements to return (up to 100000; Wazuh recommends 500 or fewer). Default: `500`. **offset** `integer` First element to return in the collection. Default: `0`. **q** `string | null` Wazuh query to filter results by (e.g. `status=active;os.platform=ubuntu`). Default: `null`. **result** `string | null` Filter by check result. Default: `null`. **search** `string | null` Look for elements containing the specified string. Prefix with `-` for a complementary search. Default: `null`. **select** `array[string] | null` Fields to return. Use `.` for nested fields (e.g. `os.name`). Default: `null`. **sort** `string | null` Fields to sort by, comma separated. Prefix with `+` or `-` for ascending or descending order. Default: `null`. **title** `string | null` Filter by check title. Default: `null`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## List tasks Action ID: `tools.wazuh.list_tasks` List Wazuh tasks (e.g. agent upgrades) and their status. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.task_controller.get_tasks_status](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.task_controller.get_tasks_status) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **agents_list** `array[string] | null` Filter by agent IDs. Default: `null`. **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **command** `string | null` Filter by command (e.g. `upgrade`). Default: `null`. **limit** `integer` Maximum number of elements to return (up to 100000; Wazuh recommends 500 or fewer). Default: `500`. **module** `string | null` Filter by module (e.g. `upgrade_module`). Default: `null`. **offset** `integer` First element to return in the collection. Default: `0`. **q** `string | null` Wazuh query to filter results by (e.g. `status=active;os.platform=ubuntu`). Default: `null`. **search** `string | null` Look for elements containing the specified string. Prefix with `-` for a complementary search. Default: `null`. **select** `array[string] | null` Fields to return. Use `.` for nested fields (e.g. `os.name`). Default: `null`. **sort** `string | null` Fields to sort by, comma separated. Prefix with `+` or `-` for ascending or descending order. Default: `null`. **status** `string | null` Filter by status (e.g. `In progress`, `Done`, `Failed`). Default: `null`. **tasks_list** `array[string] | null` Filter by task IDs. Default: `null`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## Remove agents from group Action ID: `tools.wazuh.remove_agents_from_group` Remove agents from a group, e.g. release hosts from a containment group. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.agent_controller.delete_multiple_agent_single_group](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.agent_controller.delete_multiple_agent_single_group) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **agents_list** `array[string]` *required* Agent IDs to remove from the group. **group_id** `string` *required* Group ID (name of the group). **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## Restart agents Action ID: `tools.wazuh.restart_agents` Restart one or more Wazuh agents, e.g. to apply new group configuration after a response action. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.agent_controller.restart_agents](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.agent_controller.restart_agents) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **agents_list** `array[string]` *required* Agent IDs to restart. **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## Run command Action ID: `tools.wazuh.active_response` Run an Active Response command on Wazuh agents. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.active_response_controller.run_command](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.active_response_controller.run_command) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **agents_list** `string | null` *required* List of agent IDs (separated by comma), all agents selected by default if not specified. **command** `string` *required* Command running in the agent. If this value starts with !, then it refers to a script name instead of a command name. **alert** `object` Alert context passed to the script, e.g. `{"data": {"srcip": "1.2.3.4"}}` for `!firewall-drop` or `{"data": {"dstuser": "alice"}}` for `!disable-account`. Default: `{}`. **arguments** `array[string]` Extra arguments passed to the Active Response script. Default: `[]`. **auth_token_exp_timeout** `integer` Change the token base duration Default: `900`. **base_url** `string | null` URL for the Wazuh WUI API. Default: `null`. **verify_ssl** `boolean` If False, disables SSL verification for internal networks. Default: `true`. ## Run FIM scan Action ID: `tools.wazuh.run_syscheck_scan` Run a file integrity monitoring (syscheck) scan on agents. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.syscheck_controller.put_syscheck](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.syscheck_controller.put_syscheck) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **agents_list** `array[string]` *required* Agent IDs to scan. **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## Run logtest Action ID: `tools.wazuh.run_logtest` Test a log event against the ruleset and decoders to see which decoder and rule it matches and whether it raises an alert. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.logtest_controller.run_logtest_tool](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.logtest_controller.run_logtest_tool) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **event** `string` *required* Log event to test. **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **location** `string` Log location (e.g. `/var/log/auth.log`). Default: `"tracecat"`. **log_format** `string` Log format (e.g. `syslog`, `json`, `eventchannel`, `audit`, `command`). Default: `"syslog"`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## Run rootcheck scan Action ID: `tools.wazuh.run_rootcheck_scan` Run a rootcheck (rootkit and policy) scan on agents. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.rootcheck_controller.put_rootcheck](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.rootcheck_controller.put_rootcheck) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **agents_list** `array[string]` *required* Agent IDs to scan. **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## Search alerts Action ID: `tools.wazuh.search_alerts` Search Wazuh alerts in the Wazuh indexer by agent, rule, level, rule group, MITRE technique, IP address, time range, or free text. Results are sorted newest first. Reference: [https://documentation.wazuh.com/current/user-manual/wazuh-indexer/wazuh-indexer-api.html](https://documentation.wazuh.com/current/user-manual/wazuh-indexer/wazuh-indexer-api.html) ### Secrets Required secrets: * `wazuh_indexer`: required values `WAZUH_INDEXER_USERNAME`, `WAZUH_INDEXER_PASSWORD`. ### Input fields **agent_ids** `array[string] | null` Filter by agent IDs (`agent.id`). Default: `null`. **base_url** `string | null` Wazuh indexer URL (e.g. [https://wazuh-indexer:9200](https://wazuh-indexer:9200)). Defaults to the `wazuh_indexer.base_url` variable. Default: `null`. **dstip** `string | null` Filter by destination IP address (`data.dstip`). Default: `null`. **end_time** `string | null` End of the time range, as ISO 8601 or date math (e.g. `now`). Default: `null`. **extra_filters** `array[object] | null` Additional OpenSearch query DSL clauses added to the bool filter (e.g. `[{"term": {"agent.name": "web-01"}}]`). Default: `null`. **index** `string` Alerts index pattern. Default: `"wazuh-alerts-*"`. **min_level** `integer | null` Minimum rule level (`rule.level`), from 0 to 15. Default: `null`. **mitre_ids** `array[string] | null` Filter by MITRE ATT\&CK technique IDs (`rule.mitre.id`, e.g. `T1110`). Default: `null`. **query** `string | null` Free text query in OpenSearch simple query string syntax (e.g. `sshd AND "Failed password"`). Default: `null`. **rule_groups** `array[string] | null` Filter by rule groups (`rule.groups`). Matches alerts in any of the groups. Default: `null`. **rule_ids** `array[string] | null` Filter by rule IDs (`rule.id`). Default: `null`. **size** `integer` Maximum number of alerts to return. Default: `100`. **srcip** `string | null` Filter by source IP address (`data.srcip`). Default: `null`. **start_time** `string | null` Start of the time range, as ISO 8601 or date math (e.g. `now-24h`). Default: `null`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## Search vulnerabilities Action ID: `tools.wazuh.search_vulnerabilities` Search vulnerabilities detected on agents in the Wazuh indexer by agent, CVE, severity, package, or minimum CVSS score. Reference: [https://documentation.wazuh.com/current/user-manual/capabilities/vulnerability-detection/index.html](https://documentation.wazuh.com/current/user-manual/capabilities/vulnerability-detection/index.html) ### Secrets Required secrets: * `wazuh_indexer`: required values `WAZUH_INDEXER_USERNAME`, `WAZUH_INDEXER_PASSWORD`. ### Input fields **agent_ids** `array[string] | null` Filter by agent IDs (`agent.id`). Default: `null`. **base_url** `string | null` Wazuh indexer URL (e.g. [https://wazuh-indexer:9200](https://wazuh-indexer:9200)). Defaults to the `wazuh_indexer.base_url` variable. Default: `null`. **cve_ids** `array[string] | null` Filter by CVE IDs (`vulnerability.id`, e.g. `CVE-2024-3094`). Default: `null`. **extra_filters** `array[object] | null` Additional OpenSearch query DSL clauses added to the bool filter. Default: `null`. **index** `string` Vulnerability states index pattern. Default: `"wazuh-states-vulnerabilities-*"`. **min_score** `number | null` Minimum CVSS base score (`vulnerability.score.base`). Default: `null`. **package_name** `string | null` Filter by affected package name (`package.name`). Default: `null`. **severities** `array[string] | null` Filter by severity (`vulnerability.severity`). One or more of `Critical`, `High`, `Medium`, `Low`. Default: `null`. **size** `integer` Maximum number of vulnerabilities to return. Default: `100`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## Summarize agents status Action ID: `tools.wazuh.get_agents_summary_status` Summarize agent connection status (active, disconnected, never connected, pending) and group sync status. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_agents_summary_status](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_agents_summary_status) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## Update agents Action ID: `tools.wazuh.update_agents` Identifies outdated Wazuh agents and updates them. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.agent_controller.put_upgrade_agents](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.agent_controller.put_upgrade_agents) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **auth_token_exp_timeout** `integer` Change the token base duration Default: `900`. **base_url** `string | null` URL for the Wazuh WUI API. Default: `null`. **verify_ssl** `boolean` If False, disables SSL verification for internal networks. Default: `true`. ## Update CDB list file Action ID: `tools.wazuh.update_cdb_list_file` Upload or replace a CDB list file (e.g. add IOCs to a blocklist used by rules). Content uses one `key:value` entry per line. The manager must be restarted for changes to take effect. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.cdb_list_controller.put_file](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.cdb_list_controller.put_file) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **content** `string` *required* Full list content, one `key:value` entry per line (e.g. `1.2.3.4:malicious`). **filename** `string` *required* CDB list file name (e.g. `malicious-ioc`). **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **overwrite** `boolean` If false, fails when the file already exists. Default: `false`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. ## Update rules file Action ID: `tools.wazuh.update_rules_file` Upload or replace a custom rules file (in `etc/rules`). The manager must be restarted for changes to take effect. Reference: [https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.rule_controller.put_file](https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.rule_controller.put_file) ### Secrets Required secrets: * `wazuh_wui`: required values `WAZUH_WUI_USERNAME`, `WAZUH_WUI_PASSWORD`. ### Input fields **content** `string` *required* Full XML content of the rules file. **filename** `string` *required* Rules file name (e.g. `local_rules.xml`). **base_url** `string | null` Wazuh server API URL (e.g. [https://wazuh-manager:55000](https://wazuh-manager:55000)). Defaults to the `wazuh.base_url` variable. Default: `null`. **overwrite** `boolean` If false, fails when the file already exists. Default: `false`. **relative_dirname** `string | null` Relative directory of the file (e.g. `etc/rules`). Default: `null`. **verify_ssl** `boolean` If false, disables SSL verification for internal networks. Default: `true`. # X Source: https://docs.tracecat.com/tools/x Reference for the Tracecat X integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Get tweet Action ID: `tools.x.get_tweet` Get a post. Calls GET /2/tweets/\{tweet_id} directly. Reference: [https://docs.x.com/x-api/posts/get-post-by-id](https://docs.x.com/x-api/posts/get-post-by-id) ### Secrets Required secrets: * `x`: required values `X_APP_ONLY_TOKEN`. ### Input fields **tweet_id** `string` *required* X post ID. **base_url** `string | null` Base URL of the X API. Default: `null`. **expansions** `string | null` A comma separated list of fields to expand. Default: `null`. **media_fields** `string | null` A comma separated list of Media fields to display. Default: `null`. **place_fields** `string | null` A comma separated list of Place fields to display. Default: `null`. **poll_fields** `string | null` A comma separated list of Poll fields to display. Default: `null`. **tweet_fields** `string | null` A comma separated list of Post fields to display. Default: `null`. **user_fields** `string | null` A comma separated list of User fields to display. Default: `null`. ## Get user Action ID: `tools.x.get_user` Get a user. Calls GET /2/users/\{user_id} directly. Reference: [https://docs.x.com/x-api/users/get-user-by-id](https://docs.x.com/x-api/users/get-user-by-id) ### Secrets Required secrets: * `x`: required values `X_APP_ONLY_TOKEN`. ### Input fields **user_id** `string` *required* X user ID. **base_url** `string | null` Base URL of the X API. Default: `null`. **expansions** `string | null` A comma separated list of fields to expand. Default: `null`. **tweet_fields** `string | null` A comma separated list of Post fields to display. Default: `null`. **user_fields** `string | null` A comma separated list of User fields to display. Default: `null`. ## Search recent tweets Action ID: `tools.x.search_recent_tweets` Search recent posts. Calls GET /2/tweets/search/recent directly. Reference: [https://docs.x.com/x-api/posts/search-recent-posts](https://docs.x.com/x-api/posts/search-recent-posts) ### Secrets Required secrets: * `x`: required values `X_APP_ONLY_TOKEN`. ### Input fields **query** `string` *required* X recent search query. **base_url** `string | null` Base URL of the X API. Default: `null`. **end_time** `string | null` Newest UTC timestamp to include, formatted as YYYY-MM-DDTHH:mm:ssZ. Default: `null`. **expansions** `string | null` A comma separated list of fields to expand. Default: `null`. **max_results** `integer | null` Maximum number of results. X supports 10 to 100. Default: `null`. **media_fields** `string | null` A comma separated list of Media fields to display. Default: `null`. **next_token** `string | null` A base32hex-encoded pagination token. Default: `null`. **pagination_token** `string | null` A base32hex-encoded pagination token. Default: `null`. **place_fields** `string | null` A comma separated list of Place fields to display. Default: `null`. **poll_fields** `string | null` A comma separated list of Poll fields to display. Default: `null`. **since_id** `string | null` Return results with a post ID greater than this ID. Default: `null`. **sort_order** `string | null` Result order, such as recency or relevancy. Default: `null`. **start_time** `string | null` Oldest UTC timestamp to include, formatted as YYYY-MM-DDTHH:mm:ssZ. Must be within the last 7 days. Default: `null`. **tweet_fields** `string | null` A comma separated list of Post fields to display. Default: `null`. **until_id** `string | null` Return results with a post ID less than this ID. Default: `null`. **user_fields** `string | null` A comma separated list of User fields to display. Default: `null`. # Zendesk Source: https://docs.tracecat.com/tools/zendesk Reference for the Tracecat Zendesk integration: registered actions, required secrets, expected inputs, and example workflow usage. ## Get group users Action ID: `tools.zendesk.get_group_users` Retrieve all users in a specific group. Reference: [https://developer.zendesk.com/api-reference/ticketing/groups/groups/](https://developer.zendesk.com/api-reference/ticketing/groups/groups/) ### Secrets Optional secrets: * `zendesk_oauth`: OAuth token `ZENDESK_SERVICE_TOKEN`. * `zendesk`: required values `ZENDESK_EMAIL`, `ZENDESK_API_TOKEN`. ### Input fields **group_id** `integer` *required* The ID of the group **subdomain** `string` *required* Your Zendesk subdomain (e.g., 'company' for company.zendesk.com) **page** `integer | null` Page number for pagination (1-based) Default: `null`. **per_page** `integer` Number of users per page (max 100) Default: `100`. ## Get groups Action ID: `tools.zendesk.get_groups` Retrieve all groups from Zendesk. Reference: [https://developer.zendesk.com/api-reference/ticketing/groups/groups/](https://developer.zendesk.com/api-reference/ticketing/groups/groups/) ### Secrets Optional secrets: * `zendesk_oauth`: OAuth token `ZENDESK_SERVICE_TOKEN`. * `zendesk`: required values `ZENDESK_EMAIL`, `ZENDESK_API_TOKEN`. ### Input fields **subdomain** `string` *required* Your Zendesk subdomain (e.g., 'company' for company.zendesk.com) **page** `integer | null` Page number for pagination (1-based) Default: `null`. **per_page** `integer` Number of groups per page (max 100) Default: `100`. ## Get ticket Action ID: `tools.zendesk.get_ticket` Retrieve a specific ticket by ID from Zendesk. Reference: [https://developer.zendesk.com/api-reference/ticketing/tickets/tickets/#show-ticket](https://developer.zendesk.com/api-reference/ticketing/tickets/tickets/#show-ticket) ### Secrets Optional secrets: * `zendesk_oauth`: OAuth token `ZENDESK_SERVICE_TOKEN`. * `zendesk`: required values `ZENDESK_EMAIL`, `ZENDESK_API_TOKEN`. ### Input fields **subdomain** `string` *required* Your Zendesk subdomain (e.g., 'company' for company.zendesk.com) **ticket_id** `integer` *required* The ID of the ticket to retrieve ## Get ticket attachments Action ID: `tools.zendesk.get_ticket_attachments` Retrieve attachments from a specific ticket. Reference: [https://developer.zendesk.com/api-reference/ticketing/tickets/ticket_comments/](https://developer.zendesk.com/api-reference/ticketing/tickets/ticket_comments/) ### Secrets Optional secrets: * `zendesk_oauth`: OAuth token `ZENDESK_SERVICE_TOKEN`. * `zendesk`: required values `ZENDESK_EMAIL`, `ZENDESK_API_TOKEN`. ### Input fields **subdomain** `string` *required* Your Zendesk subdomain (e.g., 'company' for company.zendesk.com) **ticket_id** `integer` *required* The ID of the ticket ## Get ticket comments Action ID: `tools.zendesk.get_ticket_comments` Retrieve all comments for a specific ticket. Reference: [https://developer.zendesk.com/api-reference/ticketing/tickets/ticket_comments/](https://developer.zendesk.com/api-reference/ticketing/tickets/ticket_comments/) ### Secrets Optional secrets: * `zendesk_oauth`: OAuth token `ZENDESK_SERVICE_TOKEN`. * `zendesk`: required values `ZENDESK_EMAIL`, `ZENDESK_API_TOKEN`. ### Input fields **subdomain** `string` *required* Your Zendesk subdomain (e.g., 'company' for company.zendesk.com) **ticket_id** `integer` *required* The ID of the ticket **page** `integer | null` Page number for pagination (1-based) Default: `null`. **per_page** `integer` Number of comments per page (max 100) Default: `100`. ## Get Twilio recordings Action ID: `tools.zendesk.get_twilio_recordings` Retrieve Twilio call recordings associated with tickets (requires Twilio integration). Reference: [https://developer.zendesk.com/api-reference/voice/talk-api/recordings/](https://developer.zendesk.com/api-reference/voice/talk-api/recordings/) ### Secrets Optional secrets: * `zendesk_oauth`: OAuth token `ZENDESK_SERVICE_TOKEN`. * `zendesk`: required values `ZENDESK_EMAIL`, `ZENDESK_API_TOKEN`. ### Input fields **call_id** `string` *required* Call ID **subdomain** `string` *required* Your Zendesk subdomain (e.g., 'company' for company.zendesk.com) ## Search Zendesk Action ID: `tools.zendesk.search_tickets` Search Zendesk using search query syntax. Reference: [https://developer.zendesk.com/api-reference/ticketing/ticket-management/search/#list-search-results](https://developer.zendesk.com/api-reference/ticketing/ticket-management/search/#list-search-results) ### Secrets Optional secrets: * `zendesk_oauth`: OAuth token `ZENDESK_SERVICE_TOKEN`. * `zendesk`: required values `ZENDESK_EMAIL`, `ZENDESK_API_TOKEN`. ### Input fields **subdomain** `string` *required* Your Zendesk subdomain (e.g., 'company' for company.zendesk.com) **page** `integer | null` Page number for pagination (1-based) Default: `null`. **per_page** `integer` Number of results per page (max 100) Default: `100`. **query** `string` Search query using Zendesk search syntax. Default type:ticket -status:solved -status:closed Default: `"type:ticket -status:solved -status:closed"`. **sort_by** `string | null` Field to sort results by (created_at, updated_at, priority, status, ticket_type) Default: `null`. **sort_order** `string | null` Sort order (asc, desc) Default: `null`.