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"
]
}
]
}
Get scan metadata 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"
]
}
]
}
Retrieve the Team ID from: https://cloud.projectdiscovery.io/settings/team
OK
The response is of type object
.
Was this page helpful?