curl --request GET \
--url https://api.projectdiscovery.io/v1/retest/{vuln_id} \
--header 'X-API-Key: <api-key>'
{
"message": "<string>",
"results": {
"matcher_status": true,
"vuln_id": "<string>",
"target": "<string>",
"template_url": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"scan_id": "<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>"
}
],
"template_id": "<string>",
"template_path": "<string>",
"template_encoded": "<string>",
"result_type": "<string>",
"vuln_status": "<string>",
"vuln_hash": "<string>",
"is_regression": true,
"labels": [
"<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": {}
}
]
}
}
}
Get retest vulnerability (retests from editor)
curl --request GET \
--url https://api.projectdiscovery.io/v1/retest/{vuln_id} \
--header 'X-API-Key: <api-key>'
{
"message": "<string>",
"results": {
"matcher_status": true,
"vuln_id": "<string>",
"target": "<string>",
"template_url": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"scan_id": "<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>"
}
],
"template_id": "<string>",
"template_path": "<string>",
"template_encoded": "<string>",
"result_type": "<string>",
"vuln_status": "<string>",
"vuln_hash": "<string>",
"is_regression": true,
"labels": [
"<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": {}
}
]
}
}
}
Retrieve the Team ID from: https://cloud.projectdiscovery.io/settings/team
Example response
The response is of type object
.
Was this page helpful?