Pentest-Tools.com

App · 3 actions

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

Actions

ActionWhat it does
List findingsRead existing findings, optionally scoped to a workspace or target.
List targetsRead one page of registered targets, optionally scoped to a workspace.
List workspacesRead the workspaces visible to the API key.

List findings

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

Inputs

Workspace IDworkspace_idnumber
Optional workspace ID.At least 1.
Target IDtarget_idnumber
Optional target ID.At least 1.
Min risk levelmin_risk_levelnumber
Minimum risk: 0 informational, 1 low, 2 medium, 3 high, 4 critical.From 0 to 4.
Group duplicatesgroup_duplicatestrue/false
Return only the latest finding in each duplicate group.

Outputs

dataobject
The response from Pentest-Tools.com.
Example output
{
  "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

Pagepagenumber
Page to read. Request subsequent pages explicitly.At least 1.
Limitlimitnumber
Maximum number of records in this page.From 1 to 1000.
Workspace IDworkspace_idnumber
Optional workspace ID from List workspaces.At least 1.
Target typetarget_typetext
Optional target type.One of: hostname, ip_address (Ip address), url.

Outputs

dataobject
The response from Pentest-Tools.com.
Example output
{
  "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

dataobject
The response from Pentest-Tools.com.
Example output
{
  "data": {
    "data": [
      {
        "id": 1,
        "name": "Example assessment",
        "scan_count": 3,
        "target_count": 2
      }
    ]
  }
}

On this page