---
agentTools:
  projectIndex: https://help.logichub.com/llms.txt
---

# Lastline

Version: 3.0.0

Lastline offers network-based security breach detection and other security services.

# Connect Lastline with LogicHub

1. Navigate to **Automations** > **Integrations**.
2. Search for **Lastline**.
3. 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](add-an-integration-connection#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 LogicHub Remote Agent.
   * **access\_key**: Access key of your lastline instance.
   * **api\_token**: API token of your lastline instance.
4. After you've entered all the details, click **Connect**.

# Actions for Lastline

## Scan File

Scan file to detect if it contains any anomalous attribute.

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

[block:parameters]
{
  "data": {
    "h-0": "Input Name",
    "h-1": "Description",
    "h-2": "Required",
    "0-0": "file_column_name",
    "0-1": "column name from parent table containing file-id of the file uploaded to LogicHub instance.",
    "0-2": "Required"
  },
  "cols": 3,
  "rows": 1
}
[/block]

### Output

A JSON object containing multiple rows of result:

* has\_error: True/False
* error: message/null
* result: JSON object containing results for uploaded file from Lastline instance.

## Scan URL

Scan URL to detect if it contains any anomalous attribute.

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

[block:parameters]
{
  "data": {
    "h-0": "Input Name",
    "h-1": "Description",
    "h-2": "Required",
    "0-0": "url_column_name",
    "0-1": "Column name from parent table containing URL.",
    "0-2": "Required"
  },
  "cols": 3,
  "rows": 1
}
[/block]

### Output

A JSON object containing multiple rows of result:

* has\_error: True/False
* error: message/null
* result: JSON object containing results for uploaded file from Lastline instance.

## Scan Hash

Scan Md5 hash to detect if it belongs to anomalous attribute.

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

[block:parameters]
{
  "data": {
    "h-0": "Input Name",
    "h-1": "Description",
    "h-2": "Required",
    "0-0": "hash_column_name",
    "0-1": "Column name from parent table containing md5 hash.",
    "0-2": "Required"
  },
  "cols": 3,
  "rows": 1
}
[/block]

### Output

A JSON object containing multiple rows of result:

* has\_error: True/False
* error: message/null
* result: JSON object containing results for uploaded file from Lastline instance.

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/4c02d02-Screenshot_2019-10-22_at_10.32.34_PM.png",
        "Screenshot 2019-10-22 at 10.32.34 PM.png",
        1238,
        948,
        "#f5f7f6"
      ]
    }
  ]
}
[/block]

# Release Notes

* `v3.0.0` - Updated architecture to support IO via filesystem