POST
/
v1
/
scans
/
{vuln_id}
/
retest
Retest vulnerability
curl --request POST \
  --url https://api.projectdiscovery.io/v1/scans/{vuln_id}/retest \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "socks5_proxy": "<string>"
}'
{
  "message": "<string>",
  "results": {
    "scan_id": "<string>",
    "target": "<string>",
    "template_encoded": "<string>",
    "template_url": "<string>",
    "template_path": "<string>",
    "template_id": "<string>",
    "vuln_id": "<string>",
    "matcher_status": true,
    "created_at": "<string>",
    "updated_at": "<string>",
    "event": {
      "curl-command": "<string>",
      "extracted-results": [
        "<string>"
      ],
      "extractor-name": "<string>",
      "host": "<string>",
      "info": {
        "classification": {
          "cpe": "<string>",
          "cve-id": [
            "<string>"
          ],
          "cvss-metrics": "<string>",
          "cvss-score": 123,
          "cwe-id": [
            "<string>"
          ],
          "epss-percentile": 123,
          "epss-score": 123
        },
        "metadata": {},
        "author": [
          "<string>"
        ],
        "description": "<string>",
        "impact": "<string>",
        "name": "<string>",
        "tags": [
          "<string>"
        ],
        "reference": [
          "<string>"
        ],
        "remediation": "<string>",
        "severity": "<string>"
      },
      "ip": "<string>",
      "matched-at": "<string>",
      "matched-line": [
        123
      ],
      "matcher-name": "<string>",
      "matcher-status": true,
      "path": "<string>",
      "request": "<string>",
      "response": "<string>",
      "template-id": "<string>",
      "template-path": "<string>",
      "timestamp": "<string>",
      "type": "<string>",
      "error": "<string>",
      "issue_trackers": {
        "jira": {
          "id": "<string>",
          "url": "<string>"
        },
        "github": {
          "id": "<string>",
          "url": "<string>"
        },
        "gitlab": {
          "id": "<string>",
          "url": "<string>"
        },
        "linear": {
          "id": "<string>",
          "url": "<string>"
        },
        "custom": {
          "id": "<string>",
          "url": "<string>"
        }
      },
      "port": "<string>"
    },
    "id": "<string>",
    "vuln_status": "<string>",
    "vuln_hash": "<string>",
    "port": 123,
    "asset_metadata": {
      "enumeration_id": "<string>",
      "name": "<string>",
      "created_at": "<string>",
      "updated_at": "<string>",
      "id": 123,
      "labels": [
        "<string>"
      ],
      "cname": [
        "<string>"
      ],
      "host": "<string>",
      "port": 123,
      "ip": [
        "<string>"
      ],
      "status_code": 123,
      "content_length": 123,
      "vulnerabilities": 123,
      "title": "<string>",
      "technologies": [
        "<string>"
      ],
      "webserver": "<string>",
      "method": "<string>",
      "is_new": true,
      "type": "<string>",
      "asset_hash": "<string>",
      "technology_details": {},
      "screenshot_path": "<string>",
      "favicon": "<string>",
      "favicon_body": "<string>",
      "cdn_name": "<string>",
      "chain_status_codes": [
        "<string>"
      ],
      "domain_name": "<string>",
      "redirect_location": "<string>",
      "asn": {
        "as_country": "<string>",
        "as_name": "<string>",
        "as_number": "<string>",
        "as_range": [
          "<string>"
        ]
      },
      "tls_serial_number": "<string>",
      "tls_subject_org": "<string>",
      "tls_issuer_org": "<string>",
      "tls_expired": true,
      "tls_not_before": "2023-11-07T05:31:56Z",
      "tls_self_signed": true,
      "tls_mismatched": true,
      "tls_revoked": true,
      "tls_untrusted": true,
      "tls_subject_cn": "<string>",
      "tls_subject_an": [
        "<string>"
      ],
      "body": "<string>",
      "tls_not_after": "2023-11-07T05:31:56Z",
      "enumeration_name": "<string>",
      "extended_metadata": {},
      "source_type": "<string>",
      "source": [
        {
          "source": "<string>",
          "metadata": {}
        }
      ]
    }
  }
}

Authorizations

X-API-Key
string
header
required

Headers

X-Team-Id
string

Path Parameters

vuln_id
string
required

Body

application/json

Response

200
application/json

Example response

The response is of type object.