# Pentest-Tools.com

> Read Pentest-Tools.com workspaces, registered targets, and existing vulnerability findings.

App · 3 actions. Web page: https://docs.lodol.com/docs/integrations/pentest-tools

## Actions

### List findings

Read existing findings, optionally scoped to a workspace or target.

**Inputs**

- Workspace ID (`workspace_id`, number): Optional workspace ID. At least 1.
- Target ID (`target_id`, number): Optional target ID. At least 1.
- Min risk level (`min_risk_level`, number): Minimum risk: 0 informational, 1 low, 2 medium, 3 high, 4 critical. From 0 to 4.
- Group duplicates (`group_duplicates`, true/false): Return only the latest finding in each duplicate group.

**Outputs**

- `data` (object): The response from Pentest-Tools.com.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "name": "Example finding",
        "risk_level": 3,
        "target_id": 10
      }
    ]
  }
}
```

### List targets

Read one page of registered targets, optionally scoped to a workspace.

**Inputs**

- Page (`page`, number): Page to read. Request subsequent pages explicitly. At least 1.
- Limit (`limit`, number): Maximum number of records in this page. From 1 to 1000.
- Workspace ID (`workspace_id`, number): Optional workspace ID from List workspaces. At least 1.
- Target type (`target_type`, text): Optional target type. One of: `hostname`, `ip_address` (Ip address), `url`.

**Outputs**

- `data` (object): The response from Pentest-Tools.com.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "id": 10,
        "name": "example.com",
        "type": "hostname",
        "workspace_id": 1
      }
    ]
  }
}
```

### List workspaces

Read the workspaces visible to the API key.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Pentest-Tools.com.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "id": 1,
        "name": "Example assessment",
        "scan_count": 3,
        "target_count": 2
      }
    ]
  }
}
```
