Document toolboxDocument toolbox

File Store

An Integration to manage file store. It can create/update or delete CSV from file store.

Connect File Store with Devo SOAR

  1. Navigate to Automations > Integrations.

  2. Search for File Store.

  3. Click Details, then the + icon. Enter the required information in the following fields.

  4. Label: Enter a connection name.

  5. 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.

  6. Verify SSL: Select option to verify connecting server's SSL certificate (Default is Verify SSL Certificate).

  7. Remote Agent: Run this integration using the Devo SOAR Remote Agent.

  8. URL (Optional): URL of your Devo SOAR instance. Example: https://xyz.logichub.com (Default to connect to the local Devo SOAR server using https\://nginx:8443).

  9. API Token: API Token for accessing File Store. To create API Token, see details.

  10. After you've entered all the details, click Connect.

Actions for File Store

Create or Update

Save data of table as CSV into file store.

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

Input Name

Description

Required

File Path to Upload

Path in file store where CSV will be uploaded. Eg: folder/data.csv

Required

Include Hidden Fields

Include hidden fields in CSV? Eg. lhub_id,lhub_page_num (Default is 'No')

Optional

Output

A JSON object containing multiple rows of result:

  • has_error: True/False

  • error: message/null

  • num_of_rows: Number of rows in the CSV file.

  • result: Upload status

``` {json}{ "has_error":false, "num_of_rows":2, "result":"File has been created/updated successfully to store", "error":null }

## Delete Delete CSV from file store. ### 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 | | :---------------------- | :--------------------------------------------------------- | :------- | | CSV file Path to Delete | CSV file path in file store to delete. Eg: folder/data.csv | Required | ### Output A JSON object containing multiple rows of result: - has_error: True/False - error: message/null - result: Delete Status. ``` {json}{ "has_error":false, "result":"File has been deleted successfully from store", "error":null }

Release Notes

  • v2.0.0 - Updated architecture to support IO via filesystem

  • v1.0.4 - Added documentation link in the automation library.

  • v1.0.3 - Added two actions to File Store.