SMB Actions
Server Message Block (SMB) is a network communication protocol for providing shared access to files, printers, and serial ports between nodes on a network.
Connect SMB with Devo SOAR
Navigate to Automations > Integrations.
Search for SMB Actions.
Click Details, then the + icon. Enter the required information in the following fields.
Label: Enter a connection name.
Reference Values: Define variables here to templatize integration connections and actions. For example, you can use https://www.{{hostname}}.com where, hostname is a variable defined in this input. For more information on how to add data, see 'Add Data' Input Type for Integrations.
Verify SSL: Select option to verify connecting server's SSL certificate (Default is Verify SSL Certificate).
Remote Agent: Run this integration using the Devo SOAR Remote Agent.
Server Address: Server address for SMB connection.
Server Port (Optional): Port for SMB connection (Default is 445 port).
Username: Username for SMB connection.
Password: Password for SMB connection.
After you've entered all the details, click Connect.
Actions for SMB
List Files
Retrieve a directory listing of files/folders at the path.
Input Field
Choose a connection that you have previously created and then fill in the necessary information in the following input fields to complete the connection.
Input Name | Description | Required |
---|---|---|
NETBIOS Name Column Name | Column name from the parent table that contains NETBIOS name of the remote server. | Required |
Service Name Column Name | Column name from the parent table that contains the name of the shared folder. | Required |
Output
A JSON object containing multiple rows of result:
has_error: True/False
error: message/null
result: List of files.
Download File
Download a file at the path on the service name.
Inputs to this Action:
Connection: Choose a connection that you have created.
NETBIOS Name Column Name: Column name from the parent table that contains NETBIOS name of the remote server.
Service Name Column Name: Column name from the parent table that contains the name of the shared folder.
Path Column Name: Column name from the parent table that contains path relative to the service name.
Output of Action:
A JSON object containing multiple rows of result:
has_error: True/False
error: message/null
result: File Id.
Upload File
Upload the file at the path on the service name.
Input Field
Choose a connection that you have previously created and then fill in the necessary information in the following input fields to complete the connection.
Input Name | Description | Required |
---|---|---|
NETBIOS Name Column Name | Column name from the parent table that contains NETBIOS name of the remote server. | Required |
Service Name Column Name | Column name from the parent table that contains the name of the shared folder. | Required |
Path Column Name | Column name from the parent table that contains path relative to the service name. | Required |
File Id Column Name | Column name from the parent table that contains file id. | Required |
Output
A JSON object containing multiple rows of result:
has_error: True/False
error: message/null
result: Success/Failure message.
Move File
Move a file at old path to new path shared at service name.
Input Field
Choose a connection that you have previously created and then fill in the necessary information in the following input fields to complete the connection.
Input Name | Description | Required |
---|---|---|
NETBIOS Name Column Name | Column name from the parent table that contains NETBIOS name of the remote server. | Required |
Service Name Column Name | Column name from the parent table that contains the name of the shared folder. | Required |
Source Path Column Name | Column name from the parent table that contains source path relative to the service name. | Required |
Destination Path Column Name | Column name from the parent table that contains the destination path relative to the service name. | Required |
Output
A JSON object containing multiple rows of result:
has_error: True/False
error: message/null
result: Success/Failure message.
Delete File
Delete a file at path shared at service name.
Input Field
Choose a connection that you have previously created and then fill in the necessary information in the following input fields to complete the connection.
Input Name | Description | Required |
---|---|---|
NETBIOS Name Column Name | Column name from the parent table that contains NETBIOS name of the remote server. | Required |
Service Name Column Name | Column name from the parent table that contains the name of the shared folder. | Required |
Path Column Name | Column name from the parent table that contains path relative to the service name. | Required |
Output
A JSON object containing multiple rows of result:
has_error: True/False
error: message/null
result: Success/Failure message.
Release Notes
v2.0.0
- Updated architecture to support IO via filesystem