Pentest Reports List files produced by a pentest
GET
/api/pentests/{pentest_id}/files

Authentication

Bearer Token (BearerAuth)

Path Parameters

pentest_idstringrequired

Pentest identifier (e.g. covert-nova-tracks)


Headers

X-Target-Serverstringrequired

Internal IP and port of the pt-agent instance (e.g. 10.10.0.26:9741)


Responses

200
File listing

Response Fields:

  • pentest_id (string)

  • path (string)

  • entries (object[])

Example:

{
  "pentest_id": "string",
  "path": "string",
  "entries": [
    {
      "name": "string",
      "path": "string",
      "is_dir": true,
      "size": 0,
      "modified_at": "string"
    }
  ]
}