API Reference
- Introduction
- Assets
- Templates
- Scans
- GETGet Scan List
- POSTCreate Scan
- GETGet Scan
- DELDelete Scan
- DELDelete Bulk Scans
- PATCHUpdate Scan
- POSTImport OSS Scan
- POSTStop Scan
- POSTRescan scan
- GETGet All Scan Stats
- POSTRetest vulnerability
- GETGet Scan Schedules
- POSTSet Scan Schedule
- DELDelete Scan Schedule
- GETGet Scan IPs
- PATCHUpdate Imported Scan
- GETExport Scan
- POSTExport Filtered Scan
- GETExport Scan Vulnerability
- DELDelete Scan Vulnerability
- PATCHUpdate Vulnerability Status
- PATCHUpdate Vulnerability Labels
- GETGet Scan Config
- PATCHUpdate Scan Config
- GETGet All Scans History
- GETGet Scan History
- POSTCreate vulns export to tracker
- GETGet Scans Token
- GET
- Configurations
- Results
- Logs
- Users
Scans
Get Scan Config
Get scan metadata config
GET
/
v1
/
scans
/
{scan_id}
/
config
curl --request GET \
--url https://api.projectdiscovery.io/v1/scans/{scan_id}/config \
--header 'X-API-Key: <api-key>'
{
"targets": [
"<string>"
],
"assets_lists": [
"<string>"
],
"public_templates": [
"<string>"
],
"early_templates": [
"<string>"
],
"template_urls": [
"<string>"
],
"template_ids": [
"<string>"
],
"scan_config_ids": [
{
"id": "<string>",
"name": "<string>",
"provider_name": "<string>",
"config_type": "<string>"
}
],
"report_config_ids": [
{
"id": "<string>",
"name": "<string>",
"provider_name": "<string>",
"config_type": "<string>"
}
],
"alerting_config_ids": [
{
"id": "<string>",
"name": "<string>",
"provider_name": "<string>",
"config_type": "<string>"
}
],
"enumeration_ids": [
{
"id": "<string>",
"name": "<string>",
"total_assets": 123,
"enumeration_type": "<string>",
"cloudlist_provider_name": "<string>",
"types": [
"hosts"
]
}
]
}
Authorizations
Headers
Retrieve the Team ID from: https://cloud.projectdiscovery.io/settings/team
Path Parameters
Response
200
application/json
OK
Available options:
hosts
, ports
, http
, endpoints
Was this page helpful?
curl --request GET \
--url https://api.projectdiscovery.io/v1/scans/{scan_id}/config \
--header 'X-API-Key: <api-key>'
{
"targets": [
"<string>"
],
"assets_lists": [
"<string>"
],
"public_templates": [
"<string>"
],
"early_templates": [
"<string>"
],
"template_urls": [
"<string>"
],
"template_ids": [
"<string>"
],
"scan_config_ids": [
{
"id": "<string>",
"name": "<string>",
"provider_name": "<string>",
"config_type": "<string>"
}
],
"report_config_ids": [
{
"id": "<string>",
"name": "<string>",
"provider_name": "<string>",
"config_type": "<string>"
}
],
"alerting_config_ids": [
{
"id": "<string>",
"name": "<string>",
"provider_name": "<string>",
"config_type": "<string>"
}
],
"enumeration_ids": [
{
"id": "<string>",
"name": "<string>",
"total_assets": 123,
"enumeration_type": "<string>",
"cloudlist_provider_name": "<string>",
"types": [
"hosts"
]
}
]
}