Last Updated: October 26, 2026
Command tasks refer to integration or utility commands, which can be D3-built or user-built (custom). Built-in and custom commands may be implemented through Python scripts or codeless playbooks.
Integration Commands
These commands execute actions related to external systems or services, such as retrieving threat intelligence, managing cloud resources, or automating tasks in areas like analytics, SIEM/XDR operations, and identity management.
Choosing an Integration Command
In a Playbook
Tip: you can also generate this playbook with AI. See Generating with AI.
-
Add a command task (point to the node it should follow, select +, then New Command Task), or select an existing command task to open its settings. See Playbook Tasks.
-
Open the Command list. Commands are grouped by category, and integration commands show their integration in the name, for example Create List - Microsoft Lists (From v1.0).
-
Type in the search box to find the command by name. The Only connected integrations box is under the search box.
-
Select the command. Its description appears under it, with View Sample Data, and its input parameters are listed below. Type a fixed value, or switch on Dynamic to take the value from data that earlier tasks produced (see Dynamically Selecting Data).
-
Select the check mark at the top of the settings to save the task.
Integrations Page
To explore an integration's commands and run one outside a playbook:
-
Select Configuration > Integrations, then search for and open the integration (see Integrations).
-
Select a command.
-
On its Test tab, choose a connection under CONNECTION, enter the input parameters, then select Test Command.
READER NOTE
On the incident-level, commands can be executed on-the-fly using the Execute Command button in the general information header panel.
Utility commands
These commands primarily support internal operations, including data manipulation, updating incident details, and generating reports, with occasional exceptions like facilitating email communications.
Choosing a Utility Command
In a Playbook
-
Add a command task (point to the node it should follow, select +, then New Command Task), or select an existing command task to open its settings. See Playbook Tasks.
-
Open the Command list. Commands are grouped by category, and utility commands are listed under their categories.
-
Type in the search box to find the command by name. The Only connected integrations box is under the search box.
-
Select the command. Its description appears under it, with View Sample Data, and its input parameters are listed below. Type a fixed value, or switch on Dynamic to take the value from data that earlier tasks produced (see Dynamically Selecting Data).
-
Select the check mark at the top of the settings to save the task.
Utility Commands Page
To explore all utility commands and run one outside a playbook:
-
Select Configuration > Utility Commands (see Utility Commands).
-
Search for and select a command.
-
On its Test tab, select a site, enter the input parameters, then select Test Command.
READER NOTE
On the incident-level, commands can be executed on-the-fly using the Execute Command button in the general information header panel.
Integration Command Examples
Checking the Reputation of a URL
Objective Set up and run a command task that checks the reputation of a URL.
-
Add a command task to the On Playbook Start trigger. In its Command list, select Check URL Reputation from VirusTotal v3.
-
Name the task in Task Name.
-
Configure the task details, then save the task.
-
Enter a URL in text array format.
For the demo, the data is hardcoded, but it should almost always be dynamically retrieved from a data source (e.g., an event or incident) using the Format Builder function. -
Select an existing connection to use or create a new one.
-
Select the Auto Run checkbox.
-
Select the check mark at the top of the settings to save the task.
-
-
Select Test Playbook, then select Run Test in the Test Trigger window.
RESULT
The Check URL Reputation command provides reputation data for a URL, enabling analysts to assess its safety and determine if blocking is necessary.
Interacting with Slack Interactivity Elements
See Send Interactivity examples.
Utility Command Examples
Sending an Email with Attachments
Objective Send an email from the vSOC platform, including any files attached to the incident as email attachments.
-
Add a command task to the On Playbook Start trigger, and select the Send Email utility command in its Command list.
-
Name the task in Task Name.
-
Configure the task details, then save the task.
-
Enter the recipient's email address.
-
Enter the email subject.
-
Enter the email body.
-
Enter the CC recipient.
-
Choose Incident Attachment File as the file source.
-
Select the Dynamic toggle.
-
Dynamically retrieve the value for the File ID. Refer to Dynamically Selecting Data for more information.
{{ $.PlaybookData.DataSource.incident.File[*].FileId }} -
Select the Auto Run checkbox.
For information about the Reply Mode and Reply Due Time parameters, refer to this documentation. -
Select the check mark at the top of the settings to save the task.
-
-
Test the playbook.
-
Select Test Playbook.
-
Select a site.
-
Select an incident.
Testing the playbook on an incident will impact the incident. To avoid unintended effects, perform all testing involving the Test Playbook functionality in a demo instance of vSOC. -
Click on the Run Test button.
-
RESULT
The Send Email command task sends an email based on the specified task configurations, delivering it to the primary recipient and any CC or BCC recipients defined. Any files uploaded to the incident workspace are included as an attachment.
Retrieving Global List Metadata
Objective Extract the description of a global list titled Demo Global List.
-
Ensure Demo Global List is available for use in select sites.
-
Connect a command task to the On Playbook Start trigger.
-
Name the command task in Task Name.
-
Select the Auto Run checkbox, then open the Command list.
-
Select the Get Global List MetaData utility command.
-
Specify the search type and global list name, then save the task.
-
Select Test Playbook, then select Run Test in the Test Trigger window.
-
Select the status icon on the command task to open Playbook Task Details.
-
Click on the Return Data tab to view the extracted description.
Mixed Command Use Example
Mixed Command Use Example - Generating a CSV File Using Domain IP Reputation Results
Objective Create a CSV file that includes information about the IP reputation linked to domain names.
-
Add a command task to the On Playbook Start trigger, and select the Get Ips by Domain Names utility command in its Command list.
-
Name the task in Task Name.
-
Configure the task details, then save the task.
-
Enter the domain names whose IPs will be retrieved, such as this compromised domain listed by NetAPI:
[shopsabz.com]For the demo, the data is hardcoded, but it should almost always be dynamically retrieved from a data source (e.g., an event or incident) using the Format Builder function.
-
Select the Auto Run checkbox.
-
Select the check mark at the top of the settings to save the task.
-
-
Repeat steps 1 and 2 to add the Get IP Reputation command task from the VirusTotal V3 integration to the previous task.
-
Configure the task details, then save the task.
-
Dynamically retrieve the value for the IPs, the output data of the previous task.
{{PlaybookData | jsonpath('$.["Get IP by Domain"].outputData.IPAddresses')}} -
Select an existing connection to use or create a new one.
-
Select the Auto Run checkbox.
-
Select the check mark at the top of the settings to save the task.
-
-
Repeat steps 1 and 2 to add the Convert HTML to JSON utility command task to the previous task.
-
Configure the task details, then save the task.
-
Click on the Dynamic toggle.
-
Dynamically retrieve the value for the HTML Text, the result of the previous task.
{{ $.PlaybookData.["Get IP Reputation"].result }} -
Select the True option.
-
Select the Auto Run checkbox.
-
Select the check mark at the top of the settings to save the task.
-
-
Repeat steps 1 and 2 to add the Convert JSON Array to CSV utility command task to the previous task.
-
Configure the task details, then save the task.
-
Dynamically retrieve the value for the JSON Array to Convert the return data of the previous task.
{{ $.PlaybookData.["Convert HTML Table to JSON"].returnData }} -
(Optional) Rename the file.
-
Select the Auto Run checkbox.
-
Select the check mark at the top of the settings to save the task.
-
-
Select Test Playbook, then select Run Test in the Test Trigger window.
RESULT
Users will be able to download the "result" CSV file by navigating to the playbook task details > Result tab, then clicking on the result.csv file.