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

X-API-Key
string
headerrequired

Path Parameters

scan_id
string
required

Response

200 - application/json
targets
string[]
assets_lists
string[]
public_templates
string[]
early_templates
string[]
template_urls
string[]
template_ids
string[]
scan_config_ids
object[]
report_config_ids
object[]
alerting_config_ids
object[]
enumeration_ids
object[]